Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X im Dualmonbetrieb und Spiele im Vollbildmodus
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Salem
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 103
Location: Bayreuth, Germany

PostPosted: Sun Mar 28, 2004 4:35 pm    Post subject: X im Dualmonbetrieb und Spiele im Vollbildmodus Reply with quote

Hallo,

ich betreibe hier mein XFree86 (4.3.0.1) im Dualmonmodus (nvidia-Treiber) unter KDE. Xinerama funktioniert hier prima bei normalen Anwendungen, sobald ich aber Spiele starte die im Vollbildmodus laufen zentriert sich das Bild mittig zwischen den beiden Monitoren.

Wie kann ich sowas verhindern? Gibt es da einen Trick oder muss ich Dualmon dann deaktivieren?

Danke
_________________
Salem
Back to top
View user's profile Send private message
siliconburner
Guru
Guru


Joined: 02 May 2003
Posts: 300

PostPosted: Sun Mar 28, 2004 5:47 pm    Post subject: Reply with quote

was hastn eingestellt? dualhead oder big framebuffer? versuch mal das spiel im 1. monitor zu starten, bei mir (dualhead nix framebuffer) gin X dann in clonemod und das spiel lief auf beiden (pseudostereo ;) )
_________________
living in /dev/null
Back to top
View user's profile Send private message
Salem
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 103
Location: Bayreuth, Germany

PostPosted: Mon Mar 29, 2004 4:46 pm    Post subject: Reply with quote

Dann hab ich wohl einen Big Framebuffer die KDE mit Hilfe von Xinerama getrennt verwalten kann.

Ausschnitte aud der Deviceconfig:
Code:
  Driver       "nvidia"
  Option "TwinView" "1"
  Option "TwinViewOrientation" "RightOf"

_________________
Salem
Back to top
View user's profile Send private message
Salem
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 103
Location: Bayreuth, Germany

PostPosted: Mon May 03, 2004 2:24 am    Post subject: Reply with quote

Das gleiche Problem habe ich jetzt auch mit der Anwendung Moneyplex. Diese hält sich auch nicht an die Xinerama-Regeln. Gibt es da keinen Trick? Ansonsten wird Dualmon recht unbrauchbar, wenn Vollbildmodus bei Spielen oder auch bei so Programmen wie Moneyplex mehr als stören....

Danke
_________________
Salem
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Mon May 03, 2004 6:44 am    Post subject: Reply with quote

ich würde dir vorschlagen die spiele einfach auf einem 2. Xserver zu starten, dann bleibt zwar beim zocken der 2. schirm schwarz aber es müsste gehen.

Code:
 xinit /opt/bin/quake3 -- :2 -layout singlescreen

geht natürlich nur wenn du das layout singlescreen in die xf86 config schreibst.
Back to top
View user's profile Send private message
Salem
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 103
Location: Bayreuth, Germany

PostPosted: Mon May 03, 2004 12:49 pm    Post subject: Reply with quote

Naja, ist aber schon arg umständlich so. Vorallem weil das Problem ja auch bei anderen Programmen auftritt.
Ich weiss ja nicht wie man Dualmon im Normalfall mit einer NVidia-Grafikkarte macht.
Vielleicht wäre es doch besser wenn man die beiden Monitore als getrennte Desktops laufen lässt?

Danke
_________________
Salem
Back to top
View user's profile Send private message
Salem
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 103
Location: Bayreuth, Germany

PostPosted: Sat Oct 09, 2004 12:28 pm    Post subject: Reply with quote

So, nach langer Zeit möchte ich mal wieder das Problem anpacken.

Ich schaff es also bis heute nicht, ein Spiel welches im Vollbildmodus (also nicht Fenstermodus) läuft auf nur einem Monitor darzustellen.
Es wird immer zentriert zwischen beiden dargestellt.
Eine extra X-Config um zu spielen find ich dumm. Ideal wäre eigentlich "links" Spielen im Vollbild, rechts was anderes....

Meine X.org-Conf:

Code:

Section "Files"
[...]
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "Module"
  Load         "dbe"
  SubSection "extmod"
    Option   "omit xfree86-dga"
  EndSubSection
  Load         "type1"
# Load         "speedo"
# Load         "extmod"
  Load         "freetype"
  Load         "glx"
  Load         "dri"
  Load         "v4l"
EndSection

Section "InputDevice"
[...]
EndSection

Section "InputDevice"
[...]
EndSection

Section "Monitor"
  Option       "CalcAlgorithm" "IteratePrecisely"
  HorizSync    30-110
  Identifier   "Monitor[0]"
  ModelName    "Monitor 1"
  Option       "DPMS"
  VendorName   "Samsung"
# VertRefresh  50-100
  UseModes     "Modes[0]"
# Displaysize  "360 280"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline "640x480" 27.96 640 656 720 864 480 480 485 501
  Modeline "800x600" 43.68 800 816 928 1072 600 600 606 626
  Modeline "1024x768" 71.39 1024 1040 1216 1400 768 768 776 802
  Modeline "1152x864" 90.48 1152 1168 1384 1568 864 864 873 902
  Modeline "1280x960" 164.54 1280 1360 1616 1680 960 960 975 1003
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      24
    Modes      "1280x960" "640x480" "800x600" "1024x768" "1152x864"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Device"
  BoardName    "GF4 Ti4600"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Option       "dpms"
  VendorName   "Gainward"
  Option "RenderAccel" "true"
  Option "DigitalVibrance" "100"
  Option "UseEdidFreqs" "true"
  Option "TwinView" "1"
  Option "TwinViewOrientation" "RightOf"
  Option "SecondMonitorHorizSync" "30.0-115.0"
  Option "SecondMonitorVertRefresh" "50.0-185.0"
  Option "MetaModes" "1280x960,1024x768"
  Option "ConnectedMonitor" "CRT, CRT"

EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Screen       "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0666
EndSection

_________________
Salem
Back to top
View user's profile Send private message
Tuna
Guru
Guru


Joined: 19 Jul 2002
Posts: 485
Location: Berlin

PostPosted: Sat Oct 09, 2004 9:51 pm    Post subject: Reply with quote

Versuch bei deinen MetaModes die spiele auflösungen einzutragen, und einen monitor deaktivieren. oder mit den offsets arbeiten. zb:
Code:
1024x768,NULL

wenn der 2. mon was machen soll:
Code:
1024x768 +0+0, 1280x1024 +1024+0
oder so :-)
Back to top
View user's profile Send private message
XMath
Guru
Guru


Joined: 14 Aug 2004
Posts: 435
Location: Germany, Gaimersheim

PostPosted: Sun Oct 10, 2004 12:38 pm    Post subject: Reply with quote

Hi,
ansonsten schau dir das mal an Link

Funktioniert bei mir beim ersten Start des X Servers wunderbar.
Jedoch wenn ich den X Server beende, um den neu zu starten, friert mein komplettes System ein.

MfG
Back to top
View user's profile Send private message
Salem
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 103
Location: Bayreuth, Germany

PostPosted: Sun Oct 10, 2004 4:39 pm    Post subject: Reply with quote

Danke, mal schauen.
Wirklich sauber ist die Lösung ja nicht..ist alles irgendwie eher ein extrem schlechter und unpraktischer Workaround...unter Win geht sowas problemlos :(

Wenn er zumindest das Bild oben links anzeigen würde...dann wäre der rechte Monitor schwarz...aber selbst sowas geht ja nicht. Und bei 2 getrennten Desktops geht der ganze Benutzerkomfort flöten...und wenn man mal so nebenbei sagt "ach, ich möchte jetzt spielen" will ich nicht alle Anwendungen schliessen müssen :(

Dumm...irgendwie....
_________________
Salem
Back to top
View user's profile Send private message
Tuna
Guru
Guru


Joined: 19 Jul 2002
Posts: 485
Location: Berlin

PostPosted: Mon Oct 11, 2004 9:35 am    Post subject: Reply with quote

nunja.. ich glaueb einfach windows hat alle möglichen auflösungen zur verfügung.. und du hast nur einen metamode angegeben.. also kann er nirgednws zu irgendwas switchen. wenn man kurz nachdenkt was man benötigt bekommt man so eigetnlich alle sgut ans laufen. mein warcraft3 zb stellt sich sehr schon auf dem 2. tft bildschirm da wie ich es haben wollte..
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Mon Oct 11, 2004 3:09 pm    Post subject: Reply with quote

Salem ich versteh dein problem mit meiner lösung nicht. Auf strg+alt+f7 läuft kde auf 2 schirmen mit xinerama... Und auf +f8 läuft fluxbox auf nur einem schirm, gut der 2. bleibt schwarz aber ist das nicht unter windows genauso? Du kannst auch auf f8 einfach 2 seperate fluxboxe packen also ohne xinerama, dann kannst du beim zocken noch nen film gucken.
Code:

Section "ServerLayout"
    Identifier   "single"
    InputDevice  "Keyboard[0]" "CoreKeyboard"
    InputDevice  "Mouse[0]" "CorePointer"
    Option       "Clone" "off"
    Option       "Xinerama" "off"
    Screen       "Screen[0]"
EndSection

Section "ServerLayout"
    Identifier   "multi"
    InputDevice  "Keyboard[0]" "CoreKeyboard"
    InputDevice  "Mouse[0]" "CorePointer"
    Option       "Clone" "off"
    Option       "Xinerama" "off"
    Screen       "Screen[0]"
    Screen       "Screen[1]" LeftOf "Screen[0]"
EndSection

dann beim startx noch das layout angeben und fertig. Für unsre klickbunt freunde kann man dann noch ein hübsches symbol auf den desktop packen, um den 2. Xserver zum zocken zu starten. Oder einfach für jedes spiel einzeln ein symbol. z.B
Code:

xinit /opt/bin/doom3 -- :1 -layout single
xinit /etc/X11/Sessions/fluxbox -- :1 -layout multi
Back to top
View user's profile Send private message
Salem
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 103
Location: Bayreuth, Germany

PostPosted: Thu Oct 14, 2004 11:14 pm    Post subject: Reply with quote

Ich schaus mir nochmal genauer an. Unter Windows kann ich trotz Spiele den 2. Monitor verwenden, es gibt nur Probleme mit ein paar Spielen die den Mauszeiger nicht ganz "fangen"...wenn man dann die Maus zu weit nach rechts bewegt landet sie auf dem 2. Bildschirm.
Aber Spiele wie Everquest, GTA und Co laufen problemlos und der Monitor bleibt aktiv.
_________________
Salem
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum