Re: [gentoo-user] Multi monitor and fullscreen games

2013-01-02 Thread Florian Philipp
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



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Multi monitor and fullscreen games

2013-01-02 Thread Sebastian Beßler
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



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Multi monitor and fullscreen games

2013-01-02 Thread Mark Knecht
On Wed, Jan 2, 2013 at 9:49 AM, Sebastian Beßler
sebast...@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
(buildmeis...@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
InputDeviceKeyboard0 CoreKeyboard
InputDeviceMouse0 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
MonitorMonitor1
DefaultDepth24
Option TwinView 0
Option metamodes DFP-2: 1920x1080 +0+0
SubSection Display
Depth   24
EndSubSection
EndSection

Section Screen
Identifier Screen0
Device Device0
MonitorMonitor0
DefaultDepth24
Option TwinView 0
Option metamodes DFP-0: 1920x1080 +0+0
SubSection Display
Depth   24
EndSubSection
EndSection

Section Screen
Identifier Screen2
Device Device2
MonitorMonitor2
DefaultDepth24
Option TwinView 0
Option metamodes 1280x1024 +0+0
SubSection Display
Depth   24
EndSubSection
EndSection

mark@c2stable ~ $



[gentoo-user] Multi monitor and fullscreen games

2013-01-01 Thread 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.

# 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
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 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
MonitorBenQ
EndSection

Section Screen
Identifier VideoSeven
Device Radeon1
MonitorVideoSeven
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



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Multi monitor and fullscreen games

2013-01-01 Thread Florian Philipp
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



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Multi monitor and fullscreen games

2013-01-01 Thread 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




signature.asc
Description: OpenPGP digital signature