[求救]好像是音效掛掉,gnome很不正常

歡迎提問 debian desktop 相關問題,何謂 desktop ? 舉凡您日常生活會用到的部份,如上網 ( www 、 bbs ..) 、程式設計、繪圖...等等。 通常以 X Window 環境底下問題為主。

[求救]好像是音效掛掉,gnome很不正常

文章sppmg » 週一 3月 09, 2009 4:28 pm

我前幾天編譯、安裝(用checkinstall)ffmpeg後出現此問題。
(同時我也有裝xvid,x264,lame,mencoder,不過我覺得問題應該是ffmpeg安裝過程所造成的)
當時我總共做了四次。
第一次:因為放在/usr下,所以重編譯。(印象中好像沒安裝)
第二次:放在/usr/local下,抓不到程式庫,安裝後移除重編譯。
第三次:放在/usr下,出現說會覆蓋別的套件的.so,不讓我裝。
第四次:後來忘記記作了什麼,最後是刪去編譯參數中關於分享程式庫的部份(印象中好像是衝到libavcodes之類的)再裝就可以了。

後來我重開機之後再登入卻出現問題。像是會跟我說「設定伺服器重啟過多次」之類的,然後有時會跳回登入畫面(gdm重啟),有時則是進去後上下那兩條面版都不見了。

我後來試著用kde進去,雖然可以進去但沒聲音。用命令行播mp3也只是顯示找不到裝置之類。
有試過用#alsaconf重編譯音效驅動。

以下附上三個~/.xsession-errors
xsession-errors_gnome1為最初之錯誤訊息
xsession-errors_gnome2為刪去gstreamer0.10-ffmpeg及gnomebaker後的錯誤訊息
xsession-errors_kde為刪去gstreamer0.10-ffmpeg及gnomebaker後以KDE開的錯誤訊息
---------------------
xsession-errors_gnome1
代碼: 選擇全部
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=zh_TW.
Start IM through /home/sppmg/.xinput.d/zh_TW linked to /etc/X11/xinit/xinput.d/gcin.
gcin get env LC_CTYPE=(null)  LC_ALL=(null)  LANG=zh_TW.UTF-8
gcin XIM will use zh_TW.UTF-8 as the default encoding
load_gtab_list /usr/share/gcin/table/gtab.list
-- /tmp/gcin-sppmg/socket-:0.0-gcin
hostname smDeb
server port bind to 127.0.0.1:9999
SESSION_MANAGER=local/smDeb:/tmp/.ICE-unix/5629
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
Warning:          Multiple definitions of the KEYPAD key type
                  Earlier definition ignored
Warning:          Multiple definitions of the FOUR_LEVEL_KEYPAD key type
                  Earlier definition ignored
Warning:          No symbols defined for <SYRQ> (keycode 92)
Warning:          No symbols defined for <II65> (keycode 101)
[i](一大堆keycode訊息,也順便幫我解釋一下吧!感謝!)[/i]
Warning:          No symbols defined for <I7F> (keycode 255)

(gnome-settings-daemon:5710): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/mcmjpg32.dll': /usr/lib/gstreamer-0.10/mcmjpg32.dll: 無法開啟共用目的檔: 拒絕不符權限的操作

(gnome-settings-daemon:5710): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/m3jp2k32.dll': /usr/lib/gstreamer-0.10/m3jp2k32.dll: 無法開啟共用目的檔: 拒絕不符權限的操作

[i](同上,一堆很類似的訊息)[/i]

(gnome-settings-daemon:5710): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/drvc.so': /usr/lib/gstreamer-0.10/drvc.so: 無法開啟共用目的檔: 拒絕不符權限的操作
[1236411910,000,xklavier.c:xkl_engine_start_listen/]    The backend does not require manual layout management - but it is provided by the application
ERROR: Caught a segmentation fault while loading plugin file:
/usr/lib/gstreamer-0.10/libgstffmpeg.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.
[1236411910,000,xklavier.c:xkl_engine_start_listen/]    The backend does not require manual layout management - but it is provided by the applicationCould not initialize GStreamer: Error re-scanning registry , child terminated by signal
12
[i](此段內容與上面一樣,只是pid不同而已)[/i]
compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format


==================
xsession-errors_gnome2
代碼: 選擇全部
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=zh_TW.
Start IM through /home/sppmg/.xinput.d/zh_TW linked to /etc/X11/xinit/xinput.d/gcin.
gcin get env LC_CTYPE=(null)  LC_ALL=(null)  LANG=zh_TW.UTF-8
gcin XIM will use zh_TW.UTF-8 as the default encoding
SESSION_MANAGER=local/smDeb:/tmp/.ICE-unix/10998
load_gtab_list /usr/share/gcin/table/gtab.list
-- /tmp/gcin-sppmg/socket-:0.0-gcin
hostname smDeb
server port bind to 127.0.0.1:9999
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
Warning:          Multiple definitions of the KEYPAD key type
                  Earlier definition ignored
