You are not logged in.

#1 2021-11-29 16:29:37

Jike
Member
Registered: 2021-11-07
Posts: 15

[Solved] Wine: Some game's graphics don't work unlike in other distros

This is a problem I have been trying to figure out for quite a while now, but i can't seem to be able to figure out what it is.

There are some games on wine (for example BYOND's Space Station 13) that seem to run just fine on other linux distros like mint, but for some darn reason I can't see to get the graphical display working, it shows absolutely nothing other than scrambled remnants of other windows or programs I have run before as shown in this picture:
https://imgur.com/B3CigbO.png

If I understand, mint utilizes wine 5.0, so I tried to run it all through PlayOnLinux using wine 5.0, but the same problem occurs.

I'm unsure or what the problem could be, some games with graphics run just fine, and most of the games using steam's proton run okay as well, but others like the example I gave I can't get to run on Arch no matter what workarounds I try to find, forcing me to change back to my mint partition to be able to play them.

As usual, all help is appreciated, I'll give out logs on request.


Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code

Last edited by Jike (2021-12-03 22:45:04)

Offline

#2 2021-11-29 17:38:51

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [Solved] Wine: Some game's graphics don't work unlike in other distros

What is your graphics hardware and driver(s)?

Jike wrote:

I'll give out logs on request

Please do.

Disclaimer: I don't use WINE directly (only Proton under Steam) so I may not be able to help much.


Jin, Jîyan, Azadî

Offline

#3 2021-11-29 18:05:51

Jike
Member
Registered: 2021-11-07
Posts: 15

Re: [Solved] Wine: Some game's graphics don't work unlike in other distros

Head_on_a_Stick wrote:

What is your graphics hardware and driver(s)?

Output from lscpi -v

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7550M/7570M/7650M] (prog-if 00 [VGA controller])
	DeviceName: 0
	Subsystem: Hewlett-Packard Company Device 179d
	Flags: bus master, fast devsel, latency 0, IRQ 37
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d4300000 (64-bit, non-prefetchable) [size=128K]
	I/O ports at 4000 [size=256]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon
Head_on_a_Stick wrote:

My problem with logs is I'm unsure of which ones are relevant to this specific problem.

Offline

#4 2021-11-30 11:28:13

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,270

Re: [Solved] Wine: Some game's graphics don't work unlike in other distros

The full ouput of

$ lspci -knn
# dmesg               #run this one as root

would be a good start.

If you are using Xorg , add xorg log and glxinfo -B output.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2021-12-01 01:18:23

Jike
Member
Registered: 2021-11-07
Posts: 15

Re: [Solved] Wine: Some game's graphics don't work unlike in other distros

output of lspci -knn

~ $ lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel driver in use: ivb_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
	Kernel driver in use: pcieport
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
	Subsystem: Hewlett-Packard Company Elitebook 8470p [103c:179b]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:16.3 Serial controller [0700]: Intel Corporation 7 Series/C210 Series Chipset Family KT Controller [8086:1e3d] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel driver in use: serial
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) [8086:1502] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel driver in use: e1000e
	Kernel modules: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
	Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4)
	Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 [8086:1e14] (rev c4)
	Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4)
	Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation QM77 Express Chipset LPC Controller [8086:1e55] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel driver in use: ahci
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7550M/7570M/7650M] [1002:6841]
	DeviceName: 0
	Subsystem: Hewlett-Packard Company Device [103c:179d]
	Kernel driver in use: radeon
	Kernel modules: radeon
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series] [1002:aa90]
	Subsystem: Hewlett-Packard Company Device [103c:179d]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
24:00.0 FireWire (IEEE 1394) [0c00]: JMicron Technology Corp. IEEE 1394 Host Controller [197b:2380] (rev 30)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire_ohci
24:00.1 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2392] (rev 30)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci
24:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2391] (rev 30)
	Subsystem: Hewlett-Packard Company Device [103c:179b]
	Kernel modules: sdhci_pci
25:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0082] (rev 34)
	DeviceName: WLAN
	Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN [8086:1301]
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

dmesg output

https://pastebin.com/MxRLQCMi

Xorg.0.log

https://pastebin.com/uHSgK1rQ

Output of glxinfo -B

