You are not logged in.

#51 2024-05-09 15:46:16

seth
Member
Registered: 2012-09-03
Posts: 58,267

Re: [SOLVED] HTML view is blanked for WebKit GTK+ Software under X11

Please don't post pictures of text you can curl the output into 0x0.st, eg.

dkms status | curl -F 'file=@-' 0x0.st

Offline

#52 2024-05-09 15:50:20

RedArcher2
Banned
Registered: 2024-05-09
Posts: 20

Re: [SOLVED] HTML view is blanked for WebKit GTK+ Software under X11

Done.

Pardon, I have seen your post after I have made that post with the picture.

Last edited by RedArcher2 (2024-05-09 15:51:30)

Offline

#53 2024-05-09 15:58:01

seth
Member
Registered: 2012-09-03
Posts: 58,267

Re: [SOLVED] HTML view is blanked for WebKit GTK+ Software under X11

nvidia is installed for 6.8.9-arch1-2 but currently not used

1c:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 8621
	Kernel modules: nouveau

You'd have to install the linux-zen-headers and rebuild the dkms modules (or at least for that kernel)


It *was* used in the boot that generated the xorg log:

[    14.358] Current Operating System: Linux workstation 6.8.9-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000 x86_64
[    14.358] (==) Log file: "/home/admin/.local/share/xorg/Xorg.0.log", Time: Thu May  9 17:40:44 2024
[    14.380] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    14.384] (II) LoadModule: "glxserver_nvidia"

webkit *still* didn't render properly on that server?
Despite the completely different GL stack?

Sidebar: remove xf86-video-vesa.

Offline

#54 2024-05-09 16:24:32

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 121

Re: [SOLVED] HTML view is blanked for WebKit GTK+ Software under X11

seth wrote:

webkit *still* didn't render properly on that server?

Yes, on X11 on Linux. Linux Zen could not even start a display server.

seth wrote:

Despite the completely different GL stack?

I do not know what to answer as I am not familiar with the technicalities.

seth wrote:

Sidebar: remove xf86-video-vesa.

Done.

I have removed Linux Zen files in order to login again, because my network is not in order and arch-chroot could not connect to network, even though it did connect earlier.

It appears there is a problem.

# pacman -S linux-zen
[...]
# pacman -S linux-zen-headers
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-zen-headers-6.8.9.zen1-2

Total Download Size:    26.27 MiB
Total Installed Size:  131.58 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 linux-zen-header...    26.3 MiB  2.59 MiB/s 00:10 [###################] 100%
(1/1) checking keys in keyring                     [###################] 100%
(1/1) checking package integrity                   [###################] 100%
(1/1) loading package files                        [###################] 100%
(1/1) checking for file conflicts                  [###################] 100%
(1/1) checking available disk space                [###################] 100%
:: Processing package changes...
(1/1) installing linux-zen-headers                 [###################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Install DKMS modules
==> dkms install --no-depmod v4l2loopback/0.13.1 -k 6.8.9-zen1-2-zen
==> dkms install --no-depmod nvidia/535.171.04 -k 6.8.9-zen1-2-zen
==> dkms install --no-depmod binder/1 -k 6.8.9-zen1-2-zen
Error! Bad return status for module build on kernel: 6.8.9-zen1-2-zen (x86_64)
Consult /var/lib/dkms/binder/1/build/make.log for more information.
==> WARNING: `dkms install --no-depmod binder/1 -k 6.8.9-zen1-2-zen' exited 10
==> depmod 6.8.9-zen1-2-zen
(4/4) Refreshing py3status arch_updates module...

Can we remove Linux Zen?

What is it and what is it needed for?

Last edited by RedArcher (2024-05-09 16:49:34)

Offline

#55 2024-05-09 19:17:27

seth
Member
Registered: 2012-09-03
Posts: 58,267

Re: [SOLVED] HTML view is blanked for WebKit GTK+ Software under X11

https://wiki.archlinux.org/title/Kernel … ed_kernels
https://github.com/zen-kernel/zen-kernel/wiki/FAQ
tl;dr, another kernel w/ some patches and different configs.
You don't "need" that but having it around will also not harm you.

Check the dkms log, either you're running into https://bbs.archlinux.org/viewtopic.php?id=295600 or you're just missing linux-zen-headers

Back on topic: if "glxinfo -B" and the Xorg log suggest you're running on the nvidia GL library, but webkit doesn't render as it did not on mesa/nouveau but software rendering works (the LIBGL_ALWAYS_SOFTWARE=1 trick will not work w/ the nvidia drive, you'll have to run "__GLX_VENDOR_LIBRARY_NAME=mesa browser") but otoh things did (and do) work on wayland this is probably some bug in the GLX backend that gets side-stepped by EGL on wayland.

https://www.phoronix.com/news/WebKitGTK … -Rendering

WEBKIT_DISABLE_DMABUF_RENDERER=1 browser
GDK_DEBUG=gl-egl browser

Offline

#56 2024-05-10 01:28:05

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 121

Re: [SOLVED] HTML view is blanked for WebKit GTK+ Software under X11

1) I did not yet check the dkms log.
2) I have removed Linux Zen so I can make use of this system.
3) It would be helpful if both kernels (Linux and Linux Zen) would appear in GRUB.

Observations #1 and #2

$ liferea
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
$ GDK_DEBUG=gl-egl liferea
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
$ LIBGL_ALWAYS_SOFTWARE=1 liferea
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer

Result: HTML rendering does not work.

Observations #3 and #4

$ __GLX_VENDOR_LIBRARY_NAME=mesa liferea

** (liferea:16066): WARNING **: 04:21:24.643: Disabled hardware acceleration because GTK failed to initialize GL: No available configurations for the given RGBA pixel format.
$ WEBKIT_DISABLE_DMABUF_RENDERER=1 liferea

Result: HTML rendering does work.

Last edited by RedArcher (2024-05-10 01:51:13)

Offline

#57 2024-05-10 19:43:56

seth
Member
Registered: 2012-09-03
Posts: 58,267

Re: [SOLVED] HTML view is blanked for WebKit GTK+ Software under X11

If

WEBKIT_DISABLE_DMABUF_RENDERER=1 liferea

works you're hitting a bug in the dmabuf renderer you probably want to file, https://bugs.webkit.org/buglist.cgi?quicksearch=dmabuf

Offline

#58 2024-05-21 14:37:17

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 121

Re: [SOLVED] HTML view is blanked for WebKit GTK+ Software under X11

A report has been made at https://bugs.webkit.org/show_bug.cgi?id=274465

EDIT: Already reported at https://bugs.webkit.org/show_bug.cgi?id=261874

Last edited by RedArcher (2024-05-26 07:02:30)

Offline

Board footer

Powered by FluxBB