I was using my notebooks video card (ATI Mobility Radeon HD5470) with the Xorg mesa drivers so far, and everything was working fine.
Then i decided to try out the closed source ati-drivers, to get some more performance, and maybe gaming on Gentoo.
Code: Select all
The steps i remember taking was:
adding fglrx to make.conf:
VIDEO_CARDS="radeon fglrx"
then i did :
emerge -uDN world , which nicely pulled in the ati-drivers package
then:
env-update
eselect opengl set ati
aticonfig --initial (or /opt/bin/aticonfig --initial), to get an xorg.conf (i didn't have it so far).
Then i added to /etc/modprobe.d/blacklist.conf:
blacklist radeon
blacklist agpgart
When i closed the lid, and reopened it, the screen was blank (not just black, but without any background light, not like i used to with xorg drivers), and my notebook was unresponsive. (tried to CTRL+ALT+DEL, or CTRL+ALT+F1, but no response.) All i could do, was to switch it off, by pressing the power button, or connecting to it in ssh, and rebooting.
On the power management options, i had "Blank Screen" for "When laptop lid is closed"
I tried the followings:
-Without gnome running, just on the terminal closing the lid, then reopening: ALL GOOD
-Started xdm (gdm), On login screen closing the lid, then reopening: ALL GOOD
-Logged in to gnome in gdm, closing the lid, then reopening: BLANK SCREEN
-rebooted, waited till the screensaver comes in, it was good. Then when the power saving mode turns in (which blacks out the screen), i get that BLANK SCREEN, unresponsive system again.
So i thought the problem is related to power saving settings, specifically gnome's power saving settings, so
On Preferences/Power management, i set
"Never" for "Put computer to sleep when inactive for"
"Never" for "Put display to sleep when inactive for"
and i unchecked "Lock screensaver when screensaver is active" from Preferences/Screensaver
I tried all the above listed tests, and all was working! But today i closed the lid, and left for a few hours, then when i came home, and opened the lid, i got that BLANK, unresponsive system again...(i had to reboot it wia ssh)
What could be the problem? Anyone having problems like this too? Could it be the problem of the ati-driver, gnome, or some other acpi settings? (Again, with Xorg mesa, everything was fine for months)
Some more data:
When i do an aticonfig --initial, i get the following:
Code: Select all
# /opt/bin/aticonfig --initial
Found fglrx primary device section
PowerXpress error: Cannot stat '/usr/lib64/fglrx/switchlibGL': No such file or directory
Failed to initialize libglx for discrete GPU
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.fglrx-0
Code: Select all
# ls -l /usr/lib64/fglrx/
összesen 0
lrwxrwxrwx 1 root root 14 máj 19 22.50 fglrx-libGL.so.1.2 -> ./libGL.so.1.2
lrwxrwxrwx 1 root root 43 máj 19 22.50 libGL.so.1.2 -> /usr/lib64/opengl/xorg-x11/lib/libGL.so.1.2
# ls -l /usr/lib32/fglrx/
összesen 0
lrwxrwxrwx 1 root root 14 máj 19 22.50 fglrx-libGL.so.1.2 -> ./libGL.so.1.2
lrwxrwxrwx 1 root root 43 máj 19 22.50 libGL.so.1.2 -> /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2
Code: Select all
# /opt/bin/aticonfig --set-powerstate=1
/opt/bin/aticonfig: unrecognized option '--set-powerstate=1'
/opt/bin/aticonfig: parsing the command-line failed.
# /opt/bin/aticonfig --get-powerstate
/opt/bin/aticonfig: unrecognized option '--get-powerstate'
/opt/bin/aticonfig: parsing the command-line failed.
Code: Select all
# /etc/acpi/ati-powermode.sh
Lid Open
grep: /proc/acpi/ac_adapter/*/state: Nincs ilyen fájl vagy könyvtár
On AC
/bin/bash: --pplib-cmd=get version: parancs nem található
No PPLIB
high power
/opt/bin/aticonfig: unrecognized option '--lsp'
/opt/bin/aticonfig: parsing the command-line failed.
/opt/bin/aticonfig: unrecognized option '--set-powerstate='
/opt/bin/aticonfig: parsing the command-line failed.
Thank you for your time, and your help!


