https://bugs.winehq.org/show_bug.cgi?id=41467
Bug ID: 41467 Summary: Star Stable game can not find native display resolution when using Amd Kaveri Apu with latest Mesa Product: Wine-staging Version: 1.9.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fin4478@hotmail.com CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de Distribution: Debian
The Star Stable horse riding game works fine with the Nvidia GT440 card and proprietary Nvidia driver. In the game you can see several resolutions to choose from. But when using Amd A8-7600 with the latest Padoka PPA Mesa, the only resolution in use is 1024x768 that I think is the default value for the Star Stable game.
Setting wine virtual desktop resolution does not help. Also I have set pci vendor and device ids to the registry.
Debian testing Xfce and wine-staging csmt enabled used with both gpus.
The game can be downloaded after registration from here: https://www.starstable.com/en/
https://bugs.winehq.org/show_bug.cgi?id=41467
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #1 from fjfrackiewicz@gmail.com --- (In reply to debianxfce from comment #0)
The Star Stable horse riding game works fine with the Nvidia GT440 card and proprietary Nvidia driver. In the game you can see several resolutions to choose from. But when using Amd A8-7600 with the latest Padoka PPA Mesa, the only resolution in use is 1024x768 that I think is the default value for the Star Stable game.
Setting wine virtual desktop resolution does not help. Also I have set pci vendor and device ids to the registry.
Debian testing Xfce and wine-staging csmt enabled used with both gpus.
The game can be downloaded after registration from here: https://www.starstable.com/en/
According to this page http://www.cpu-world.com/CPUs/Bulldozer/AMD-A10-Series%20A8-7600.html your APU has a Radeon R7 series card integrated.
Could I ask for the exact model of your card and the PCI device ID?
https://bugs.winehq.org/show_bug.cgi?id=41467
--- Comment #2 from debianxfce fin4478@hotmail.com --- (In reply to fjfrackiewicz from comment #1)
(In reply to debianxfce from comment #0)
The Star Stable horse riding game works fine with the Nvidia GT440 card and proprietary Nvidia driver. In the game you can see several resolutions to choose from. But when using Amd A8-7600 with the latest Padoka PPA Mesa, the only resolution in use is 1024x768 that I think is the default value for the Star Stable game.
Setting wine virtual desktop resolution does not help. Also I have set pci vendor and device ids to the registry.
Debian testing Xfce and wine-staging csmt enabled used with both gpus.
The game can be downloaded after registration from here: https://www.starstable.com/en/
According to this page http://www.cpu-world.com/CPUs/Bulldozer/AMD-A10-Series%20A8-7600.html your APU has a Radeon R7 series card integrated.
Could I ask for the exact model of your card and the PCI device ID?
The igpu in A8-7600 is R7 250, both have 384 shader cores, see: http://www.cpu-world.com/CPUs/Bulldozer/AMD-A10-Series%20A8-7600.html and http://www.expertreviews.co.uk/pcs/graphics-cards/53185/amd-radeon-r7-250-re...
Hex values for vendor and product: 1002:1313
https://bugs.winehq.org/show_bug.cgi?id=41467
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |-unknown Product|Wine-staging |Wine
--- Comment #3 from Sebastian Lackner sebastian@fds-team.de --- It does not sound like this is a Wine Staging regression, and you will most likely encounter the same problem when CSMT is unset. I'm moving this bug to the Wine product.
Could you share the terminal output?
https://bugs.winehq.org/show_bug.cgi?id=41467
--- Comment #4 from debianxfce fin4478@hotmail.com --- Created attachment 55855 --> https://bugs.winehq.org/attachment.cgi?id=55855 Star Stable wine terminal output
In this terminal output trace the game is started to 1024x768 resolution, the set to full screen and quit.
https://bugs.winehq.org/show_bug.cgi?id=41467
--- Comment #5 from debianxfce fin4478@hotmail.com --- I did test with Gallium Nine and noticed that if there is the file: drive_c/users/xfce/AppData/LocalLow/StarStableOnline/UserSettings.pxo present, then resolution is 1024x768.
In the game you can disable Rotating Map option that is enabled by default, then the resolution changes to 1024x768 and the program creates this settings file. Without this settings file the game is displayed at native resolution but my kid says that it is difficult to play with a rotating map.
Still there is no other resolutions to choose from and I think it is the root of the problem. Wine does not recognize A8-7600.
I used the command hexdump -C to inspect the settings file and there is many graphics options. However I have no idea how to hack it.
https://bugs.winehq.org/show_bug.cgi?id=41467
--- Comment #6 from debianxfce fin4478@hotmail.com --- I did this bug report with a DVI monitor with 1440x900 resolution. Then I tested with a HDMI monitor with 1920x1200 resolution and the game could find 1920x1080 resolution among other smaller resolutions. So this bug seems to be in the open source amdgpu kernel driver too.
Next I will test with the VGA connector.
https://bugs.winehq.org/show_bug.cgi?id=41467
--- Comment #7 from debianxfce fin4478@hotmail.com --- I solved the 1440x900 monitor problem with the following startup script. There is no way that amd makes linux drivers as good as the windows drivers are. Nvidia does. You can mark this bug solved or leave it for a future reference.
#!/bin/bash
xrandr --size 1280x1024
env WINEARCH=win32 env WINEPREFIX="/home/xfce/win32" /opt/wine-staging/bin/wine C:\windows\command\start.exe /Unix /home/xfce/win32/dosdevices/c:/users/Public/Desktop/Star\ Stable.lnk