Linux Suse 10 - Dual monitor - spel op 1 monitor spelen.

Pagina: 1
Acties:

Onderwerpen


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Ik heb Linux suse 10 de evaluation eens geprobeerd en eindelijk eens een werkend geheel van weten te maken.

Ik heb inmiddels dus ook mijn dualmonitor setup werkend. Er is echter 1 probleem. Als ik een spel ga spelen zoals GTA of World of Warcraft dan word het spel fullscreen over 2 monitoren gestart. Niet echt handig. Ook het standaard spel supertux doet dit :)

Weet iemand hoe je dit goed kunt instellen ?

Dit is mijn xorg.conf. Xorg maakt er nu 2560x1024 van.. Dit zou dus 2x 1280x1024 moeten zijn.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/ttyS0"
  InputDevices "/dev/ttyS1"
  InputDevices "/dev/ttyS2"
  InputDevices "/dev/ttyS3"
  InputDevices "/dev/ttyS4"
  InputDevices "/dev/ttyS5"
  InputDevices "/dev/ttyS6"
  InputDevices "/dev/ttyS7"
  InputDevices "/dev/ttyS8"
  InputDevices "/dev/psaux"
  InputDevices "/dev/logibm"
  InputDevices "/dev/sunmouse"
  InputDevices "/dev/atibm"
  InputDevices "/dev/amigamouse"
  InputDevices "/dev/atarimouse"
  InputDevices "/dev/inportbm"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/mouse"
  InputDevices "/dev/usbmouse"
  InputDevices "/dev/adbmouse"
  InputDevices "/dev/input/mice"
  InputDevices "/dev/input/event0"
  InputDevices "/dev/pointer0"
  InputDevices "/dev/pointer1"
  InputDevices "/dev/pointer2"
  InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "v4l"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "12"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Logitech USB Receiver"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  DisplaySize  340 270
  HorizSync    31-64
  Identifier   "Monitor0"
  ModelName    "1280X1024@60HZ"
  Option       "DPMS"
  VendorName   "--> VESA"
  VertRefresh  50-60
EndSection

Section "Monitor"
  DisplaySize  340 270
  HorizSync    31-64
  Identifier   "Monitor1"
  ModelName    "1280X1024@60HZ"
  Option       "DPMS"
  VendorName   "--> VESA"
  VertRefresh  50-60
EndSection

Section "Device"
Identifier "nvidia0"
Driver "nvidia"
VendorName "NVIDIA"
BoardName "NVIDIA 6800GT"
Option "RenderAccel" "true"
# Option "AllowGLXWithComposite" "true"
EndSection

Section "Device"
Identifier "nvidia1"
Driver "nvidia"
VendorName "NVIDIA"
BoardName "NVIDIA 6800GT"
Option "RenderAccel" "true"
# Option "AllowGLXWithComposite" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "nvidia0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "yes"
Option "TwinViewOrientation" "RightOf"
Option "MetaModes" "1280x1024,1280x1024"
EndSection

Section "Screen"
Identifier "Screen1"
Device "nvidia1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "yes"
Option "TwinViewOrientation" "LeftOf"
Option "MetaModes" "1280x1024,1280x1024"
EndSection

Section "ServerLayout"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Keyboard[0]" "CoreKeyboard"
EndSection 


Section "DRI"
Group 0
Mode 0666
EndSection

[ Voor 57% gewijzigd door Verwijderd op 12-02-2006 12:32 ]


Acties:
  • 0 Henk 'm!

  • kamerplant
  • Registratie: Juli 2001
  • Niet online
Ikzelf draai ook Suse 10 met dual monitor @ 2x 1280x1024. Mijn fullscreen spelletjes (like Supertux) starten netjes op de primary monitor. Ik weet niet precies waar het verschil in zit, maar hier heb je mijn Xorg.conf.
In KDE staat de multiple monitor support aan (KDE CP > Peripherals > Display > Multiple Monitors), wat ervoor zorgt dat gemaximaliseerde programma's niet over beide monitoren maximaliseren. :P In Gnome onder Ubuntu heb deze mogelijkheid overigens niet gevonden, maar misschien wel omdat ik hier vrij vluchtig naar heb gekeken :o

[ Voor 3% gewijzigd door kamerplant op 12-02-2006 12:52 ]

🌞🍃


Acties:
  • 0 Henk 'm!

  • Blaasvis
  • Registratie: November 2001
  • Laatst online: 16-09 18:22

Blaasvis

Cidora \o/

eigenlijk is het heel simple :P
zet twinview uit ;)

Freedom is everything you need ; <moto-moi|afk> ik verkloot het gewoon nooit :P


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Als ik twinview uitzet dan heb ik geen dual monitor ... Tenminste mijn 2de scherm werkt dan niet .. Niet echt een oplossing dus he :)

en de xorg.conf hierboven helpt niet echt. De opties die erbij staan zijn voor ATI kaartjes dacht ik ..

Iedergeval geprobeerd maar het werkt niet helaas...

[ Voor 41% gewijzigd door Verwijderd op 12-02-2006 14:50 ]


Acties:
  • 0 Henk 'm!

  • laurencevde
  • Registratie: November 2001
  • Laatst online: 29-09-2024
voeg een extra metamode toe waarbij je voor het scherm wat je uit wilt zetten null gebruikt, of weglaat.
dan worden die metamode-regels dus zoiets als dit:
code:
1
Option "MetaModes" "1280x1024,1280x1024; 1280x1024,null; ,1280x1024"

