Game is running very slowly even after spending hours trying to fix it.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Scarry
Newbie
Newbie
Posts: 3
Joined: Mon Sep 25, 2023 9:25 am

Game is running very slowly even after spending hours trying to fix it.

Post by Scarry »

Hi, I am trying to run "Hot Wheels beat that"game in wine. But it runs very slowly like 5 fps. i have played other games using wine using the same settings and they dont have the issue they run smooth. These are my wine graphic settings:
0024:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 4.5 (Compatibility Profile) Mesa 23.1.8-arch1.1.
0024:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer : llvmpipe (LLVM 16.0.6, 128 bits).
0024:trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.4.
0024:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.4.
0024:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor: : NVIDIA Corporation.
0024:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.4.
0024:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor: : Mesa Project and SGI.
0024:trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True

can it be a game issue rather than wine issue?
im using X server

My specs: Core 2 Duo e8400, GT 610, 4gb ram using endeavouros with kernel 6.5.4-arch2-1
Sorry if im being dumb im new to wine and linux
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Game is running very slowly even after spending hours trying to fix it.

Post by jkfloris »

It looks like the drivers for your video card are not (properly) installed.
The Nvidia GT610 is supported by the Nvidia driver version 390.xxx
You can use nvidia-inst to see which packages to install.
Probably something like:

Code: Select all

nvidia-inst --series 390 -t --32
Don't forget to install the 32-bit part.
Scarry
Newbie
Newbie
Posts: 3
Joined: Mon Sep 25, 2023 9:25 am

Re: Game is running very slowly even after spending hours trying to fix it.

Post by Scarry »

I've used the AUR to install the drivers because nvidia-inst cant install legacy drivers.
I think the drivers are properly installed because other games run fine without lag.
what i suspect is some dependecy is missing or it switches to software rendering instead of hardware rendering idk
wine logs:
[scarry@scarry-bk391aaacjcq3233ix Bin]$ wine HOT.exe
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 16.0.6, 128 bits)").
ALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pipewire.so (/usr/lib32/alsa-lib/libasound_module_pcm_pipewire.so: cannot open shared object file: No such file or directory)
ALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pipewire.so (/usr/lib32/alsa-lib/libasound_module_pcm_pipewire.so: cannot open shared object file: No such file or directory)
0024:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 16.0.6, 128 bits)").
0024:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 16.0.6, 128 bits)").
ERROR, incorrect file header 'filC'
0024:fixme:d3d:wined3d_device_apply_stateblock Last Pixel Drawing Disabled, not handled yet.
0024:err:ole:com_get_class_object class {ca503b60-b176-11d4-a094-d0c0bf3a560c} not registered
0024:err:ole:com_get_class_object no class object {ca503b60-b176-11d4-a094-d0c0bf3a560c} could be created for context 0x1
0024:fixme:system:NtUserSystemParametersInfo Unimplemented action: 59 (SPI_SETSTICKYKEYS)
0024:fixme:system:NtUserSystemParametersInfo Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
0024:fixme:system:NtUserSystemParametersInfo Unimplemented action: 51 (SPI_SETFILTERKEYS)
0138:fixme:rawinput:NtUserRegisterRawInputDevices Unhandled flags 0x230 for device 0.
0138:fixme:rawinput:NtUserRegisterRawInputDevices Unhandled flags 0x230 for device 0.
0128:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
013c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {f9d8d64e-a144-47dc-8ee0-f53498372c29}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"GStreamer splitter filter", hr 0x8007000e.
013c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {336475d0-942a-11ce-a870-00aa002feab5}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"MPEG-I Stream Splitter", hr 0x8007000e.
013c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {1b544c20-fd0b-11ce-8c63-00aa0044b51e}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"AVI Splitter", hr 0x8007000e.
013c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {d51bd5a1-7548-11cf-a520-0080c77ef58a}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"Wave Parser", hr 0x8007000e.
014c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {f9d8d64e-a144-47dc-8ee0-f53498372c29}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"GStreamer splitter filter", hr 0x8007000e.
014c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {336475d0-942a-11ce-a870-00aa002feab5}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"MPEG-I Stream Splitter", hr 0x8007000e.
014c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {1b544c20-fd0b-11ce-8c63-00aa0044b51e}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"AVI Splitter", hr 0x8007000e.
014c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {d51bd5a1-7548-11cf-a520-0080c77ef58a}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"Wave Parser", hr 0x8007000e.
0154:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {f9d8d64e-a144-47dc-8ee0-f53498372c29}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"GStreamer splitter filter", hr 0x8007000e.
0154:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {336475d0-942a-11ce-a870-00aa002feab5}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"MPEG-I Stream Splitter", hr 0x8007000e.
0154:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {1b544c20-fd0b-11ce-8c63-00aa0044b51e}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"AVI Splitter", hr 0x8007000e.
0154:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {d51bd5a1-7548-11cf-a520-0080c77ef58a}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"Wave Parser", hr 0x8007000e.
015c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {f9d8d64e-a144-47dc-8ee0-f53498372c29}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"GStreamer splitter filter", hr 0x8007000e.
015c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {336475d0-942a-11ce-a870-00aa002feab5}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"MPEG-I Stream Splitter", hr 0x8007000e.
015c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {1b544c20-fd0b-11ce-8c63-00aa0044b51e}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"AVI Splitter", hr 0x8007000e.
015c:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {d51bd5a1-7548-11cf-a520-0080c77ef58a}, hr 0x8007000e.
0024:err:quartz:autoplug Failed to create filter for L"Wave Parser", hr 0x8007000e.
wine: Unhandled exception 0x00000000 in thread 148 at address 00000000 (thread 0148), starting debugger...
[scarry@scarry-bk391aaacjcq3233ix Bin]$