~ $ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD TURKS (DRM 2.50.0 / 5.15.5-arch1-1, LLVM 13.0.0) (0x6841)
    Version: 21.2.5
    Accelerated: yes
    Video memory: 1024MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 1023 MB, largest block: 1023 MB
    VBO free aux. memory - total: 1021 MB, largest block: 1021 MB
    Texture free memory - total: 1023 MB, largest block: 1023 MB
    Texture free aux. memory - total: 1021 MB, largest block: 1021 MB
    Renderbuffer free memory - total: 1023 MB, largest block: 1023 MB
    Renderbuffer free aux. memory - total: 1021 MB, largest block: 1021 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 1024 MB
    Total available memory: 2045 MB
    Currently available dedicated video memory: 1023 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD TURKS (DRM 2.50.0 / 5.15.5-arch1-1, LLVM 13.0.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 21.2.5
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 21.2.5
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 21.2.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

Offline

#6 2021-12-01 05:13:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,206

Re: [Solved] Wine: Some game's graphics don't work unlike in other distros

Try to remove xf86-video-ati (you'll be using the modestting driver on top of the radeon kernel module then)

Online

#7 2021-12-02 21:33:15

Jike
Member
Registered: 2021-11-07
Posts: 15

Re: [Solved] Wine: Some game's graphics don't work unlike in other distros

seth wrote:

Try to remove xf86-video-ati (you'll be using the modestting driver on top of the radeon kernel module then)

It did not appear to have changed anything, I made sure to reboot as well.

Here's another screenshot of the whole screen display in the application:

https://i.imgur.com/1JyhgtC.png

Last edited by Jike (2021-12-03 00:26:00)

Offline

#8 2021-12-02 22:46:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,206

Re: [Solved] Wine: Some game's graphics don't work unlike in other distros

Slithery linked you the CoC, please read it and remove the oversized image.

On topic: Do you run a compositor? What desktop environment do you use?

Online

#9 2021-12-03 01:01:00

Jike
Member
Registered: 2021-11-07
Posts: 15

Re: [Solved] Wine: Some game's graphics don't work unlike in other distros

seth wrote:

Slithery linked you the CoC, please read it and remove the oversized image.

On topic: Do you run a compositor? What desktop environment do you use?

Sorry, I did not notice the first time that change had been made.

I'm utilizing bspwm with picom, to test if picom had anything to do with it, I killed it then tried the application, but the same error was occurring, it also occurred with other desktop enviroments like xfce

Edit: Speaking off, since I'm using bspwm, I'm using it with xinit.

Last edited by Jike (2021-12-03 01:20:29)

Offline

#10 2021-12-03 07:51:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,206

Re: [Solved] Wine: Some game's graphics don't work unlike in other distros

'key - let's throw some stuff against a wall and see whether seh. sticks …

Disable https://wiki.archlinux.org/title/ATI#Dy … management
Play w/ vblank and msi, https://wiki.archlinux.org/title/ATI#AT … ck_windows
And limit DRI to "2", https://wiki.archlinux.org/title/ATI#Driver_options (for the modesetting driver see https://wiki.archlinux.org/title/Intel_ … RI3_issues  - ignore that the article is about intel chips, the variable affects the driver regardless)

Online

#11 2021-12-03 22:44:34

Jike
Member
Registered: 2021-11-07
Posts: 15

Re: [Solved] Wine: Some game's graphics don't work unlike in other distros

seth wrote:

'key - let's throw some stuff against a wall and see whether seh. sticks …

Disable https://wiki.archlinux.org/title/ATI#Dy … management
Play w/ vblank and msi, https://wiki.archlinux.org/title/ATI#AT … ck_windows
And limit DRI to "2", https://wiki.archlinux.org/title/ATI#Driver_options (for the modesetting driver see https://wiki.archlinux.org/title/Intel_ … RI3_issues  - ignore that the article is about intel chips, the variable affects the driver regardless)

After having a bit of a headache trying to get all these options to work, I was able to make the graphics display properly by setting DRI to "2", utilizing this configuration file in /etc/X11/xorg.conf.d/20-radeon.conf

Monitor"
	Identifier "monitor0"
EndSection

Section "Device"
	Identifier "device0"
	Driver "ati"
	Option "DRI" "2"
EndSection

Section "Screen"
	Identifier "screen0"
	Device "device0"
	Monitor "monitor0"
	DefaultDepth 24
	SubSection "Display"
		Depth 24
		Modes "1366x768"
	EndSubSection
EndSection

Thank you a lot for the help Seth, I hope it can also help other people stuck in my specific situation with hardware. (Using an HP Elitebook 8470p)

Edit: Removed a lot of unecessary option changes that came with the example file I used, they case stuff to run slower.

Last edited by Jike (2021-12-04 00:03:19)

Offline

Board footer

Powered by FluxBB