Bug#470581: xserver-xorg-video-ati: X exit while running xv apps (mplayer, totem, etc) when using randr sidebyside monitors and compiz

Alban Browaeys prahal at yahoo.com
Thu Mar 20 10:23:47 PDT 2008


Le mercredi 19 mars 2008 à 18:47 +0100, Michel Dänzer a écrit : 
> On Wed, 2008-03-12 at 03:49 +0100, Alban Browaeys wrote: 
> > Package: xserver-xorg-video-ati
> > Severity: normal
> > 
> > Tracing with gdb from remote host I get only:
> > Program exited with code 0352.
> > when the "crash" happens (no freeze only X stop and gdm is fired up).
> > 
> > This happens when running mplayer/totem with xv so I first though it was
> > a critical bug in the driver. By cheer luck I found out it was because
> > compiz check max texture size against width and height to avoid issues
> > ..... but randr changes those width and height on the fly afterwards.
> > And bad things happens. I had a 1280x800 LVDS and a 800x600 TV which
> > made up 2080 just above my  GL_MAX_TEXTURE_SIZE of 2048 (radeon mobility
> > M25 X600 rev 0).
> > 
> > Sorry if you find out that this is not up to the driver to disable dri
> > on the fly if max texture is reached. Please forward it to compiz if so.
> > 
> > I made the test with 1:6.8.1~git20080310.38606b08-1 and then with source
> > (which I currently use thus the lack of version info). Though the issue
> > affects all versions at least in 6.8 branch.
> 
> I have a hard time making sense of this report... It'll be hard to
> impossible to do anything about it without at least the full log file of
> the aborted server and/or a better description of what exactly happens
> under what circumstances.


Attached are the xorg logs :
-Xorg.0_brokenCompiz.log is trying to start an XV application (mplayer)
with a virtual having a width bigger than max texture size on compiz
desktop .
-Xorg.0_workingNonCompiz.log : same big virtual but with the rescue
terminal session . It works.
-Xorg.0_workingCompiz.log : virtual with a width lower than max texture
size . No crash too and XV application works on both outputs.

Note that with a virtual of width 2080 even if I set the real width to
1024+800 via xrandr (instead of 1280+800)  it crashes. With a virtual
screen of 2048 using 1024+800 works (and I obviously cannot reach 1280
+800).

My xorg.conf is also attached.

Steps to reproduce :
1 . set virtual to 2080x2080 in xorg.conf
2 . start X with compiz , enable the second display and set the layout
to "extended" (grandr does not display the option but one can drag a
screen on the right box or other and then apply change).
3 . start mplayer with a video ... crash.


Best regards
Alban
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0_brokenCompiz.log
Type: text/x-log
Size: 73663 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-driver-ati/attachments/20080320/a94d435d/attachment-0003.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0_workingCompiz.log
Type: text/x-log
Size: 92168 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-driver-ati/attachments/20080320/a94d435d/attachment-0004.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0_workingNonCompiz.log
Type: text/x-log
Size: 66057 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-driver-ati/attachments/20080320/a94d435d/attachment-0005.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorg.conf
Type: application/octet-stream
Size: 4685 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-driver-ati/attachments/20080320/a94d435d/attachment-0001.obj 


More information about the xorg-driver-ati mailing list