
Ubuntu日本語フォーラム

ログインしていません。
御世話になってます。
Ubuntuをインストールして、ほぼメインに使えるようになってきたので、色々と新しいことも試してみています。
その一つに、CompizFusionがあるのですが、独学LinuxさんのWebページやその他のネットの情報を得て、とりあえず動作するところまでは設定できました。
それで常用しているうちに気付いたことがあります。
現在CompizFusionはCompizFusionIconからSelect WindowManagerで切替えて起動していますが、時々Gnome MetacityからCompizに切替えようとすると、ウィンドウの枠が表示されず、Compizの起動に失敗することがあります。
こうした場合、ターミナルで$ glxinfo | grep Rendering でチェックするとDirectRendering : no になっています。
ここで問題なのは、何が原因でそうなるのか不明な点です。どうやら 、以下の事が関係してそうなのですが、必ずしもそうなるわけではないようで、特定できていません(もちろん、ブート直後では全くXorg.confなどを変更しなくてもDirectRenderingは有効になっていますし、CompizFusionも問題なく起動します)。
・WineでDirectXを使用したアプリケーションを使ったあと
・システムをハイバネーション→復帰したあと
・CompizFusionを起動して、再びMetaCityに戻したあと
「どこかでopenglの初期化などが失敗してるのかなあ」と思ったりしてるのですが、初心者ゆえにどこを見れば良いのかさっぱりわかりません。現状では再起動してしまえば使えるのですが、ちょっとなんとかならないものかな、と思っています。
ちなみに、[Ctrl+Alt+BS]でXだけを再起動してもDirectRenderingは有効になりませんでした。
なにかアドバイスがあればよろしくおねがいいたします。
以下に、Xorg.confを載せます。driverは# apt-get install xserver-xorg-video-intel で入るものを入れていますが、i810でも同じ現象がありました。
Section "Files" 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" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" Load "dbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "jp106" Option "XkbLayout" "jp,jp" Option "XkbVariant" "latin," Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/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/input/wacom" Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/input/wacom" Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/input/wacom" Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "Device" Identifier "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller" Driver "intel" # Driver "i810" BusID "PCI:0:2:0" Option "XAANoOffscreenPixmaps" EndSection Section "Monitor" Identifier "Generic Monitor" Option "DPMS" HorizSync 28-64 VertRefresh 43-60 EndSection Section "Screen" Identifier "Default Screen" Device "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1280x800" EndSubSection SubSection "Display" Depth 4 Modes "1280x800" EndSubSection SubSection "Display" Depth 8 Modes "1280x800" EndSubSection SubSection "Display" Depth 15 Modes "1280x800" EndSubSection SubSection "Display" Depth 16 Modes "1280x800" EndSubSection SubSection "Display" Depth 24 Modes "1280x800" EndSubSection SubSection "Display" Depth 8 Modes "800x600" EndSubSection SubSection "Display" Depth 8 Modes "640x480" EndSubSection SubSection "Display" Depth 16 Modes "800x600" EndSubSection SubSection "Display" Depth 16 Modes "640x480" EndSubSection SubSection "Display" Depth 24 Modes "800x600" EndSubSection SubSection "Display" Depth 24 Modes "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" Option "AIGLX" "true" EndSection Section "DRI" Mode 0666 EndSection Section "Extensions" Option "Composite" "Enable" EndSection
オフライン