お知らせ

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

#1 2007-04-08 18:52:17

yuich
新しいメンバ
登録日: 2007-04-08

解像度の変更について

初めまして。yuichと申します。
今回はモニターの解像度を変更したいと思っています。

ビデオボードはNVDIA Go GeForce 7300で、画素数は1400*1050です。
初回起動時には1028*724で起動していました。

そこで過去ログ(http://forum.ubuntulinux.jp/viewtopic.php?pid=406)を拝見しまして、
自分なりにX-serverを編集してみたのですが、
クラッシュしてしまいました(ToT
なんとかCUIからXの復帰に成功したものの、解像度が800*600に下がってしまいました。

その後も初心者なりに手を尽くしてみましたが、いかんせん生兵法で悪化するのが
目に見えているので、できれば意見を請わせていただきたいと思いますm(__)m

ひとまず、やや大きめになりますが、Xorgのコンフィグを貼り出してみます。

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Module"
    Load    "bitmap"
    Load    "dbe"
    Load    "ddc"
    Load    "dri"
    Load    "extmod"
    Load    "freetype"
    Load    "glx"
    Load    "int10"
    Load    "record"
    Load    "type1"
    Load    "v4l"
    Load    "vbe"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "jp106"
    Option        "XkbLayout"    "jp"
    Option        "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device"        "/dev/input/mice"
    Option        "Protocol"        "ExplorerPS/2"
    Option        "ZAxisMapping"        "4 5"
    Option        "Emulate3Buttons"    "true"
EndSection

Section "InputDevice"
    Identifier    "Synaptics Touchpad"
    Driver        "synaptics"
    Option        "SendCoreEvents"    "true"
    Option        "Device"        "/dev/psaux"
    Option        "Protocol"        "auto-dev"
    Option        "HorizScrollDelta"    "0"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
    Identifier    "NVIDIA GeForce Go 7300"
    Driver        "nv"
    BusID        "PCI:1:0:0"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "NVIDIA GeForce Go 7300"
    Monitor        "Generic Monitor"
    DefaultDepth    16
    SubSection "Display"
        Depth        1
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        4
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        8
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        15
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        16
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice     "stylus" "SendCoreEvents"
    InputDevice     "cursor" "SendCoreEvents"
    InputDevice     "eraser" "SendCoreEvents"
    InputDevice    "Synaptics Touchpad"
EndSection

Section "DRI"
    Mode    0666
EndSection

オフライン

 

#2 2007-04-20 01:00:58

gucchin
メンバ
登録日: 2007-03-01

Re: 解像度の変更について

はじめまして。
不明点があるんですが、nvidiaのドライバは導入済みでしょうか?
導入済みならSection "Device"の
Driver        "nv"
の部分を
Driver        "nvidia"
に変更し、Xを再起動する必要があります。

ドライバ設定がうまくいけば、解像度はSection "Screen"のModesに "1400x1025"
を加えることで変更可能になるかもしれません。ダメな場合は Section "Monitor" に
Modelineを加える必要があります。このModelineはディスプレイに依存するので
自分のディスプレイに合うで調べてみてください。
googleでmodelineをキーワードにして検索すればすぐに見付かると思います。

ざっとみて書いたので、不足や間違いがありましたら訂正よろしくお願いします。

オフライン

 

#3 2007-04-20 01:12:01

gucchin
メンバ
登録日: 2007-03-01

Re: 解像度の変更について

自己レスですが、modeline は gtf を使うと簡単に求まるみたいです。
解像度 1400x1050 @60Hzなら端末で

gtf 1400 1050 60

でおしまいです。あとは、Section ”Monitor" にコピー&ペーストしてください。
自分にあったリフレッシュレートを使ってください。
#便利になったもんだ。

不足や間違いがありましたら訂正よろしくお願いします。

オフライン

 

Board footer

Powered by FluxBB