You are not logged in.

#1 2022-06-09 19:40:48

brozer
Member
Registered: 2022-06-08
Posts: 17

Wine doesn't work (intel+nvidia)

Wine can't run any application (tried wine, wine-tkg):

wineconsole cmd

002c:fixme:winediag:LdrInitializeThunk wine-staging 7.10 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
MESA-INTEL: warning: MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
wine: Unhandled page fault on execute access to 00007FE2F4B62060 at address 00007FE2F4B62060 (thread 00c4), starting debugger...
0080:fixme:unwind:virtual_unwind calling personality routine in system library not supported yet
wine: Unhandled page fault on execute access to 00007FAF9F0E0A20 at address 00007FAF9F0E0A20 (thread 0080), starting debugger...

When trying to run desktop app getting this:
00cc:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.


I have hybrid videocard on my laptop (intel+nvidia). My xorg.conf:

    Section "ServerLayout"
      Identifier "layout"
      Screen 0 "iGPU"
            Option "AllowNVIDIAGPUScreens"
    EndSection

    Section "Device"
      Identifier "iGPU"
      Driver "modesetting"
    EndSection

    Section "Screen"
      Identifier "iGPU"
      Option         "nvidiaXineramaInfoOrder" "DFP-1"
      Option         "metamodes" "2560x1600_165 +0+0"
      Device "iGPU"
    EndSection

prime-run glxinfo | grep "OpenGL renderer"

OpenGL renderer string: NVIDIA GeForce RTX 3070 Ti Laptop GPU/PCIe/SSE2

glxinfo -B

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) Graphics (ADL GT2) (0x46a6)
    Version: 22.1.1
    Accelerated: yes
    Video memory: 31794MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (ADL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

glxinfo32 -B

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) Graphics (ADL GT2) (0x46a6)
    Version: 22.1.1
    Accelerated: yes
    Video memory: 31794MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (ADL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Last edited by brozer (2022-06-09 20:34:52)

Offline

#2 2022-06-09 20:29:09

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

Re: Wine doesn't work (intel+nvidia)

Please use code tags, not quote tags and post the complete ouput of "winecfg" (assuming that fails as well?)

Offline

#3 2022-06-09 20:50:23

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: Wine doesn't work (intel+nvidia)

seth wrote:

Please use code tags, not quote tags and post the complete ouput of "winecfg" (assuming that fails as well?)

Yes

fsync: up and running.
002c:fixme:winediag:LdrInitializeThunk Wine TkG (staging) 7.10 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please don't report bugs about it on winehq.org and use https://github.com/Frogging-Family/wine-tkg-git/issues instead.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
wine: Unhandled page fault on execute access to 00007F587CA6AC70 at address 00007F587CA6AC70 (thread 0084), starting debugger...

Offline

#4 2022-06-09 21:50:22

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

Re: Wine doesn't work (intel+nvidia)

This is all?
What about wine (not -tkg)?

Offline

#5 2022-06-10 09:41:46

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: Wine doesn't work (intel+nvidia)

seth wrote:

This is all?
What about wine (not -tkg)?

This is all yes. Stuck on starting debugger...

fsync: up and running.
002c:fixme:winediag:LdrInitializeThunk Wine TkG (staging) 7.10 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please don't report bugs about it on winehq.org and use https://github.com/Frogging-Family/wine-tkg-git/issues instead.
MESA-INTEL: warning: MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
wine: Unhandled page fault on execute access to 00007F1B2B76EC70 at address 00007F1B2B76EC70 (thread 00cc), starting debugger...
wine: Unhandled page fault on execute access to 00007FE92C625190 at address 00007FE92C625190 (thread 0074), starting debugger...
0024:err:environ:run_wineboot boot event wait timed out

I tried to boot into the system under native nvidia drivers and wine worked successfully, now the question is how to solve this problem in normal mode with intel?

Last edited by brozer (2022-06-10 09:44:39)

Offline

#6 2022-06-10 13:53:11

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

Re: Wine doesn't work (intel+nvidia)

MESA-INTEL: warning: MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

But before, please post your xorg log w/ using the intel chip.
If you've xf86-video-intel installed/used, get rid of that (the xorg log will then likely show that you're using the software rasterizer)

This is btw. still wine-tkg

Offline

#7 2022-06-13 08:58:48

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: Wine doesn't work (intel+nvidia)

seth wrote:

MESA-INTEL: warning: MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

But before, please post your xorg log w/ using the intel chip.
If you've xf86-video-intel installed/used, get rid of that (the xorg log will then likely show that you're using the software rasterizer)

This is btw. still wine-tkg

It looks like everything works now. I don't know why. I can only guess, that I upgraded/installed the following packages:

