You are not logged in.

#1 2012-08-13 07:11:06

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Issues with Steam Games

Hi!
I made it to get Steam working and it actually launches the games, but I'm facing two Issues here: (Testing Day of Defeat Source)

First: The mouse gets grabbed by the game, but not the keyboard: I can look around, but in the moment i try to move (wasd) i see how i type in the console i used to launche the wine command instead of getting grabbed by the screen.

Second: I have two screens and wine always opens the programs in the smaller one, which is the main screen. How can I force the apps to be launched in the second screen? This is an issue with full-screen games since they get directly opened in the primary screen, which is actually smaller....

If I can get this two things the right way I can finally forget about having a windows partition for gaming...

Cheers.

Offline

#2 2012-08-24 22:53:30

bobwya
Member
Registered: 2012-01-09
Posts: 36

Re: Issues with Steam Games

Hi

I presume you have visited:
Day of Defeat: Source AppDB
(doesn't look like it is getting much love from any maintainers though...)

You seem to have forgotten mention a few things (like Desktop manager, graphics card, graphics driver version, etc.). This ain't the Ubuntu forums dude!! big_smile

Bob

Offline

#3 2012-08-25 23:01:38

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: Issues with Steam Games

Desktop manager: KDE
Graphics Card: nVidia GeForce GT 240
Propietary drivers version 304.37
Arch LINUX 64 bit

I thought there was some switch when launching wine to only make it see one of my screens and the info above was unnecessary, but there you go smile ....

Cheers

Offline

#4 2012-08-25 23:43:48

bobwya
Member
Registered: 2012-01-09
Posts: 36

Re: Issues with Steam Games

@XiON

Both you problems are related to the Desktop/Window Manager KDE/Kwin and not Wine.

1) This is a much discussed Wine issue. The problem is that Windows pops up in a different way to X11 and gives focus under a different paradigm. A work around with KDE (which is after all the Swiss army knife of DE's cool ) is to tweak the focus stealing prevention. I've worked around problems with keyboard capture by setting the global Focus Stealing Prevention policy to None. Often this is set to Low by default. Not sure that workaround will work if the mouse is being grabbed though (it's been while since I've since this issue - Bioshock I think)...

2) X/KDE decides where fullscreen apps land - not Wine. Work around would be to switch the primary monitor in the KDE System Settings or disable the monitor you don't want to use. This certainly works with Catalyst (not sure about Nvidia cards). I can't find a proper KDE fix. The kstart command comes close(ish)... None of the window default settings seem to control the target screen though... Maybe need to hassle the KDE Devs. about this... Sorry - not very helpful I know  neutral

Bob

Offline

#5 2012-08-26 15:10:43

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: Issues with Steam Games

I swapped the main screens with nvidia-settings
When lauching DoD: Source (for example) i do it passing the desired height and width of the full screen,....... DONE!!!

If you type "man wine", there is a line like this:

     DISPLAY
              Specifies the X11 display to use.


But I didn't manage to get to know how to use this....

Thanks!!!

Offline

#6 2012-08-28 09:40:10

mzneverdies
Member
Registered: 2012-02-04
Posts: 147

Re: Issues with Steam Games

DISPLAY is for launching apps on another X envionment, example
you ssh from work, and want to launch ktorrent. from the ssh shell, you can't launch an X app

[user@machine]$ ktorrent
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
unnamed app(8681): KUniqueApplication: Cannot find the D-Bus session server:  "Unable to autolaunch a dbus-daemon without a $DISPLAY for X11"

unnamed app(8680): KUniqueApplication: Pipe closed unexpectedly.

but you could use

[user@machine]$ DISPLAY=:0 ktorrent

now, about launching an app on another screen. Not sure about how to do this, but you can try to set the wine-windows to launch on a preset X/y coordinate. Right click the kwin bar (window title bar), and (next steps are not accurate, but might give you the idea)
"more actions" -> "application special preferences" -> "size and position" tab -> check "position" -> give coordinates (default coordinates are where the window is standing)

Last edited by mzneverdies (2012-08-28 09:41:38)

Offline

Board footer

Powered by FluxBB