Windowed mode uses XFree86-VidModeExtension?

Questions about Wine on Linux
Locked
BobOmb0
Newbie
Newbie
Posts: 2
Joined: Tue Oct 23, 2018 9:31 am

Windowed mode uses XFree86-VidModeExtension?

Post by BobOmb0 »

I want to play TrackManiaNationsForever

Code: Select all

$ winetricks tmnationsforever
it does run locally in windowed mode

Code: Select all

$ wine ./TmForeverLauncher.exe
now i want to run it with VirtualGL (from a remote computer)

Code: Select all

$ vglrun wine ./TmForeverLauncher.exe
[VGL] NOTICE: Automatically setting VGL_CLIENT environment variable to
[VGL]    192.168.1.10, the IP address of your SSH client.
0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32ec24,0x00000000), stub!
X Error of failed request:  XF86VidModeClientNotLocal
  Major opcode of failed request:  152 (XFree86-VidModeExtension)
  Minor opcode of failed request:  18 (XF86VidModeSetGammaRamp)
  Serial number of failed request:  278
  Current serial number in output stream:  280
Is wine trying to use XFree86-VidModeExtension and XF86VidModeSetGammaRamp?
If it is wine, is there a way to disable that?
Does windowed mode need to use VidMode?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Windowed mode uses XFree86-VidModeExtension?

Post by Bob Wya »

BobOmb0 wrote:...

Code: Select all

$ vglrun wine ./TmForeverLauncher.exe
[VGL] NOTICE: Automatically setting VGL_CLIENT environment variable to
[VGL]    192.168.1.10, the IP address of your SSH client.
0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32ec24,0x00000000), stub!
X Error of failed request:  XF86VidModeClientNotLocal
  Major opcode of failed request:  152 (XFree86-VidModeExtension)
  Minor opcode of failed request:  18 (XF86VidModeSetGammaRamp)
  Serial number of failed request:  278
  Current serial number in output stream:  280
Is wine trying to use XFree86-VidModeExtension and XF86VidModeSetGammaRamp?
If it is wine, is there a way to disable that?
Does windowed mode need to use VidMode?
You could try disabling the Wine xvid extension, using the Wine registry key: UseXVidMode="N"
Same goes for xrandr (which could also cause issues, with remote game-play): UseXRandR="N"
See: WineHQ Wiki: Useful Registry Keys.

Neither extension are essential.
Disabling xrandr disables any (xrandr-based) graphics mode changes.
Disabling xvid disable any gamma changes - I'm not sure it handles much else.

(the other) Bob
BobOmb0
Newbie
Newbie
Posts: 2
Joined: Tue Oct 23, 2018 9:31 am

Re: Windowed mode uses XFree86-VidModeExtension?

Post by BobOmb0 »

Thank you so much, other Bob! It's really working! I can play TMNF via VirtualGL now :-)
Locked