[2022-06-10T15:07:17+0300] [ALPM] installed lutris (0.5.10.1-2)
[2022-06-10T15:13:48+0300] [ALPM] installed spirv-tools (2022.1-1)
[2022-06-10T15:13:48+0300] [ALPM] installed vkd3d (1.3-1)
[2022-06-10T15:42:32+0300] [ALPM] installed zenity (3.42.1-1)
2022-06-10T15:42:32+0300] [ALPM] installed steam (1.0.0.74-1)
[2022-06-10T15:42:32+0300] [ALPM] installed glew1.10 (1.10.0-3)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-dbus-glib (0.112-2)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-freeglut (3.2.2-2)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-glew1.10 (1.10.0-5)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-gtk2 (2.24.33-1)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libcurl-compat (7.83.1-1)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libcurl-gnutls (7.83.1-1)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libgcrypt15 (1.5.6-7)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libidn11 (1.33-2)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libjpeg6-turbo (1.5.3-2)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libnm (1.38.0-1)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libpng12 (1.2.59-2)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-librtmp0 (2.4-4)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libtiff4 (3.9.7-5)
[2022-06-10T15:42:32+0300] [ALPM] installed libudev0-shim (1-4)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libudev0-shim (1-5)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libusb (1.0.26-1)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libvdpau (1.5-1)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libvpx1.3 (1.3.0-2)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libnsl (2.0.0-1)
[2022-06-10T15:42:32+0300] [ALPM] installed libwrap (7.6.31-4)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libwrap (7.6.31-4)
[2022-06-10T15:42:32+0300] [ALPM] installed openssl-1.0 (1.0.2.u-1)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-openssl-1.0 (1.0.2.u-2)
[2022-06-10T15:42:32+0300] [ALPM] installed sdl12-compat (1.2.52-2)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-sdl12-compat (1.2.52-3)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libwebp (1.2.2-1)
[2022-06-10T15:42:32+0300] [ALPM] installed sdl2_image (2.0.5-2)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-sdl2_image (2.0.5-2)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libmodplug (0.8.9.0-4)
[2022-06-10T15:42:32+0300] [ALPM] installed opusfile (0.12-2)
[2022-06-10T15:42:32+0300] [ALPM] installed sdl2_mixer (2.0.4-7)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-sdl2_mixer (2.0.4-2)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-sdl2_ttf (2.0.18-1)
[2022-06-10T15:42:32+0300] [ALPM] installed sdl_image (1.2.12-7)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-sdl_image (1.2.12-7)
[2022-06-10T15:42:32+0300] [ALPM] installed libmikmod (3.3.11.1-4)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libmikmod (3.3.11.1-5)
[2022-06-10T15:42:32+0300] [ALPM] installed smpeg (0.4.5-5)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-smpeg (0.4.5-3)
[2022-06-10T15:42:32+0300] [ALPM] installed sdl_mixer (1.2.12-11)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-sdl_mixer (1.2.12-4)
[2022-06-10T15:42:32+0300] [ALPM] installed sdl_ttf (2.0.11-6)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-sdl_ttf (2.0.11-6)
[2022-06-10T15:42:32+0300] [ALPM] installed libcurl-compat (7.83.1-1)
[2022-06-10T15:42:32+0300] [ALPM] installed libcurl-gnutls (7.83.1-1)
[2022-06-10T15:42:32+0300] [ALPM] installed libgcrypt15 (1.5.6-6)
[2022-06-10T15:42:32+0300] [ALPM] installed libidn11 (1.33-2)
[2022-06-10T15:42:32+0300] [ALPM] installed libjpeg6-turbo (1.5.3-2)
[2022-06-10T15:42:32+0300] [ALPM] installed libpng12 (1.2.59-2)
[2022-06-10T15:42:32+0300] [ALPM] installed librtmp0 (2.4-5)
[2022-06-10T15:42:32+0300] [ALPM] installed libtiff4 (3.9.7-5)
[2022-06-10T15:42:32+0300] [ALPM] installed libvpx1.3 (1.3.0-3)
[2022-06-10T15:42:32+0300] [ALPM] installed sdl2_ttf (2.0.18-1)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libdbusmenu-glib (16.04.0-4)
[2022-06-10T15:42:32+0300] [ALPM] installed libdbusmenu-gtk2 (16.04.0-5)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libdbusmenu-gtk2 (16.04.0-4)
[2022-06-10T15:42:32+0300] [ALPM] installed libindicator-gtk2 (12.10.1-10)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libindicator-gtk2 (12.10.1-8)
[2022-06-10T15:42:32+0300] [ALPM] installed lib32-libappindicator-gtk2 (12.10.0-13)
[2022-06-10T15:42:32+0300] [ALPM] installed steam-native-runtime (1.0.0.70-3)
..

[2022-06-10T15:05:23+0300] [ALPM] upgraded mesa (22.1.1-1 -> 22.1.1-2)
[2022-06-10T15:05:23+0300] [ALPM] upgraded lib32-mesa (22.1.1-1 -> 22.1.1-2)
[2022-06-10T15:05:23+0300] [ALPM] upgraded pipewire (1:0.3.51-1 -> 1:0.3.52-1)
[2022-06-10T15:05:23+0300] [ALPM] upgraded lib32-pipewire (1:0.3.51-1 -> 1:0.3.52-1)
[2022-06-10T15:05:23+0300] [ALPM] upgraded pipewire-jack (1:0.3.51-1 -> 1:0.3.52-1)
[2022-06-10T15:05:23+0300] [ALPM] upgraded lib32-pipewire-jack (1:0.3.51-1 -> 1:0.3.52-1)
[2022-06-10T15:05:23+0300] [ALPM] upgraded pipewire-alsa (1:0.3.51-1 -> 1:0.3.52-1)
[2022-06-10T15:05:23+0300] [ALPM] upgraded pipewire-pulse (1:0.3.51-1 -> 1:0.3.52-1)
[2022-06-10T15:05:23+0300] [ALPM] upgraded vulkan-intel (22.1.1-1 -> 22.1.1-2)

So, the problem is solved i guess...

Offline

Board footer

Powered by FluxBB