Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56954 - xorg-x11 hangs using dri with radeon M7 (radeon 7500).
Summary: xorg-x11 hangs using dri with radeon M7 (radeon 7500).
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-13 13:21 UTC by David Röhr
Modified: 2004-09-13 12:10 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Röhr 2004-07-13 13:21:26 UTC
Using the radeon driver that follows with the kernel in 2.6.7-gentoo-r9 xorg-x11 seems to "hang" when using the dri module. The screen shows it self, and the mouse (with mouse cursor) works nice, but everything just hangs after that, no window manager gets loaded on the screen.

I'dont get that mouch output from the Xorg.log, and also tested to run an strace to locate the problem, but can't realy find anything that is causing the problem.

Reproducible: Always
Steps to Reproduce:
1. startx
2.
3.

Actual Results:  
X hangs, before loading windowmanager.

Expected Results:  
A working X enviorment with DRI functions.

There is no EE in the Xorg-file, but some WW (I don't think they tell that much).
(WW) RADEON(0): Video BIOS not detected in PCI space!
(WW) RADEON(0): Attempting to read Video BIOS from legacy ISA space!
(WW) RADEON(0): Video BIOS not found!
(WW) RADEON(0): No valid info for SCLK/MCLK for display bandwidth calculation.
(WW) RADEON(0): Video BIOS not detected, using default PLL parameters!
(WW) RADEON(0): [agp] AGP not available
(WW) RADEON(0): [agp] AGP failed to initialize -- falling back to PCI mode.
(WW) RADEON(0): [agp] If this is an AGP card, you may want to make sure the agpgart 

I can also provide with a stack trace if thats interesting, there is ALOT of
info in them :)

Portage 2.0.50-r9 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.2-r3, 2.6.7-gentoo-r9)
=================================================================
System uname: 2.6.7-gentoo-r9 ppc 750FX
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=750"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib arts berkdb cdr cups directfb dvd esd foomaticdb gdbm gif gnome
gnome-libs gpm gtk gtk2 imlib jpeg kde ldap libwww mitshm motif mozilla nls
oggvorbis opengl oss pam perl png ppc python qt readline sdl slang ssl tcpd
truetype video_cards_radeon xv
Comment 1 Chris L. Mason 2004-08-06 08:18:41 UTC
I am experiencing the exact same problem.  X starts up and I get the X cursor, but then it freezes and I get no window manager.  If I disable the radeon and agpgart modules, it works fine.  This originally happened after I did a fresh install of 2004.1 and emerged xorg-x11 using the original gcc.  Since then I've updated to gcc-3.4.1 and recompiled xorg-x11 (and the whole system) and I still have the same issue.

I also have the Radeon 7500 (ibook G3 900).

My log file shows the same warnings as the submittor and no errors.

Let me know if I can provide any more info.

Portage 2.0.50-r9 (default-ppc-2004.1, gcc-3.4.1, glibc-2.3.4.20040605-r1, 2.6.7
-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 ppc 750FX
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=750 -pipe -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=750 -pipe -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrored.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/cmason/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa berkdb crypt cups dvd esd faad fbcon foomaticdb gdbm gif gpm gtk gtk
2 imap imlib jpeg libwww lzw-tiff mad matroska mbox mitshm motif mozilla moznoco
mpose moznoirc mpeg ncurses oggvorbis opengl oss pam perl png ppc python readlin
e sdl slang speex ssl theora tiff truetype video_cards_radeon xface xv xvid zlib
"
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2004-09-13 08:52:00 UTC
did you load <your_chipset>-agp and agpgart before you loaded the Xserver?
Comment 3 David Röhr 2004-09-13 10:16:30 UTC
I no longer have access to my iBook with the radeon card, so I realy can't give any more information. Maybe the other user with the same problem can be of assistance..
Comment 4 David Holm (RETIRED) gentoo-dev 2004-09-13 10:28:45 UTC
Nope, there is no agpgart driver for this hardware. And the DRI Radeon driver worked with XFree86 and xorg-x11 6.7.0.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2004-09-13 11:50:38 UTC
So this bug is outdated. Can you please close it, david?
Comment 6 David Röhr 2004-09-13 12:10:05 UTC
Seems so, then I'll just close it.