Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120606 - xorg-x11-7 locks when enabling DRI on Radeon PCI
Summary: xorg-x11-7 locks when enabling DRI on Radeon PCI
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-27 21:49 UTC by David Gavilan
Modified: 2006-02-03 21:02 UTC (History)
0 users

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


Attachments
Xorg config file (xorg.conf,14.95 KB, text/plain)
2006-01-27 21:53 UTC, David Gavilan
Details
xorg log file (Xorg.0.log,53.12 KB, text/plain)
2006-01-28 08:26 UTC, David Gavilan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Gavilan 2006-01-27 21:49:12 UTC
If I enable DRI, the screen & keyboard lock. I have to login remotely and reboot. The graphics card is a Radeon 9200 AGP, but in Pegasos 2 it has to run with PCI BusType. Otherwise DRI won't work.
Comment 1 David Gavilan 2006-01-27 21:53:06 UTC
Created attachment 78324 [details]
Xorg config file

This is the "working" xorg config. To enable DRI (and let it crash), uncomment the following lines,
    #Option     "BusType" "PCI"
    #Option     "BackingStore" "true"
    #Option     "EnablePageFlip" "true"
Comment 2 David Gavilan 2006-01-27 21:58:59 UTC
Xorg.0.log:

* With the config that does not crash (attached xorg config):
  (EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.

* Uncommenting BusType PCI:
  - Under xorg-server-1.0.1
    (EE) RADEON(0): Idle timed out, resetting engine...
    (EE) RADEON(0): Idle timed out, resetting engine...
    (EE) RADEON(0): Idle timed out, resetting engine...
     ... 

  - Under xorg-server-1.0.1-r2
    There is no error in the log file. But the screen still locks.

Comment 3 David Gavilan 2006-01-27 22:05:24 UTC
I almost forgot my "emerge info" ...

Portage 2.0.54 (default-linux/ppc/2005.1/ppc, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r6 ppc)
=================================================================
System uname: 2.6.12-gentoo-r6 ppc 745/755
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=powerpc -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=powerpc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac alsa audiofile berkdb bitmap-fonts bmp bzip2 cairo canna cdr cjk crypt cups curl dri dvd dvdr emboss encode esd ethereal exif expat fam ffmpeg flac fortran gcj gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java joystick jpeg kde lcms libwww mad mhash mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt readline ruby spell ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode vcd vorbis xine xml2 xmms xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY


By the way, I upgraded to modular X following the instructions in http://gentoo-wiki.com/HOWTO_Modular_Xorg
I wanted to check on bug #110287 in the new xorg ...
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-28 00:44:45 UTC
Does it work if you don't enable page flipping or backing store? Works fine on my Pegasos that way.
Comment 5 David Gavilan 2006-01-28 08:26:09 UTC
Created attachment 78355 [details]
xorg log file

I tried just activating the "BusType" "PCI" option (no pageflipping or anything), and it locks. The Graphics card is a Radeon 7500. (I wrote 9200 in a previous post)
Comment 6 David Gavilan 2006-01-28 08:32:27 UTC
Now even if I disable the BusType PCI option back, X keeps on freezing! Can't recover it. No clue. OMG
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-28 13:28:33 UTC
If you've rebooted, and you're back on options that worked before, I suspect broken hardware.
Comment 8 David Gavilan 2006-02-03 20:59:01 UTC
MorphOS and Debian (kernel 2.6.8 and XFree86) work properly with 3D acceleration and all.

On Gentoo side works again without DRI. If I enable it, however, I get the same blank loop again. It seems the card need a hard reset or something after Xorg-7 messes it up.
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-03 21:02:25 UTC
Please file a bug at bugs.freedesktop.org in the xorg product and post the URL here. Attach your xorg.conf and Xorg.0.log files to that bug.

Thanks!