Bug 63933

Summary: Error in r300_set_framebuffer_state if use Dual-Head setup
Product: Mesa Reporter: Victor Aurélio <victoraur.santos>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: 9.1   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Full log using compiz as gl-based wm

Description Victor Aurélio 2013-04-25 21:40:26 UTC
Created attachment 78488 [details]
Full log using compiz as gl-based wm

If try to start any WM that uses GL(Compiz, Gnome-shell, etc...) i get screen completely stained and a lot of r300 error in .xsession-errors

Attached full log (using compiz)

Detail: if only one monitor is connected this error/bug doesn't occur and WM GL-based start correctly.
Comment 1 Alex Deucher 2013-04-25 21:47:57 UTC
As per your log, you've exceeded the hw limits of the 3D engine on your chip (max texture size of 2048x2048).

/usr/bin/compiz (opengl) - Warn: Bug in window 0x1600016 (identifying as desktop_window)
/usr/bin/compiz (opengl) - Warn: This window tried to create an absurdly large window 2646 x 1024

/usr/bin/compiz (opengl) - Warn: Unforunately, that's not supported on your hardware, because you have a maximum texture size of 2048
/usr/bin/compiz (opengl) - Warn: you should probably file a bug against that application
/usr/bin/compiz (opengl) - Warn: for now, we're going to hide tht window so that it doesn't break your desktop
Comment 2 Victor Aurélio 2013-04-26 21:57:07 UTC
Ok, if i use Xinerama (with same resolutions) will exceed hardware limit or not ?
Comment 3 Alex Deucher 2013-04-26 22:21:05 UTC
(In reply to comment #2)
> Ok, if i use Xinerama (with same resolutions) will exceed hardware limit or
> not ?

xinerama does not support 3D acceleration.
Comment 4 Victor Aurélio 2013-04-26 22:25:57 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Ok, if i use Xinerama (with same resolutions) will exceed hardware limit or
> > not ?
> 
> xinerama does not support 3D acceleration.

ok, sorry my stupid question.

if isn't bothered, i've other question, only way for i get 3D acceleration(without change resolution) is buy a new hw, or exists another way ?
Comment 5 Alex Deucher 2013-04-26 22:29:34 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Ok, if i use Xinerama (with same resolutions) will exceed hardware limit or
> > > not ?
> > 
> > xinerama does not support 3D acceleration.
> 
> ok, sorry my stupid question.
> 
> if isn't bothered, i've other question, only way for i get 3D
> acceleration(without change resolution) is buy a new hw, or exists another
> way ?

If you want to use 3D effects across a desktop larger than the hw limits of the GPU, you either need a newer GPU with larger hw limits or someone has to make major changes to the xserver to allocate separate surfaces for each monitor rather than a single large surface for all monitors.
Comment 6 Victor Aurélio 2013-04-26 22:32:28 UTC
Thank you and sorry for any inconvenience

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.