Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284960 - x11-drivers/ati-drivers-9.9 black screen and freeze upon start
Summary: x11-drivers/ati-drivers-9.9 black screen and freeze upon start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 16:46 UTC by Gregor Kališnik
Modified: 2009-12-20 20:51 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg log (or, should be :S) (Xorg.0.log,13.43 KB, text/plain)
2009-09-14 16:47 UTC, Gregor Kališnik
Details
another "log" (Xorg.0.log.old,13.43 KB, text/plain)
2009-09-14 16:48 UTC, Gregor Kališnik
Details
Mine tested xorg configuration (xorg.conf,3.00 KB, text/plain)
2009-09-14 16:48 UTC, Gregor Kališnik
Details
kernel configuration (.config,52.75 KB, text/plain)
2009-09-14 16:49 UTC, Gregor Kališnik
Details
dmesg log after crash (fglrx.log,7.58 KB, text/plain)
2009-09-16 03:49 UTC, Raouf Bencheraiet
Details
make.conf I use (make.conf,1.76 KB, text/plain)
2009-09-20 11:43 UTC, Gregor Kališnik
Details
The _real_ log file (Xorg.0.log.old,11.53 KB, text/plain)
2009-09-23 23:08 UTC, Gregor Kališnik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor Kališnik 2009-09-14 16:46:58 UTC
Weh X starts, the screen goes black, mouse and keyboard are unresponsive and cannot remote login to the pc (ssh). The machine still pings.

Also note that xorg logs have random output :S.

Reproducible: Always

Steps to Reproduce:
1. emerge ati-drivers-9.9
2. start X
3. having fun reading the Xorg log :D

Actual Results:  
A black screen and unresponsive system.

Expected Results:  
A working KDE desktop

Using:
x11-base/xorg-server-1.6.3.901-r1
sys-kernel/gentoo-sources-2.6.30-r6
x11-drivers/ati-drivers-9.9
Comment 1 Gregor Kališnik 2009-09-14 16:47:39 UTC
Created attachment 204090 [details]
Xorg log (or, should be :S)
Comment 2 Gregor Kališnik 2009-09-14 16:48:04 UTC
Created attachment 204091 [details]
another "log"
Comment 3 Gregor Kališnik 2009-09-14 16:48:50 UTC
Created attachment 204093 [details]
Mine tested xorg configuration
Comment 4 Gregor Kališnik 2009-09-14 16:49:28 UTC
Created attachment 204095 [details]
kernel configuration
Comment 5 urcindalo 2009-09-14 21:21:19 UTC
Same here on smp amd64.
Comment 6 urcindalo 2009-09-15 21:46:41 UTC
Still the same with 9.9-r2
Comment 7 Raouf Bencheraiet 2009-09-16 03:49:03 UTC
Created attachment 204282 [details]
dmesg log after crash
Comment 8 Raouf Bencheraiet 2009-09-16 03:50:22 UTC
system is responsive it's just ... pitch black
Comment 9 Gregor Kališnik 2009-09-16 11:12:46 UTC
ati-driver-9.9-r2 doesn't fix it. And why was ati-drivers-8.8 removed?
Comment 10 Gregor Kališnik 2009-09-16 11:13:10 UTC
(In reply to comment #9)
> ati-driver-9.9-r2 doesn't fix it. And why was ati-drivers-8.8 removed?
> 

I meant ati-drivers-9.8 :)
Comment 11 Keith Harrison 2009-09-20 06:22:57 UTC
This happens to me sometimes but I am always able to fix it by running "eselect opengl set ati"
Comment 12 Gregor Kališnik 2009-09-20 08:35:53 UTC
Please note that this is a memory corruption! (look at the xorg log).
Comment 13 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-20 09:23:13 UTC
Try 2.6.31 or 2.6.28 kernels please.
Comment 14 Gregor Kališnik 2009-09-20 11:43:10 UTC
(In reply to comment #13)
> Try 2.6.31 or 2.6.28 kernels please.
> 

None of them work.

Also I have:
sys-devel/gcc-4.3.2-r3
sys-libs/glibc-2.9_p20081201-r2
Comment 15 Gregor Kališnik 2009-09-20 11:43:45 UTC
Created attachment 204680 [details]
make.conf I use
Comment 16 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-20 11:49:49 UTC
Hmm:
 -fvisibility-inlines-hidden
:D

I would recomend you to live without this one. It could magicaly fix your life :]
Comment 17 Gregor Kališnik 2009-09-20 13:28:26 UTC
Ok :).

