All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
@ 2010-07-16 19:41 bugzilla-daemon
  2010-07-16 20:47 ` [Bug 29116] " bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-16 19:41 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29116

           Summary: [wine] Offscreen rendering with FBO results in
                    GL_FRAMEBUFFER_UNSUPPORTED
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: sa@whiz.se


Created an attachment (id=37131)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37131)
Civ4 screenshot with fbo for offscreen rendering

Wine uses framebuffer objects to handle offscreen rendering by default, this
isn't working so well:

err:d3d:IWineD3DDeviceImpl_ClearSurface >>>>>>>>>>>>>>>>>
GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glClear @ device.c / 4563
fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_UNSUPPORTED
(0x8cdd)
fixme:d3d:context_check_fbo_status     Color attachment 0: (0x1c6c84e0)
WINED3DFMT_B8G8R8A8_UNORM 512x512
fixme:d3d:context_check_fbo_status     Depth attachment: (0x1c6c8648)
WINED3DFMT_D24_UNORM_S8_UINT 512x512
err:d3d_draw:drawStridedFast >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION
(0x506) from glDrawElements @ drawprim.c / 46
fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_UNSUPPORTED
(0x8cdd)
fixme:d3d:context_check_fbo_status     Color attachment 0: (0x1c6c84e0)
WINED3DFMT_B8G8R8A8_UNORM 512x512
fixme:d3d:context_check_fbo_status     Depth attachment: (0x1c6c8648)
WINED3DFMT_D24_UNORM_S8_UINT 512x512

For example, in Civilization IV it results in character portraits rendering
garbage (see attached screenshot).

For some games and apps, this can be worked around by using "backbuffer"
instead, as documented in http://wiki.winehq.org/UsefulRegistryKeys but it
isn't working everywhere, and I wouldn't be surprised if this option was
removed in the future.

This might be a more general problem with Mesa instead of something specific to
radeon.

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: RV570
-- Model: Asus EAX1950Pro 256MB
-- Display connector: DVI
-- xf86-video-ati: 6.13.1
-- xserver: 1.8.99.904 (1.9.0 RC 4)
-- mesa: 80e07c41907cc0ac43d68aeb3abf9de8435e70fd
-- drm: 6ea2bda5f5ec8f27359760ce580fdad3df0464df
-- kernel: 2.6.35-rc5

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
  2010-07-16 19:41 [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED bugzilla-daemon
@ 2010-07-16 20:47 ` bugzilla-daemon
  2010-07-16 20:48 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-16 20:47 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29116

--- Comment #1 from Maciej Cencora <m.cencora@gmail.com> 2010-07-16 13:47:11 PDT ---
Please apply attached patch on mesa and provide me with full output when game
is started with RADEON_DEBUG=tex env variable.

