A resolution problem with a number of games on Ubuntu
A resolution problem with a number of games on Ubuntu
Hi. I love the Wine software, enabled to finally jump into various Linux based operation systems.
Recently I have tried Wine on a computer with Ubuntu and I have stumbled upon a problem with few of my games. Games like Deus Ex Human Revolution, Far Cry 3 and The Babylon Project increase the size of the desktop to something far greater than the size of the physical screen. I'm able to move my mouse to the edge of the physical screen, which allows me to scroll around this giant desktop for a couple of seconds before the game launches and I loose the ability to press anything.
I recognise that Wine comes with a virtual desktop option. However, when I use that with the native resolution (1920 x 1080 (16:9)) it just creates a window tiny in comparison to the native desktop, making the games quite unplayable.
I have tried to consult the vastness of internet, but nothing thus far has allowed me to successfully run some of these games of mine. Any help would be appreciated.
Recently I have tried Wine on a computer with Ubuntu and I have stumbled upon a problem with few of my games. Games like Deus Ex Human Revolution, Far Cry 3 and The Babylon Project increase the size of the desktop to something far greater than the size of the physical screen. I'm able to move my mouse to the edge of the physical screen, which allows me to scroll around this giant desktop for a couple of seconds before the game launches and I loose the ability to press anything.
I recognise that Wine comes with a virtual desktop option. However, when I use that with the native resolution (1920 x 1080 (16:9)) it just creates a window tiny in comparison to the native desktop, making the games quite unplayable.
I have tried to consult the vastness of internet, but nothing thus far has allowed me to successfully run some of these games of mine. Any help would be appreciated.
Re: A resolution problem with a number of games on Ubuntu
@cloneof,
What's the output from:
Sounds like your X Server is misconfigured somewhat...
You know that with Wine Virtual Desktops you can set the size to the native resolution of your monitor - right?
Just enter the monitor X and Y pixel counts in the 2 boxes. (setting for my laptop's 1080p 16:9 built-in screen)
Bob
What's the output from:
Code: Select all
xrandr
You know that with Wine Virtual Desktops you can set the size to the native resolution of your monitor - right?
Just enter the monitor X and Y pixel counts in the 2 boxes. (setting for my laptop's 1080p 16:9 built-in screen)
Bob
-
- Level 3
- Posts: 94
- Joined: Sat Sep 08, 2012 3:56 pm
Re: A resolution problem with a number of games on Ubuntu
Some issues are the fault of the game settings. One of my old "bargain bin" games from the mall is the original "Star Craft" by Blizzard. It has issue with no way to set the resolution. So I use this script to run it.
This allows for the "problem child" to run in that one setting and the others programs that use WINE are unaffected. Meanwhile I have searched high and low on the web for a method to stretch the little desktop window. I have yet to have found any answers. My other programs work just great, but back in the day, I guess Blizzard thought 640x480 was the bomb! 
Code: Select all
#!/bin/bash
export WINEPREFIX="$HOME/.wine-desktop"
export WINESERVER="$HOME/.wine-1.9.24/bin/wineserver"
export WINELOADER="$HOME/.wine-1.9.24/bin/wine"
export WINEDLLPATH="$HOME/.wine-1.9.24/lib/wine"
export WINEDEBUG="-all"
$WINELOADER explorer /desktop=Starcraft,640x480 '/media/Drive D/Starcraft/StarCraft.exe'

Re: A resolution problem with a number of games on Ubuntu
"Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384Bob Wya wrote:@cloneof,
What's the output from:Sounds like your X Server is misconfigured somewhat...Code: Select all
xrandr
You know that with Wine Virtual Desktops you can set the size to the native resolution of your monitor - right?
Just enter the monitor X and Y pixel counts in the 2 boxes. (setting for my laptop's 1080p 16:9 built-in screen)
Bob
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.00*+
1680x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00
1152x720 60.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)"
And sorry, but seem to have miss wrote. What I meant to say is that the tiny window happens when I input my native resolution in the Virtual Desktop settings.
Re: A resolution problem with a number of games on Ubuntu
@cloneof,
The WineHQ AppDB page: Star Wars: Knights of the Old Republic ... Has some nifty ideas for running your older games in a seperate X session (or an Nvidia hack to disable twinview) that might help you play your older games fullscreen!
Do you have an:
file? If so what are the contents of said file?
Bob
The WineHQ AppDB page: Star Wars: Knights of the Old Republic ... Has some nifty ideas for running your older games in a seperate X session (or an Nvidia hack to disable twinview) that might help you play your older games fullscreen!

Do you have an:
Code: Select all
/etc/X11/xorg.conf
Bob
Re: A resolution problem with a number of games on Ubuntu
That AppDB howto is dated 2010; the ability to disable TwinView was removed from the Nvidia drivers in 2013. https://devtalk.nvidia.com/default/topi ... nt=3872874Bob Wya wrote:(or an Nvidia hack to disable twinview)
Re: A resolution problem with a number of games on Ubuntu
I'm just testing those workarounds with AvP Classic (one of the games I maintain). I guess now - I'm only testing the X Session workaround!dimesio wrote:That AppDB howto is dated 2010; the ability to disable TwinView was removed from the Nvidia drivers in 2013. https://devtalk.nvidia.com/default/topi ... nt=3872874Bob Wya wrote:(or an Nvidia hack to disable twinview)

I've pinged the Maintainer for the Star Wars: Knights of the Old Republic AppDB page with that information...
Thanks
Bob