You are not logged in.

#1 2022-11-11 02:25:37

LinearView88
Member
Registered: 2021-03-28
Posts: 62

[SOLVED] Wine failing semi-consistently with a page fault exception

Ever since moving to a new computer, wine is failing almost ever time when attempting to run programs. This occurs whether I am attempting to use proton or whether I am simply trying to run an exe file with wine from the command line. The error that occurs usually looks something like this:

wine: Unhandled page fault on execute access to 00007F3D762CC230 at address 00007F3D762CC230 (thread 00d8), starting debugger...

Last edited by LinearView88 (2022-11-11 20:15:43)

Offline

#2 2022-11-11 08:14:24

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: [SOLVED] Wine failing semi-consistently with a page fault exception

What if you momentary downgrade wine?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2022-11-11 13:35:23

LinearView88
Member
Registered: 2021-03-28
Posts: 62

Re: [SOLVED] Wine failing semi-consistently with a page fault exception

I mean, I could downgrade wine, but aren't I just risking further incompatibilities and breaking things if I do that? I think the problem is probably somewhere in my video driver setup.

Offline

#4 2022-11-11 13:41:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,182

Re: [SOLVED] Wine failing semi-consistently with a page fault exception

Possibly, what's your hardware/setup here? If this is an optimus setup with technically capable intel  HW, it might be necessary to have vulkan-intel in addition to whatever drivers you have otherwise. You might also want to post the full log output rather than the final faulting line. FWIW

lspci -k
glxinfo -B #mesa-utils
vulkaninfo --summary #vulkan-tools

Offline

#5 2022-11-11 15:02:04

LinearView88
Member
Registered: 2021-03-28
Posts: 62

Re: [SOLVED] Wine failing semi-consistently with a page fault exception

lspci -k:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
	Subsystem: Dell Device 0a6e
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
	Subsystem: Dell Device 0a6e
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Kernel driver in use: pcieport
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Kernel driver in use: pcieport
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
	Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
	Kernel driver in use: pcieport
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
	Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
	Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
	Subsystem: Dell Device 0a6e
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: Dell Device 0a6e
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)
	Subsystem: Dell Device 0a6e
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation Device 2291 (rev a1)
	Subsystem: Dell Device 0a6e
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
02:00.0 Non-Volatile memory controller: SK hynix Gold P31/PC711 NVMe Solid State Drive
	Subsystem: SK hynix Gold P31/PC711 NVMe Solid State Drive
	Kernel driver in use: nvme
	Kernel modules: nvme
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
	Subsystem: Dell Device 0a6e
	Kernel driver in use: r8169
	Kernel modules: r8169
04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
	Subsystem: Rivet Networks Killer™ Wi-Fi 6 AX1650x (AX200NGW)
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c5)
	Subsystem: Dell Device 0a6e
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
	Subsystem: Dell Device 0a6e
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
	Subsystem: Dell Device 0a6e
	Kernel driver in use: ccp
	Kernel modules: ccp
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
	Subsystem: Dell Device 0a6e
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
	Subsystem: Dell Device 0a6e
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
	Subsystem: Dell Device 0a6e
	Kernel driver in use: snd_rn_pci_acp3x
	Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_sof_amd_renoir
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
	Subsystem: Dell Device 0a6e
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
	Subsystem: Dell Device 0a6e
	Kernel driver in use: ahci
06:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
	Subsystem: Dell Device 0a6e
	Kernel driver in use: ahci

