You are not logged in.

#1 2013-04-13 23:28:34

ElderSnake
Member
From: Australia
Registered: 2010-12-09
Posts: 97

Anyone using Steam with DWM?

So I was tempted to try out DWM and I can see that largely it seems to work very well. With one exception, though I partially expected it: Steam.

I set up my config.h rules to automatically float Steam windows which works fine, it's more the resizing and UI elements of Steam that for some reason don't behave too well in DWM. Often, mostly with the Main Steam window, the window will resize but it's contents do not... therefore often giving a cropping effect. Also sometimes the elements seem offset somehow, i.e the hover menus activate a good 30px or so where you expect it to be.

I'll post some screenies when I get the chance. Is this something only Valve can fix or is there perhaps some DWM tweaks/configs I need to consider?


Arch Linux - Intel E5200 Desktop (MATE GTK3)  | Fedora 25 - ASUS Core-i7 Optimus Laptop

Offline

#2 2013-04-14 03:59:43

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Anyone using Steam with DWM?

Steam usually works fine for me, though a couple games cause me trouble.  Try different configurations for the windows--e.g. windowed vs. fullscreen, monocle vs. tile vs. floating modes, etc; that's worked so far in my case.

Offline

#3 2013-04-14 22:36:10

ElderSnake
Member
From: Australia
Registered: 2010-12-09
Posts: 97

Re: Anyone using Steam with DWM?

Thanks. Yeah some games do also behave a little funny during launch. I've found launching the games in a seperate tag/view from Steam helps though.


Arch Linux - Intel E5200 Desktop (MATE GTK3)  | Fedora 25 - ASUS Core-i7 Optimus Laptop

Offline

#4 2013-07-21 13:09:25

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 130
Website

Re: Anyone using Steam with DWM?

Do you know any patch, that fullscreen does not grab the mouse? I have dual monitors and I can move the mouse to the other screen only if I close the game.
BTW: I ask the question here, as I think that it is relevant to the subject.

Offline

#5 2013-07-21 13:36:29

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Anyone using Steam with DWM?

Maybe you can try launching steam in a separate Xserver.

Offline

#6 2013-07-21 17:08:35

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 130
Website

Re: Anyone using Steam with DWM?

Wouldn't that kill my hardware acceleration?
Also, I want to be able to pause the game and check my email and so. Will I be able to do that with separate X server?

Offline

#7 2013-07-21 17:25:32

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Anyone using Steam with DWM?

ttouch wrote:

Wouldn't that kill my hardware acceleration?

Why would it? Though, I am not sure.

Also, I want to be able to pause the game and check my email and so. Will I be able to do that with separate X server?

You can run your usual stuff on one server, and easily switch back and forth.

Offline

#8 2013-07-21 17:55:02

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 130
Website

Re: Anyone using Steam with DWM?

Don't know...
Doesn't seems the right way to cope with the problem for me. For example, awesome wm (which I came from) cope with it. When you play, no cursor is shown
However, I want to know if hardware acceleration is possible across two X servers, because I want to do a multiseat setup

Offline

#9 2013-07-22 05:46:03

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Anyone using Steam with DWM?

ttouch wrote:

However, I want to know if hardware acceleration is possible across two X servers, because I want to do a multiseat setup

You can always try it yourself...

I just tried playing a video in a separate Xserver with mplayer, and vdpau worked fine. So, I think you should have hardware acceleration.

Offline

#10 2013-07-22 06:26:42

Max-P
Member
Registered: 2011-06-11
Posts: 164

Re: Anyone using Steam with DWM?

Yes, you get hardware acceleration.

Starting a second X server will take another console, and only one will run at a time. The other one will be in some sort of "paused" state. So if your regular server runs on console 7 and you start a second server on console 8, then you can switch to them using Ctrl+Alt+F7 and Ctrl+Alt+F8. This is not multi-seat. Only one server runs a time, but will give your games access to 100% of the server.

For Steam windows, try to do something that will cause the resize event to be sent so Steam repaints its UI with the correct sizes. It looks like it assumes it has the window size it requested and it's slightly bigger or smaller and won't repaint, resulting in stretched display and buttons being off (UI is scaled to be a bit larger, but the UI still uses exact pixels to calculate pointed elements = weirdness).

If you want real multi-seat, you will need either two graphic cards (one for each server) or to run a master X server and two Xephyr (one for each seat), and use VirtualGL to get 3D working on them, but that's another topic.

Offline

#11 2013-07-27 13:34:28

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 130
Website

Re: Anyone using Steam with DWM?

Thank you.
I still want to solve that problem programatically. Very good way to learn C! smile

Offline

Board footer

Powered by FluxBB