7Ji-PKGBUILDs / .meta

1 stars 0 forks source link

`chromium-mpp`: breakage when using x11 blob driver on Wayland #7

Closed DragonSerW closed 9 months ago

DragonSerW commented 10 months ago
[DragonSerW@alarm ~]$ inxi -b
System:
  Host: alarm Kernel: 5.10.110-6-aarch64-orangepi5+ arch: aarch64 bits: 64
    Desktop: GNOME v: 45.1 Distro: Arch Linux ARM
Machine:
  Type: ARM System: Orange Pi 5 details: N/A
CPU:
  Info: 3x 4-core Model N/A [MCP AMP] speed (MHz): avg: 906
    min/max: 408/1800:2400
Graphics:
  Device-1: display-subsystem driver: rockchip_drm v: N/A
  Device-2: mali-bifrost driver: mali v: N/A
  Device-3: rk3588-dw-hdmi driver: dwhdmi_rockchip v: N/A
  Device-4: Logitech B525 HD Webcam driver: snd-usb-audio,uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.2
    compositor: gnome-shell driver: N/A resolution: no compositor data
    resolution: 1920x1200
  API: OpenGL v: 4.5 compat-v: 3.0 vendor: panfrost v: N/A
    renderer: Mali-G610 (Panfrost)
Network:
  Device-1: Broadcom driver: pcieh
  Device-2: rk3588-gmac driver: rk_gmac_dwmac
  Device-3: wlan-platdata driver: wlan_platdata
Drives:
  Local Storage: total: 262.14 GiB used: 8.47 GiB (3.2%)
Info:
  Processes: 291 Uptime: 1h 43m Memory: total: N/A available: 15.6 GiB
  used: 1.95 GiB (12.5%) Shell: Bash inxi: 3.3.31
