Bug 38115 - Не запускается chromium с проприетарными драйверами nVidia (nvidia_glx)
Summary: Не запускается chromium с проприетарными драйверами nVidia (nvidia_glx)
Status: CLOSED FIXED
Alias: None
Product: Branch p9
Classification: Distributions
Component: chromium (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: qa-team@altlinux.org
QA Contact: qa-p9@altlinux.org
URL: http://git.altlinux.org/gears/c/chrom...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-18 15:23 MSK by viktor
Modified: 2020-04-14 17:55 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viktor 2020-02-18 15:23:20 MSK
Перестал запускаться браузер chromium, после обновления видеодрайвера на 440.44 в Gnome3 3.24 P9 starterkit.
Прикладываю выводы команд.

$ chromium -version
/etc/chromium/default: строка 13: предупреждение: command substitution: ignored null byte in input
Chromium 79.0.3945.130 ALT Linux

Запуск chromium
ПЕРВОЕ
$ chromium
/etc/chromium/default: строка 13: предупреждение: command substitution: ignored null byte in input
[7716:7716:0218/164918.880379:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[7732:7732:0218/164918.922136:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[7734:7734:0218/164918.967195:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[7744:7744:0218/164919.032358:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[7763:7763:0218/164919.078892:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[7769:7769:0218/164919.178297:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[7815:7815:0218/164919.296988:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[7846:7846:0218/164919.372924:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[7866:7866:0218/164919.465537:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[7673:7703:0218/164919.470713:FATAL:gpu_data_manager_impl_private.cc(990)] The display compositor is frequently crashing. Goodbye.
[7721:7727:0218/164919.478091:ERROR:broker_posix.cc(40)] Recvmsg error: Соединение разорвано другой стороной (104)
Ловушка трассировки/останова
[Вт фев 18  ~]$ [7886] Uncaught exception of type <class 'gi.repository.GLib.GError'> occured
  File "/usr/bin/chrome-gnome-shell", line 226, in on_input
    self.process_request(request)
  File "/usr/bin/chrome-gnome-shell", line 385, in process_request
    'supports': supports
  File "/usr/bin/chrome-gnome-shell", line 311, in send_message
    stdout.write_chars(struct.pack(b'I', message_length), MESSAGE_LENGTH_SIZE)
[7886] Exception: g-io-channel-error-quark: Broken pipe (7)

(chrome-gnome-shell:7886): GLib-GIO-CRITICAL **: 16:49:19.908: g_application_release: assertion 'application->priv->use_count > 0' failed
^C

ВТОРОЕ
Переименовал каталог ~/.config/chromium в другой, для создания нового конфига. Запуск
$ chromium
/etc/chromium/default: строка 13: предупреждение: command substitution: ignored null byte in input
[10115:10115:0218/165103.554206:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[10125:10125:0218/165103.626472:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[10166:10166:0218/165103.784750:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[10222:10222:0218/165103.934737:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[10244:10244:0218/165104.013935:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[10274:10274:0218/165104.071951:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[10305:10305:0218/165104.127157:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[10326:10326:0218/165104.190600:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[10172:1:0218/165104.247600:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[10344:10344:0218/165104.248775:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[10077:10097:0218/165104.256559:FATAL:gpu_data_manager_impl_private.cc(990)] The display compositor is frequently crashing. Goodbye.
Ловушка трассировки/останова

ТРЕТЬЕ
Удалил chrome-gnome-shell. Запуск
$ chromium
/etc/chromium/default: строка 13: предупреждение: command substitution: ignored null byte in input
[11008:11008:0218/165201.551715:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[11025:11025:0218/165201.605935:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[11056:11056:0218/165201.680409:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[11087:11087:0218/165201.722828:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[11089:11089:0218/165201.768501:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[11091:11091:0218/165201.811734:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[11093:11093:0218/165201.862573:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[11099:11099:0218/165201.912326:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[11105:11105:0218/165201.963253:ERROR:vaapi_wrapper.cc(418)] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
[11027:1:0218/165201.963713:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[10971:10991:0218/165201.965740:FATAL:gpu_data_manager_impl_private.cc(990)] The display compositor is frequently crashing. Goodbye.
Ловушка трассировки/останова
Comment 1 viktor 2020-02-18 15:24:38 MSK
$ modinfo nvidia
filename:       /lib/modules/4.19.99-std-def-alt1/nVidia/nvidia.ko
alias:          char-major-195-*
version:        440.44
Comment 2 viktor 2020-02-18 18:20:50 MSK
Вот та же проблема здесь по ссылке https://lists.altlinux.org/pipermail/community/2020-February/687832.html

Я позднее обновил систему. из-за того что apt-indicator отключен в Gnome3, потому что он потребляет 400Мб памяти, приходиться в ручную обновлять периодически.
Comment 3 viktor 2020-02-18 21:36:06 MSK
Пока, как решение для запуска через терминал:
LIBVA_DRIVER_NAME=iHD chromium & exit
Судя по форуму нужно переходить на другой браузер, chromium сначала не работал на драйверах nouveau из-за gpu, а теперь на проприетарных не работает. Каждый раз менять драйвера из-за такого идиотизма в работе браузера не вижу смысла.
https://forum.altlinux.org/index.php?PHPSESSID=e3p98bsge8g21rc5msgidsn0g3&topic=43541.60
Comment 4 viktor 2020-03-21 11:12:40 MSK
Chromium 80.0.3987.132-alt1 стал запускаться после установки патченого libva-vdpau-driver с форума
https://forum.altlinux.org/index.php?topic=43541.75

libva-driver-vdpau нет в репозитарии р9, судя по http://geyser.altlinux.org
Comment 5 Anton Farygin 2020-04-14 17:54:35 MSK
Это исправлено в libva-2.7.0 и завтра будет в обновлении.
Comment 6 Anton Farygin 2020-04-14 17:55:45 MSK
fixed