Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

X-Server fglrx troubles

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
steve_w
n00b
n00b
Posts: 5
Joined: Wed Dec 13, 2006 3:52 am

X-Server fglrx troubles

  • Quote

Post by steve_w » Wed Dec 13, 2006 4:38 pm

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: Select all

(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: Select all

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
Top
steve_w
n00b
n00b
Posts: 5
Joined: Wed Dec 13, 2006 3:52 am

  • Quote

Post by steve_w » Wed Dec 13, 2006 9:43 pm

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
Top
widremann
Veteran
Veteran
Posts: 1314
Joined: Mon Mar 14, 2005 9:47 pm

  • Quote

Post by widremann » Wed Dec 13, 2006 9:51 pm

Did you run "eselect opengl set ati"?
Top
BlueShark
n00b
n00b
User avatar
Posts: 66
Joined: Mon May 30, 2005 1:29 am
Location: Mainz, Germany

  • Quote

Post by BlueShark » Wed Dec 13, 2006 10:59 pm

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.
Top
steve_w
n00b
n00b
Posts: 5
Joined: Wed Dec 13, 2006 3:52 am

  • Quote

Post by steve_w » Thu Dec 14, 2006 4:47 am

Okay, I figured it out. Instead of:

Code: Select all

Section "DRI"
Group "Video"
Mode 0660
EndSection
I now have (notice the '6' at the end instead of '0'):

Code: Select all

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?
Top
BlueShark
n00b
n00b
User avatar
Posts: 66
Joined: Mon May 30, 2005 1:29 am
Location: Mainz, Germany

  • Quote

Post by BlueShark » Thu Dec 14, 2006 11:05 am

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

Try this in your xorg.conf:

Code: Select all

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.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic