Some time ago I noticed X hangs up with black screen when I try to enable dri. First I think it's the modular X related problem but remerging original Xorg didn't help. When dri is enabled 'startx' opens only a black screen and hangs up the machine (Only reboot) I startx with drm debug enabled and noiced some errors (I gues so, I am not expert here) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 67466 [details] emerge --info
Created attachment 67467 [details] syslog output from dri enabled startx
Created attachment 67468 [details] xorg configuration file
Created attachment 67469 [details] xorg log file from dri enabled startx
Your libraries are all experimental versions as the Xorg log shows version 6.99.99.900. What xorg-x11 are you running?
Currently I use xorg-server 0.99.1-r6
Ah When did dri last work?
I also just added a new xf86-video-ati snapshot today (-r2 I believe). Give it an hour or two then try it out.
It seems it it in portage now. But can even download it :( Calculating dependencies ...done! >>> emerge (1 of 1) x11-drivers/xf86-video-ati-6.5.6-r2 to / >>> Resuming download... >>> Downloading http://distfiles.gentoo.org/distfiles/xf86-video-ati-6.5.6.tar. bz2 --20:46:46-- http://distfiles.gentoo.org/distfiles/xf86-video-ati-6.5.6.tar.bz2 => `/usr/portage/distfiles/xf86-video-ati-6.5.6.tar.bz2' Resolving distfiles.gentoo.org... 156.56.247.195, 216.165.129.135, 64.50.236.52 Connecting to distfiles.gentoo.org|156.56.247.195|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 638,575 (624K), 17,927 (18K) remaining [application/x-tar] 100% [++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++===>] 638,575 23.36K/s 20:46:48 (23.33 KB/s) - `/usr/portage/distfiles/xf86-video-ati-6.5.6.tar.bz2' saved [638575/638575] !!! Fetched file: xf86-video-ati-6.5.6.tar.bz2 VERIFY FAILED! !!! Reason: Failed on MD5 verification Removing corrupt distfile... >>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/ distfiles/xf86-video-ati-6.5.6.tar.bz2 --20:46:48-- http://distro.ibiblio.org/pub/Linux/distributions/gentoo/ distfiles/xf86-video-ati-6.5.6.tar.bz2 => `/usr/portage/distfiles/xf86-video-ati-6.5.6.tar.bz2' Resolving distro.ibiblio.org... 152.2.210.109 Connecting to distro.ibiblio.org|152.2.210.109|:80... connected. HTTP request sent, awaiting response... 404 Not Found 20:46:48 ERROR 404: Not Found. >>> Downloading http://xorg.freedesktop.org/X11R7.0-RC0/everything/xf86-video- ati-6.5.6.tar.bz2 --20:46:48-- http://xorg.freedesktop.org/X11R7.0-RC0/everything/xf86-video-ati- 6.5.6.tar.bz2 => `/usr/portage/distfiles/xf86-video-ati-6.5.6.tar.bz2' Resolving xorg.freedesktop.org... 131.252.208.82 Connecting to xorg.freedesktop.org|131.252.208.82|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 620,648 (606K) [application/x-tar] 100% [=============================================================================== ================================>] 620,648 22.93K/s ETA 00:00 20:47:14 (23.45 KB/s) - `/usr/portage/distfiles/xf86-video-ati-6.5.6.tar.bz2' saved [620648/620648] !!! Couldn't download xf86-video-ati-6.5.6.tar.bz2. Aborting. !!! Fetch for /usr/portage/x11-drivers/xf86-video-ati/xf86-video-ati-6.5.6-r2. ebuild failed, continuing...
OK, the problem was the name of the package. It was identical to old one and emerge tired to continue downloading with such effects. Anyway doesn't work with this drivers too, but I dig a bit deeper and it seems dri works fine but using kernel 2.6.12. It hangs only in 2.6.13 here. I wonder can this be related to fact that this card is put in to AGP slot but run in PCI mode because there is no working gart :(
There may have been DRM changes in the kernel between .12 and .13 that caused this change. Reassigning to the kernel team, who may advise you to file an upstream kernel bug.
Indeed, please confirm that this exists on vanilla 2.6.13 then file an upstream bug at http://bugzilla.kernel.org and post the new bug URL here
OK, tested with 2.6.13 vanilla and gentoo sources with identical results. Xorg bug report at https://bugs.freedesktop.org/show_bug.cgi?id=4669 with some new informations.
A quick search of the gentoo mailing lists suggests that the other log you found belongs to Georgi Georgiev <chutz@gg3.net> - you might wish to email him and see if he has the same problem. If this is a kernel problem, it may be useful to test the latest development kernel (vanilla-sources-2.6.14_rc3)
(In reply to comment #14) > A quick search of the gentoo mailing lists suggests that the other log you found > belongs to Georgi Georgiev <chutz@gg3.net> - you might wish to email him and see > if he has the same problem. How did I get involved in this again? dsd, could you post a link to that log/post of mine? I'd like to help, but I can't recall much.
See the upstream bug http://www.gg3.net/~chutz/gentoo/xorg/kernel.log.txt
upstream bug closed, presumably the patch is included in recent X releases