[DragonSerW@alarm ~]$ 
[DragonSerW@alarm ~]$ LD_LIBRARY_PATH=/usr/lib/mali-valhall-g610/x11-gbm chromium --use-gl=egl
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/x11-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/x11-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/x11-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/x11-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/x11-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/x11-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
/proc/self/exe: /usr/lib/mali-valhall-g610/x11-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/proc/self/exe: /usr/lib/mali-valhall-g610/x11-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
[7564:7564:1117/192936.027185:ERROR:gl_display.cc(790)] eglInitialize Default failed with error EGL_NOT_INITIALIZED
[7564:7564:1117/192936.027421:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[7564:7564:1117/192936.027492:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
XIO:  fatal IO error 2 (No such file or directory) on X server ":0"
      after 7 requests (6 known processed) with 0 events remaining.
[7529:7529:1117/192936.068251:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
[7529:7529:1117/192936.235748:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=256
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
[7620:7620:1117/192936.280398:ERROR:gl_display.cc(790)] eglInitialize Default failed with error EGL_NOT_INITIALIZED
[7620:7620:1117/192936.280539:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[7620:7620:1117/192936.280596:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
XIO:  fatal IO error 2 (No such file or directory) on X server ":0"
      after 7 requests (6 known processed) with 0 events remaining.
[7529:7529:1117/192936.323027:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=256
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
[7648:7648:1117/192936.338438:ERROR:gl_display.cc(790)] eglInitialize Default failed with error EGL_NOT_INITIALIZED
[7648:7648:1117/192936.338563:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[7648:7648:1117/192936.338613:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
XIO:  fatal IO error 2 (No such file or directory) on X server ":0"
      after 7 requests (6 known processed) with 0 events remaining.
[7529:7529:1117/192936.368415:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=256
[7595:7:1117/192936.699624:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[7653:7653:1117/192950.773899:ERROR:gl_utils.cc(402)] [.WebGL-0x1400adbf00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[7653:7653:1117/192951.588989:ERROR:gl_utils.cc(402)] [.WebGL-0x1400adbf00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
libpng warning: iCCP: known incorrect sRGB profile
[7653:7653:1117/192951.734906:ERROR:gl_utils.cc(402)] [.WebGL-0x1400adbf00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[7653:7653:1117/192951.973634:ERROR:gl_utils.cc(402)] [.WebGL-0x1400adbf00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat)
libpng warning: iCCP: known incorrect sRGB profile
[DragonSerW@alarm ~]$ 
DragonSerW commented 10 months ago

Maybe it is not clear from my 1-st post, but I have to tell you this thing, 7Ji: When on proprietary drivers, Aquarium is 5 FPS. And I only can play video from YouTube, but not from Vimeo.

7Ji commented 9 months ago

You're using GNOME+Wayland and yet you're using the x11 driver? There's no way it's gonna work. Install and use other drivers.

DragonSerW commented 9 months ago

So I should remove the blob driver?

sudo pacman -R libmali-valhall-g610-{dummy,gbm,wayland-gbm,x11-gbm,x11-wayland-gbm}
sudo pacman -R gl4es-git

, right?

Should i remove ffmpeg-mpp? Should I use chromium instead of chromium-mpp?

And one more question: sudo systemctl disable --now libv4l-rkmpp-setup.service?

7Ji commented 9 months ago

You've installed the wayland blob and why do you insist on using the x11 one instead of the wayland one?

DragonSerW commented 9 months ago

7Ji, good day! You know, I am confused with all this X11 and Wayland :-(( So I need to remove gl4es-git libmali-valhall-g610-{x11-gbm,x11-wayland-gbm}, right? What about ffmpeg-mpp? And should I perform sudo systemctl disable --now libv4l-rkmpp-setup.service?

DragonSerW commented 9 months ago

For My all-day work I need that packages: gimp libreoffice-still texlive-bin. I can not get rid of them, extremely need all of them. So my question is: Can I remove libx11, or can I not?..

7Ji commented 9 months ago
LD_LIBRARY_PATH=/usr/lib/mali-valhall-g610/wayland-gbm chromium --use-gl=egl
DragonSerW commented 9 months ago

So... If I run the above command, my FPS in Aquarium is 5 FPS. And if I run chromium-mpp as a link my Dash, the FPS count is 40-50.

Here the output of Aquarium execution with your command:

[DragonSerW@alarm ~]$ LD_LIBRARY_PATH=/usr/lib/mali-valhall-g610/wayland-gbm chromium --use-gl=egl
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/wayland-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/wayland-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/wayland-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/wayland-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/wayland-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/usr/lib/chromium/chromium: /usr/lib/mali-valhall-g610/wayland-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
[3350:3350:1123/170806.227700:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[3350:3350:1123/170806.228047:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[3350:3350:1123/170806.229474:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[3350:3350:1123/170806.229551:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[3350:3350:1123/170806.231691:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
/proc/self/exe: /usr/lib/mali-valhall-g610/wayland-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
/proc/self/exe: /usr/lib/mali-valhall-g610/wayland-gbm/libgbm.so.1: no version information available (required by /usr/lib/libavutil.so.58)
[3315:3315:1123/170806.280016:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
[3414:3414:1123/170806.519264:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[3414:3414:1123/170806.519450:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[3414:3414:1123/170806.520950:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[3414:3414:1123/170806.521059:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[3414:3414:1123/170806.528396:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[3448:3448:1123/170806.604222:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[3448:3448:1123/170806.604422:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[3448:3448:1123/170806.606440:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed.
[3448:3448:1123/170806.606537:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[3448:3448:1123/170806.610412:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[3387:9:1123/170806.943190:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[3455:3455:1123/170814.741144:ERROR:gl_utils.cc(402)] [.WebGL-0x2800d44e00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[3455:3455:1123/170815.481217:ERROR:gl_utils.cc(402)] [.WebGL-0x2800d44e00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
libpng warning: iCCP: known incorrect sRGB profile
[3455:3455:1123/170815.635262:ERROR:gl_utils.cc(402)] [.WebGL-0x2800d44e00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[3455:3455:1123/170815.824880:ERROR:gl_utils.cc(402)] [.WebGL-0x2800d44e00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat)
libpng warning: iCCP: known incorrect sRGB profile
[DragonSerW@alarm ~]$