public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Multi monitor and fullscreen games
@ 2013-01-01 12:21 Sebastian Beßler
  2013-01-01 15:13 ` Florian Philipp
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Beßler @ 2013-01-01 12:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3580 bytes --]

Hi,

I got a second monitor and have KDE running in xinerama big screen mode
without problems. Most everything works great but every game that I
tried was streched over both screens when in fullscreen and gets so
unplayable for me.

Xinerama useflag is set and xinerama is loaded by X without error.

My card:

# lspci |grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI
Barts PRO [Radeon HD 6800 Series]

I use the opensource drivers with KMS here.

# emerge --info |grep xinerama
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avahi berkdb bluetooth
branding bzip2 c++0x cairo cdda cdr cli consolekit cracklib crypt cups
cxx dbus declarative dri dts dvd dvdr emboss encode exif faac fam ffmpeg
firefox flac fortran fuse gdbm gif glamor gpm gtk iconv imagemagick
iproute2 ipv6 jpeg jpeg2k kde kipi lame lcms libnotify mad mmap mmx
mmxext mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl
ogg openal opengl openmp opus pam pango pch pcre pdf phonon plasma png
policykit ppds pppd qt3support qt4 readline sdl semantic-desktop session
spell sse sse2 ssl ssse3 startup-notification svg syslog tcpd theora
threads thumbnail tiff truetype udev udisks unicode upower usb
vim-syntax vorbis webkit wxwidgets x264 xattr xcb xcomposite xinerama
xml xmp xorg xscreensaver xv xvid zeroconf zlib"

# grep -i xinerama /var/log/Xorg.0.log -A3 -B3
[    36.903] Initializing built-in extension SYNC
[    36.903] Initializing built-in extension XKEYBOARD
[    36.903] Initializing built-in extension XC-MISC
[    36.903] Initializing built-in extension XINERAMA
[    36.903] Initializing built-in extension XFIXES
[    36.903] Initializing built-in extension RENDER
[    36.903] Initializing built-in extension RANDR

Is there anything that can be done to fix this problems with fullscreen
games?

The best would be if I could configure X to use the monitors as seperate
screens 0:1 and 0:2 but when I try to configure this in Xorg.conf the
second screen is not found and both monitors are configured in clone mode.

This is the xorg.conf that I tried last, atm no xorg.conf is used at all.

Section "ServerLayout"
        Identifier     "Default"
        Screen      0  "BenQ" 0 0
        Screen      1  "VideoSeven" rightof "BenQ"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option       "Xinerama" "off"
        Option       "Clone" "off"
EndSection

Section "Device"
        Identifier "Radeon0"
        Driver     "radeon"
        BusID      "PCI:1:0:0"
        Option     "ZaphodHeads" "HDMI-0"
        Option     "Monitor-HDMI-0"  "BenQ"
        Screen     0
EndSection

Section "Device"
        Identifier "Radeon1"
        Driver     "radeon"
        BusID      "PCI:1:0:0"
        Option     "ZaphodHeads" "DVI-0"
        Option     "Monitor-DVI-0"  "VideoSeven"
        Screen     1
EndSection


Section "Screen"
        Identifier "BenQ"
        Device     "Radeon0"
        Monitor    "BenQ"
EndSection

Section "Screen"
        Identifier "VideoSeven"
        Device     "Radeon1"
        Monitor    "VideoSeven"
EndSection

Section "Monitor"
        Identifier "BenQ"
        Option       "Xinerama" "off"
        Option       "Clone" "off"
EndSection

Section "Monitor"
        Identifier "VideoSeven"
        Option       "Xinerama" "off"
        Option       "Clone" "off"
EndSection

I hope someone can help me.

Greetings and a happy new year

Sebastian Beßler


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 899 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Multi monitor and fullscreen games
  2013-01-01 12:21 [gentoo-user] Multi monitor and fullscreen games Sebastian Beßler
@ 2013-01-01 15:13 ` Florian Philipp
  2013-01-02  5:25   ` Sebastian Beßler
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Philipp @ 2013-01-01 15:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]

Am 01.01.2013 13:21, schrieb Sebastian Beßler:
> Hi,
> 
> I got a second monitor and have KDE running in xinerama big screen mode
> without problems. Most everything works great but every game that I
> tried was streched over both screens when in fullscreen and gets so
> unplayable for me.
> 
> Xinerama useflag is set and xinerama is loaded by X without error.
> 
> My card:
> 
> # lspci |grep VGA
> 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI
> Barts PRO [Radeon HD 6800 Series]
> 
> I use the opensource drivers with KMS here.
> 
[...]
> 
> Is there anything that can be done to fix this problems with fullscreen
> games?
> 
> The best would be if I could configure X to use the monitors as seperate
> screens 0:1 and 0:2 but when I try to configure this in Xorg.conf the
> second screen is not found and both monitors are configured in clone mode.
> 
> This is the xorg.conf that I tried last, atm no xorg.conf is used at all.
> 
[...]

I recommend getting rid of xinerama. xrandr can handle multiple monitors
just fine. If you are on KDE, try installing kde-base/kephal and use no
xorg.conf.

I still have the xinerama USE flag enabled globally as it adds
multi-monitor awareness to some applications.

With that, fullscreen applications work for me. Some still deactivate
the second display or change the resolution but otherwise it works just
fine.

Regards,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Multi monitor and fullscreen games
  2013-01-01 15:13 ` Florian Philipp
@ 2013-01-02  5:25   ` Sebastian Beßler
  2013-01-02 10:55     ` Florian Philipp
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Beßler @ 2013-01-02  5:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

On 01.01.2013 16:13, Florian Philipp wrote:

> With that, fullscreen applications work for me. Some still deactivate
> the second display or change the resolution but otherwise it works just
> fine.

I tried it and it does not help at all, nothing changed. The games still
stretch over both screens when in fullscreen.

Someone else any idea?

Greetings

Sebastian Beßler



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 899 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Multi monitor and fullscreen games
  2013-01-02  5:25   ` Sebastian Beßler
@ 2013-01-02 10:55     ` Florian Philipp
  2013-01-02 17:49       ` Sebastian Beßler
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Philipp @ 2013-01-02 10:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

Am 02.01.2013 06:25, schrieb Sebastian Beßler:
> On 01.01.2013 16:13, Florian Philipp wrote:
> 
>> With that, fullscreen applications work for me. Some still deactivate
>> the second display or change the resolution but otherwise it works just
>> fine.
> 
> I tried it and it does not help at all, nothing changed. The games still
> stretch over both screens when in fullscreen.
> 
> Someone else any idea?
> 
> Greetings
> 
> Sebastian Beßler
> 

Make sure all direct and indirect dependencies have USE=xinerama.
Specifically:

x11-libs/qt-gui
x11-libs/gtk+
media-libs/libsdl
app-emulation/wine

Regards,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Multi monitor and fullscreen games
  2013-01-02 10:55     ` Florian Philipp
@ 2013-01-02 17:49       ` Sebastian Beßler
  2013-01-02 18:10         ` Mark Knecht
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Beßler @ 2013-01-02 17:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]

On 02.01.2013 11:55, Florian Philipp wrote:

Hello,

> Make sure all direct and indirect dependencies have USE=xinerama.
> Specifically:
> 
> x11-libs/qt-gui
> x11-libs/gtk+
> media-libs/libsdl
> app-emulation/wine

xinerama is enabled global in make.conf so everything and the
kitchensink should be build with it.

Kind regards

Sebastian Beßler


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 899 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Multi monitor and fullscreen games
  2013-01-02 17:49       ` Sebastian Beßler
@ 2013-01-02 18:10         ` Mark Knecht
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Knecht @ 2013-01-02 18:10 UTC (permalink / raw
  To: Gentoo User

On Wed, Jan 2, 2013 at 9:49 AM, Sebastian Beßler
<sebastian@darkmetatron.de> wrote:
<SNIP>...

I don't think I have this problem here but I'd need to emerge a
specific game that runs full screen to test. Could you please provide
the name of something easy to emerge and test. I ran a game called 0ad
a couple of months ago and I was able to make it full screen on one
monitor at that time.

Also, whereas I think you have two monitors, I have 3 hooked to 2
_different_ Nvidia cards. (a GTX465 driving 2 monitors and an 8400GS
driving 1) Since installing the second VGA _none_ of the KDE OpenGL
effects have worked. However a friend has two 8400GS cards installed
driving 3 monitors and OpenGL works fine for him on all 3 monitors so
I figure that's an Nvidia driver issue when the cards are different
types.

Anyway, I'm attaching my xorg.conf file in case there's something of
value there for you. I don't claim it's a very good xorg.conf file but
it seems to mostly work for this machine.

Please trim responses.

HTH,
Mark




mark@c2stable ~ $ cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 275.09.07
(buildmeister@swio-display-x86-rhel47-03.nvidia.com)  Wed Jun  8
14:38:19 PDT 2011

#FontPath        "/usr/share/fonts/100dpi/"
#FontPath        "/usr/share/fonts/75dpi/"
#FontPath        "/usr/share/fonts/Speedo/"
#FontPath        "/usr/share/fonts/Type1/"
#FontPath        "/usr/share/fonts/corefonts/"
#FontPath        "/usr/share/fonts/cyrillic/"
#FontPath        "/usr/share/fonts/default/"
#FontPath        "/usr/share/fonts/encodings/"
#FontPath        "/usr/share/fonts/freefonts-ttf/"
#FontPath        "/usr/share/fonts/freefonts/"
#FontPath        "/usr/share/fonts/kanjistrokeorders/"
#FontPath        "/usr/share/fonts/misc/"
#FontPath        "/usr/share/fonts/ttf-bitstream-vera/"
#FontPath        "/usr/share/fonts/urw-fonts/"
#FontPath        "/usr/share/fonts/util/"


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      2  "Screen2" RightOf "Screen1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
    Option         "BlankTime" "30"
    Option         "StandbyTime" "0"
    Option         "SuspendTime" "0"
    Option         "OffTime" "240"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 75.0
    VertRefresh     56.0 - 61.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 75.0
    VertRefresh     56.0 - 61.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 465"
    BusID          "PCI:2:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 465"
    BusID          "PCI:2:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400GS"
    BusID          "PCI:4:0:0"
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-2: 1920x1080 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: 1920x1080 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1280x1024 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

mark@c2stable ~ $


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-02 18:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-01 12:21 [gentoo-user] Multi monitor and fullscreen games Sebastian Beßler
2013-01-01 15:13 ` Florian Philipp
2013-01-02  5:25   ` Sebastian Beßler
2013-01-02 10:55     ` Florian Philipp
2013-01-02 17:49       ` Sebastian Beßler
2013-01-02 18:10         ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox