collapse

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Arch Linux + Wine 6.5-2, menu screen graphical corruption  (Read 1001 times)

Offline cyberfloof

  • Crazy cat lady extraordinaire
  • Fledgling
  • *
  • Posts: 28
  • Reputation: +6/-0
Arch Linux + Wine 6.5-2, menu screen graphical corruption
« on: April 02, 2021, 08:59:42 pm »
I suppose I was asking for trouble picking up Arch for the first time in a decade, but here we are...

Edit: forgot to add, this is with both the latest Plus Patch and with CQM.

Code: [Select]
% pacman -Q wine
wine 6.5-2
% sudo lspci -v
...
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
DeviceName:  Onboard IGD
Subsystem: Dell Device 0492
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at e0c00000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 3000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915
Kernel modules: i915
...
% glxinfo
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4

This version of Wine is slightly broken with Mesa 21, and needs a workaround. By default you get this for any 3D app in wine:

Code: [Select]
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  0 ()
  Serial number of failed request:  328
  Current serial number in output stream:  328

This is a known bug (https://bugs.winehq.org/show_bug.cgi?id=50859), the workaround is to set MESA_GL_VERSION_OVERRIDE to 4.5 or 4.5COMPAT. But if I do that, I get the attached image. Console output includes many, many repetitions of this

Code: [Select]
0108:err:d3d:wined3d_debug_callback 0x1e19d0: "GL_INVALID_OPERATION in glGetUniformLocation(program not linked)".
and this

Code: [Select]
0108:err:d3d:wined3d_debug_callback 0x1e19d0: "GL_INVALID_OPERATION in glUseProgram(program 3 not linked)".
0108:err:d3d:wined3d_debug_callback 0x1e19d0: "GL_INVALID_OPERATION in glUseProgram(program 7 not linked)".
0108:err:d3d:wined3d_debug_callback 0x1e19d0: "GL_INVALID_OPERATION in glUseProgram(program 12 not linked)".

Anyway have a clue what might be going on? Because I have none.
« Last Edit: April 02, 2021, 09:01:31 pm by cyberfloof »

Offline cyberfloof

  • Crazy cat lady extraordinaire
  • Fledgling
  • *
  • Posts: 28
  • Reputation: +6/-0
Re: Arch Linux + Wine 6.5-2, menu screen graphical corruption
« Reply #1 on: April 04, 2021, 03:55:29 pm »
Yeah for now I'm just going to fall back on PlayOnLinux and Wine 4.0.1, since those work okay. I'm all ears if anyone has a better workaround, though.

 

SimplePortal 2.3.7 © 2008-2022, SimplePortal