xinit /usr/bin/wine PROGRAMMNAME -- :1 -ac
Dafür sind diese Einstellungen in Xwrapper.conf nötig:
needs_root_rights=yes
allowed_users=anybody
Dort hat es auch mit der neuen Grafikkarte funktioniert. Allerdings hatte ich keine vulkan Unterstützung. Ich muss die Kernel-Optionen radeon support auf 0 und amdgpu auf 1 setzen. Dann funktionierte vulkan endlich. Aber damit kam auch das Verhalten, dass ein Xinit im Xterminal die aktuelle Xsession zerstört.
Das merkwürdige ist aber, dass es funktioniert, wenn ich mich auf einer Textkonsole einlogge. Genau der selber user. Wenn ich das das Windows Programm genauso starte, kann ich zwischen normalen Desktop-Xorg und WINE-Xorg hin und herwechseln. Genau wie vorher.
Das sind die relevanten Zeilen im Desktop-Xorg Log ab dem Start von xinit:
Code: Alles auswählen
...
[ 2344.967] (II) AMDGPU(0): [DRI2] Setup complete
[ 2344.967] (II) AMDGPU(0): [DRI2] DRI driver: radeonsi
[ 2344.967] (II) AMDGPU(0): [DRI2] VDPAU driver: radeonsi
[ 2344.967] (II) AMDGPU(0): Front buffer pitch: 6912 bytes
[ 2344.967] (II) AMDGPU(0): SYNC extension fences enabled
[ 2344.967] (II) AMDGPU(0): Present extension enabled
[ 2344.967] (==) AMDGPU(0): DRI3 enabled
...
[ 2344.420] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 2344.702] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 2344.702] Unable to retrieve master
[ 2344.702] (EE) AMDGPU(0): failed to set mode: Permission denied
[ 2344.702] (EE)
Fatal server error:
[ 2344.702] (EE) EnterVT failed for screen 0
[ 2344.702] (EE)
[ 2344.702] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2344.702] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 2344.702] (EE)
[ 2344.702] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 2344.710] (EE) Server terminated with error (1). Closing log file.
Code: Alles auswählen
...
[ 2344.037] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
...
[ 907.827] (II) RADEON(0): [DRI2] Setup complete
[ 907.827] (II) RADEON(0): [DRI2] DRI driver: radeonsi
[ 907.827] (II) RADEON(0): [DRI2] VDPAU driver: radeonsi
[ 907.827] (EE) RADEON(0): failed to initialise surface manager
[ 907.827] (EE) RADEON(0): radeon_setup_kernel_mem failed
[ 907.827] (EE)
Fatal server error:
[ 907.827] (EE) AddScreen/ScreenInit failed for driver 0
[ 907.827] (EE)
[ 907.827] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 907.828] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 907.828] (EE)
[ 907.833] (EE) Server terminated with error (1). Closing log file.