i used alt+f4 to close program so ignore the starting debugger
again, sorry if im being dumb and thx in advance
Last edited by Scarry on Tue Sep 26, 2023 8:00 pm, edited 1 time in total.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Game is running very slowly even after spending hours trying to fix it.

Post by jkfloris »

Can you post the output of:

Code: Select all

glxinfo -B
# and
glxinfo32 -B
You can find glxinfo in the mesa-utils package.
glxinfo32 is part of lib32-mesa-utils
Scarry
Newbie
Newbie
Posts: 3
Joined: Mon Sep 25, 2023 9:25 am

Re: Game is running very slowly even after spending hours trying to fix it.

Post by Scarry »

Sure

[scarry@scarry-bk391aaacjcq3233ix ~]$ glxinfo -B
# and
glxinfo32 -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 2048 MB
Total available memory: 2048 MB
Currently available dedicated video memory: 1742 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 610/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.157
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 390.157
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.157
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa (0xffffffff)
Device: llvmpipe (LLVM 16.0.6, 128 bits) (0xffffffff)
Version: 23.1.8
Accelerated: no
Video memory: 3919MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.5
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 0 MB, largest block: 0 MB
VBO free aux. memory - total: 1611 MB, largest block: 1611 MB
Texture free memory - total: 0 MB, largest block: 0 MB
Texture free aux. memory - total: 1611 MB, largest block: 1611 MB
Renderbuffer free memory - total: 0 MB, largest block: 0 MB
Renderbuffer free aux. memory - total: 1611 MB, largest block: 1611 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 1427124 MB
Total available memory: 1431043 MB
Currently available dedicated video memory: 0 MB
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 16.0.6, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 23.1.8-arch1.1
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 23.1.8-arch1.1
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.8-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

[scarry@scarry-bk391aaacjcq3233ix ~]$
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Game is running very slowly even after spending hours trying to fix it.

Post by jkfloris »

You're missing the 32-bit part of the Nvidia driver.
If I understand the EndeavourOs manual correctly, "nvidia-inst --series 390 -t --32" should tell you which packages to install.
Examples
Enable legacy drivers (older Nvidia cards)
Older Nvidia cards like GT 700 series are not supported by the latest Nvidia driver available from the official Arch repositories. For those cards there are a few alternatives:
- the nouveau open source kernel driver
- a legacy Nvidia driver from the AUR
For the older Nvidia GPUs nvidia-inst supports the nouveau driver (option -n). If legacy Nvidia drivers are needed, user can install them from the AUR, using e.g. yay. Tip: use option --test to see which packages would be installed. Then install them manually, but replace some packages to the legacy counterparts, for example nvidia-dkms to nvidia-470xx-dkms.
Scarry
Newbie
Newbie
Posts: 3
Joined: Mon Sep 25, 2023 9:25 am

Re: Game is running very slowly even after spending hours trying to fix it.

Post by Scarry »

thanks!!! its working smoothly now!
i had the 32bit drivers installed tho so i decided to reinstall them and surprisingly, it worked. game is working smoothly like in windows now. thank you!!
Locked