PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : cedega und auflösung unter gnome



burnhard
22.01.05, 15:27
Hi!
ich habe eben cedega installiert und gleich darauf morrowind.
läuft auch alles super!
wenn ich das spiel jetzt aber beende hat gnome noch immer die auflösung die im spiel eingestellt war (in meinem fall 1024x768), statt der normalen auflösung (1280x1024).
das is nicht sehr schön anzusehn, denn ich sehe nur einen 1024x768 grossen ausschnitt von meinem desktop. scrolle ich jetzt mit der maus an die ränder des ausschnittes verschiebt sich dieser über den desktop. ich kann also alles anklicken usw., aber sehe nur den ausschnitt!
kann ich das irgendwie ändern ?

danke im vorraus
-burnhard

Shutdown
22.01.05, 15:43
Solche Probleme kenne ich, ich mach es einfach so, dass ich Spiele, die sowas machen in einem separaten X-Server starte.
Du brauchst in deiner X-Config jeweils doppelte Abschnitte für die Grafikkarte, Monitor und Screen. Dann kannst Du die Spiele einfach mit einem Script wie dem starten:


#! /bin/sh

artsshell suspend &
X -screen Screen[1] :1 -ac & sleep 2;
export DISPLAY=:1
xmodmap -e "pointer = 1 2 3 4 5 6 7 8 9" &
imwheel -k -b "89" &
$1
pkill -n X

Das Script startet und beendet den zweiten X-Server, ausserdem startet es auch noch imwheel damit man das Mausrad benutzen kann.
Das "-screen Screen[1]" ist der Name des zweiten Screens aus der X-Config.

Shutdown

burnhard
22.01.05, 15:49
poste bitte mal wie es bei dir in der xorg.conf ausschaut, damit ich nix falsch anlege!

und wie sieht das dann aus? läuft gnome noch nebenbei? kann ich zwishcen den X servern wechseln ?

Shutdown
22.01.05, 17:09
Klar, dein Gnome läuft dann noch im ersten X-Server. Du kannst mit der Tastenkombination Strg+Alt+F7 / Strg+Alt+F8 zwischen den beiden Servern hin- und herwechselns wie zwischen virtuellen Konsolen. (Die laufen bis 6 - normalerweise jedenfalls :D )

So sieht meine X-Config aus (X.org X11R6.8.1, für alles andere Vorsicht: Der Tastaturtreiber heisst bei euch wahrscheinlich anders!):


Section "Module"

Load "dbe"

SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection

Load "type1"
Load "freetype"
# Load "speedo"
Load "glx"
Load "extmod"

EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"

# ModulePath "/usr/X11R6/lib/modules"

# FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
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/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/X11R6/lib/X11/fonts"
FontPath "/usr/share/fonts/default"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/local/share/fonts/TTF"
EndSection

Section "ServerFlags"
# Option "NoTrapSignals"
# Option "DontVTSwitch"
# Option "DontZap"
# Option "DontZoom"
# Option "DisableVidModeExtension"
# Option "AllowNonLocalXvidtune"
# Option "DisableModInDev"
# Option "AllowNonLocalModInDev"
# Option "blank time" "10" # 10 minutes
# Option "standby time" "20"
# Option "suspend time" "30"
# Option "off time" "60"
# Option "EstimateSizesAggresively" "0"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "XkbModel" "pc102"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
Option "XkbOptions" ""
EndSection


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[0]"
Option "Buttons" "9"
Option "Device" "/dev/input/mice"
Option "Vendor" "Razer"
Option "Name" "Diamondback 1600c"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Resolution" "1600"
EndSection

Section "Monitor"
Identifier "Monitor[0]"
HorizSync 64.77
VertRefresh 60
vendorname "Fujitsu Siemens"
modelname "P19"
UseModes "Modes[0]"
EndSection

Section "Monitor"
Identifier "Monitor[1]"
HorizSync 64.77
VertRefresh 60
vendorname "Fujitsu Siemens"
modelname "P19"
UseModes "Modes[1]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1280x1024@60" 114.98 1280 1312 1744 1776 1024 1045 1055 1076
EndSection
Section "Modes"
Identifier "Modes[1]"
Modeline "1024x768@60" 114.98 1280 1312 1744 1776 1024 1045 1055 1076
EndSection