Warning:          Multiple definitions of the FOUR_LEVEL_KEYPAD key type
                  Earlier definition ignored
Warning:          No symbols defined for <SYRQ> (keycode 92)
[i](一大堆keycode訊息)[/i]
Warning:          No symbols defined for <I7F> (keycode 255)

(gnome-settings-daemon:11079): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/mcmjpg32.dll': /usr/lib/gstreamer-0.10/mcmjpg32.dll: 無法開啟共用目的檔: 拒絕不符權限的操作

[i](同上,一堆很類似的訊息)[/i]

(gnome-settings-daemon:11079): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/wmspdmod.dll': /usr/lib/gstreamer-0.10/wmspdmod.dll: 無法開啟共用目的檔: 拒絕不符權限的操作
xrdb:  "*Label.background" on line 220 overrides entry on line 150
xrdb:  "*Text.background" on line 226 overrides entry on line 191
xrdb:  "*Label.foreground" on line 232 overrides entry on line 151
xrdb:  "*Text.foreground" on line 238 overrides entry on line 192
12
Initializing nautilus-open-terminal extension
Initializing gnome-mount extension
 * Detected Session: gnome
 * Searching for installed applications...
warning: No hp: or hpfax: devices found in any installed CUPS queue. Exiting.

HP Linux Imaging and Printing System (ver. 2.8.6b)
System Tray Status Service ver. 0.1

Copyright (c) 2001-8 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
ICE default IO error handler doing an exit(), pid = 11178, errno = 0
ICE default IO error handler doing an exit(), pid = 11067, errno = 11



========================
xsession-errors_kde
代碼: 選擇全部
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=zh_TW.
Start IM through /home/sppmg/.xinput.d/zh_TW linked to /etc/X11/xinit/xinput.d/gcin.
gcin get env LC_CTYPE=(null)  LC_ALL=(null)  LANG=zh_TW.UTF-8
gcin XIM will use zh_TW.UTF-8 as the default encoding
load_gtab_list /usr/share/gcin/table/gtab.list
-- /tmp/gcin-sppmg/socket-:0.0-gcin
hostname smDeb
server port bind to 127.0.0.1:9999
startkde: Starting up...
kbuildsycoca running...
Launched ok, pid = 3657
There are already artsd objects registered, looking if they are active...

Error: Can't add object reference (probably artsd is already running).
       If you are sure it is not already running, remove the relevant files:

       /tmp/ksocket-sppmg/Arts_SoundServerV2
       /tmp/ksocket-sppmg/Arts_SoundServer
       /tmp/ksocket-sppmg/Arts_SimpleSoundServer
       /tmp/ksocket-sppmg/Arts_PlayObjectFactory
       /tmp/ksocket-sppmg/Arts_AudioManager

QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x2800008
QImage::smoothScale: Image is a null image
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x280000a
QImage::smoothScale: Image is a null image
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0x2801059
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x28012f9
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0x28016de
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)

我已經試幾天了,一直修不好,希望各位可以幫我解決這問題,非常感謝!!
例外,由於dpkg.log我忘記刪去含有status的行了,量會很多,如果各位認為還需要的話我回家處理完再貼。
----------
後來想起來還有關於D-Bus以及Bonobo的訊息。
剛登入gnome時會顯示像是(以下為網路上找到的訊息,很類似)
由于未预料的错误,现在无法使用 Nautilus.
[由于在试较长注册文件管理器视图服务器时,遇到未预料到的 Bonobo 错误,现在无法使用 Nautilus.]

启动 GNOME 设置守护进程时出错。
主题、声音或者背景设置等可能不会正常工作。
设置守护进程重新启动次数太多。
GNOME 在您下次登录时仍将试图重启动设置守护进程。

雖然我google了一下,說這是bug(Nautilus無法啟動的部分),但為何原本可用呢?
系統的威力來自於程式的相互關係, 而非來自程式本身
is the idea that the power of a system comes more from the relationships among programs than from the programs themselves.

(英文語法怪怪的......誰能提供完整的版本?)
sppmg
活潑的高中生
活潑的高中生
 
文章: 317
註冊時間: 週五 8月 04, 2006 3:47 pm
來自: 臺灣

文章sppmg » 週三 3月 18, 2009 2:13 pm

昨晚試了一下,依照bonobo的解法,目前似乎已解決。
方法如下:
killall bonobo-activation-server
killall nautilus
nautilus & disown
如果登入gnome後仍不正常,滑鼠按右鍵(我此時桌面是一片白),選擇開啟終端機。輸入
gnome-panel &

大致是這樣。
系統的威力來自於程式的相互關係, 而非來自程式本身
is the idea that the power of a system comes more from the relationships among programs than from the programs themselves.

(英文語法怪怪的......誰能提供完整的版本?)
sppmg
活潑的高中生
活潑的高中生
 
文章: 317
註冊時間: 週五 8月 04, 2006 3:47 pm
來自: 臺灣


回到 debian desktop

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客