Please attach glxinfo output too.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
  2010-07-16 19:41 [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED bugzilla-daemon
  2010-07-16 20:47 ` [Bug 29116] " bugzilla-daemon
@ 2010-07-16 20:48 ` bugzilla-daemon
  2010-07-16 21:12 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-16 20:48 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29116

--- Comment #2 from Maciej Cencora <m.cencora@gmail.com> 2010-07-16 13:48:27 PDT ---
Created an attachment (id=37133)
 View: https://bugs.freedesktop.org/attachment.cgi?id=37133
 Review: https://bugs.freedesktop.org/review?bug=29116&attachment=37133

change debug level for framebuffer validation code

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
  2010-07-16 19:41 [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED bugzilla-daemon
  2010-07-16 20:47 ` [Bug 29116] " bugzilla-daemon
  2010-07-16 20:48 ` bugzilla-daemon
@ 2010-07-16 21:12 ` bugzilla-daemon
  2010-07-16 21:12 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-16 21:12 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29116

--- Comment #3 from Sven Arvidsson <sa@whiz.se> 2010-07-16 14:12:29 PDT ---
Created an attachment (id=37137)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37137)
RADEON_DEBUG=tex log

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
  2010-07-16 19:41 [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-07-16 21:12 ` bugzilla-daemon
@ 2010-07-16 21:12 ` bugzilla-daemon
  2010-07-16 21:47 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-16 21:12 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29116

--- Comment #4 from Sven Arvidsson <sa@whiz.se> 2010-07-16 14:12:57 PDT ---
Created an attachment (id=37138)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37138)
glxinfo output

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
  2010-07-16 19:41 [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-07-16 21:12 ` bugzilla-daemon
@ 2010-07-16 21:47 ` bugzilla-daemon
  2010-07-16 21:55 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-16 21:47 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29116

--- Comment #5 from Maciej Cencora <m.cencora@gmail.com> 2010-07-16 14:47:12 PDT ---
Oh, I see you're using r300g. Unfortunately I won't be able to help you since
don't know r300g that much. Maybe Marek Olsak will do.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
  2010-07-16 19:41 [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-07-16 21:47 ` bugzilla-daemon
@ 2010-07-16 21:55 ` bugzilla-daemon
  2010-07-17  8:25 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-16 21:55 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29116

--- Comment #6 from Sven Arvidsson <sa@whiz.se> 2010-07-16 14:55:29 PDT ---
(In reply to comment #5)
> Oh, I see you're using r300g. Unfortunately I won't be able to help you since
> don't know r300g that much. Maybe Marek Olsak will do.

Argh, I thought I mentioned r300g in my first message, sorry about that.

Interesting, it does seem to be working fine with r300c.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
  2010-07-16 19:41 [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-07-16 21:55 ` bugzilla-daemon
@ 2010-07-17  8:25 ` bugzilla-daemon
  2010-07-18 13:47 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-17  8:25 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29116

--- Comment #7 from Marek Olšák <maraeo@gmail.com> 2010-07-17 01:25:02 PDT ---
A fix is on the way.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
  2010-07-16 19:41 [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED bugzilla-daemon
                   ` (6 preceding siblings ...)
  2010-07-17  8:25 ` bugzilla-daemon
@ 2010-07-18 13:47 ` bugzilla-daemon
  2010-07-18 14:05 ` bugzilla-daemon
  2010-07-19 15:35 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-18 13:47 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29116

--- Comment #8 from Marek Olšák <maraeo@gmail.com> 2010-07-18 06:47:48 PDT ---
Could you test this patch?

http://lists.freedesktop.org/archives/mesa-dev/attachments/20100717/387c70ae/attachment.patch

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
  2010-07-16 19:41 [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED bugzilla-daemon
                   ` (7 preceding siblings ...)
  2010-07-18 13:47 ` bugzilla-daemon
@ 2010-07-18 14:05 ` bugzilla-daemon
  2010-07-19 15:35 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-18 14:05 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29116

--- Comment #9 from Sven Arvidsson <sa@whiz.se> 2010-07-18 07:05:07 PDT ---
(In reply to comment #8)
> Could you test this patch?
> 
> http://lists.freedesktop.org/archives/mesa-dev/attachments/20100717/387c70ae/attachment.patch

Yes, tried it when you first posted it on mesa-dev, it's working fine here! :)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
  2010-07-16 19:41 [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED bugzilla-daemon
                   ` (8 preceding siblings ...)
  2010-07-18 14:05 ` bugzilla-daemon
@ 2010-07-19 15:35 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-19 15:35 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29116

Marek Olšák <maraeo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Marek Olšák <maraeo@gmail.com> 2010-07-19 08:35:18 PDT ---
Committed.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-07-19 15:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-16 19:41 [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED bugzilla-daemon
2010-07-16 20:47 ` [Bug 29116] " bugzilla-daemon
2010-07-16 20:48 ` bugzilla-daemon
2010-07-16 21:12 ` bugzilla-daemon
2010-07-16 21:12 ` bugzilla-daemon
2010-07-16 21:47 ` bugzilla-daemon
2010-07-16 21:55 ` bugzilla-daemon
2010-07-17  8:25 ` bugzilla-daemon
2010-07-18 13:47 ` bugzilla-daemon
2010-07-18 14:05 ` bugzilla-daemon
2010-07-19 15:35 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.