お知らせ

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

#1 2010-11-23 23:10:42

n-takahashi
メンバ
登録日: 2009-09-15

xが起動しない

 Ubuntu10.10をマルチブートでインストールしました。
 grub画面でUbuntu ,Linux 2.6.35-22-paeを選択すると、コンソール画面でユーザー名とパスワードを聞かれます。正しく入力するとwelcome ubuntuと表示され、ログインはできているようです。しかし、startxとしてもスクリーンが見つからないと言う返事で壁紙がある通常の画面になりません。
 その一方、リカバリモードで起動するとfailsafexを選択すると通常のログイン画面と壁紙が現れます。/home/<ユーザー名>直下にxorg.conf.newがあり、これを/etc/x11にコピーしたのですが、再起動すると元の症状になります。今後毎回リカバリモードからログインしなければいけないのでしょうか。(xorg.conf.newの内容を添付)
 

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  "dbe"
    Load  "dri2"
    Load  "record"
    Load  "dri"
    Load  "extmod"
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 "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     "PrintVGARegs"           # [<bool>]
        #Option     "PrintTVRegs"            # [<bool>]
        #Option     "I2CScan"                # [<bool>]
        #Option     "VBEModes"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "ExaNoComposite"         # [<bool>]
        #Option     "ExaScratchSize"         # <i>
        #Option     "SWCursor"               # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "RotationType"           # [<str>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoRAM"               # <i>
        #Option     "ActiveDevice"           # [<str>]
        #Option     "BusWidth"               # [<str>]
        #Option     "Center"                 # [<bool>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForcePanel"             # [<bool>]
        #Option     "TVDotCrawl"             # [<bool>]
        #Option     "TVDeflicker"            # <i>
        #Option     "TVType"                 # [<str>]
        #Option     "TVOutput"               # [<str>]
        #Option     "TVPort"                 # [<str>]
        #Option     "DisableVQ"              # [<bool>]
        #Option     "DisableIRQ"             # [<bool>]
        #Option     "EnableAGPDMA"           # [<bool>]
        #Option     "NoAGPFor2D"             # [<bool>]
        #Option     "NoXVDMA"                # [<bool>]
        #Option     "VbeSaveRestore"         # [<bool>]
        #Option     "DisableXvBWCheck"       # [<bool>]
        #Option     "ModeSwitchMethod"       # [<str>]
        #Option     "MaxDRIMem"              # <i>
        #Option     "AGPMem"                 # <i>
    Identifier  "Card0"
    Driver      "openchrome"
    BusID       "PCI:1:0: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
    EndSubSection
EndSection

オフライン

 

#2 2010-11-24 17:18:53

si
メンバ
From: hokkaido kitami, jp
登録日: 2007-01-15

Re: xが起動しない

>Identifier  "Card0"
>Driver      "openchrome"
の文字が見えますので、via のグラフィックが使われているようですので、”via chrome" で、サイト内検索してみてください。
何度も話題になっている内容です。

オフライン

 

#3 2010-11-26 02:05:48

n-takahashi
メンバ
登録日: 2009-09-15

Re: xが起動しない

via chromeでサイト内検索しましたが、よく分かりません。lspciの結果を示します。VIA Technologiesの製品だということは分かりました。
$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M800 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M800 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M800 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M800 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M800 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. P4M800 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: VIA Technologies, Inc. KM400/KN400/P4M800 [S3 UniChrome] (rev 01)

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  "dbe"
    Load  "dri2"
    Load  "record"
    Load  "dri"
    Load  "extmod"
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   "Configured Monitor"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    Option     "DPMS""true"
    HorizSync      64.0-80.0
    VertRefresh     60.0-75.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     "PrintVGARegs"           # [<bool>]
        #Option     "PrintTVRegs"            # [<bool>]
        #Option     "I2CScan"                # [<bool>]
        #Option     "VBEModes"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "ExaNoComposite"         # [<bool>]
        #Option     "ExaScratchSize"         # <i>
        #Option     "SWCursor"               # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "RotationType"           # [<str>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoRAM"               # <i>
        #Option     "ActiveDevice"           # [<str>]
        #Option     "BusWidth"               # [<str>]
        #Option     "Center"                 # [<bool>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForcePanel"             # [<bool>]
        #Option     "TVDotCrawl"             # [<bool>]
        #Option     "TVDeflicker"            # <i>
        #Option     "TVType"                 # [<str>]
        #Option     "TVOutput"               # [<str>]
        #Option     "TVPort"                 # [<str>]
        #Option     "DisableVQ"              # [<bool>]
        #Option     "DisableIRQ"             # [<bool>]
        #Option     "EnableAGPDMA"           # [<bool>]
        #Option     "NoAGPFor2D"             # [<bool>]
        #Option     "NoXVDMA"                # [<bool>]
        #Option     "VbeSaveRestore"         # [<bool>]
        #Option     "DisableXvBWCheck"       # [<bool>]
        #Option     "ModeSwitchMethod"       # [<str>]
        #Option     "MaxDRIMem"              # <i>
        #Option     "AGPMem"                 # <i>
    Option         "VideoRAM"        "4000"
    Option        "EnableAGPDMA"     "false"
    Option        "AccelMethod"        "XAA"
    Identifier  "Device[0]"
    BoardName     "Framebuffer Graphics"
     - Driver     "via"
     + Driver      "openchrome"
    BusID       "PCI:1:0:0"
    Screen     0
    VenderName    "VIA Technolog"
