Howto build xfree86?
Slackers!
To get DRI running, I figured that I have to build (or compile?) the sis_dri driver, and that I need the xfree86 source code for that. So I got the 4.3.0 code, but I can't get it to build anything :-( I tried whatever I knew(bie ;-) but nothing gets me anywhere. Yesterday I got the 4.4.0 source tree (thinking that there must have been some error in my versions of the 4.3.0 tarballs) and to my surprise I got exactly the same errors! I have followed the 'Building XFree86 from a Source Distribution' from the xfree86.ORG site to the letter... (actually I didn't; there's a small error: after mkdir build one first has to cd to build before one can lndir ../xc, but that's a detail). Btw, does it make a difference to use ln -s instead of lndir? Have Slack 9.1, kernel 2.6.3, Xfree86 v4.3.0, whatelse? And fluxbox of course ;-). Please note that I don't necessarily need the new XFree86 v4.4.0, as soon as sis_drv.so is build/compiled the whole thing can be cancelled. Here it is: Code:
.../build# make World > World.log 2>&1 Cheers, Leon. * I know this sounds like I might have given up, but bear with me, I started on this SiS630 Video Driver Project 3 weeks ago, it almost costs me my relationship with my girl, I don't get enough sleep, can't get any work done 'cause all day long I'm collecting and printing all TFM's so I can read up at home where I have no network access... this is killing me, BUT I SHALL BE ABLE TO RACE TUX! ;-) Most likely I'm still missing part of the picture but I think getting sis_dri.so in it's place might be the last piece of the puzzle! |
Have you read the How-To by trickykid here at LQ?
|
Thanx Chinaman,
no I didn't but it doesn't cover my problem. I don't need to configure xfree86, I just want to have sis_dri.o. But to generate this from source I need the xfree source tree, if I correctly understood Thomas Winischhofer's installation guide: Quote:
What am I missing? Cheers, Leon. |
Winischoffers drivers have been included in xfree 4.4.
I would just install the binaries from xfree Xfree 4.4 change log |
like shepper says, just download the binaries.
i have installed xfree today, and throught the instalation script that comes with the binaries the instalation procedure is quite simple. btw my DRI drivers are working fine now :-) |
Thanks!
Installed xfree 4.4.0 and DRI 'almost' works! glxgears now indicates about 200 fps (instead of 30 before), BUT I don't see the 3 wheels inside the window! That can't be good. Haven't done much checking yet, but I can tell you this: Code:
glxinfo: In the DRI User Guide (from Xfree4.4.0) I found the following command to check if bus mastering is enabled. Code:
setpci -s 01:00.0 4.w (when 01:00.0 corresponds with the videocard) Another check is to see if libGL.so is in fact DRI-capable, is running the following command and look for symbols prefixed with XF86DRI: Code:
strings libGL.so.1.2 | grep DRI Please, if anyone has an idea what's going on here I'd love to hear about it. PS: I have downloaded tuxracer today to see if that will work anyway... more later. EDIT: Next day: PPS: Tuxracer indeed works a lot faster, however, the lowerleft diagonal half of the screen is completely scr*wed up! Only lines originating from the left upper corner and like sun rays blocking half the screen. In the background I can see the scenery flashing by.... arrrrrggghhhhh... almost there though? |
All times are GMT -5. The time now is 05:51 AM. |