Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By scoob_e at 2004-05-09 16:44
First let me start by saying this worked for me, however your mileage may vary. Also BACK UP YOUR SYSTEM BEFORE YOU TRY THIS, this is the result of about the thousandth time I have tried this, yet only the first successful attempt. My previous attempts have resulted in failures varying from destroying gnome to not being able to boot X, so you've been warned... this is not for the faint of heart.
Okay, if your still reading this I'll assume your extremely brave and made backups... (no if you haven't backed up your files, GO AND DO IT, or you could find yourself having to learn to burn CDs from the command line very quickly... this is the voice of experience speaking).
Here is the hardware (and software) that I'm using:
A HP Pavilion ze4220 Laptop
1.7ghz (iirc) Celeron
ATI IGP 340M 64mb onboard video
512mb of RAM
Fedora Core 2 Test 3
2.6.5-1.351 kernel
fully up2date (as of 5/6/04)
This should work with Fedora Core 1 with a 2.4 kernel also, but I'm not quite sure (if someone wants to try it out and let me know that would be great)
And now ladies and gentlemen the feature presentation:
I'll put all the commands to type in brackets ({}) with each command in in its own set of brackets
1.In your home folder make a directory called 3d:
{mkdir ~/3d}
2.Change to the directory you just made:
{cd ~/3d}
3.Get DRI, DRM, and Mesa from CVS (when asked for a password hit enter):
{cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/dri login}
{cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/dri co xc}
{cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/mesa login}
{cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/mesa co Mesa}
{cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/dri login}
{cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/dri co drm}
This will create 3 new directories: dri, drm, and Mesa.
4.Configure DRI so that it knows where the DRI and Mesa directories are:
Edit xc/xc/config/cf/host.def with your favorite text editor mine is gedit so I ran
{gedit xc/xc/config/cf/host.def}
there are loads of posts on google about this which mean nothing to me not all of this relates to the new kernel and i dont want to try to fix it with a patch that will not work. Specifically I dont want to not be able to start my system.
I got no errors during the last stage I checked this with the command u suggested with grep '\*\*\*' world.log.
Could you please help with this as I need to get up to speed as quick as I can so I can get modelling in 3d.
Thanks chap.
James.
by AndymionJunta on Sun, 2004-06-27 02:00
This technique worked for me on the first attempt.
I followed the tutorial, yet had an error on compiling, if you have, just do like me, compile as a user then switch to root, and if you still have an error, reboot and try again... if you still have an error, i dunno...
Seriously, now i can fully enjoy OpenGL games on my laptop at DECENT speeds.
Thank you so much.
JP_Design.04
There was a typo in his tutorial
before exports/.... add cp
like:
cp exports/libs/.....
by jedixi on Sat, 2004-07-10 19:53
I'm *attempting* an install using the howto on a Compaq Presario 2545US, on Fedora Core 2. I've been having a wee bit of trouble. After following the howto completely, I get an alert saying that the Xserver could not start. Upon viewing the details, it complains that it was not able to start a screen, adding that no screen could be detected. If anyone can offer any help, that would be greatly appreciated.
by cybercullen on Wed, 2004-07-28 03:17
I also get a segmentation fault even though the compile works without any errors:
Nevermind, I see the problem. Thanks above for the help! (Sorry!)
by Mr. D. on Sun, 2004-08-08 14:08
Thanks Scoob_e!!
Ur guide worked with my Slack10 box. However, I only got it working for the 2.6.7 kernel. I didn't succeed using the 2.4.26 kernel because I couldn't find any appropriate patches for the agpgart.
Thanks again, D.
I finally got it working!! An update to Kernel 2.6.27 brought agpgart to life! After that i recompiled Mesa and dri/drm and it worked! :-)
by cedar on Fri, 2004-09-24 14:57
I got it working after upgrading to xorg. Excellent!!!
But only with Mandrake, I can't get it to work with Libranet (using xfree86 4.3)
by KMcD on Wed, 2005-01-19 08:50
I tried to perform the cvs logins/downloads but nothing happens. Once I enter
and hit enter when asked for password nothing happens, it just hangs and after some time gives a warning stating that it timed out. Am I doing something wrong? I appreciate any help.
The error I recieve is (as of today):
Code:
cvs [login aborted]: connect to dri.freedesktop.org(131.252.208.82):2401 failed: Connection timed out
by cedar on Wed, 2005-03-30 04:28
Are you connected to the internet?
by riscphree on Fri, 2005-04-01 00:32
this is what i got just after step 5. this is just the end of the process:
Code:
/home/riscphree/3d/Mesa/include/GL/glx.h:295: warning: previous declaration of 'glXGetProcAddress' was here
dri_util.c:55: error: conflicting types for 'PFNGLXGETMSCRATEOMLPROC'
/home/riscphree/3d/Mesa/include/GL/glxext.h:617: error: previous declaration of 'PFNGLXGETMSCRATEOMLPROC' was here
dri_util.c: In function `glx_find_dri_screen':
dri_util.c:155: warning: pointer targets in passing arg 1 of `glXGetProcAddress' differ in signedness
dri_util.c: In function `driCreateNewContext':
dri_util.c:1046: warning: ISO C forbids conversion of function pointer to object pointer type
dri_util.c:1046: warning: ISO C forbids assignment between function pointer and `void *'
dri_util.c:1047: warning: ISO C forbids conversion of function pointer to object pointer type
dri_util.c:1047: warning: ISO C forbids assignment between function pointer and `void *'
dri_util.c:1049: warning: ISO C forbids conversion of function pointer to object pointer type
dri_util.c:1049: warning: ISO C forbids assignment between function pointer and `void *'
dri_util.c:1050: warning: ISO C forbids conversion of function pointer to object pointer type
dri_util.c:1050: warning: ISO C forbids assignment between function pointer and `void *'
dri_util.c:1054: warning: ISO C forbids conversion of function pointer to object pointer type
dri_util.c:1054: warning: ISO C forbids assignment between function pointer and `void *'
dri_util.c:1055: warning: ISO C forbids conversion of function pointer to object pointer type
dri_util.c:1055: warning: ISO C forbids assignment between function pointer and `void *'
make[6]: *** [dri_util.o] Error 1
make[6]: Leaving directory `/home/riscphree/3d/xc/xc/lib/GL/mesa/drivers/dri/common'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/riscphree/3d/xc/xc/lib/GL/mesa/drivers/dri'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/riscphree/3d/xc/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/riscphree/3d/xc/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/riscphree/3d/xc/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/riscphree/3d/xc/xc'
make: *** [World] Error 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
[root@localhost xc]# exports/lib/modules/dri/*.so /usr/X11R6/lib/modules/dri
and I get:-
Segmentation fault
[root@localhost xc]#
there are loads of posts on google about this which mean nothing to me not all of this relates to the new kernel and i dont want to try to fix it with a patch that will not work. Specifically I dont want to not be able to start my system.
I got no errors during the last stage I checked this with the command u suggested with grep '\*\*\*' world.log.
Could you please help with this as I need to get up to speed as quick as I can so I can get modelling in 3d.
Thanks chap.
James.
I followed the tutorial, yet had an error on compiling, if you have, just do like me, compile as a user then switch to root, and if you still have an error, reboot and try again... if you still have an error, i dunno...
Seriously, now i can fully enjoy OpenGL games on my laptop at DECENT speeds.
Thank you so much.
JP_Design.04
There was a typo in his tutorial
before exports/.... add cp
like:
cp exports/libs/.....
exports/lib/modules/dri/*.so /usr/X11R6/lib/modules/dri
Segmentation fault (core dumped)
Any ideas?
Nevermind, I see the problem. Thanks above for the help! (Sorry!)
Ur guide worked with my Slack10 box. However, I only got it working for the 2.6.7 kernel. I didn't succeed using the 2.4.26 kernel because I couldn't find any appropriate patches for the agpgart.
Thanks again, D.
I finally got it working!! An update to Kernel 2.6.27 brought agpgart to life! After that i recompiled Mesa and dri/drm and it worked! :-)
But only with Mandrake, I can't get it to work with Libranet (using xfree86 4.3)
The error I recieve is (as of today):