[gentoo-user] Blank screen in X, no errors in Xorg.log

October 02nd, 2011 - 03:00 am ET by Adam Carter | Report spam
HW = Chipset: "ATI Radeon HD 4250 " (Chipset = 0x9715)

Config is mostly taken from a working amd64 + radeon system.
linux-firmware is installed. No errors or warning in the the xorg
logs, but startx returns a blank screen on both the VGA and HDMI
outputs. It also fails with no xorg.conf. There's no process called X
or anything related to X, if i ssh in from another machine and run
'pgrep -lf X' as root.

When using fglrx;
proxy adam # tail Xorg.0.log
[ 458.503] (II) fglrx(0): Desc: ATI FireGL DRM kernel module
[ 458.503] (II) fglrx(0): Kernel Module version matches driver.
[ 458.503] (II) fglrx(0): Kernel Module Build Time Information:
[ 458.503] (II) fglrx(0): Build-Kernel UTS_RELEASE: 3.0.4-gentoo
[ 458.503] (II) fglrx(0): Build-Kernel MODVERSIONS: no
[ 458.503] (II) fglrx(0): Build-Kernel __SMP__: yes
[ 458.503] (II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
[ 458.503] (II) fglrx(0): [uki] register handle = 0x00004000
[ 458.526] (II) fglrx(0): DRI initialization successfull
[ 458.526] (II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x0100e000
proxy adam #


When using the radeon driver;
proxy adam # tail /root/Xorg.0.log
[ 123.799] GC: 0 objects of 72 bytes = 0 total bytes 0 private allocs
[ 123.799] CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[ 123.799] CURSOR_BITS: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[ 123.799] DBE_WINDOW: 0 objects of 24 bytes = 0 total bytes 0 private allocs
[ 123.799] TOTAL: 1 objects, 120 bytes, 0 allocs
[ 123.800] (II) Open ACPI successful (/var/run/acpid.socket)
[ 123.800] (II) APM registered successfully
[ 123.800] (II) RADEON(0): RADEONScreenInit d0000000 0 0
[ 123.862] Output CRT1 disable success
[ 123.871] Blank

What's my next step?


xorg.conf is;
Section "ServerLayout"
Identifier "Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Files"
# These are not needed for fglrx, but will be for radeon
ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/lib64/opengl/xorg-x11/extensions/"
EndSection

Section "ServerFlags"
Option "Xinerama" "off"
#Option "blank time" "5" # Blank the screen after 5 minutes (Fake)
Option "standby time" "10" # Turn off screen after 10 minutes (DPMS)
Option "suspend time" "20" # Full suspend after 20 minutes
Option "off time" "30" # Turn off after half an hour
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "DPMS" "true"
Option "PreferredMode" "1440x900"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
#Driver "radeon"
Option "backingstore" "true"
#BusID "PCI:1:0:0"
#BusID "PCI:0@1:0:1"
# dynamicclocks is for powersaving but not impl on flgrx
#Option "DynamicClocks" "on"
#Option "RenderAccel" "true" - not supported by flgrx
#Option "AccelMethod" "exa" - not supported by flgrx
#Option "UseFastTLS" "1"
#Option "EnablePageFlip" "true" - not supported by flgrx
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

Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
#Option "XkbLayout" "us,cz"
#Option "XkbModel" "logitech_g15"
Option "XkbRules" "xorg"
#Option "XkbOptions"
"grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
#Option "XkbVariant" ",qwerty"
MatchIsKeyboard "on"
EndSection
email Follow the discussionReplies 6 repliesReplies Make a reply

Similar topics

Replies

#1 Volker Armin Hemmann
October 02nd, 2011 - 03:50 am ET | Report spam
Am Sonntag 02 Oktober 2011, 17:51:19 schrieb Adam Carter:
HW = Chipset: "ATI Radeon HD 4250 " (Chipset = 0x9715)

Config is mostly taken from a working amd64 + radeon system.
linux-firmware is installed. No errors or warning in the the xorg
logs, but startx returns a blank screen on both the VGA and HDMI
outputs. It also fails with no xorg.conf. There's no process called X
or anything related to X, if i ssh in from another machine and run
'pgrep -lf X' as root.

When using fglrx;
proxy adam # tail Xorg.0.log
[ 458.503] (II) fglrx(0): Desc: ATI FireGL DRM kernel module
[ 458.503] (II) fglrx(0): Kernel Module version matches driver.
[ 458.503] (II) fglrx(0): Kernel Module Build Time Information:
[ 458.503] (II) fglrx(0): Build-Kernel UTS_RELEASE:
3.0.4-gentoo [ 458.503] (II) fglrx(0): Build-Kernel MODVERSIONS:
no [ 458.503] (II) fglrx(0): Build-Kernel __SMP__: yes [
458.503] (II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000 [
458.503] (II) fglrx(0): [uki] register handle = 0x00004000
[ 458.526] (II) fglrx(0): DRI initialization successfull
[ 458.526] (II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x0100e000
proxy adam #


When using the radeon driver;
proxy adam # tail /root/Xorg.0.log
[ 123.799] GC: 0 objects of 72 bytes = 0 total bytes 0 private allocs
[ 123.799] CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[ 123.799] CURSOR_BITS: 0 objects of 8 bytes = 0 total bytes 0 private
allocs [ 123.799] DBE_WINDOW: 0 objects of 24 bytes = 0 total bytes 0
private allocs [ 123.799] TOTAL: 1 objects, 120 bytes, 0 allocs
[ 123.800] (II) Open ACPI successful (/var/run/acpid.socket)
[ 123.800] (II) APM registered successfully
[ 123.800] (II) RADEON(0): RADEONScreenInit d0000000 0 0
[ 123.862] Output CRT1 disable success
[ 123.871] Blank

What's my next step?


xorg.conf is;
Section "ServerLayout"
Identifier "Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Files"
# These are not needed for fglrx, but will be for radeon
ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/lib64/opengl/xorg-x11/extensions/"
EndSection

Section "ServerFlags"
Option "Xinerama" "off"
#Option "blank time" "5" # Blank the screen after 5 minutes
(Fake) Option "standby time" "10" # Turn off screen after 10 minutes
(DPMS) Option "suspend time" "20" # Full suspend after 20 minutes Option
"off time" "30" # Turn off after half an hour
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "DPMS" "true"
Option "PreferredMode" "1440x900"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
#Driver "radeon"
Option "backingstore" "true"
#BusID "PCI:1:0:0"
#BusID "PCI::0:1"
# dynamicclocks is for powersaving but not impl on flgrx
#Option "DynamicClocks" "on"
#Option "RenderAccel" "true" - not supported by flgrx
#Option "AccelMethod" "exa" - not supported by flgrx
#Option "UseFastTLS" "1"
#Option "EnablePageFlip" "true" - not supported by flgrx
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

Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
#Option "XkbLayout" "us,cz"
#Option "XkbModel" "logitech_g15"
Option "XkbRules" "xorg"
#Option "XkbOptions"
"grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_
alt_bksp" Option "XkbOptions" "terminate:ctrl_alt_bksp"
#Option "XkbVariant" ",qwerty"
MatchIsKeyboard "on"
EndSection



post Xorg.0.log?

#163933
Replies Reply to this message
#2 Volker Armin Hemmann
October 02nd, 2011 - 05:20 am ET | Report spam
Am Sonntag 02 Oktober 2011, 17:51:19 schrieb Adam Carter:
HW = Chipset: "ATI Radeon HD 4250 " (Chipset = 0x9715)

Config is mostly taken from a working amd64 + radeon system.
linux-firmware is installed. No errors or warning in the the xorg
logs, but startx returns a blank screen on both the VGA and HDMI
outputs. It also fails with no xorg.conf. There's no process called X
or anything related to X, if i ssh in from another machine and run
'pgrep -lf X' as root.

When using fglrx;
proxy adam # tail Xorg.0.log
[ 458.503] (II) fglrx(0): Desc: ATI FireGL DRM kernel module
[ 458.503] (II) fglrx(0): Kernel Module version matches driver.
[ 458.503] (II) fglrx(0): Kernel Module Build Time Information:
[ 458.503] (II) fglrx(0): Build-Kernel UTS_RELEASE:
3.0.4-gentoo [ 458.503] (II) fglrx(0): Build-Kernel MODVERSIONS:
no [ 458.503] (II) fglrx(0): Build-Kernel __SMP__: yes [
458.503] (II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000 [
458.503] (II) fglrx(0): [uki] register handle = 0x00004000
[ 458.526] (II) fglrx(0): DRI initialization successfull
[ 458.526] (II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x0100e000
proxy adam #


When using the radeon driver;
proxy adam # tail /root/Xorg.0.log
[ 123.799] GC: 0 objects of 72 bytes = 0 total bytes 0 private allocs
[ 123.799] CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[ 123.799] CURSOR_BITS: 0 objects of 8 bytes = 0 total bytes 0 private
allocs [ 123.799] DBE_WINDOW: 0 objects of 24 bytes = 0 total bytes 0
private allocs [ 123.799] TOTAL: 1 objects, 120 bytes, 0 allocs
[ 123.800] (II) Open ACPI successful (/var/run/acpid.socket)
[ 123.800] (II) APM registered successfully
[ 123.800] (II) RADEON(0): RADEONScreenInit d0000000 0 0
[ 123.862] Output CRT1 disable success
[ 123.871] Blank

What's my next step?


xorg.conf is;
Section "ServerLayout"
Identifier "Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Files"
# These are not needed for fglrx, but will be for radeon
ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/lib64/opengl/xorg-x11/extensions/"
EndSection

Section "ServerFlags"
Option "Xinerama" "off"
#Option "blank time" "5" # Blank the screen after 5 minutes
(Fake) Option "standby time" "10" # Turn off screen after 10 minutes
(DPMS) Option "suspend time" "20" # Full suspend after 20 minutes Option
"off time" "30" # Turn off after half an hour
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "DPMS" "true"
Option "PreferredMode" "1440x900"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
#Driver "radeon"
Option "backingstore" "true"
#BusID "PCI:1:0:0"
#BusID "PCI::0:1"
# dynamicclocks is for powersaving but not impl on flgrx
#Option "DynamicClocks" "on"
#Option "RenderAccel" "true" - not supported by flgrx
#Option "AccelMethod" "exa" - not supported by flgrx
#Option "UseFastTLS" "1"
#Option "EnablePageFlip" "true" - not supported by flgrx
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

Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
#Option "XkbLayout" "us,cz"
#Option "XkbModel" "logitech_g15"
Option "XkbRules" "xorg"
#Option "XkbOptions"
"grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_
alt_bksp" Option "XkbOptions" "terminate:ctrl_alt_bksp"
#Option "XkbVariant" ",qwerty"
MatchIsKeyboard "on"
EndSection



post Xorg.0.log?

#163933
Replies Reply to this message
#3 Spidey
October 02nd, 2011 - 03:00 pm ET | Report spam

Try with this simplified xorg.conf:

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
#Driver "radeon"
EndSection


You can toggle video drivers also and tell what happened. By the way, you
realise you also need to setup correct kernel modules and disable
conflicting ones when changing from fglrx to radeon, right?

Claudio Roberto França Pereira (a.k.a. Spidey)
hardMOB - HTForum - @spideybr
Engenharia de Computaçà£o - UFES 2006/1


Try with this simplified xorg.conf:<br><div id=":24m"><br>Section &quot;Device&quot;<br>
       Identifier  &quot;aticonfig-Device[0]-0&quot;<br>
       Driver      &quot;fglrx&quot;<br>
       #Driver      &quot;radeon&quot;<br>
EndSection<br><br><br>You can toggle video drivers also and tell what happened. By the way, you realise you also need to setup correct kernel modules and disable conflicting ones when changing from fglrx to radeon, right?<br>

</div><br>Claudio Roberto França Pereira (a.k.a. Spidey)<br>hardMOB - HTForum - @spideybr<br>Engenharia de Computaçà£o - UFES 2006/1<br>

Replies Reply to this message
#4 Adam Carter
October 02nd, 2011 - 07:10 pm ET | Report spam
By the way, you
realise you also need to setup correct kernel modules and disable
conflicting ones when changing from fglrx to radeon, right?



Really - i thought changing the X driver was all that was required. Is
that do with with KMS?

Anyway, i think i'll focus on just using fglrx as its what i use
successfully on my laptop.
Replies Reply to this message
#5 Adam Carter
October 03rd, 2011 - 06:10 pm ET | Report spam
FYI, this is fixed. I ran 'strace startx > startx.strace.out 2>&1' and
this showed;
/usr/bin/X: symbol lookup error:
/usr/lib64/xorg/modules/drivers/fglrx_drv.so: undefined symbol:
GlxInitVisuals2D

Which means that i forget to eselect opengl set 1, though it wasn't
logged to Xorg.0.log (so it was logged to STDOUT, but i couldn't see
that as the screen was blank).

Then after fixing that;
which: no keychain in
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3)
/etc/X11/xinit/xinitrc: line 63: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found
xinit: connection to X server lost

So i emerged keychain and xterm and it now works. Of course i didn't
need xterm as i'm running gnome, so i could have just kicked that off
instead.
Replies Reply to this message
Help Create a new topicNext page Replies Make a reply
Search Make your own search