* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
@ 2018-08-26 16:56 bugzilla-daemon
2018-08-26 16:57 ` bugzilla-daemon
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-08-26 16:56 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1269 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
Bug ID: 107693
Summary: [wine] Wolfenstein: The Old Blood - can't find
GL_EXT_framebuffer_object
Product: Mesa
Version: 18.2
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel@lists.freedesktop.org
Reporter: sa@whiz.se
QA Contact: dri-devel@lists.freedesktop.org
Created attachment 141290
--> https://bugs.freedesktop.org/attachment.cgi?id=141290&action=edit
game log
The game Wolfenstein The Old Blood fails to start with
FATAL ERROR: GL_EXT_framebuffer_object not available
This is another old title that uses a 3.2 compatibility context.
Wine log with +wgl and the game log file is attached.
System environment:
-- system architecture: 64-bit
-- Linux distribution: Debian unstable
-- GPU: TONGA
-- Model: Asus Strix R9 285 2GB
-- Display connector: DVI
-- xf86-video-amdgpu: 18.0.1
-- xserver: 1.20.1
-- mesa: 18.2.0~rc4
-- drm: 2.4.93
-- kernel: 4.17
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2753 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
@ 2018-08-26 16:57 ` bugzilla-daemon
2018-08-31 5:13 ` bugzilla-daemon
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-08-26 16:57 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 300 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
--- Comment #1 from Sven Arvidsson <sa@whiz.se> ---
Created attachment 141291
--> https://bugs.freedesktop.org/attachment.cgi?id=141291&action=edit
wine wgl log
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1238 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
2018-08-26 16:57 ` bugzilla-daemon
@ 2018-08-31 5:13 ` bugzilla-daemon
2018-08-31 10:24 ` bugzilla-daemon
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-08-31 5:13 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 566 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
--- Comment #2 from Timothy Arceri <t_arceri@yahoo.com.au> ---
This is an odd one. The games rendering thread creates and uses a compat
profile but when it checks extensions it actually creates a core profile in
another thread.
It ends up failing to find GL_EXT_framebuffer_object because its checking the
core profile rather than the compat profile (in mesa this extension is
currently only enable for the comapt profile).
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1399 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
2018-08-26 16:57 ` bugzilla-daemon
2018-08-31 5:13 ` bugzilla-daemon
@ 2018-08-31 10:24 ` bugzilla-daemon
2018-09-01 19:01 ` bugzilla-daemon
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-08-31 10:24 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 330 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
--- Comment #3 from Sven Arvidsson <sa@whiz.se> ---
AFAIK none of the id Tech 5/6 actually uses any legacy stuff. The compatibility
context is only used for initial probing by the GLEW library.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1152 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
` (2 preceding siblings ...)
2018-08-31 10:24 ` bugzilla-daemon
@ 2018-09-01 19:01 ` bugzilla-daemon
2018-09-05 23:51 ` bugzilla-daemon
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-09-01 19:01 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 365 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
--- Comment #4 from Sven Arvidsson <sa@whiz.se> ---
Looks like the Nvidia driver exposes GL_EXT_framebuffer_object in core
profiles.
The ARB and EXT variants supposedly differ somewhat so I guess it's done for
compatibility?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1187 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
` (3 preceding siblings ...)
2018-09-01 19:01 ` bugzilla-daemon
@ 2018-09-05 23:51 ` bugzilla-daemon
2018-09-06 19:36 ` bugzilla-daemon
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-09-05 23:51 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 975 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
--- Comment #5 from Timothy Arceri <t_arceri@yahoo.com.au> ---
(In reply to Sven Arvidsson from comment #4)
> Looks like the Nvidia driver exposes GL_EXT_framebuffer_object in core
> profiles.
>
> The ARB and EXT variants supposedly differ somewhat so I guess it's done for
> compatibility?
The game also looks for ARB_vertex_buffer_object in core (which mesa doesn't
expose) and tries to use EXT_direct_state_access without checking for it.
I've enabled these extensions and added a partial implementation of
EXT_direct_state_access but the game is crashing so I'm still missing something
[1].
The EXT_direct_state_access implementation does work well enough to be able to
run Doom (2016) which uses the extension when it detects it.
[1] https://gitlab.freedesktop.org/tarceri/mesa/commits/EXT_direct_state_access
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1981 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
` (4 preceding siblings ...)
2018-09-05 23:51 ` bugzilla-daemon
@ 2018-09-06 19:36 ` bugzilla-daemon
2018-09-06 19:37 ` bugzilla-daemon
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-09-06 19:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 496 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
--- Comment #6 from gloriouseggroll@gmail.com ---
Unsure if this helps or not, but before mesa's profiles were updated I was able
to get the game running using this patch:
https://gitlab.com/GloriousEggroll/wolfenstein-tno-tob-linux/blob/master/idtech5.patch
and setting
MESA_GL_VERSION_OVERRIDE=4.5COMPAT
this was working with wine 2.17 at the time
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1418 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
` (5 preceding siblings ...)
2018-09-06 19:36 ` bugzilla-daemon
@ 2018-09-06 19:37 ` bugzilla-daemon
2018-09-07 6:02 ` bugzilla-daemon
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-09-06 19:37 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 313 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
--- Comment #7 from gloriouseggroll@gmail.com ---
this patch was for wine btw, not mesa, but maybe it can be used to find what
wine was providing that allowed the game to start
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1134 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
` (6 preceding siblings ...)
2018-09-06 19:37 ` bugzilla-daemon
@ 2018-09-07 6:02 ` bugzilla-daemon
2018-09-07 13:52 ` bugzilla-daemon
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-09-07 6:02 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 867 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
--- Comment #8 from Timothy Arceri <t_arceri@yahoo.com.au> ---
(In reply to gloriouseggroll from comment #6)
> Unsure if this helps or not, but before mesa's profiles were updated I was
> able to get the game running using this patch:
>
> https://gitlab.com/GloriousEggroll/wolfenstein-tno-tob-linux/blob/master/
> idtech5.patch
>
> and setting
> MESA_GL_VERSION_OVERRIDE=4.5COMPAT
>
> this was working with wine 2.17 at the time
I'm not sure how that was possible, without my partial EXT_direct_state_access
implementation I just get a green screen.
Anyway it seems the game also requires ARB_vertex_program exposed in the core
profile. With this I can now play the game on my EXT_direct_state_access
branch.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1886 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
` (7 preceding siblings ...)
2018-09-07 6:02 ` bugzilla-daemon
@ 2018-09-07 13:52 ` bugzilla-daemon
2018-09-07 20:54 ` bugzilla-daemon
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-09-07 13:52 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 297 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
--- Comment #9 from gloriouseggroll@gmail.com ---
it may have been using 3.3compat or 3.2compat, dont remember which, but that
patch was working with both games
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1118 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
` (8 preceding siblings ...)
2018-09-07 13:52 ` bugzilla-daemon
@ 2018-09-07 20:54 ` bugzilla-daemon
2018-09-18 9:39 ` bugzilla-daemon
2018-09-18 23:05 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-09-07 20:54 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 761 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
--- Comment #10 from Sven Arvidsson <sa@whiz.se> ---
FWIW, the patch doesn't apply cleanly, but still works with Wine 3.15. The game
starts and looks ok with MESA_GLSL_VERSION_OVERRIDE=150
MESA_GL_VERSION_OVERRIDE=3.2COMPAT (both on 18.0.5 without real compatibility
and on 18.2).
But for all I know. it might break horribly after the first few minutes.
(In reply to Timothy Arceri from comment #8)
> Anyway it seems the game also requires ARB_vertex_program exposed in the
> core profile. With this I can now play the game on my
> EXT_direct_state_access branch.
That is awesome! Thanks for working on this!
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1661 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
` (9 preceding siblings ...)
2018-09-07 20:54 ` bugzilla-daemon
@ 2018-09-18 9:39 ` bugzilla-daemon
2018-09-18 23:05 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-09-18 9:39 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1575 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
Timothy Arceri <t_arceri@yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #11 from Timothy Arceri <t_arceri@yahoo.com.au> ---
Should be fixed by:
commit 64ec50d52fa691cc1712df1d7eebea90552b7c2e
Author: Timothy Arceri <tarceri@itsqueeze.com>
Date: Wed Sep 12 10:52:06 2018 +1000
mesa/st: add force_compat_profile option to driconfig
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
and
commit 024abd3534a171ae4ee1532a078f3af68eb6fdea (HEAD -> master)
Author: Timothy Arceri <tarceri@itsqueeze.com>
Date: Wed Sep 12 10:52:07 2018 +1000
util: use force_compat_profile for Wolfenstein The Old Blood
This game is looking for some odd extension after creating a core
context such as ARB_vertex_program and EXT_framebuffer_object.
Rather then enabling these in core this forces the game to use
compat. This allows the game to run and seems to work without
issues. All other id tech games/engines use a compat profile.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
As for the green screen that is a bug with wine staging. Proton and older
versions of wine staging were fine. See:
https://bugs.winehq.org/show_bug.cgi?id=45826
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3440 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
` (10 preceding siblings ...)
2018-09-18 9:39 ` bugzilla-daemon
@ 2018-09-18 23:05 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2018-09-18 23:05 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 586 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107693
--- Comment #12 from gloriouseggroll@gmail.com ---
We've removed the broken opengl patchset in wine-staging. Seems the problems it
resolved originally have all been resolved in wine already. Should be effective
next release. it was also affecting DOOM 2016.
https://github.com/wine-staging/wine-staging/commits/master
commit: bd3794c11e682e8489959ff79405396f742ee7c4
can confirm after your patches wolfenstein TOB works perfectly. thank you!
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1534 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2018-09-18 23:05 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-26 16:56 [Bug 107693] [wine] Wolfenstein: The Old Blood - can't find GL_EXT_framebuffer_object bugzilla-daemon
2018-08-26 16:57 ` bugzilla-daemon
2018-08-31 5:13 ` bugzilla-daemon
2018-08-31 10:24 ` bugzilla-daemon
2018-09-01 19:01 ` bugzilla-daemon
2018-09-05 23:51 ` bugzilla-daemon
2018-09-06 19:36 ` bugzilla-daemon
2018-09-06 19:37 ` bugzilla-daemon
2018-09-07 6:02 ` bugzilla-daemon
2018-09-07 13:52 ` bugzilla-daemon
2018-09-07 20:54 ` bugzilla-daemon
2018-09-18 9:39 ` bugzilla-daemon
2018-09-18 23:05 ` 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.