Bug 2219130

Summary: Mesa/r600 v. 23.1.3-1 causes regressions in wine.
Product: [Fedora] Fedora Reporter: Davide Repetto <red>
Component: mesaAssignee: Michael Cronenworth <mike>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: ajax, andreas.bierfert, besser82, bruno, bskeggs, igor.raits, j, lyude, mail, mike, rhughes, rstrode, tstellar, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-24 09:15:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Davide Repetto 2023-07-02 11:19:34 UTC
Description of problem:
=======================
Regression on many apps that worked with previous release.
They all have in common the same error:
X Error of failed request:  GLXBadFBConfig

Version-Release number of selected component (if applicable):
wine-8.11-1.fc38.x86_64

How to reproduce (examples):
============================
$ /usr/bin/wine C:\\windows\\command\\start.exe /Unix "./wine/Safari/drive_c/users/davide/Start Menu/Programs/Safari.lnk" %F
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.11 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0118:fixme:exec:SHELL_execute flags ignored: 0x00000100
0118:fixme:exec:SHELL_execute flags ignored: 0x00004100
[davide@dave ~]$ 0120:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
0120:fixme:shcore:SetCurrentProcessExplicitAppUserModelID L"Apple.Safari": stub
0120:fixme:advapi:GetCurrentHwProfileA (0031FA40) semi-stub
0120:fixme:dwmapi:DwmGetColorizationColor (0031FC0C, 0031FC10) stub
0128:fixme:file:NtLockFile I/O completion on lock not implemented yet
0058:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 70c00 (device=7 access=0 func=300 method=0)
0120:fixme:cdrom:CDROM_GetMediaType : faking success
0120:fixme:cdrom:CDROM_GetMediaType : faking success
0120:fixme:cdrom:CDROM_GetMediaType : faking success
0058:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 70c00 (device=7 access=0 func=300 method=0)
0120:fixme:cdrom:CDROM_GetMediaType : faking success
0058:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 70c00 (device=7 access=0 func=300 method=0)
0120:fixme:cdrom:CDROM_GetMediaType : faking success
0120:fixme:cdrom:CDROM_GetMediaType : faking success
0120:fixme:cdrom:CDROM_GetMediaType : faking success
0058:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 70c00 (device=7 access=0 func=300 method=0)
0120:fixme:cdrom:CDROM_GetMediaType : faking success
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  0 ()
  Serial number of failed request:  264
  Current serial number in output stream:  264

$ wine  "C:\Programmi\ZX Spectrum Emulator\zx32.exe"
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.11 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  0 ()
  Serial number of failed request:  257
  Current serial number in output stream:  257

Comment 1 Michael Cronenworth 2023-07-02 18:25:18 UTC
I cannot reproduce the problem.

Typically an error like "X Error of failed request:  GLXBadFBConfig" indicates there is a problem with your system such as your GPU driver and not with Wine.

Comment 2 Davide Repetto 2023-07-03 08:33:47 UTC
you're completely right. It is a problem with the current R600 mesa drivers.

My card is:
Advanced Micro Devices, Inc. [AMD/ATI] RS780L [Radeon 3000

Reassigning...

Comment 3 Davide Repetto 2023-07-03 08:34:41 UTC
mesa Version:
23.1.3-1.fc38

Comment 4 Bruno Wolff III 2023-07-03 20:41:54 UTC
I've been seeing a similar issue with mesa 23.1.3. Doing:
export MESA_GL_VERSION_OVERRIDE=4.5
works as a work around.
I'm seeing this with an i915 machine. I've been reluctant to do the update on some of my machines, but I should be able to test on an oldish Radeon based machine in the next week or so.

Comment 5 Davide Repetto 2023-07-03 22:23:22 UTC
The override works here too (for wine).

In the meantime I'm also noticing some minor display corruption in native linux browsers when hardware acceleration is enabled.

Comment 6 Bruno Wolff III 2023-07-24 03:46:37 UTC
23.1.4-1.fc39 fixes this for me.

Comment 7 Davide Repetto 2023-07-24 09:15:51 UTC
Same here. I think we can close this thicket.