Tamanho da tela e resolução de conflitos

1

Eu sou um noob do Linux e poderia usar uma pequena ajuda com um problema.

Estou tentando obter uma resolução e um tamanho de tela muito específicos (720x480 @ 59,94) para minha caixa do Ubuntu 12.04.2-64 Desktop headless com uma placa nVidia GeForce 8400 GS.

A máquina é usada principalmente para o ssh e a GUI (remotamente). Os drivers restritos não funcionaram para minha situação. Eu criei e tentei mudar o arquivo xorg.conf de acordo com o homem, mas não estou conseguindo o resultado desejado. O arquivo xorg.conf editado exibe a área de trabalho na escala ou resolução desejada, mas a saída da tela sempre é de 1280x768. Quando tento adicionar o DisplaySize 720 480 à seção Monitor, ele quebra o arquivo e não produz uma área de trabalho.

Aqui está o arquivo xorg.conf:

Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
Screen      1  "Screen1" RightOf "Screen0"
Screen      2  "Screen2" RightOf "Screen1"
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath   "/usr/lib/xorg/modules"
FontPath     "/usr/share/fonts/X11/misc"
FontPath     "/usr/share/fonts/X11/cyrillic"
FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath     "/usr/share/fonts/X11/Type1"
FontPath     "/usr/share/fonts/X11/100dpi"
FontPath     "/usr/share/fonts/X11/75dpi"
FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath     "built-ins"
EndSection

Section "Module"
Load  "glx"
Load  "record"
Load  "dri2"
Load  "dbe"
Load  "extmod"
Load  "dri"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option      "Protocol" "auto"
Option      "Device" "/dev/input/mice"
Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Monitor"
Identifier   "Monitor1"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Monitor"
Identifier   "Monitor2"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
    ### <percent>: "<f>%"
    ### [arg]: arg optional
    #Option     "SWcursor"              # [<bool>]
    #Option     "HWcursor"              # [<bool>]
    #Option     "NoAccel"               # [<bool>]
    #Option     "ShadowFB"              # [<bool>]
    #Option     "VideoKey"              # <i>
    #Option     "WrappedFB"             # [<bool>]
    #Option     "GLXVBlank"             # [<bool>]
    #Option     "ZaphodHeads"           # <str>
    #Option     "PageFlip"              # [<bool>]
Identifier  "Card0"
Driver      "nouveau"
BusID       "PCI:1:0:0"
EndSection

Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
    ### <percent>: "<f>%"
    ### [arg]: arg optional
    #Option     "ShadowFB"              # [<bool>]
    #Option     "Rotate"                # <str>
    #Option     "fbdev"                 # <str>
    #Option     "debug"                 # [<bool>]
Identifier  "Card1"
Driver      "fbdev"
BusID       "PCI:1:0:0"
EndSection

Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
    ### <percent>: "<f>%"
    ### [arg]: arg optional
    #Option     "ShadowFB"              # [<bool>]
    #Option     "DefaultRefresh"        # [<bool>]
    #Option     "ModeSetClearScreen"    # [<bool>]
Identifier  "Card2"
Driver      "vesa"
BusID       "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     1
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     4
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     8
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     15
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     16
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device     "Card1"
Monitor    "Monitor1"
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     1
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     4
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     8
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     15
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     16
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device     "Card2"
Monitor    "Monitor2"
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     1
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     4
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     8
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     15
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     16
EndSubSection
SubSection "Display"
    Viewport   0 0
    Modes "720x480"
    Depth     24
EndSubSection
EndSection

xrandr imprime isso:

Screen 0: minimum 320 x 200, current 1280 x 768, maximum 8192 x 8192
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 1280x768+0+0 (normal left inverted right x axis y axis) 370mm x   222mm
   1280x768       60.0*+   49.9  
   1280x1024      60.0  
   1024x768       60.0  
   800x600        60.3  
   720x576        50.0  
   720x480        59.9  
   640x480        60.0  
VGA-1 disconnected (normal left inverted right x axis y axis)

Aqui está o meu arquivo Xorg.0.log:

link

Qualquer ajuda seria muito apreciada!

    
por Josh 27.06.2013 / 16:41

1 resposta

0

Eu consertei esse problema alterando a seção "Screen" adicionando Virtual seguido do tamanho da tela em Modes no arquivo xorg.conf. Abaixo está um link para o meu novo arquivo de trabalho.

link

    
por Josh 04.07.2013 / 20:03