bij de tweede mode staat het 2e scherm uit, bij de 3e het 1e scherm.

Have a taste of freedom. It is sometimes a bitter pill. To me though, this is the sweetness of the GPL


Acties:
  • 0 Henk 'm!

  • Dutchess_Nicole
  • Registratie: Augustus 2001
  • Laatst online: 13:53
Dit is idd de manier: in je metamodes moet je meegeven dat je soms ook maar 1 monitor wilt gebruiken.

Daarnaast (niet echt belangrijk voor het probleem, maar wel makkelijker voor anderen om op te lossen) kan veel van je xorg.conf versimpeld worden. er staan namelijk veel dubbele dingen in.

Hier is mijn xorg.conf als voorbeeld (WoW werkt hiermee netjes in single screen mode):
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
        Identifier      "benq19"
        HorizSync       57.6-82
        VertRefresh     60-77
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier "TwinView"
    VendorName "nvidia"
    Driver "nvidia"
    BusID  "PCI:1:0:0"
    VideoRam    131072
    Option "DPMS"
    Option "TwinView"
    Option "BackingStore"               "1"
    Option "IgnoreEDID"                 "1"
    Option "RenderAccel"                "1"
    Option "Nologo"                     "1"
    Option "CursorShadow"               "1"
    Option "NvAGP"                      "2"
    Option "DigitalVibrance"            "2"
    Option "AGPMode"                    "8"
    Option "AGPFastWrite"               "true"
    Option "EnableDepthMoves"           "true"
    Option "EnablePageFlip"             "true"
    Option "ConnectedMonitor"           "CRT,DFP"
    Option "TwinViewOrientation"        "Rightof"
    Option "SecondMonitorHorizSync"     "57.6-82"
    Option "SecondMonitorVertRefresh"   "60-77"
    Option "MetaModes" "1280x1024,1280x1024;1280x1024,NULL;1024x768,1024x768;10\
24x768,NULL"
EndSection

# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"
    Identifier  "TwinView0"
    Device      "TwinView"
    Monitor     "benq19"
    DefaultDepth 24
    Subsection "Display"
        Depth   24
    EndSubsection
    SubSection "Display"
        Depth   16
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier  "Dual"
    Screen 0 "Twinview0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


Je kunt deze zo gebruiken als je de monitor en device sections lichtjes aanpast. Ik heb 2 keer dezelfde TFT dus die staat maar 1 keer gedefinieerd.

Kia E-Niro 2019 Executiveline. OTGW/HA Enthousiasteling.


Acties:
  • 0 Henk 'm!

  • Wilke
  • Registratie: December 2000
  • Laatst online: 16:33
Blaasvis schreef op zondag 12 februari 2006 @ 13:02:
eigenlijk is het heel simple :P
zet twinview uit ;)
Not really ;)

Waarschijnlijk heeft de window manager die je gebruikt geen support voor Xinerama, want anders zou dit "vanzelf" wel goed moeten gaan (ik heb het bij mezelf nog nooit mis zien gaan iig). Lijkt me echter vreemd dat SuSE dit standaard niet aan heeft staan, dus misschien is van belang: welke windowmanager of desktop environment gebruik je? KDE? Staat de door Datafeest genoemde instelling goed?

Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Ik gebruik KDE ja .. Die van Suse 10. 2e monitor werkte standaard niet eens. Oooohhh oohhh :)

Schermen bij mij thuis zijn identiek. 2x Samsung 970P monitor.

Met die metamodes -> Dan zet ik toch het scherm helemaal uit op het moment dat ik Wow speel ? Das toch niet echt handig of wel ? Het is juist leuk om er naast bv nog een internet pagina te hebben.

Ik ga over een klein uurtje naar huis en laat wel even weten of het bovenstaande gelukt is :)

[ Voor 29% gewijzigd door Verwijderd op 13-02-2006 16:20 ]


Acties:
  • 0 Henk 'm!

  • killercow
  • Registratie: Maart 2000
  • Laatst online: 15-09 16:02

killercow

eth0

ik draai m'n games (inc cedega games) op de volgende manier op een andere monitor:

Ik heb m'n xorg.conf gecopieerd, en in deze tweede versie multi-monitor support uitgezet.
Daarna start ik het spel als volgt op:
xinit /usr/bin/cedega blaat.exe -- -config=xorg.singlescreen.conf :1

(volgens mij), werkt perfect. na aflsuiten wordt de extra x server weer gekilled en kom ik weer op vc7 uit

openkat.nl al gezien?


Acties:
  • 0 Henk 'm!

  • blouweKip
  • Registratie: November 1999
  • Laatst online: 15-09 20:32
Ik draai(de) toen ik dual monitor gebruikte gewoon een extra x server op vt8, simpele wm erin en gamen maar

"For my friends, anything; for my enemies, the law."


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Met de metamodes lukte het nog steeds niet maar het is nu gelukt middels de config van BlackSash.

1 vraagje nog: Hoe zorg ik er voor dat mijn DVI TFT het primaire scherm word ? Xorg pakt nu mijn linker scherm als game scherm...

Acties:
  • 0 Henk 'm!

  • killercow
  • Registratie: Maart 2000
  • Laatst online: 15-09 16:02

killercow

eth0

als je naast je game screen ook nog een deel van je andere X wilt zien kun je msischien xnest gebruiken, daar kun je volgens mij allerlei apps in draaien (zelfs hele desktops), en dan kun je gewoon met alt-tab naar je normale desktop switchen.

openkat.nl al gezien?

Pagina: 1