Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Questions about Wine on Linux
Locked
scorpion
Level 2
Level 2
Posts: 46
Joined: Sun Dec 02, 2018 12:18 pm

Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Post by scorpion »

I am trying to play Grezzo 2 (info https://en.wikipedia.org/wiki/Grezzo_2), downloadable here http://www.giochipenosi.it/grezzodue-info.html "Scarica ora = Download now".
There is also an English translation inside.

I can hear that the sound works fine, when moving up and down in the menu the sound changes.
But there is no video (black screen).

If I run the GREZZO2.exe it tells me to run that (GREZZO2.exe).
So I ran the g2.exe:

Code: Select all

wine g2.exe
000b:fixme:winediag:start_process Wine Staging 4.0-rc6 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0009:fixme:wtsapi:WTSRegisterSessionNotification Stub 0x20054 0x00000000
002f:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x2effeb8): stub
0009:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
0009:err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found: width=1920 height=1080 bpp=24 (XRandR 1.2)
0009:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found: width=1920 height=1080 bpp=24 (XRandR 1.2)
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found: width=1920 height=1080 bpp=24 (XRandR 1.2)
0009:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found: width=1920 height=1080 bpp=24 (XRandR 1.2)
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:err:xrandr:xrandr12_set_current_mode Resolution change not successful -- perhaps display has changed?
0009:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0x20054
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Post by jkfloris »

0009:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
Have you installed the 32-bit part of your graphic drivers?
scorpion
Level 2
Level 2
Posts: 46
Joined: Sun Dec 02, 2018 12:18 pm

Re: Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Post by scorpion »

I am on debian 9.
I am using and nvidia card so I have the nvidia-driver 410.104-1~bpo9+1 package installed from stretch-backports.
Currently there is no 32-bit part that would have been installed so:
apt install nvidia-driver:i386, right?
https://packages.debian.org/stretch-bac ... dia-driver
Edit: Maybe is this the missing package https://packages.debian.org/buster/nvidia-driver-libs

Code: Select all

apt install -t stretch-backports nvidia-driver-libs:i386
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Post by Bob Wya »

@scorpion

Code: Select all

0009:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found: width=1920 height=1080 bpp=24 (XRandR 1.2)
The Linux Nvidia drivers don't support 24 bbp (24 bits per pixel).
Actually in general Linux display drivers don't support this (Windows-only) colour mode.

So your either need to rebuild Wine, with this workaround patch:

Code: Select all

--- a/dlls/winex11.drv/settings.c       2018-06-19 21:33:10.189292682 +0100
+++ b/dlls/winex11.drv/settings.c       2018-06-19 21:33:35.661668600 +0100
@@ -380,3 +380,3 @@
         }
-        dwBpp = dm.dmBitsPerPel;
+        dwBpp = (dm.dmBitsPerPel == 24) ? 32 : dm.dmBitsPerPel;
     }
... Or, alternatively, use a Wine Virtual Desktop.

Bob
scorpion
Level 2
Level 2
Posts: 46
Joined: Sun Dec 02, 2018 12:18 pm

Re: Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Post by scorpion »

With "apt install -t stretch-backports nvidia-driver-libs:i386" there is the video but no full screen and bad resolution (for my current monitor).

Virtual desktop seems very perfect to avoid trouble with xrandr and resolution.

I enabled it with winecfg and it works fine.
scorpion
Level 2
Level 2
Posts: 46
Joined: Sun Dec 02, 2018 12:18 pm

Re: Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Post by scorpion »

Can I set he resolution when the game is launched? Using the game config.

I updated wine and now the sound does not work anymore.

Code: Select all

wine g2.exe
000b:fixme:winediag:start_process Wine Staging 4.6 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0023:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0023:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
000d:err:menubuilder:RefreshFileTypeAssociations failed wait for semaphore
0009:fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10060 0x00000000
0033:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x2bcfeb8): stub
0009:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
0009:fixme:wgl:set_pixel_format Using desktop window for OpenGL is not supported on windows
0009:fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
0009:err:xvidmode:ComputeGammaFromRamp low-biased gamma ramp (14745), rejected
0009:err:xvidmode:ComputeGammaFromRamp low-biased gamma ramp (14745), rejected
0009:err:xvidmode:ComputeGammaFromRamp low-biased gamma ramp (14745), rejected
0009:fixme:wgl:set_pixel_format Using desktop window for OpenGL is not supported on windows
0009:fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
0009:err:xvidmode:ComputeGammaFromRamp low-biased gamma ramp (14745), rejected
0009:err:xvidmode:ComputeGammaFromRamp low-biased gamma ramp (14745), rejected
0009:fixme:wgl:set_pixel_format Using desktop window for OpenGL is not supported on windows
0009:fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
0009:err:xvidmode:ComputeGammaFromRamp low-biased gamma ramp (14745), rejected
0009:err:xvidmode:ComputeGammaFromRamp low-biased gamma ramp (14745), rejected
0009:fixme:wgl:set_pixel_format Using desktop window for OpenGL is not supported on windows
0009:fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
0009:err:xvidmode:ComputeGammaFromRamp low-biased gamma ramp (14745), rejected
0009:err:xvidmode:ComputeGammaFromRamp low-biased gamma ramp (14745), rejected
0009:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0x10060
Maybe is not the only problem.
scorpion
Level 2
Level 2
Posts: 46
Joined: Sun Dec 02, 2018 12:18 pm

Re: Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Post by scorpion »

I downgraded version now but maybe the audio was working I had the sound set to headphones, all other audio was working only the grezzo 2 was not.
rayandexter1
Newbie
Newbie
Posts: 1
Joined: Thu Oct 24, 2019 1:37 am

Re: Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Post by rayandexter1 »

scorpion wrote: Sun Mar 31, 2019 3:27 pm I am on debian 9. I am using and nvidia card so I have the nvidia-driver 410.104-1~bpo9+1 package installed from website stretch-backports.
Currently there is no 32-bit part that would have been installed so: apt install nvidia-driver:i386, right?
https://packages.debian.org/stretch-bac ... dia-driver
Edit: Maybe is this the missing package https://packages.debian.org/buster/nvidia-driver-libs

Code: Select all

apt install -t stretch-backports nvidia-driver-libs:i386
Try setting the renderer to "software" instead of "opengl" ”In the video options.
scorpion
Level 2
Level 2
Posts: 46
Joined: Sun Dec 02, 2018 12:18 pm

Re: Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Post by scorpion »

rayandexter1 wrote: Thu Oct 24, 2019 1:45 am Try setting the renderer to "software" instead of "opengl" ”In the video options.
NO!!!!
You must set opengl instead of software.
The default is software.

With software it takes a lot to load and:
"This map uses 3D floors that are invisible in the software renderer".
Indeed some floors are invisible.

With opengl it immediately loads (it is a old game), and all the floors are visible.
Locked