Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X-Server fglrx troubles
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
steve_w
n00b
n00b


Joined: 13 Dec 2006
Posts: 5

PostPosted: Wed Dec 13, 2006 4:38 pm    Post subject: X-Server fglrx troubles Reply with quote

Perhaps this needed it's own thread, so:
I am having trouble getting X to start using the fglrx ATI drivers. It almost looks like it's started, and then crashes saying:
Code:
(EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed (libGL.so.1: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering

At first, there was NO file in /usr/lib/dri. In fact, I don't think that directory even existed. After emerging ati-drivers again, I noticed it was putting that file in /usr/lib/xorg/modules/dri/fglrx_dri.so. Trying to be clever, I did:
Code:
ln -T /usr/lib/xorg/modules/dri/fglrx_dri.so /usr/lib/dri/fglrx_dri.so

That's the current state of things. I've really been enjoying figuring all this Linux stuff out on my own, but this has had me stumped for a while now.

here is hopefully all the relevant files/outputs:
Output of startx
Xorg.0.log
xorg.conf
make.conf
Output of emerge --info
Current kernel configuration
modules.autoload.d/kernel-2.6

Thanks for any help!
-Steve
Back to top
View user's profile Send private message
steve_w
n00b
n00b


Joined: 13 Dec 2006
Posts: 5

PostPosted: Wed Dec 13, 2006 9:43 pm    Post subject: Reply with quote

Okay, I tried adding the -fomit-frame-pointer and did the emerge -av --deep world --newuse. After troubleshooting a few errors from startx, I am now able to get it to work once I put exec gnome-session back in the ~/.xinitrc file. I get some ~1000fps with glxgears and glxinfo is reporting direct rendering. My only remaining problem is that this only works for the root account. How can I fix this to work on my other accounts?

Thanks,
-Steve
Back to top
View user's profile Send private message
widremann
Veteran
Veteran


Joined: 14 Mar 2005
Posts: 1314

PostPosted: Wed Dec 13, 2006 9:51 pm    Post subject: Reply with quote

Did you run "eselect opengl set ati"?
Back to top
View user's profile Send private message
BlueShark
n00b
n00b


Joined: 30 May 2005
Posts: 66
Location: Mainz, Germany

PostPosted: Wed Dec 13, 2006 10:59 pm    Post subject: Reply with quote

In this HOWTO the error is mentioned. But just copying the file does not fix the problem for me.

So I am also still looking for a solution.
Back to top
View user's profile Send private message
steve_w
n00b
n00b


Joined: 13 Dec 2006
Posts: 5

PostPosted: Thu Dec 14, 2006 4:47 am    Post subject: Reply with quote

Okay, I figured it out. Instead of:
Code:

Section "DRI"
Group "Video"
Mode 0660
EndSection

I now have (notice the '6' at the end instead of '0'):
Code:

Section "DRI"
Mode 0666
EndSection

I now have direct rendering for my other user accounts.

There almost needs to be some sort of sticky with these common issues. I sure wished I could have found all this in one place instead of d*cking around with it forever pulling my hair out. :mrgreen:

The only down side to the direct rendering is that it appears to not support my system's highest resolution. Is it normal for it to not support 1920x1200? I've added that resolution to my xorg.conf. It will start X with that and then immediately revert to 1280x800 before gnome-session starts. Anyone know about this?
Back to top
View user's profile Send private message
BlueShark
n00b
n00b


Joined: 30 May 2005
Posts: 66
Location: Mainz, Germany

PostPosted: Thu Dec 14, 2006 11:05 am    Post subject: Reply with quote

Well, I have not problems to run with 1920x1200.

Try this in your xorg.conf:
Code:
Section "Modes"
     Identifier   "16:10"
     ModeLine     "1920x1200" 210.7 1920 1952 2456 2784 1200 1224 1236 1261
     ModeLine     "1280x800"   83.5 1280 1344 1480 1680  800  801  804  828
     ModeLine     "1680x1050" 214.5 1680 1800 1984 2288 1050 1051 1054 1103
     ModeLine     "768x576"    50.0  768  832  846 1000  576  590  595  630
     ModeLine     "768x576"    63.1  768  800  960 1024  576  578  590  616
     #Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
EndSection

Section "Monitor"
     Identifier   "FlatPanel"
     UseModes     "16:10"
     HorizSync    31.5 - 100.0
     VertRefresh  30.0 - 90.0
     Option       "FlatPanelProperties"   "Scaling=Centered"
     Option       "DPMS"                  "true"
EndSection


This works for me, hopefully for you too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum