Размер экрана и разрешение конфликта

Я новичок в Linux и могу немного помочь с проблемой.

Я пытаюсь добиться очень конкретного разрешения и размера экрана (720x480 @ 59,94) для моей безголовой настольной коробки Ubuntu 12.04.2-64 с картой nVidia GeForce 8400 GS.

Машина используется главным образом для SSH и GUI (удаленно). Ограниченные драйверы не работают для моей ситуации. Я создал и попытался изменить файл xorg.conf в соответствии с пользователем, но я не достиг желаемого результата. Отредактированный файл xorg.conf отображает рабочий стол в желаемом масштабе или разрешении, но на экране всегда отображается 1280x768. Когда я пытаюсь добавить DisplaySize 720 480 в раздел «Монитор», он разрывает файл и не создает рабочий стол.

Вот файл 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 напечатает это:

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)

Вот мой файл Xorg.0.log:

[ 112] http://pastebin.com/u5fTe2Ks

Любая помощь будет принята с благодарностью!

1
задан 27 June 2013 в 18:41

1 ответ

Я исправил эту проблему, изменив раздел «Экран», добавив виртуальный, а затем размер экрана в разделе «Режимы» в файле xorg.conf. Ниже ссылка на мой новый рабочий файл.

http://pastebin.com/Xm8H7XeQ

0
ответ дан 27 June 2013 в 18:41

Другие вопросы по тегам:

Похожие вопросы: