Running Sims 4 with Wine 9.9 and VGL works surprisingly well, but on exiting the game everything (Xephyr, marco, EA App, Wine, and all related processes) is instantly killed.
I'm often told that Wine cannot kill a desktop environment so there must be a bug in one of the components in-between. It is, of course, possible that Wine does have a bug that triggers the issue also, but there's nothing in the console log from Wine that suggests what that might be.
And from there
1. Log in.
2. Run Sims 4.
3. Click X in the window manager (of the Sims 4 app, not the Xephyr window).
X connection to :666 broken (explicit kill or server shutdown).
0030:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0051FECC
free(): corrupted unsorted chunks
"winetricks arial" required to get this far, but no other workarounds used.
So far I have not seen this occur in any other app.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xserver-xephyr 2:21.1.4-2ubuntu1.7~22.04.10
ProcVersionSignature: Ubuntu 6.5.0-35.35~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-35-generic x86_64
NonfreeKernelModules: zfs nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
.proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
.proc.driver.nvidia.gpus.0000.04.00.0: Error: path was not a regular file.
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 470.239.06 Sat Feb 3 06:03:07 UTC 2024
GCC version: gcc version 12.3.0 (Ubuntu 12.3.0-1ubuntu1~22.04)
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: unknown
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: MATE
Date: Sat May 25 00:47:39 2024
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus:
nvidia/470.239.06, 6.5.0-28-generic, x86_64: installed
nvidia/470.239.06, 6.5.0-35-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
NVIDIA Corporation GK104GL [Quadro K5000] [10de:11ba] (rev a1) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation GK104GL [Quadro K5000] [10de:0965]
MachineType: LENOVO 0606AD5
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.5.0-35-generic root=UUID=83ed7b7f-ef51-49d7-a6be-a8efee1cdd32 ro rootflags=subvol=@ quiet splash vt.handoff=7
SourcePackage: xorg-server
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/15/2016
dmi.bios.release: 0.60
dmi.bios.vendor: LENOVO
dmi.bios.version: A0KT60AUS
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: LENOVO
dmi.board.vendor: LENOVO
dmi.board.version: NONE
dmi.chassis.type: 7
dmi.chassis.vendor: LENOVO
dmi.chassis.version: NONE
dmi.modalias: dmi:bvnLENOVO:bvrA0KT60AUS:bd12/15/2016:br0.60:svnLENOVO:pn0606AD5:pvrThinkStationS30:rvnLENOVO:rnLENOVO:rvrNONE:cvnLENOVO:ct7:cvrNONE:skuLENOVO_BI_A0:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: 0606AD5
dmi.product.sku: LENOVO_BI_A0
dmi.product.version: ThinkStation S30
dmi.sys.vendor: LENOVO
modified.conffile..etc.apport.crashdb.conf: [modified]
mtime.conffile..etc.apport.crashdb.conf: 2019-08-06T11:56:22.315382
version.compiz: compiz 1:0.9.14.1+22.04.20220820-0ubuntu1
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.2.1-1ubuntu3.1~22.04.2
version.libgl1-mesa-glx: libgl1-mesa-glx 23.0.4-0ubuntu1~22.04.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.10
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1
Running Sims 4 with Wine 9.9 and VGL works surprisingly well, but on exiting the game everything (Xephyr, marco, EA App, Wine, and all related processes) is instantly killed.
I'm often told that Wine cannot kill a desktop environment so there must be a bug in one of the components in-between. It is, of course, possible that Wine does have a bug that triggers the issue also, but there's nothing in the console log from Wine that suggests what that might be.
In host user (me) session:
$ xhost +si:localuser:test
$ Xephyr :666 -screen 1024x768
In "test" session:
$ DISPLAY=:666 vglrun -d :0 marco \Microsoft\ Windows\ Start Menu\Programs\ EA\EA.lnk'
$ DISPLAY=:666 vglrun -d :0 wine 'c:\ProgramData
And from there
1. Log in.
2. Run Sims 4.
3. Click X in the window manager (of the Sims 4 app, not the Xephyr window).
X connection to :666 broken (explicit kill or server shutdown). kernelbase: AppPolicyGetPro cessTermination Method FFFFFFFA, 0051FECC
0030:fixme:
free(): corrupted unsorted chunks
"winetricks arial" required to get this far, but no other workarounds used.
So far I have not seen this occur in any other app.
ProblemType: Bug 4-2ubuntu1. 7~22.04. 10 ature: Ubuntu 6.5.0-35. 35~22.04. 1-generic 6.5.13 dules: zfs nvidia_modeset nvidia nvidia. capabilities. gpu0: Error: path was not a regular file. nvidia. capabilities. mig: Error: path was not a regular file. nvidia. gpus.0000. 04.00.0: Error: path was not a regular file. nvidia. registry: Binary: "" nvidia. suspend: suspend hibernate resume nvidia. suspend_ depth: default modeset uvm nvidia. version: 1ubuntu1~ 22.04) esult: unknown compiz- 1/general/ screen0/ options/ active_ plugins' nterest: Yes /vmlinuz- 6.5.0-35- generic root=UUID= 83ed7b7f- ef51-49d7- a6be-a8efee1cdd 32 ro rootflags=subvol=@ quiet splash vt.handoff=7 asset.tag: To be filled by O.E.M. version: NONE bvrA0KT60AUS: bd12/15/ 2016:br0. 60:svnLENOVO: pn0606AD5: pvrThinkStation S30:rvnLENOVO: rnLENOVO: rvrNONE: cvnLENOVO: ct7:cvrNONE: skuLENOVO_ BI_A0: version: ThinkStation S30 conffile. .etc.apport. crashdb. conf: [modified] .etc.apport. crashdb. conf: 2019-08- 06T11:56: 22.315382 1+22.04. 20220820- 0ubuntu1 2~ubuntu0. 22.04.1 libgl1- mesa-dri: libgl1-mesa-dri 23.2.1- 1ubuntu3. 1~22.04. 2 libgl1- mesa-glx: libgl1-mesa-glx 23.0.4- 0ubuntu1~ 22.04.1 nvidia- graphics- drivers: nvidia- graphics- drivers- * N/A xserver- xorg-core: xserver-xorg-core 2:21.1. 4-2ubuntu1. 7~22.04. 10 xserver- xorg-input- evdev: xserver- xorg-input- evdev N/A xserver- xorg-video- ati: xserver- xorg-video- ati 1:19.1.0-2ubuntu1 xserver- xorg-video- intel: xserver- xorg-video- intel N/A xserver- xorg-video- nouveau: xserver- xorg-video- nouveau 1:1.0.17-2build1
DistroRelease: Ubuntu 22.04
Package: xserver-xephyr 2:21.1.
ProcVersionSign
Uname: Linux 6.5.0-35-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 470.239.06 Sat Feb 3 06:03:07 UTC 2024
GCC version: gcc version 12.3.0 (Ubuntu 12.3.0-
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompizPlugins: No value set for `/apps/
CompositorRunning: None
CurrentDesktop: MATE
Date: Sat May 25 00:47:39 2024
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus:
nvidia/470.239.06, 6.5.0-28-generic, x86_64: installed
nvidia/470.239.06, 6.5.0-35-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation GK104GL [Quadro K5000] [10de:11ba] (rev a1) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation GK104GL [Quadro K5000] [10de:0965]
MachineType: LENOVO 0606AD5
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg-server
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/15/2016
dmi.bios.release: 0.60
dmi.bios.vendor: LENOVO
dmi.bios.version: A0KT60AUS
dmi.board.
dmi.board.name: LENOVO
dmi.board.vendor: LENOVO
dmi.board.version: NONE
dmi.chassis.type: 7
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: 0606AD5
dmi.product.sku: LENOVO_BI_A0
dmi.product.
dmi.sys.vendor: LENOVO
modified.
mtime.conffile.
version.compiz: compiz 1:0.9.14.
version.libdrm2: libdrm2 2.4.113-
version.
version.
version.
version.
version.
version.
version.
version.