window moved

Hi,
Whenever I go in-game in opensuse 13.1 the game screen is not centered.
Its off set to the left and the other side of the screen is black.
The screen moves around whenever I move the mouse cursor around.
Looks like this
http://s11.postimg.org/fdw35h83z/snapshot4.jpg](http://postimg.org/image/fdw35h83z/)

how do I fix this?

whenever I change my desktop display configuration to 1024x768 to 1280x1024 my in game sceen thats set to 1024x768 is in the 1280x1024 desktop size if that makes any sense.

http://s7.postimg.org/ugt83f3vb/snapshot7.jpg](http://postimg.org/image/ugt83f3vb/)

On Thu, 20 Mar 2014 23:56:01 +0000, gamergoat89 wrote:

> whenever I change my desktop display configuration to 1024x768 to
> 1280x1024 my in game sceen thats set to 1024x768 is in the 1280x1024
> desktop size if that makes any sense.
>
> ‘[image: http://s7.postimg.org/ugt83f3vb/snapshot7.jpg]’
> (http://postimg.org/image/ugt83f3vb/)

It would probably help if you told us what video controller you’re using
and what driver you installed.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Is this a Windows game running under Wine/Steam?

May be of some help…

http://steamcommunity.com/

http://steamcommunity.com/discussions/forum/1/864977479810414760/

Currently running a Nvidia Geforce GTX 550 Ti.
My video drivers is Nvidia 1-click install for openSUSE from where I downloaded here: https://en.opensuse.org/SDB:NVIDIA_drivers
And I’m playing a game call Day of Defeat 1.3 in steam: http://store.steampowered.com/app/30/

How are you setting the dimensions?

Did you look at the setting in Configure desktop??

Looks like you told the video driver to be one resolution but KDE thinks it is another

my resolution in display configuration is set at 1280x1024 (19in monitor). But idk if its my video drivers or KDE

I have seen this myself from time to time, though usually with WINE as I can recall it. Do you run native steam or through WINE? Do you have issues with other games also?

I have the same GPU as you so I did a test with native Steam playing Day of Defeat, no problems; the desktop resolution is 1920X1080 and the game ran in default 1024X768, back and forth resolution change (full-screen) did not pose any trouble.

One thing I would suggest is to make sure the nvidia repository is added as a source and check for updates, YaST, zypper …

‘NVIDIA X Server Settings’ could be launched from the menu, do you use this one? For KDE: ‘System Settings > Hardware > Display’ will show what is set for the desktop.

The game is native to steam and this problem only happends in the half-life game engine and when my desktop resolution is set to 1280x1024 (19 in monitor). When the desktop resolution is at 1024X768 it works, but when the icons on desktop is larger than normal…
It’s weird because nvidia repositories are up to date and NVIDIA X Server Settings are fine too.

I still wonder if this is more of a steam issue, rather than an openSUSE-specific issue.

https://support.steampowered.com/kb_article.php?ref=1216-JMTZ-0860

The set launch options didn’t work… :frowning: It’s only with half-life games because my desktop resolution is a 1280 and Team Fortress works perfectly.
My monitor is an Acer AL1916 if that helps.

It might be useful to report the output from

xrandr

before and after you launch ‘Day of Defeat’

It appears to me that the desktop virtual screen size is being changed (leading to a panning desktop).

For example, this can be set using ‘xrandr’ (assuming LVDS-0 is display output) with something like

xrandr --output LVDS-0 --mode 1024x768 --panning 1280x1024

and returned to default with

xrandr --output LVDS-0 --mode 1024x768 --panning 1024x768

You want to consider submitting a bug report

http://forums.steampowered.com/forums/showthread.php?t=753594

On Sat, 22 Mar 2014 23:56:01 +0000, deano ferrari wrote:

> It appears to me that the desktop virtual screen size is being changed
> (leading to a panning desktop).

I’ve seen this in some non-steam games, and the game typically switches
it back when it’s properly shut down. If it’s not doing that, either the
game isn’t closing cleanly or the developers have forgotten to reset the
resolution to the initial resolution upon exit.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Yes, something like that. (That’s why I’m hinting at reporting it elsewhere.)

eLy@linux-rfhd:~> xrandr
Screen 0: minimum 8 x 8, current 1280 x 1058, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-I-3 connected 1280x1024+0+34 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+ 75.0
1152x864 75.0 60.0
1024x768 75.0 70.1 60.0
800x600 75.0 72.2 60.3 56.2
640x480 75.0 72.8 59.9
eLy@linux-rfhd:~>

Does the ‘xrandr’ output above relate to before the game is started?

yes it was before the game was started

eLy@linux-rfhd:~> xrandr
Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-I-3 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+ 75.0
1152x864 75.0 60.0
1024x768 75.0 70.1 60.0
800x600 75.0 72.2 60.3 56.2
640x480 75.0 72.8 59.9
eLy@linux-rfhd:~>

And thats during the game is open.