All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 29116] New: [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED
Date: Fri, 16 Jul 2010 12:41:41 -0700 (PDT)	[thread overview]
Message-ID: <bug-29116-502@http.bugs.freedesktop.org/> (raw)

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.

             reply	other threads:[~2010-07-16 19:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-16 19:41 bugzilla-daemon [this message]
2010-07-16 20:47 ` [Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-29116-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.