What else should I recompile (system would be enough? :D )
Comment 18 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-20 13:49:10 UTC
kernel/driver/xorg woudl be good start :]
Comment 19 Gregor Kališnik 2009-09-20 17:10:48 UTC
(In reply to comment #18)
> kernel/driver/xorg woudl be good start :]
> 

It didn't helped. I did the following:
removed f-visibility-inlines-hidden
emerge -eav system
recompiled kernel (make clean && make...)
emerge -av1 ati-drivers
emerge -av1 xorg-server

I'm going to remove the LDFLAGS and redo these steps.
Comment 20 Gregor Kališnik 2009-09-20 21:06:22 UTC
I did emerge -eav --onlydeps xorg-x11 and it didn't helped.

It seems the flags alone aren't the fault, unless I missed something.

Any more ideas? Need any more info?
Comment 21 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-21 07:56:51 UTC
(In reply to comment #20)
> Any more ideas? Need any more info?
> 

Try to rename the ati-drivers-9.9.ebuild onto ati-drivers-9.8.ebuild
run repoman manifest
and emerge -1 =ati-drivers-9.8

If it will work for you i will add back the 9.8 version.

Cheers
Comment 22 Gregor Kališnik 2009-09-21 08:27:23 UTC
I copied ati-drivers-9.8 to a local overlay. Otherwise I couldn't have posted here from my computer...

And yes, old ati-drivers are working for me, so give them back to the portage. But I would still like to see the new drivers working.

I can try emerge -eav world (but I don't see if it's going to help, since i did emerge -eav --onlydeps xorg-x11).

If the world remerge doesn't help, I could try to upgrade gcc (which is also non-logic step).

Any suggestions?
Comment 23 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-21 09:07:21 UTC
i brought drivers back. Since upstream seriously dont care about that if their driver works i am closing this as fixed since it works for you again :]
Comment 24 Gregor Kališnik 2009-09-21 09:12:16 UTC
Ok.. I'll try the mentioned steps and report if those things fix it :).

If they don't.. then we wait for 9.10 :D.
Comment 25 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-21 09:23:33 UTC
ati-drivers-8.660 is 9.10beta so you can try already :]
Comment 26 Gregor Kališnik 2009-09-21 10:41:51 UTC
doesn't work. I'll try to cross-check the app list with my brother's computer. We'll see if thats going to help :).
Comment 27 Gregor Kališnik 2009-09-21 13:19:31 UTC
Tried and didn't worked. Then I removed my second monitor and things started to work. But the second restart, it stopped working :(.

