LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Linux Answers > Hardware
User Name
Password

Notices


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}

Now edit the lines that say

by JP_Design.04 on Thu, 2004-06-17 16:16
This is pretty tricky stuff for me as I am new to Fedora, ok. That said I have gotten as far as

[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.

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:

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!)

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
Code:
cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/dri login
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

by cedar on Fri, 2005-04-01 06:56
have you installed xorg?


  



All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration