お知らせ

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

#1 2009-09-05 17:49:00

tenten
新しいメンバ
登録日: 2009-09-05

解像度の変更時の失敗? ディスプレイは使用中

解像度の変更をしたいと思い、下記のアドレスに紹介されているとおりに設定したところ、ubuntuの起動がおかしくなりました。(http://www.esbrain.com/2009/07/vaio-type-p%E3%81%ABubuntu%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB-1600x768%E3%82%82ok/)知識不足なので私が何かを間違えたのかもしれませんが、希望の解像度に変更するか、難しいのであれば元に戻したいです。よろしくお願いします。

□利用しているPC:vaio type P

□やりたい事:解像度を1600×768に変更する、若しくは初期の状態に戻す

□起動時の問題:
起動時に毎回、以下の画面が順に出てきます。
これらのすべてにOK(またはYes)をしないといけません。
(1)Ubuntu is running in low-graphics mode
(2)What would you like to do?
     ここでは ○Run ubuntu in low-graphics mode for just one session. を選びます。
(3)There already Xserver is running on display :0.
(4)ディスプレイ番号は使用中。 1で起動しました
(5)Ubuntuのログイン画面が表示され、普通に使えるようになります。

オフライン

 

#2 2009-09-05 19:08:45

Templer
メンバ
登録日: 2009-07-08

Re: 解像度の変更時の失敗? ディスプレイは使用中

基本的には、初期の状態に戻すのであれば「端末」で以下のコマンドを実行すれば戻せます。
   sudo dpkg-reconfigure -phigh xserver-xorg
ですが、リンク先の指示通りにパッケージを導入したとなると、どうなるかわかりません。

原因を探りたい場合は端末で、
   gedit /etc/X11/xorg.conf
を実行して、その内容を張り付けていただければ分かるかもしれません。

オフライン

 

#3 2009-09-10 23:08:19

tenten
新しいメンバ
登録日: 2009-09-05

Re: 解像度の変更時の失敗? ディスプレイは使用中

返事が遅くなり申し訳ございません。
gedit /etc/X11/xorg.conf の実行結果は下記になります。
あと、sudo dpkg-reconfigure -phigh xserver-xorg の入力をこれから実行してみます。


# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Device"
    Identifier    "Configured Video Device"
    Option        "UseFBDev"        "true"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
EndSection

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

オフライン

 

#4 2009-09-10 23:30:03

tenten
新しいメンバ
登録日: 2009-09-05

Re: 解像度の変更時の失敗? ディスプレイは使用中

続けて書き込みます。
sudo dpkg-reconfigure -phigh xserver-xorg の実行後の状況です。

PCの起動後、黒い画面に白文字のメッセージが色々と表示され、ログイン名とパスの入力を促すメッセージが3回ほど点滅してから次のようになります。
(1)Ubuntu is running in low-graphics mode
(2)What would you like to do?
     ここでは ○Run ubuntu in low-graphics mode for just one session. を選びます。
その後、ubuntuのログインが面が起動し、普通に使えるようになります。
当初の状況より少し改善したように思います。

オフライン

 

#5 2009-09-11 23:04:54

Templer
メンバ
登録日: 2009-07-08

Re: 解像度の変更時の失敗? ディスプレイは使用中

すみません。#2はpsbドライバの状況を知らずに書いたものなので、正確ではありませんでした。

psbドライバの情報を調べてみると、Ubuntu8.10以降ではUbuntu本家からのドライバ提供が途絶えてしまっているため、インストール後は汎用ドライバである「vesa」が適用されるということのようですね。(聞き忘れたのですがtentenさんのUbuntuは9.04ですか?)
そうなると、「sudo dpkg-reconfigure -phigh xserver-xorg」によるxorg.confの初期化では、明示されていたであろうvesaドライバの記述も白紙にされてしまいますので、インストール時の状態にはならないと思われます。申し訳ありませんでした。(インストール時の状態に戻す方法は後述します)

状況は分かったのですが、少し不可解です。
インストールされたpsbドライバが正常に機能するのであれば、xorg.confの初期化で、エラーなどが起こらずpsbドライバによる起動が成立すると思われるのですが…
すみませんが、#1のリンク先[1600×768の実現編]の行程がきちんと消化されているのかを確認させてもらえますか。

1. 行程「3.」と「4.」でPPAリポジトリの登録が済んでいるのかを確認します。
端末から以下のコマンドを実行し、その結果を教えてください。
   grep mobile /etc/apt/sources.list

2. 行程「7.」で認証鍵をインポートできているのかを確認します。
「システム」メニューにある「ソフトウェア・ソース」を起動し、「認証」タブに切り替えて、リストに「Launchpad PPA for Ubuntu Mobile Team」があるか確認してください。
また、Synapticパッケージマネージャの「再読込」でエラーなどは発生しませんか?

3. 行程「10.」でパッケージのインストールが完了しているのかを確認します。
端末から以下のコマンドを実行し、その結果を教えてください。
   dpkg -l | grep psb

それと、念のためにもう一度、今のxorg.confを張り付けてもらえますか。



「面倒なのでインストール時の状態に戻したい」という場合は以下の方法で元に戻せると思います。

リンク先の行程「11.」を実行されている場合は、「/etc/X11/」フォルダに「xorg.conf.2009xxxxxxxxxx」のような日付の付いたファイルが存在していると思いますので、一番古い数値のもの(おそらく、Deviceセクションに「Driver  "vesa"」が記述されているもの)をxorg.confにコピーすれば元に戻ります。
コピーするコマンドは以下です。(xxxxxxxxxxには確認した数値を入れてください)
   sudo cp /etc/X11/xorg.conf.2009xxxxxxxxxx /etc/X11/xorg.conf

リンク先の行程「11.」を実行されていない場合は、初期化されたxorg.confのDeviceセクションに「Driver  "vesa"」を追記してください。
以下のコマンドで編集出来ます。
   sudo gedit /etc/X11/xorg.conf
Deviceセクションの内容は以下の様になると思います。

コード:

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

※xorg.confファイルの変更は一般ユーザではできませんので、管理者権限で実行するために「sudo」コマンドを使用しています。

オフライン

 

#6 2009-09-13 02:59:10

tenten
新しいメンバ
登録日: 2009-09-05

Re: 解像度の変更時の失敗? ディスプレイは使用中

何度もありがとうございます。
まず、

行程3、4が完了しているかの確認の回答です。
deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main

次に、行程7の確認についてです。
Launchpad PPA for Ubuntu Mobile Team はありました。
パッケージマネージャの再読み込みではエラーが発生します。

<エラーメッセージ>
W: GPG error: http://ppa.launchpad.net jaunty Release: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 99D6B21CC6598A30


行程10の確認についてです。
ii  psb-firmware                               0.30-0ubuntu1~904um1                      Binary firmware for the Poulsbo (psb) 3D X11
ii  psb-kernel-headers                         4.41.1-0ubuntu1~904um1                    Kernel module headers for the Poulsbo (psb)
ii  psb-kernel-source                          4.41.1-0ubuntu1~904um1                    Kernel module for the Poulsbo (psb) 2D X11 d
ii  psb-modules                                4.41.1-0ubuntu1~904um1                    Kernel module built for -generic or -lpia ke
ii  xpsb-glx                                   0.18-0ubuntu1~904um1                      X11 drivers for Poulsbo (psb) 3D acceleratio
ii  xserver-xorg-video-psb                     0.31.0-0ubuntu1~904um1                    X.Org X server -- Intel Poulsbo (2D)


最後に、今のxorg.confです。
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Device"
    Identifier    "Configured Video Device"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
EndSection

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


色々とありがとうございます。
あきらめずにもう少しチャレンジさせて下さい、よろしくお願いします。

オフライン

 

#7 2009-09-13 13:11:09

Templer
メンバ
登録日: 2009-07-08

Re: 解像度の変更時の失敗? ディスプレイは使用中

やはり行程7は出来ていませんでしたか。
私もハマってしまったんですが、あれは記述を間違われているんですよね。正確には

コード:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6598A30

です。
実行した結果、

コード:

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys C6598A30
gpg: 鍵C6598A30をhkpからサーバーkeyserver.ubuntu.comに要求
gpg: 鍵C6598A30: 公開鍵“Launchpad PPA for Ubuntu Mobile Team”を読み込みました
gpg: 処理数の合計: 1
gpg:               読込み: 1  (RSA: 1)

となれば成功です。
と、その前に。その部分でちょっと気になったのですが、本当に「Launchpad PPA for Ubuntu Mobile Team」でしたか?
「Launchpad PPA for Ubuntu Japanese Team」の間違いということはありませんか?
確認を十分にお願いします。
もし、本当にMobile Teamのものだとしたら、まずはそれを削除してから上記のコマンドを実行してください。

パッケージの方に関しては、認証できなくても導入は出来ますので、一通り入ってはいるようです。
となると、カーネル絡みなのかもしれません。
話によるとpsbのカーネルモジュールはカーネルのバージョン毎に作成しなければならないということのようです。で、そのモジュールを作成してくれるパッケージが「psb-kernel-source」パッケージ、なのですが…。
tentenさん、一度同パッケージを削除して、もう一度入れ直してもらえますか?
そしてシステムを再起動すると、お望みの解像度になっていると思うのですが。
あ、その前に、「psb-firmware」パッケージと「xpsb-glx」パッケージは削除しておいた方が良いかもしれません。3Dが有効になるという話はなさそうなので、下手に有効化されてしまうとハングアップする恐れがあります。

オフライン

 

#8 2009-09-13 17:30:04

Templer
メンバ
登録日: 2009-07-08

Re: 解像度の変更時の失敗? ディスプレイは使用中

すみません。一部訂正です。

と、その前に。その部分でちょっと気になったのですが、本当に「Launchpad PPA for Ubuntu Mobile Team」でしたか?
「Launchpad PPA for Ubuntu Japanese Team」の間違いということはありませんか?

は、

と、その前に。その部分でちょっと気になったのですが、ソフトウェア・ソースのリストにあったのは本当に「Launchpad PPA for Ubuntu Mobile Team」でしたか?
「Launchpad PPA for Ubuntu Japanese Team」の間違いということはありませんか?

です。

オフライン

 

Board footer

Powered by FluxBB