Section "Device"
Identifier "VGA[0]"
Driver "nvidia"
VideoRam 131072
Option "HWCursor" "true"
Option "CursorShadow" "true"
Option "NvAgp" "1"
Option "RenderAccel" "1"
Option "NoLogo" "1"
Option "Connected Monitor" "DFP"
EndSection

Section "Device"
Identifier "VGA[1]"
Driver "nvidia"
VideoRam 131072
Option "NvAgp" "1"
Option "RenderAccel" "1"
Option "NoLogo" "1"
Option "Connected Monitor" "DFP"
EndSection


Section "Extensions"
# Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection


Section "Screen"
Identifier "Screen[0]"
Device "VGA[0]"
Monitor "Monitor[0]"

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

DefaultFbBpp 32

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1280x1024" "1024x768" "800x600" "640x480"
Virtual 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "Screen[1]"
Device "VGA[1]"
Monitor "Monitor[1]"

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

DefaultFbBpp 32

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
Virtual 0 0
EndSubsection
EndSection


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

Ich hab versucht das Ganze einfach und klar strukturiert zu machen, also alle Comments raus und jedes "Gerät" das darin auftaucht kriegt nen klaren Namen und eine Nummer in [ ] verpasst.

Shutdown

Fatty
23.01.05, 00:09
Versuchs mal mit folgendem Befehl in der Console:

$ xrandr -s 0
Damit solltest du die Standardauflösung wieder einstellen können.

Sollte die Helligkeit nicht mehr stimmen hilft xgamma -gamma 1 und wenn die Maus zu schnell / langsam ist ist xset m dein Freund ;)

PS: Die aktuellen Einstellungen für die Maus lassen sich per xset q abfragen.

dorian-gray
16.01.06, 19:00
Hm hab das eigentlich recht ähnlich Shutdown gemacht.

Skript:


#! /bin/sh

artsshell suspend &
X -screen Screen [1] :1 -ac & sleep 2;
export DISPLAY=:1
xmodmap -e "pointer = 1 2 3 4 5 6 7 8 9" &
imwheel -k -b "89" &
$1
pkill -n X


und die Xorg.conf so geändert



Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)[0]"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "UseInternalAGPGART" "yes"
Screen 0
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)[1]"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "UseInternalAGPGART" "yes"
Screen 1
EndSection

Section "Monitor"
Identifier "Monitor[0]"
Option "DPMS"
# DisplaySize 270 203 # 1024x768 96dpi
# DisplaySize 338 254 # 1280x960 96dpi
DisplaySize 338 270 # 1280x1024 96dpi
# DisplaySize 370 277 # 1400x1050 96dpi
# DisplaySize 423 318 # 1600x1200 96dpi
# DisplaySize 423 370 # 1600x1400 96dpi
EndSection

Section "Monitor"
Identifier "Monitor[1]"
Option "DPMS"
# DisplaySize 270 203 # 1024x768 96dpi
# DisplaySize 338 254 # 1280x960 96dpi
DisplaySize 338 270 # 1280x1024 96dpi
# DisplaySize 370 277 # 1400x1050 96dpi
# DisplaySize 423 318 # 1600x1200 96dpi
# DisplaySize 423 370 # 1600x1400 96dpi
EndSection

Section "Screen"
Identifier "Screen [0]"
Device "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)[0]"
Monitor "Monitor[0]"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen [1]"
Device "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)[1]"
Monitor "Monitor[1]"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "krisztian layout"
Screen 0 "Screen [0]"
Screen 1 "Screen [1]"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection



Ergebnis wenn ich das Skript von tty5 starten will

"unable to open display ´:1"

Die Frage ist nun was ich falsch gemacht hab?
Liegt es daran das ich Screen 1 nicht auskommentiert hab? Wobei ich mir dachte das der zweite X-Server vieleicht gleich beim Start mit geladen wird (was mir lieb wäre).

Oder liegt es daran das ATI sowas garnicht kann?

MfG krisztian

DR.ZEISSLER
16.01.06, 22:39
ich mache immer einen resize.

System => Einstellungen => Bildschirmauflösungen

Einfach irgendeine auswählen und dann nach dem Wechsel nicht bestätigen und schon ist der Ursprungszustand wiederhergestellt.

Doc