https://bugs.winehq.org/show_bug.cgi?id=56115
Bug ID: 56115 Summary: A2 racer crashes with initlib.cpp(1014): could not set display mode (operation is not supported) Product: Wine Version: 9.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: cedric.dewijs@eclipso.eu Distribution: ---
To reproduce: Download the game: https://www.myabandonware.com/download/v1t-a2-racer
$ rm -rf ~/wine-tmp/ $ mkdir ~/wine-tmp $ export WINEPREFIX=~/wine-tmp $ unzip ~/Downloads/A2-Racer_Win_NL.zip $ udisksctl loop-setup --file ~/CD.iso Mapped file /home/cedric/CD.iso as /dev/loop0. [cedric@cedric ~]$ ls /run/media/cedric/ [cedric@cedric ~]$ umount /dev/loop0 umount: /dev/loop0: not mounted. [cedric@cedric ~]$ [cedric@cedric ~]$ blkid CD.iso [cedric@cedric ~]$ blkid --probe CD.iso [cedric@cedric ~]$ ls -l CD.iso -rw-r--r-- 1 cedric cedric 108768240 Nov 29 2021 CD.iso $ fuseiso -p ~/CD.iso ~/cd $ ls ~/cd A2.EXE A2INTRO.SMK A2MRC.IMG A2MRCS.IND DSETUP6E.DLL DSETUPE.DLL ETAPPE1.OMP ETAPPE2.TRK GAMESPR.IMG LEESMIJ.DOC RCS.IMG SMACKW32.DLL A2EXIT.SMK A2MENU.DAT A2MRC.IND A2SPEL.DAT DSETUP6J.DLL DSETUPJ.DLL ETAPPE1.TRK ETAPPE3.OMP GAMESPR.IND LEESMIJ.WRI RCS.IND A2.INI A2MOVIE.DAT A2MRCS.IMG A2WIN.SMK DSETUP.DLL dxsetup ETAPPE2.OMP ETAPPE3.TRK Helpdesk MOVIE.INI SETUP.EXE cd ~/cd/ [cedric@cedric cd]$ wine SETUP.EXE Now the installer starts. It gives the error "Om DirectX 3 te gebruiken heeft u minimaal NT4.0 nodig met servicepack 3. Bij u werd Service pack 0 gedetecteerd". translation: "To use DirectX 3 you need at minimum NT4.0 with servicepack 3. Service pack 0 was detected" Press OK, and now the installer reports the game is installed succesfully.
[cedric@cedric cd]$ cd ~/wine-tmp/drive_c/DAVILEX/A2RACER/ [cedric@cedric A2RACER]$ wine A2.EXE Now the error "initlib.cpp(1014): could not set display mode (operation is not supported)" After that the screen goes black to a low resolution, with only a mousecursor, and then the error "Program installation check failed" comes up. After clicking OK, the desktop returnes.
[cedric@cedric A2RACER]$ $ winecfg set windows XP $ wine A2.EXE Now the error "initlib.cpp(1014): could not set display mode (operation is not supported)" After that the screen goes black to a low resolution, with only a mousecursor, and then the error "Program installation check failed" comes up. After clicking OK, the desktop returnes. $ winecfg set windows 98 $ wine A2.EXE Now the error "initlib.cpp(1014): could not set display mode (operation is not supported)" After that the screen goes black to a low resolution, with only a mousecursor, and then the error "Program installation check failed" comes up. After clicking OK, the desktop returnes.
$ cd ~/cd $ wine SETUP.EXE Now the installer doesn't report any errors $ wineboot $ cd ~/wine-tmp/drive_c/DAVILEX/A2RACER/ $ wine A2.EXE Now the error "initlib.cpp(1014): could not set display mode (operation is not supported)" After that the screen goes black to a low resolution, with only a mousecursor, and then the error "Program installation check failed" comes up. After clicking OK, the desktop returnes.
$ rm -rf ~/wine-tmp/ $ mkdir ~/wine-tmp $ winecfg windows 95 $ cd ~/cd $ wine SETUP.EXE Now the installer doesn't report any errors $ wineboot $ cd ~/wine-tmp/drive_c/DAVILEX/A2RACER/ $ wine A2.EXE Now the error "initlib.cpp(1014): could not set display mode (operation is not supported)" After that the screen goes black to a low resolution, with only a mousecursor, and then the error "Program installation check failed" comes up. After clicking OK, the desktop returnes. Console messages: 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0108:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0108:err:system:NtUserChangeDisplaySettings Changing L"\\.\DISPLAY1" display settings returned -2. 0114:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0118:fixme:d3d_shader:glsl_blitter_upload_palette P8 texture loaded without a palette. 0118:fixme:d3d_shader:glsl_blitter_upload_palette P8 texture loaded without a palette. 0114:fixme:ddraw:ddraw_surface1_Flip Ignoring flags 0x1. 0118:fixme:d3d_shader:glsl_blitter_upload_palette P8 texture loaded without a palette. 0120:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0120:err:system:NtUserChangeDisplaySettings Changing L"\\.\DISPLAY1" display settings returned -2.
https://bugs.winehq.org/show_bug.cgi?id=56115
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.myabandonware.c | |om/download/v1t-a2-racer CC| |dark.shadow4@web.de Keywords| |download
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- It does seem to have some issues with fullscreen. It works better with virtual desktop enabled in winecfg.
Though either way, I get a "NIEUWE SPELER" dialog where I don't know how to continue.
https://bugs.winehq.org/show_bug.cgi?id=56115
--- Comment #2 from Cedric cedric.dewijs@eclipso.eu --- (In reply to Fabian Maurer from comment #1)
It does seem to have some issues with fullscreen. It works better with virtual desktop enabled in winecfg.
Though either way, I get a "NIEUWE SPELER" dialog where I don't know how to continue.
Indeed the program works better with a virtual desktop: $ rm -rf ~/wine-tmp/ $ mkdir ~/wine-tmp $ winecfg -> applications -> Windows version -> windows 98 $ winecfg -> graphics -> emulate a virtual desktop 800x600 $ cd ~/cd $ wine SETUP.EXE Now the installer doesn't report any errors $ wineboot $ cd ~/wine-tmp/drive_c/DAVILEX/A2RACER/ $ wine A2.EXE now the program says "Incorrect CDROM was found: please insert the correct CDROM and restart the program". This is probably because wine didn't figure out the correct CDROM label, as I mounted it with fuseiso. How did you manage to get around that one?
https://bugs.winehq.org/show_bug.cgi?id=56115
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Use cdemu. Btw, even in desktop mode I sometimes get X11 crashes, it's sporadic though.