2 screens and fullscreen games

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
whatbug
Level 3
Level 3
Posts: 67
Joined: Sun Mar 14, 2010 4:49 am

2 screens and fullscreen games

Post by whatbug »

Hi,

I have 2 screens ( 1920 x 1080 & 1280 x 1024 ) and everytime i start my game ( jedi knight 2 - quake 3 engine ) my second screen gets disabled.

wine 1.1.41
ubuntu 10.04 lucid beta 1
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

It's a workaround, but you could enable a virtual desktop in winecfg. The game won't be completely fullscreen, but it won't mess with your screen settings either.

Turning the second screen back on through a tool like lrandr after having started the game works too.

This is more of a video driver related problem than a Wine one, though. If your driver comes with a settings tool (think the ATI Catalyst Control Center for example), open it and see if you can find a way to always keep the second screen enabled.
whatbug
Level 3
Level 3
Posts: 67
Joined: Sun Mar 14, 2010 4:49 am

Post by whatbug »

okey that would work fine thank you BUT

the virtual screen is always starting on my left screen instead of my right, can this be done, too?
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Where your applications start is really something determined by your window manager. The behaviour can be set up in the most popular window managers, though (Gnome, KDE, Xfce).
fernandocarvalho
Level 4
Level 4
Posts: 102
Joined: Sun Oct 11, 2009 7:03 am

Post by fernandocarvalho »

I got a problem on Oblivion with Dual Screen enabled on nvidia that I described here: http://forum.winehq.org/viewtopic.php?p=41650#41650.

Playing Oblivion on wine-1.1.35 (Gentoo) I got an error:
wine: Unhandled page fault on read access to 0x00000000 at address 0x68fda1 (thread 0009), starting debugger...
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(1440,900)

This looks like it is related to the fact that I'm using dual screen on nvidia-settings, because I'm able to play with no issues when only one screen is enabled.
Locked