Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104576 - X hangs on startup when dri is enabled
Summary: X hangs on startup when dri is enabled
Status: VERIFIED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-02 03:30 UTC by Marcin Kurek
Modified: 2007-01-10 03:45 UTC (History)
2 users (show)

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


Attachments
emerge --info (drm-emerge,3.76 KB, text/plain)
2005-09-02 03:30 UTC, Marcin Kurek
Details
syslog output from dri enabled startx (drm-syslog,147.68 KB, text/plain)
2005-09-02 03:31 UTC, Marcin Kurek
Details
xorg configuration file (drm-xconf,3.40 KB, text/plain)
2005-09-02 03:31 UTC, Marcin Kurek
Details
xorg log file from dri enabled startx (drm-xlog,51.43 KB, text/plain)
2005-09-02 03:31 UTC, Marcin Kurek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kurek 2005-09-02 03:30:08 UTC
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.
Comment 1 Marcin Kurek 2005-09-02 03:30:30 UTC
Created attachment 67466 [details]
emerge --info
Comment 2 Marcin Kurek 2005-09-02 03:31:01 UTC
Created attachment 67467 [details]
syslog output from dri enabled startx
Comment 3 Marcin Kurek 2005-09-02 03:31:15 UTC
Created attachment 67468 [details]
xorg configuration file
Comment 4 Marcin Kurek 2005-09-02 03:31:35 UTC
Created attachment 67469 [details]
xorg log file from dri enabled startx
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2005-09-02 13:35:40 UTC
Your libraries are all experimental versions as the Xorg log shows version
6.99.99.900.  What xorg-x11 are you running?
Comment 6 Marcin Kurek 2005-09-02 15:07:18 UTC
Currently I use xorg-server 0.99.1-r6
Comment 7 Joshua Baergen (RETIRED) gentoo-dev 2005-09-03 07:24:56 UTC
Ah

When did dri last work?
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2005-09-03 07:48:41 UTC
I also just added a new xf86-video-ati snapshot today (-r2 I believe).  Give it
an hour or two then try it out.
Comment 9 Marcin Kurek 2005-09-03 11:49:17 UTC
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...
Comment 10 Marcin Kurek 2005-09-03 16:43:29 UTC
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 :(
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2005-09-05 17:37:13 UTC
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.
Comment 12 Daniel Drake (RETIRED) gentoo-dev 2005-09-11 07:55:38 UTC
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
Comment 13 Marcin Kurek 2005-10-03 03:08:48 UTC
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.
Comment 14 Daniel Drake (RETIRED) gentoo-dev 2005-10-03 05:42:16 UTC
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)
Comment 15 Georgi Georgiev 2005-10-03 19:49:05 UTC
(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.
Comment 16 Daniel Drake (RETIRED) gentoo-dev 2005-10-04 00:31:55 UTC
See the upstream bug

http://www.gg3.net/~chutz/gentoo/xorg/kernel.log.txt
Comment 17 Daniel Drake (RETIRED) gentoo-dev 2007-01-10 03:45:49 UTC
upstream bug closed, presumably the patch is included in recent X releases