Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98611 - Garbled display with Xorg 6.8.99.x and radeon driver
Summary: Garbled display with Xorg 6.8.99.x and radeon driver
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-10 17:06 UTC by Ryan Stinnett
Modified: 2007-04-01 21:17 UTC (History)
2 users (show)

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


Attachments
Xorg Config File (xorg.conf,8.44 KB, text/plain)
2005-07-10 17:09 UTC, Ryan Stinnett
Details
Xorg Log (Xorg.0.log,32.62 KB, text/plain)
2005-07-10 17:11 UTC, Ryan Stinnett
Details
Xorg Log (Xorg.0.log,30.80 KB, text/plain)
2005-07-14 17:06 UTC, Ryan Stinnett
Details
Xorg Config File (xorg.conf,8.35 KB, text/plain)
2005-07-14 17:06 UTC, Ryan Stinnett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Stinnett 2005-07-10 17:06:43 UTC
On my laptop with an ATI Radeon 9600 Mobility card, I've had basically no luck
at all getting the Xorg 6.8.99.x series of snapshots to work.  I have tried both
Xorg's "radeon" driver and the "flgrx" driver from ATI, both of which do not
work.  I've focused on the Xorg driver because I know ATI's drivers haven't been
updated yet.  When I launch X, the display becomes a garbled mess.  There will
be a top band that contains several copies of the contents of console I just
used to launch X from and a bottom band that seems to contain copies of whatever
was last in the video memory.  I get the exact same results if I try to use xdm
or kdm in /etc/rc.conf.  I'm not trying to use 3D acceleration or compositing at
this point.  I just want to be able to login! :) I've created a seperate Gentoo
installation on a different partition to work on this issue.  Any help would be
great, as I've been trying figure this out for weeks!

Reproducible: Always
Steps to Reproduce:




emerge info:

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4,
glibc-2.3.4.20040808-r1, 2.6.12-gentoo-r2 i686)
=================================================================
System uname: 2.6.12-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    1.2.10
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.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fforce-addr -momit-leaf-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fforce-addr -momit-leaf-frame-pointer -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.seren.com/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi aim alsa arts audiofile avi berkdb bidi
bitmap-fonts cairo cdda cddb cdio cjk crypt cups dga divx4linux dpms dvd dvdr
dvdread encode fam ffmpeg foomaticdb fortran freetype gdbm gif glitz gpm gtk
gtk2 hal imlib jikes jpeg kde kdeenablefinal kdexdeltas libg++ libwww lzo mad
mikmod mmap mmx mmxext mng motif moznomail mp3 mpeg ncurses nls nptl nptlonly
oggvorbis openal opengl oss pam pdflib perl png pnp ppds python qt quicktime
rdesktop readline real sdl sndfile spell sse sse2 ssl svg tcpd tidy tiff
truetype truetype-fonts type1-fonts userlocales win32codecs wxwindows xml2 xmms
xprint xscreensaver xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Ryan Stinnett 2005-07-10 17:09:48 UTC
Created attachment 63097 [details]
Xorg Config File

This may seem a bit jumbled/crazy, I've been trying to disable anything I can
think of that might be causing the problem.
Comment 2 Ryan Stinnett 2005-07-10 17:11:42 UTC
Created attachment 63098 [details]
Xorg Log

Aside from the "INVALID MEM ALLOCATION" that seems to tracked in another bug, I
don't see any obvious problems here.  Oh, and 6.8.2 works just fine with both
the Xorg and ATI drivers.
Comment 3 Ryan Stinnett 2005-07-10 17:52:56 UTC
Here are the use flags I compiled xorg with:

x11-base/xorg-x11-6.8.99.14  -3dfx +3dnow +bitmap-fonts +cjk +debug +dlloader
-doc -font-server +insecure-drivers -ipv6 -minimal +mmx +nls -nocxx +opengl +pam
-sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) +xprint +xv
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-11 03:45:17 UTC
What do you expect? The ati driver is closed source and 6.8.99 is not even a
official release.
Comment 5 Ryan Stinnett 2005-07-11 06:26:17 UTC
Well, I'm not expecting the ATI driver to work at all, so I agree with you
there.  I've been trying to say that I'm attempting the built-in Xorg "radeon"
driver, with no success.  I know these are experimental snapshots, but from
threads in the forums it seems a lot of people are having no trouble at all,
which is why this worries me.  I fear that when this does become the stable
branch, it's not going to work for me, thus the bug.
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2005-07-12 16:42:51 UTC
Ryan, did you notice:

(EE) Failed to load module "synaptics" (module does not exist, 0)

Try re-emerging the synaptics module.
Comment 7 Ryan Stinnett 2005-07-14 17:06:09 UTC
Created attachment 63422 [details]
Xorg Log

Well, the synaptics driver won't compile with these Xorg versions without a
patch (see xorg 6.8.99 forum thread), so I just commented out all of that in my
xorg.conf and used my USB mouse as the only one.  That gets rid of the error,
but I still get the same garbled display.  Perhaps this problem only affects
Mobility Radeons (laptops)?  I'm still not sure what the cause is.  Could I use
gdb to find out what happens right before X finishes loading and the garbled
screen appears?  I don't know how to use gdb, but if that will help, I can try
to figure something out there.	Thanks for the help so far!
Comment 8 Ryan Stinnett 2005-07-14 17:06:57 UTC
Created attachment 63423 [details]
Xorg Config File
Comment 9 Joshua Baergen (RETIRED) gentoo-dev 2005-07-14 17:34:24 UTC
http://wiki.x.org/wiki/DebuggingTheXserver should help you out.
Comment 10 Ryan Stinnett 2005-07-18 15:18:29 UTC
Well, I tried that out, but since Xorg never crashes, gdb isn't helping me too
much.  The interesting thing is if I've set kdm to load in /etc/rc.conf (for
example), I can switch back to a console and see all the processes running for
Xorg, kdm, and such, but I just can't see them when I switch back to X!  I just
get this static image which contains copies of consoles tiled around the screen.
At a resolution of 1024x768, there are four console "tiles" visible.  I feel
like there is just some startup routine missing in the driver because with
6.8.2, I see  the same console tile effect when I switch from a console back to
X, but a second later the tiles disappear and X returns to normal.
Comment 11 Joshua Baergen (RETIRED) gentoo-dev 2005-07-18 18:37:09 UTC
Alright, one more thing to try: could you try all the various previous versions
and see where the breakage occurred?  Once done, file the bug at
bugs.freedesktop.org and drop the link here.
Comment 12 Ryan Stinnett 2005-07-29 06:59:44 UTC
Sorry it took me a while to get back to this...  First off, I got rid of my
"ricerish" CFLAGS and replaced them with "-O1 -march=athlonxp -pipe".  Also, I'm
now using the synaptics driver from the ebuild (which compiles with the new
patch).  I've determined that this broke between 6.8.99.3 and 6.8.99.5.  I'll
soon try out 6.8.99.4 (that one never had its own ebuild, but it shouldn't be
too hard).  After that, I'll attempt to find anything obvious in the code that
might have caused this, though I know nothing about the Xorg codebase, so that
probably won't get me anywhere. ;)
Comment 13 Ryan Stinnett 2005-08-08 21:44:18 UTC
6.8.99.4 is the first snapshot that exhibits this behavior, and there was quite
a bit of code added to the Radeon driver then, but mostly for Theatre support. 
I couldn't figure out what may have caused the issue, though Xorg's codebase
isn't the easiest to work with.  I'm currently testing Donnie's modular 7.0
ebuilds.  If I still see it present there, I'll file upstream.
Comment 14 LuisMi Garcia 2005-09-13 15:35:19 UTC
Ryan, have you had more luck with splited ebuilds? I'm having a problem and 
it's quite similar to this bug... 
Comment 15 Ryan Stinnett 2005-09-14 12:23:23 UTC
Well, I haven't even been able to fully install the modular Xorg, but I didn't
spend enough time on it most likely.  I'll give that a try in the next few days
if I can, assuming school doesn't get in the way.
Comment 16 LuisMi Garcia 2005-09-14 12:35:08 UTC
I've just installed xorg (cvs) from the fluidportage tree and I still suffer 
from the same problem, so I don't know where the problem could be... 
Comment 17 Ryan Stinnett 2005-09-15 13:16:04 UTC
What ATI chip do you have Luis?   Here's the respective output from 'lspci -v'
from my computer:

0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility
Radeon 9600 M10] (prog-if 00 [VGA])
        Subsystem: Mitac: Unknown device 8355
        Flags: bus master, 66Mhz, medium devsel, latency 255, IRQ 11
        Memory at a8000000 (32-bit, prefetchable)
        I/O ports at c100
        Memory at e0010000 (32-bit, non-prefetchable)
        Capabilities: [58] AGP version 3.0
        Capabilities: [50] Power Management version 2
Comment 18 Thomas Bettler 2006-01-26 02:36:57 UTC
So, is it working now?
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 21:17:06 UTC
File a new bug if you can reproduce this w/ current x11-base/xorg-server x11-drivers/xf86-video-ati versions. Thanks.