お知らせ

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

#1 2009-07-14 23:32:12

tkrtkr
メンバ
登録日: 2009-06-23

デスクトップ効果が有効にできません

VAIO typeZ(VGN-Z92DS)でUbuntu9.04 64bitを動かしています。
compizのデスクトップ効果が有効になりません。

再現法(?、一度しか経験していませんが)
*インストールして初めの状態ではデスクトップ効果は有効だった。
*System>Preferences>Appearance>Visual_Effectで一度エフェクトを切ってから、もう一度有効にすると、それ以後「Desktop Effect could not be enabled」と表示されるようになった。

その後やったこと
*xorg.confで解像度を変えてみたり、xorg.confを再生成したりした。
*nvidia社のドライバ(ver.180)を入れてみた。
*このページにしたがってTypeZのドライバを入れた。下のグラボの切り替えが可能になった(要再起動)。しかし、どちらのグラボでもデスクトップ効果は有効にできなかった。

VAIO TypeZはグラフィックボードが二つある特殊なPCなのですが、
*Intel Mobile Intel® GM45 Express Chipset (stamina mode)
*NVIDIA GeForce 9300M GS (speed mode)
の二つがはいっています(windowsではダイナミックに切り替え可)。

xorg.confをいじったりしてみましたがよく分かりませんでした。自動生成されたxorg.conf.newをコピーして使っていますが、
デスクトップ効果を有効にするにはどこを変えるべきかお教えください。

コード:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    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"
EndSection

Section "Module"
    Load  "dri2"
    Load  "dbe"
    Load  "dri"
    Load  "record"
    Load  "extmod"
    Load  "glx"
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 "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 4 Series Chipset Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "GeForce 9300M GS"
    BusID       "PCI:1:0:0"
    Option      "UseEDIDDpi" "FALSE"
    Option      "AddARGBGLXVisuals" "true"
    Option      "DPI" "96x96"
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

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    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 2009-07-17 22:21:41

tkrtkr
メンバ
登録日: 2009-06-23

Re: デスクトップ効果が有効にできません

自己解決しました。
/usr/lib/libGL.so.1と/usr/lib/xorg/modules/extensions/libglx.soのリンクが壊れていたのが原因でした。
張り直して起動スクリプトを見直したら、無事compizが動くようになりました。

オフライン

 

Board footer

Powered by FluxBB