EndSection
Section"DRI"
    Mode     0666
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Configured Video Device"
    Monitor    "Configured Monitor"
    DefaultColorDepth 24   
    Default Depth  24
    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
        Modes    "1280x1024"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

オフライン

 

#4 2010-11-26 02:22:48

si
メンバ
From: hokkaido kitami, jp
登録日: 2007-01-15

Re: xが起動しない

見落としてましたが...
>Linux 2.6.35-22-paeを選択すると
genericカーネルをインストールし、そのカーネルで起動したらどうなりますか?
また、お使いのPC、型番等のハードウェア詳細を掲示してみてください。

オフライン

 

#5 2010-11-26 15:16:04

n-takahashi
メンバ
登録日: 2009-09-15

Re: xが起動しない

 モニタ I-O DATA LCD-A173V(TFT17型)

 PC 九十九電気 eXcomputer AeroStream B31J-5400C

オフライン

 

#6 2010-11-26 15:23:55

n-takahashi
メンバ
登録日: 2009-09-15

Re: xが起動しない

n-takahashi による投稿:

 モニタ I-O DATA LCD-A173V(TFT17型)

 PC 九十九電気 eXcomputer AeroStream B31J-5400C

 CPU Intel Pentium4 3GHz
 マザーボード VIA P4M800
 メモリ 1.5GB
 HDD 320GB

 という構成です.(入力途中で誤って送信してしまいました)

オフライン

 

#7 2010-11-26 18:30:12

hmatsue
アドバイザ
登録日: 2009-03-10

Re: xが起動しない

n-takahashi による投稿:

リカバリモードで起動するとfailsafexを選択すると通常のログイン画面と壁紙が現れます。/home/<ユーザー名>直下にxorg.conf.newがあり、これを/etc/x11にコピーしたのですが、再起動すると元の症状になります。

何度かopenchromeが動かないという方の設定を、一緒に試みたことがあるのですが、なかなかうまくいかないことが多かったです。
openchrome自体がバギーというか、十分な情報をチップベンダからもらえないため、開発が難しいようです。
とりあえず画面が表示できれば良いようであれば、failsafexで起動して、その時のXorgのログ(/var/log以下にある、ファイル名Xorgで始まるもののうち一番新しいものがそれになるかと思います)を投稿いただければ、その状態をデフォルトにすることは可能かと思います。

あるいは、ATI Radeon系か、Nvidiaのグラフィックカードを買ってきて、そちらを使うという手もあるかと思います。

openchromeで動かせるようにがんばる場合は、まず、/etc/X11/xorg.confを、

コード:

Section "Device"
    Identifier    "Configured Video Device"
    Driver        "openchrome"
    Option       "NoAccel"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
EndSection

に書き換えてシステムを再起動してみてください。
これで起動するようであれば、ここからどこまでH/Wアクセルを有効にできるか試行錯誤することになるかと思います。
# まずはディスプレイの設定抜きで。。

オフライン

 

#8 2010-11-26 21:18:19

Crush
メンバ
登録日: 2009-02-10

Re: xが起動しない

チップセット内蔵の表示装置はメインメモリからビデオメモリを引っ張ってくるので、PAEとは基本的に仲良くないです。
通常ビデオチップは自分のバスに自分専用のメモリを持っていますが、チップセットのそれはメインメモリからマッピングしてしまい、且つ、PAEは、普通とはメモリの管理が違いますので、ちゃんと作られていないとまともに動作しないんじゃないかと。
サーバ版ってPAEじゃないカーネル入ってないんでしょうか?
メインメモリも1.5GBしかありませんし、PAE自体便宜上拡張された物なので普通にマッピングされるメモリと同じようには扱えないですから、アドレス空間よりも大きなメモリを搭載していなければメリットも享受できないように思えます。

オフライン

 

#9 2010-11-27 14:09:55

n-takahashi
メンバ
登録日: 2009-09-15

Re: xが起動しない

hmatsue様 の書いてくださったコードで再起動してみましたが、ダメでした。しかし、xorg.conf.failsafeをコピーして再起動すると起動できました。私としては、これでひとまず解決としたいと思います。皆さん有難うございました。今後もよろしくお願いします。

Section "Device"
    Identifier    "Configured Video Device"
    Driver        "vesa"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
EndSection

オフライン

 

#10 2010-11-27 14:35:32

hmatsue
アドバイザ
登録日: 2009-03-10

Re: xが起動しない

"No Accel"でも起動しないというのはちょっと予想外でした。
現在のn-takahashiさんの設定は文字通りfailsafexで起動した状態をデフォルトにした状態になっています。
使用ドライバはvesaという汎用ドライバでハードウェアアクセラレーションが効かないため、非常に描画が遅くなります(これは"No Accel"しても同じことになりますが)。
動画再生などではこの遅さが目立つかも知れません。

Crushさんが説明して下さった内容を読むまで、siさんがgenericカーネルを試してみては、とおっしゃっていた意図を理解できていなかったのですが、PAEカーネルとの相性の可能性もあるとのことなので、描画の遅さが気になるようであれば、genericカーネルをインストールして、ドライバにopenchromeを指定した際にどうなるかを確認してみるのもよいかと思います。

オフライン

 

Board footer

Powered by FluxBB