WINE1.9]-"Cannot change screen BPP from 32 to 16"?

Questions about Wine on Linux
Locked
JeZ-l-Lee
Level 4
Level 4
Posts: 122
Joined: Mon Jun 29, 2009 7:12 pm

WINE1.9]-"Cannot change screen BPP from 32 to 16"?

Post by JeZ-l-Lee »

Hi,

I am running current WINE 1.9 on Linux Mint 18 MATE 64Bit.
I am trying to run the Windows version of Quake bought from www.gog.com.
When I try to run Quake in WINE 1.9 I get the following error message:

Code: Select all

jezxlee@NewThinClient ~/DOSGames/Quake $  wine glquake.exe -nolan
fixme:winediag:start_process Wine Staging 1.9.19 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x200x24 @60! (desktop)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x240x24 @60! (desktop)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x300x24 @60! (desktop)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x384x24 @60! (desktop)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
err:seh:setup_exception_record stack overflow 1696 bytes in thread 0009 eip 7bc46e66 esp 00230c90 stack 0x230000-0x231000-0x330000
Seems like "fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16" is the problem?

How can I fix the above issue with Quake and WINE 1.9?
I have 7th generation Intel HD "Bay Trail" graphics.
Thanks!

Jesse
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: WINE1.9]-"Cannot change screen BPP from 32 to 16"?

Post by Bob Wya »

JeZ-l-Lee wrote:Hi,

I am running current WINE 1.9 on Linux Mint 18 MATE 64Bit.
I am trying to run the Windows version of Quake bought from http://www.gog.com.
When I try to run Quake in WINE 1.9 I get the following error message:

Code: Select all

jezxlee@NewThinClient ~/DOSGames/Quake $  wine glquake.exe -nolan
fixme:winediag:start_process Wine Staging 1.9.19 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x200x24 @60! (desktop)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x240x24 @60! (desktop)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x300x24 @60! (desktop)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x384x24 @60! (desktop)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
err:seh:setup_exception_record stack overflow 1696 bytes in thread 0009 eip 7bc46e66 esp 00230c90 stack 0x230000-0x231000-0x330000
Seems like "fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16" is the problem?

How can I fix the above issue with Quake and WINE 1.9?
I have 7th generation Intel HD "Bay Trail" graphics.
Thanks!

Jesse
Yes it is!

I was able to confirm that:

Code: Select all

xinit /usr/bin/xterm -- :1 -ac -depth 16
works on my Nvidia Geforce GTX 970M card. Intel graphics can be a bit flaky - so I don't know if it will work on your end.

That will overlay your current X-Session with an additional X-Session in 16-bit colour mode. Typically in DISPLAY=:1 (on a standard single-head X-Session). Windows won't be decorated and many keyboard shortcuts will be missing (it's a very basic session). I was able to change xterm to konsole (other terminal clients are available!!) - without any major complaints...

Sadly although it would be possible - to render all Windows to an off-screen canvas, when in 8-bit or 16-bit mode, and upscale this canvas to full colour 24-bit - nobody has written the patch(s) for Wine...

Bob
Bladeforce
Level 3
Level 3
Posts: 63
Joined: Fri Nov 09, 2012 8:01 am

Re: WINE1.9]-"Cannot change screen BPP from 32 to 16"?

Post by Bladeforce »

Ok, I installed this GoG game in wine using playonlinux
Firstly i had to add the argument -noipx to get the game to run
Using this command
xinit /usr/share/playonlinux/playonlinux --run "Quake" %F -- :1 -ac -depth 16

The game plays fine with wine 1.9.8 running Winquake.exe, hope it helps
Locked