But I found out another interesting thing. When I disabled the autodetection of input devices, it started the X11, but as soon as I moved the mouse, the X server crashed (and memory corruption occured). Of course, this was under ati-drivers-9.8.
Comment 28 Gregor Kališnik 2009-09-21 13:20:29 UTC
(In reply to comment #27)
> When I disabled the autodetection of

Ups. I meant enabled...
Comment 29 urcindalo 2009-09-21 14:42:52 UTC
(In reply to comment #27)
> ... Of course, this was under ati-drivers-9.8.

In my case, the re-appearing of the 9.8 version has solved all my problems. I was forced to use the radeon driver after the 9.8 removal. v9.9 onwards hangs my system with the infamous non-blinking cursor at the upper-left corner on a black screen. But now the birds are singing again and the sky is blue :LOL:

Unfortunately I'm not on that system right now, but as soon as I get home I'll post my info. I use a tuxonice-sources-2.6.30-r5 kernel on an smp amd64-ss3 laptop. My system is almost stable with some unstable packages, most notably KDE 4.3.1 as my desktop. Apart from that, I use the stable amd64 toolchain as well as stable version of hal and dbus.
Comment 30 urcindalo 2009-09-21 17:36:22 UTC
(In reply to comment #29)
> ...as soon as I get home I'll post my info

Since a promise is a debt, as we say in Spanish, here is my emerge info:
============

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-tuxonice-r5 x86_64)
=================================================================                                                  
System uname: Linux-2.6.30-tuxonice-r5-x86_64-AMD_Athlon-tm-_X2_Dual-Core_QL-65-with-gentoo-1.12.11.1              
Timestamp of tree: Mon, 21 Sep 2009 13:00:01 +0000                                                                 
app-shells/bash:     4.0_p28                                                                                       
dev-java/java-config: 2.1.8-r1                                                                                     
dev-lang/python:     2.6.2-r1                                                                                      
dev-util/cmake:      2.6.4                                                                                         
sys-apps/baselayout: 1.12.11.1                                                                                     
sys-apps/sandbox:    1.6-r2                                                                                        
sys-devel/autoconf:  2.13, 2.63-r1                                                                                 
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                     
sys-devel/binutils:  2.18-r3                                                                                       
sys-devel/gcc-config: 1.4.1                                                                                        
sys-devel/libtool:   2.2.6a                                                                                        
virtual/os-headers:  2.6.27-r2                                                                                     
ACCEPT_KEYWORDS="amd64"                                                                                            
CBUILD="x86_64-pc-linux-gnu"                                                                                       
CFLAGS="-march=athlon64-sse3 -mtune=athlon64-sse3 -O2 -pipe"                                                       
CHOST="x86_64-pc-linux-gnu"                                                                                        
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"                                                            
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                                                                  
CXXFLAGS="-march=athlon64-sse3 -mtune=athlon64-sse3 -O2 -pipe"                                                                
DISTDIR="/usr/portage/distfiles"                                                                                              
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                
GENTOO_MIRRORS="ftp://gentoo.mirror.dkm.cz/pub/gentoo/"                                                                       
LANG="es_ES.utf8"                                                                                                             
LDFLAGS="-Wl,-O1"                                                                                                             
LINGUAS="es_ES es en_US en"                                                                                                   
MAKEOPTS="-j3"                                                                                                                
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local /usr/local/portage/layman/science /usr/local/portage/layman/roslin /usr/local/portage/layman/sunrise /usr/local/portage/layman/pro-audio /usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnowext X a52 aac aalib acl acpi additions adns ads aften aim aio akode akonadi alsa amazon amd64 apbs apm ares ass async audio audiofile autoipd avahi bash-completion battery bcmath beagle berkdb bidi binary-drivers binfilter bittorrent-external bluetooth bonjour branding bzip2 cairo caps cblas cdda cddb cdr cgi cgraph charconv chasen chm clamav cli client-only clisp cmake consolekit context contrib corefonts cracklib crypt css cups cupsddk curl custom-optimization cvs dbus desktopglobe detex dga dhclient dhcpcd dia directfb dosformat dri dts dv dvd dvdr dvi dvi2tty dvipdfm eap-sim editor eds emboss emovix encode esd evo exif extra fam fat fbcon ffmpeg fftw firefox firefox3 flac fontconfig foomaticdb fortran ftp fuse gcj gdbm geoip geolocation gif gimp ginac gnome gnuplot gnutls gphoto2 gpm gps graphics graphviz gsl gstreamer gtk gtkhtml gtkstyle gzip hal hddtemp hdri hfs hibernate-script iconv icu idn imagemagick imap imlib ioctl ipod ipv6 isdnlog jack jadetex java java6 javascript jce jpeg jpeg2k justify kate kde kde4 lame lapack laptop lasi latex latex3 lcms ldap libass libcaca libnotify libwww live lm_sensors logrotate lqr lzo mad madwifi maildir mailwrapper matroska matrox mbox mcve mdnsresponder-compat memlimit metric mikmod mime mmap mmx mmxext mng modules mono mopac7 motif moznomail mp3 mp4 mpeg mplayer msn mudflap multilib musepack nas ncurses network networkmanager nforce2 nls npp nptl nptlonly nsplugin ntfs numpy octave ogg omega opal openal openbabel openexr opengl openmp osc oscar osdmenu oss pam pcre pdf perl plasma plotutils pm-utils pmu png policykit portaudio posix postscript povray ppds ppm ps ps3 psf pstoedit pstricks publishers pulseaudio pymol python qt3 qt3support qt4 quicktime rar raw rdesktop readline realmedia recode reflection reiser4 reiserfs rss ruby samba sasl scanner science sdl sdl-image semantic-desktop session sharedmem shorten simplexml skype slang slp smartcard smp sndfile snmp sockets solver sox sparse spell spl sse sse2 sse3 ssl ssse3 startup-notification subtitles subversion svg svgz sysfs syslog szip taglib tcl tcpd tex4ht tga theora threads thunar tidy tiff tk transcode trash-plugin truetype type3 unicode usb userlocales v4l v4l2 vcd vhook video video-file vnc vorbis wavpack webinterface wifi winbind winpopup wma wmf wpg wps wxwidgets x264 xattr xcomposite xetex xfce xindy xine xinerama xml xorg xosd xplanet xpm xprint xscreensaver xulrunner xv xvid yahoo zeroconf zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="fuji ptp2" ELIBC="glibc" FOO2ZJS_DEVICES="hp1000" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es en_US en" SANE_BACKENDS="epson2 hp" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 31 Gregor Kališnik 2009-09-23 23:07:15 UTC
I've got some new information!

When I unplug all my USB devices (USB modem, USB, keyboard, USB mouse and USB hub/switch) and start X. There is no memory corruption! So, the memory corruption could be related to Xorg (or kernel? )

But, it still freezes! And the freeze behaves like an IO lock. Cannot kill X (with -s9 switch), ssh stops accepting connections. Any time related apps block input (watch, top). Also free blocks! dmesg is 'normal' :D.

I'll post the new Xorg.log file.

Anyway, I'll try to upgrade my gcc to 4.4 (since my brother's computer has it, and works without problem).
Comment 32 Gregor Kališnik 2009-09-23 23:08:02 UTC
Created attachment 205065 [details]
The _real_ log file
Comment 33 Gregor Kališnik 2009-09-24 16:26:14 UTC
Ok... Ignore my previous comment :). It's all ati-drivers. But I did notice that Xorg log gets 'corrupted' upon forced shutdown/restart.

