お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2010-10-29 18:26:21

d2d2d2
メンバ
登録日: 2010-06-11

Ubuntu10.04LSTの解像度固定

Ubuntu10.04LSTを使用しておりますが、低解像度でしか起動しない為、困っております。
どなたかご教授いただければと思い、投稿させていただきました。

希望の解像度 → 1024 x 768(もしくはそれ以上。)
現在の解像度 → 800 x 600
使用しているマシン → NEC Express 5800 110Eg
OS → Ubuntu10.04LST (Ubuntu10.10へアップグレードすることはできません。)
ユーザー数 → 2ユーザー

状況:
2ユーザーあるうち、1つのユーザーのみ常に800 x 600の解像度で起動してしまいます。
もう1つのユーザーにつきましては1024 x 768で表示されます。
フォーラムの下記URLなどを参考にさせていただき、
https://forums.ubuntulinux.jp/viewtopic.php?id=9764
https://forums.ubuntulinux.jp/viewtopic.php?id=9210
https://forums.ubuntulinux.jp/viewtopic.php?id=8936
その他いろいろ閲覧させていただきました。

/etc/X11/xorg.confを変更したり、cvt、xrandrなどで1024 x 768に変更したりしましたが
どうもうまく1024 x 768で表示されません。
/etc/X11/xorg.confで1024 x 768を指定しているつもりなのですが、うまく表示されない為、
xrandrのnewmodeで1024 x 768を指定して、一旦は表示できるのですが、シャットダウン後、
もしくは再起動後には800 x 600の解像度へ戻ってしまいます。
うまく解像度を変更できないユーザーで[システム]→[設定]→[モニタの設定]画面では
800 x 600までしか表示されませんのでそれ以上の解像度には変更できない状況です。


下記に/etc/X11/xorg.confを貼り付けさせていただきますので、どなたかわかる方がいるよう
でしたら、ご教授ください。

/etc/X11$ sudo more xorg.conf

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        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  "extmod"
        Load  "record"
        Load  "dbe"
        Load  "dri2"
        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"
        Option      "PreferredMode" "1024x768"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "probe_sparse"              # [<bool>]
        #Option     "accel"                     # [<bool>]
        #Option     "crt_display"               # [<bool>]
        #Option     "composite_sync"            # [<bool>]
        #Option     "hw_cursor"                 # [<bool>]
        #Option     "force_pci_mode"            # [<bool>]
        #Option     "dma_mode"                  # <str>
        #Option     "agp_mode"                  # <i>
        #Option     "agp_size"                  # <i>
        #Option     "local_textures"            # [<bool>]
        #Option     "buffer_size"               # <i>
        #Option     "tv_out"                    # [<bool>]
        #Option     "tv_standard"               # <str>
        #Option     "mmio_cache"                # [<bool>]
        #Option     "test_mmio_cache"           # [<bool>]
        #Option     "panel_display"             # [<bool>]
        #Option     "reference_clock"           # <freq>
        #Option     "shadow_fb"                 # [<bool>]
        #Option     "sw_cursor"                 # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "RenderAccel"               # [<bool>]
        Identifier  "Card0"
        Driver      "mach64"
        VendorName  "ATI Technologies Inc"
        BoardName   "Rage XL"
        BusID       "PCI:2:5:0"
EndSection

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

オフライン

 

#2 2010-10-29 21:11:08

tista
ゲスト

Re: Ubuntu10.04LSTの解像度固定

d2d2d2様

まずは、ご希望の解像度に見合うmodelineをお調べ頂いたほうが良いでしょう。

コード:

gtf 水平解像度(x) 垂直解像度(y) リフレッシュレート

でmodelineを作成します。
例えば、XGAでかつ60Hzのモニタなら

コード:

gtf 1024 768 60

とすれば良いでしょう。
あとは出力されたmodelineをxorg.confのMonitorセクションへそのままpasteして頂くだけです。
問題の切り分けが難しくなるので、下記の記述:

コード:

Option      "PreferredMode" "1024x768"

などは一度コメントして下さい。

 

Board footer

Powered by FluxBB