Bug#541235: xserver-xorg-video-ati: Random Lockups when DRI enabled

Stefano pietranera at gmail.com
Thu Aug 13 06:17:03 PDT 2009


Hi Michel,

On Thu, 2009-08-13 at 11:01 +0200, Michel Dänzer wrote:
> On Wed, 2009-08-12 at 17:35 -0400, Stefano wrote:
> > 
> > AGPMode 4 was the default mode, thus it does not work
> > I tried AGPMode 2 but with no results,
> > at the time I'm writing this email I'm using AGPMode 1
> 
> Did that work better?

in fact, I did not have any improvement by changing the AGPMode, AGPMode
1 resulted in a system lockup as well.

At this moment I'm using 

Option		"BusType"	"PCI"

and it seems to work. However I've not yet "pushed" the graphics to see
if it really work and I still have some issues with the horizontal lines
displaying on screen (although it seems to me that now this problem is
less noticeable).


> > but still I have the display not behaving correctly (as the attached
> > image in my first email)
> 
> Hmm. One thing I notice is that there's almost no EXA offscreen memory,
> due to your enormous Virtual directive. Normally this should only affect
> performance, not correctness, but it might be worth trying a smaller
> maximum desktop size just in case.

I'm using the enormous Virtual screen you see in my xorg.conf because I
sometimes use a dual screen 1024x768 (laptop) + 1920x1080 (external
monitor). I suspected that this could cause problems but I'm not an
expert in this field and I wanted to test all the options with my
favorite configuration. I can try to reduce the Virtual size and post
the relevant part of the X log.

> At least for me, enabling XAA and XaaNoSolidFillRect seems to get
> decent performance without locking up.
> 
> -Dave

Dave, I'm using EXA because my X log said that the driver worked better
with it instead of XAA, but as I already said, I'm not an expert at
all ;-)
I can try these options as well and then report to Debian Bugs

> Install the xserver-xorg-dev package.
> 'apt-get build-dep xserver-xorg-video-ati' should get you the needed
> packages.
> 
> Cheers,
> Julien

Julien, thank you for the suggestion. Now I can run autogen.sh but the
(new) problem is when I run make. Here is the output:

$ make 
make  all-recursive
make[1]: Entering directory `/usr/src/xf86-video-ati-6.12.2'
Making all in src
make[2]: Entering directory `/usr/src/xf86-video-ati-6.12.2/src'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I./AtomBios/includes  -Wall -I/usr/include/xorg -I/usr/include/pixman-1
-I/usr/include/drm -I/usr/include/X11/dri    -DDISABLE_EASF
-DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS -DATOM_BIOS_PARSER
-DDRIVER_PARSER -g -O2 -MT ati.lo -MD -MP -MF ".deps/ati.Tpo" \
	  -c -o ati.lo `test -f 'ati.c' || echo './'`ati.c; \
	then mv -f ".deps/ati.Tpo" ".deps/ati.Plo"; \
	else rm -f ".deps/ati.Tpo"; exit 1; \
	fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I..
-I./AtomBios/includes -Wall -I/usr/include/xorg -I/usr/include/pixman-1
-I/usr/include/drm -I/usr/include/X11/dri -DDISABLE_EASF
-DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS -DATOM_BIOS_PARSER
-DDRIVER_PARSER -g -O2 -MT ati.lo -MD -MP -MF .deps/ati.Tpo -c ati.c
-fPIC -DPIC -o .libs/ati.o
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I./AtomBios/includes  -Wall -I/usr/include/xorg -I/usr/include/pixman-1
-I/usr/include/drm -I/usr/include/X11/dri    -DDISABLE_EASF
-DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS -DATOM_BIOS_PARSER
-DDRIVER_PARSER -g -O2 -MT atimodule.lo -MD -MP -MF
".deps/atimodule.Tpo" \
	  -c -o atimodule.lo `test -f 'atimodule.c' || echo './'`atimodule.c; \
	then mv -f ".deps/atimodule.Tpo" ".deps/atimodule.Plo"; \
	else rm -f ".deps/atimodule.Tpo"; exit 1; \
	fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I..
-I./AtomBios/includes -Wall -I/usr/include/xorg -I/usr/include/pixman-1
-I/usr/include/drm -I/usr/include/X11/dri -DDISABLE_EASF
-DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS -DATOM_BIOS_PARSER
-DDRIVER_PARSER -g -O2 -MT atimodule.lo -MD -MP -MF .deps/atimodule.Tpo
-c atimodule.c  -fPIC -DPIC -o .libs/atimodule.o
atimodule.c:39: error: ‘PACKAGE_VERSION_MAJOR’ undeclared here (not in a
function)
atimodule.c:39: error: ‘PACKAGE_VERSION_MINOR’ undeclared here (not in a
function)
atimodule.c:39: error: ‘PACKAGE_VERSION_PATCHLEVEL’ undeclared here (not
in a function)
make[2]: *** [atimodule.lo] Error 1
make[2]: Leaving directory `/usr/src/xf86-video-ati-6.12.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xf86-video-ati-6.12.2'
make: *** [all] Error 2

What do I miss now?

I'll update you about the situation.

Thank you guys,

Stefano






More information about the xorg-driver-ati mailing list