Forums

Skip to content

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

fglrx + HD5470 + gnome + screen power saving = Blank screen

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
bulazs
n00b
n00b
User avatar
Posts: 19
Joined: Tue Jan 18, 2005 5:47 pm
Location: Hungary

fglrx + HD5470 + gnome + screen power saving = Blank screen

  • Quote

Post by bulazs » Mon May 23, 2011 12:14 pm

Hello!

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
i rebooted, started gnome with startx, compiz and all was working fine, great performance, but i noticed one problem:

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
Then i checked that dir, and it is in fact missing:

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
Maybe this is why i get these errors too?

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.
Also the output of the /etc/acpi/ati-powermode.sh :

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.
All i found on google with same problems, and not older than a year was this thread: http://kubuntuforums.net/forums/index.p ... =3116578.0

Thank you for your time, and your help!
Seeing is believing...
Top
menkhaf
n00b
n00b
Posts: 21
Joined: Fri Feb 18, 2005 12:06 pm
Location: Copenhagen, Denmark
Contact:
Contact menkhaf
Website

  • Quote

Post by menkhaf » Wed May 25, 2011 5:26 pm

Hi,

I've got somewhat similar problems. I have two graphics cards in my laptop, an onboard Intel and a discrete ATI HD5650. Using radeon or intel drivers work fine, but when using fglrx, Xorg just crashes with the following in Xorg.log:
[202430.876] (II) LoadModule: "fglrx"
[202430.876] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[202430.889] (II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
[202430.889] compiled for 1.4.99.906, module version = 8.85.6
[202430.889] Module class: X.Org Video Driver
[202430.890] (II) Loading sub module "fglrxdrm"
[202430.890] (II) LoadModule: "fglrxdrm"
[202430.890] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[202430.890] (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
[202430.890] compiled for 1.4.99.906, module version = 8.85.6
[202430.890] (II) ATI Proprietary Linux Driver Version Identifier:8.85.6
[202430.890] (II) ATI Proprietary Linux Driver Release Identifier: 8.85
[202430.890] (II) ATI Proprietary Linux Driver Build Date: Apr 19 2011 21:30:04
[202430.890] (--) using VT number 7

[202430.895] (WW) Falling back to old probe method for fglrx
[202430.901] (II) Loading PCS database from /etc/ati/amdpcsdb
[202430.901] (--) Chipset Supported AMD Graphics Processor (0x68C1) found
[202430.901] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[202430.901] (II) fglrx: intel VGA device detected, load intel driver.
[202430.901] (II) LoadModule: "intel"
[202430.901] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[202430.902] (II) Module intel: vendor="X.Org Foundation"
[202430.902] compiled for 1.10.1.901, module version = 2.15.0
[202430.902] Module class: X.Org Video Driver
[202430.902] ABI class: X.Org Video Driver, version 10.0
[202430.902] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[202430.902] (II) AMD Video driver is signed
[202430.902] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[202430.903] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[202430.903] (II) fglrx(0): pEnt->device->identifier=0x7f2480
[202430.904] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[202430.904] (II) intel(1): pEnt->device->identifier=(nil)
[202430.904] (EE) Screen 1 deleted because of no matching config section.
[202430.904] (II) UnloadModule: "intel"
[202430.904] (II) Unloading intel
[202430.904] (II) fglrx(0): === [xdl_xs110_atiddxPreInit] === begin
[202430.904] (II) fglrx(0): PowerXpress: Discrete GPU is selected.
[202430.904] (EE) fglrx(0): PowerXpress: '/usr/lib64/fglrx/switchlibGL' must be readable and executable by owner
[202430.904] (EE) fglrx(0): PowerXpress: Fail to switch libGL link files.
[202430.904] (WW) fglrx(0): PreInit PowerXpress failed!
Backtrace:
[202430.904] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a1d78]
[202430.904] 1: /usr/bin/X (0x400000+0x637e9) [0x4637e9]
[202430.904] 2: /lib64/libpthread.so.0 (0x7fd5ce598000+0xf120) [0x7fd5ce5a7120]
[202430.905] 3: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xdl_xs110_atiddxFreeScreen+0x72) [0x7fd5cb5a4572]
[202430.905] 4: /usr/bin/X (xf86DeleteScreen+0x80) [0x470930]
[202430.905] 5: /usr/bin/X (InitOutput+0x8c5) [0x472e95]
[202430.905] 6: /usr/bin/X (0x400000+0x24858) [0x424858]
[202430.905] 7: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7fd5cd519bbd]
[202430.905] 8: /usr/bin/X (0x400000+0x245a9) [0x4245a9]
[202430.905] Segmentation fault at address 0x41
[202430.905]
Fatal server error:
[202430.905] Caught signal 11 (Segmentation fault). Server aborting
[202430.905]
[202430.905]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[202430.905] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[202430.905]
I'm using an xorg.conf created by "aticonfig --initial" -- it's contents are included below:
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Searching Google, I haven't found much information on switchlibGL/switchlibGLX -- anyone?

Thanks,
menkhaf
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Wed May 25, 2011 8:32 pm

hi menkhaf and bulazs

first.set just fglrx in make.conf
2.update your world
3.hit

eselect opengl set ati

and try now
Top
menkhaf
n00b
n00b
Posts: 21
Joined: Fri Feb 18, 2005 12:06 pm
Location: Copenhagen, Denmark
Contact:
Contact menkhaf
Website

  • Quote

Post by menkhaf » Thu May 26, 2011 6:28 am

hedmo wrote:hi menkhaf and bulazs

first.set just fglrx in make.conf
2.update your world
3.hit

eselect opengl set ati

and try now
Hi hedmo!

fglrx is set in my make.conf, together with intel and radeon, world is updated, and opengl is already set to ATI.

Thanks for trying :)

/menkhaf
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Thu May 26, 2011 4:46 pm

menkhaf

put radeon away from make.conf(its the os-driver),update again,post your "lspci",pastebin your hole xorg log and lets go from there



hedmo
Top
coolone
Apprentice
Apprentice
Posts: 278
Joined: Tue Nov 14, 2006 9:06 pm

  • Quote

Post by coolone » Wed Nov 09, 2011 10:43 pm

i have the same problem
Laptop has 2 graphics
has anyone get this sorted yet?

Code: Select all

# aticonfig --initial --nobackup

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
even my xorg.conf cannot be set probably and unable use a right resolution
No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress
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