Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Questions about Wine on Linux
Post Reply
scorpion
Level 2
Level 2
Posts: 38
Joined: Sun Dec 02, 2018 12:18 pm
Contact:

Grezzo 2 - Una Magica Avventura (A Magical Adventure)

Post by scorpion » Thu Mar 28, 2019 3:37 pm

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 6
Level 6
Posts: 686
Joined: Thu Aug 14, 2014 10:10 am

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

Post by jkfloris » Sun Mar 31, 2019 4:02 am

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: 38
Joined: Sun Dec 02, 2018 12:18 pm
Contact:

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

Post by scorpion » 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 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: 2772
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

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

Post by Bob Wya » Sun Mar 31, 2019 3:39 pm

@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: 38
Joined: Sun Dec 02, 2018 12:18 pm
Contact:

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

Post by scorpion » Sun Mar 31, 2019 4:26 pm

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: 38
Joined: Sun Dec 02, 2018 12:18 pm
Contact:

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

Post by scorpion » Fri Apr 26, 2019 5:08 pm

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: 38
Joined: Sun Dec 02, 2018 12:18 pm
Contact:

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

Post by scorpion » Sat Apr 27, 2019 3:05 am

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 » Thu Oct 24, 2019 1:45 am

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.

Post Reply