protonscr

Uplink: Second monitor disabled after game exit

steamclosed reviewed3rd party game
ValveSoftware/steam-for-linux#133 · opened 2012-12-20 by SilverPreece · updated 2013-01-18 · 9 comments · github
SSilverPreece 2012-12-20 github

Uplink starts fine, looks fine, and runs fine, but when I exit the game, the monitor not used by the game has been completely disabled. My Plasma taskbar has moved to the now-active monitor, but all other widgets are missing. Logs from the game's run appear to show some sort of X error:

Game update: AppID 1510 "Uplink", ProcID 21408, IP 0.0.0.0:0
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  20 (X_GetProperty)
Resource id in failed request:  0x5c000e5
Serial number of failed request:  187257
=============================
=                           =
=        U P L I N K        =
=                           =
=        Version 1.6        =
=     - R E L E A S E -     =
=                           =
=============================

Version 1.6 (RELEASE)
Compiled on Oct  3 2011 at 12:32:14

saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Generating new string page texture 162: 1024x256, total string texture memory is 5.69 MB
Game removed: AppID 1510 "Uplink", ProcID 21408 
saving roaming config store to 'sharedconfig.vdf'                                                                                                                                                                                                                              
roaming config store 2 saved successfully   

Machine Summary: Kubuntu 12.10 x64, AMD CPU, AMD GFX, dual 1920x1080 monitors.

Machine info:

Processor Information:
    Vendor:  AuthenticAMD
    Speed: 2800 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Supported
    SSE41:  Unsupported
    SSE42:  Unsupported

Network Information:
    Network Speed:  

Operating System Version:
    Ubuntu 12.10 (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.5.0-17-generic
    X Server vendor:  The X.Org Foundation
    X Server release:  11300000

Video Card:
    Driver:  ATI Technologies Inc. ATI Radeon HD 5450

    Driver Version:  4.2.11903 Compatibility Profile Context
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x1002
    DeviceID:  0x68f9
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 18.78" x 10.55"  (21.54" diag)
                                            47.7cm x 26.8cm  (54.7cm diag)
    Primary VRAM Not Detected

Sound card:
    Audio device: Realtek ALC662 rev1

Memory:
    RAM:  7986 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_GB.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  319073 Mb
    Largest Free Hard Disk Block:  159779 Mb

Installed software:

Recent Failure Reports:

Mmdaffin 2012-12-20 github

As a work around to these problems I tend to run the games in windowed mode at my native resolution and hide the window border. It causes far less problems then trying to run games full screen on a dual monitor.

Ttorval 2012-12-21 github

This is not the only game that has this sort of issue. I noticed both Penumbra: Overture and Killing Floor both disabled my second monitor when I launched them on my primary.

However, in my case, that monitor comes back when I exit the game. I've not tried running them in Windowed mode yet.

Kkabili207 2012-12-22 github

I've noticed that with Trine 2, TF2, and Waveform won't restore the secondary monitor when they are closed either.

Based on past experience, fullscreen games on Linux almost always disable the secondary monitor in a xinerama/twinview setup. Although they always re-enable it when they quit.

SSilverPreece 2012-12-26 github

Don't mind it disabling the other monitor(s) while gaming, but i'd like it/them back afterward. Incidentally, i was able to restore the other monitor immediately from Catalyst without restarting my X session.

Kkabili207 2012-12-29 github

You can also use xrandr. You just need to know the full combined resolution of all your monitors. Just open up a terminal and type xrandr -s 3360x1050, substituting the appropriate resolution.

Uurkle 2013-01-06 github

grumble.. it's because I shipped SDL 1.2.14 which has XrandR enabled by default (which has that annoying issue). I'll upgrade it to 1.2.15 which disabled it's use of XrandR and won't have this issue. (this most likely is the same cause for the other games mentioned here)

Uurkle 2013-01-13 github

This should no longer happen with the latest update.

Ttorval 2013-01-13 github

Latest update of what; Steam or something else?

On Sun, Jan 13, 2013 at 4:27 PM, Edward Rudd [email protected]:

This should no longer happen with the latest update.


Reply to this email directly or view it on GitHubhttps://github.com/ValveSoftware/steam-for-linux/issues/133#issuecomment-12200613.

Uurkle 2013-01-13 github

Sorry, of uplink. I bumped the SDL version which should fix the fullscreen issues.