I'll give it a rest for the time being :).
Comment 34 Raouf Bencheraiet 2009-10-04 18:56:50 UTC
well, with 9.8 you;re stuck with kernel <=2.6.30.
and it is really ati-drivers-9.9. you can always try the 9.10 beta (you can find it in ubuntu karmmic). Worked fine for me although a bit tedious to install, had to copy the files one by one!
Comment 35 Christian hersevoort 2009-10-08 10:50:33 UTC
It might be a stupid suggestion ..

But have you tried the revdep-rebuid tool? 

I have/had similar problems, the new ati-drivers also installed a new version of libxcb. This seams to break allot of packages. 
Comment 36 Raouf Bencheraiet 2009-10-08 13:53:45 UTC
(In reply to comment #35)
> It might be a stupid suggestion ..
> 
> But have you tried the revdep-rebuid tool? 
> 
> I have/had similar problems, the new ati-drivers also installed a new version
> of libxcb. This seams to break allot of packages. 
> 

libxcb is libxcb it has nothing to do with ati-drivers. besides that thing is binary what you get to build is a tiny part of the kernel module which only depends on .. the the kernel source tree.
Comment 37 Gregor Kališnik 2009-10-27 12:23:23 UTC
Could you please readd ati-drivers-9.8? 9.9 or 9.10 still doesn't work.

I tried to upgrade to gentoo-sources-2.6.31 and still no go.
Comment 38 Domen Kožar 2009-12-20 20:51:42 UTC
Guys, I think I have found the issue. Try the following:

Compile kernel WITHOUT MTRR support

Processor type and features  --->
     [] MTRR (Memory Type Range Register) support

reboot into new kernel, then do:

emerge -1v ati-drivers

and reboot again. This worked for me, but it disables 3D renderding DRI support. Can somebody confirm?