glxinfo -B:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon Graphics (renoir, LLVM 14.0.6, DRM 3.48, 6.0.7-arch1-1) (0x1638)
    Version: 22.2.2
    Accelerated: yes
    Video memory: 512MB
    Unified memory: no
    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
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 124 MB, largest block: 124 MB
    VBO free aux. memory - total: 3199 MB, largest block: 3199 MB
    Texture free memory - total: 124 MB, largest block: 124 MB
    Texture free aux. memory - total: 3199 MB, largest block: 3199 MB
    Renderbuffer free memory - total: 124 MB, largest block: 124 MB
    Renderbuffer free aux. memory - total: 3199 MB, largest block: 3199 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 512 MB
    Total available memory: 4157 MB
    Currently available dedicated video memory: 124 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (renoir, LLVM 14.0.6, DRM 3.48, 6.0.7-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.2.2
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.2.2
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.2.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

vulkaninfo --summary:

==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.226


Instance Extensions: count = 20
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6

Instance Layers: count = 5
--------------------------
VK_LAYER_NV_optimus               NVIDIA Optimus layer         1.3.205  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer          1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer          1.3.207  version 1

Devices:
========
GPU0:
	apiVersion         = 4206797 (1.3.205)
	driverVersion      = 2181955968 (0x820e0180)
	vendorID           = 0x10de
	deviceID           = 0x25a0
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = NVIDIA GeForce RTX 3050 Ti Laptop GPU
	driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
	driverName         = NVIDIA
	driverInfo         = 520.56.06
	conformanceVersion = 1.3.3.0
	deviceUUID         = 1eb4d3f3-d7bc-356e-9747-e4ff171a579f
	driverUUID         = 3d514814-41f1-5c75-b68c-a8bcf1838bf1
GPU1:
	apiVersion         = 4206816 (1.3.224)
	driverVersion      = 92282882 (0x5802002)
	vendorID           = 0x1002
	deviceID           = 0x1638
	deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
	deviceName         = AMD Radeon Graphics (RADV RENOIR)
	driverID           = DRIVER_ID_MESA_RADV
	driverName         = radv
	driverInfo         = Mesa 22.2.2
	conformanceVersion = 1.2.7.1
	deviceUUID         = 00000000-0500-0000-0000-000000000000
	driverUUID         = 414d442d-4d45-5341-2d44-525600000000

As far as full wine output goes, here's the result of me running a very simple exe file with wine:

0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:err:seh:KiUserCallbackDispatcher ignoring exception
0074:err:seh:KiUserCallbackDispatcher ignoring exception
0074:err:seh:KiUserCallbackDispatcher ignoring exception
wine: Unhandled page fault on execute access to 00007F0C4CA1A670 at address 00007F0C4CA1A670 (thread 00e0), starting debugger...
0074:err:seh:KiUserCallbackDispatcher ignoring exception
0074:err:seh:KiUserCallbackDispatcher ignoring exception
0074:err:seh:KiUserCallbackDispatcher ignoring exception
0074:err:seh:KiUserCallbackDispatcher ignoring exception
0074:err:seh:KiUserCallbackDispatcher ignoring exception
0074:err:seh:KiUserCallbackDispatcher ignoring exception
0074:err:seh:KiUserCallbackDispatcher ignoring exception
0074:err:seh:KiUserCallbackDispatcher ignoring exception
0074:err:seh:KiUserCallbackDispatcher ignoring exception
wine: Unhandled page fault on execute access to 00007F31A7E5E670 at address 00007F31A7E5E670 (thread 0074), starting debugger...
^C0104:err:sync:RtlpWaitForCriticalSection section 0000000170069620 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0104, blocked by 00d8, retrying (60 sec)

I should note that I already have vulkan-intel installed.

Last edited by LinearView88 (2022-11-11 15:02:55)

Offline

#6 2022-11-11 15:11:30

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: [SOLVED] Wine failing semi-consistently with a page fault exception

What if you run this:

WINEARCH=win64 WINEDEBUG=fixme-all WINEPREFIX=~/somewhere/somepath/blahblah wine start PROGRAM.EXE

Do NOT manually create blahblah/ inside ~/somewhere/somepath/


Or... Try downgrading.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#7 2022-11-11 15:18:44

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

Re: [SOLVED] Wine failing semi-consistently with a page fault exception

I should note that I already have vulkan-intel installed.

01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)
	Subsystem: Dell Device 0a6e
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
…
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c5)
	Subsystem: Dell Device 0a6e
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
ls /usr/share/vulkan/icd.d/

Speculatively:

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json wine whatever

Offline

#8 2022-11-11 15:20:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,182

Re: [SOLVED] Wine failing semi-consistently with a page fault exception

That might be an issue in the other direction, remove vulkan-intel given the specs you'd need just radeon-vulkan and nvidia-utils. Since you technically have both a nvidia and a radeon card it might be useful to install vulkan-mesa-layers as well.

That said this stack trace doesn't look graphics related. And a cursory googler pops up https://github.com/Frogging-Family/wine … issues/840 for example, is this wine-staging and can you test the non-staging wine?

Edit: Whoops I'm late again.

Last edited by V1del (2022-11-11 15:22:37)

Offline

#9 2022-11-11 19:24:23

LinearView88
Member
Registered: 2021-03-28
Posts: 62

Re: [SOLVED] Wine failing semi-consistently with a page fault exception

I'm using wine, not wine-staging.

ls /usr/share/vulkan/icd.d:

total 24K
drwxr-xr-x 2 root root 4.0K Nov  7 17:49 .
drwxr-xr-x 5 root root 4.0K Oct 21 23:13 ..
-rw-r--r-- 1 root root  148 Oct 20 10:11 intel_icd.i686.json
-rw-r--r-- 1 root root  146 Oct 20 10:08 intel_icd.x86_64.json
-rw-r--r-- 1 root root  140 Oct 18 17:50 nvidia_icd.json
-rw-r--r-- 1 root root  147 Oct 20 10:08 radeon_icd.x86_64.json

Seth's suggestion about VK_ICD_FILENAMES appeared to work, though I"m not entirely sure why.

Offline

#10 2022-11-11 19:32:28

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

Re: [SOLVED] Wine failing semi-consistently with a page fault exception

You're running on the AMD APU (which is the default and battery saving in a hybrid setup) but vulkan considers that GPU1 (and nvidia GPU0)
By explicitly telling vulkan to use the APU you're aligning that  w/ the active GPU.
I also googled "Unhandled page fault on execute access to" and indeed found some post, suggesting that this is a symptom of this condition.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#11 2022-11-11 20:17:22

LinearView88
Member
Registered: 2021-03-28
Posts: 62

Re: [SOLVED] Wine failing semi-consistently with a page fault exception

Marked as solved. Thanks, Seth, and thank you everyone.

Is there any kind of more permanent solution I should consider, other than just setting an environment variable?

Offline

#12 2022-11-11 20:23:08

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

Re: [SOLVED] Wine failing semi-consistently with a page fault exception

You can try whether the amdvlk diver yields better (default) results.

Offline

Board footer

Powered by FluxBB