Webview on Telegram Desktop not working

Hi,

I don’t know why webview on Telegram desktop is not working in Manjaro.
By webview I mean “instant view” of links and bot front-ends like Wallet or Durger King.

Example below:

Did anyone found a way to make it work?

My system:

System:
  Kernel: 6.1.90-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
  Desktop: GNOME v: 46.1 Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: Z790 Taichi serial: <superuser required>
    UEFI: American Megatrends LLC. v: 10.01 date: 10/06/2023
CPU:
  Info: 24-core (8-mt/16-st) model: 13th Gen Intel Core i9-13900KF bits: 64
    type: MST AMCP arch: Raptor Lake rev: 1 cache: L1: 2.1 MiB L2: 32 MiB
    L3: 36 MiB
  Speed (MHz): avg: 1165 high: 5497 min/max: 800/5500:5800:4300 cores:
    1: 800 2: 800 3: 5497 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800
    11: 800 12: 800 13: 800 14: 800 15: 800 16: 800 17: 4301 18: 800 19: 4299
    20: 800 21: 800 22: 800 23: 800 24: 800 25: 800 26: 800 27: 800 28: 800
    29: 800 30: 800 31: 800 32: 800 bogomips: 191744
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA AD102 [GeForce RTX 4090] vendor: Gigabyte driver: nvidia
    v: 550.78 arch: Lovelace bus-ID: 01:00.0
  Device-2: Insta360 Link driver: snd-usb-audio,uvcvideo type: USB
    bus-ID: 1-5:4
  Display: x11 server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6 driver:
    X: loaded: nvidia gpu: nvidia resolution: 1920x1080
  API: EGL v: 1.5 drivers: kms_swrast,nvidia,swrast platforms:
    active: gbm,x11,surfaceless,device inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.78
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4090/PCIe/SSE2
Audio:
  Device-1: Intel Raptor Lake High Definition Audio vendor: ASRock
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA AD102 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Device-3: Logitech G733 Gaming Headset
    driver: hid-generic,snd-usb-audio,usbhid type: USB bus-ID: 1-2:3
  Device-4: Insta360 Link driver: snd-usb-audio,uvcvideo type: USB
    bus-ID: 1-5:4
  Device-5: Generic USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB bus-ID: 1-7.3:12
  API: ALSA v: k6.1.90-1-MANJARO status: kernel-api
  Server-1: sndiod v: N/A status: off
  Server-2: JACK v: 1.9.22 status: off
  Server-3: PipeWire v: 1.0.5 status: off
  Server-4: PulseAudio v: 17.0 status: active
Network:
  Device-1: Intel Raptor Lake-S PCH CNVi WiFi vendor: Rivet Networks
    driver: iwlwifi v: kernel bus-ID: 00:14.3
  IF: wlp0s20f3 state: down mac: <filter>
  Device-2: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-3: Realtek Killer E3000 2.5GbE vendor: ASRock driver: r8169
    v: kernel port: 3000 bus-ID: 6e:00.0
  IF: enp110s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB
    bus-ID: 1-14:14
  Report: btmgmt ID: hci1 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.3 lmp-v: 12
  Device-2: ASUSTek ASUS USB-BT500 driver: btusb v: 0.8 type: USB
    bus-ID: 1-7.1:8
  Report: ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.1 lmp-v: 10
Drives:
  Local Storage: total: 5.18 TiB used: 78.96 GiB (1.5%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 990 PRO 2TB size: 1.82 TiB
    temp: 45.9 C
  ID-2: /dev/nvme1n1 vendor: Western Digital model: WDS100T3X0C-00SJG0
    size: 931.51 GiB temp: 42.9 C
  ID-3: /dev/nvme2n1 model: PCIe SSD size: 111.79 GiB temp: 34.9 C
  ID-4: /dev/sda vendor: SanDisk model: SSD PLUS 240GB size: 223.58 GiB
  ID-5: /dev/sdb vendor: Samsung model: SSD 850 PRO 1TB size: 953.87 GiB
  ID-6: /dev/sdc vendor: Crucial model: CT1050MX300SSD1 size: 978.09 GiB
  ID-7: /dev/sdd vendor: Samsung model: SSD 850 PRO 256GB size: 238.47 GiB
Partition:
  ID-1: / size: 218.72 GiB used: 78.96 GiB (36.1%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 299.4 MiB used: 316 KiB (0.1%) fs: vfat
    dev: /dev/sda1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 33.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 64 GiB note: est. available: 62.62 GiB used: 5.26 GiB (8.4%)
  Processes: 527 Uptime: 17m Init: systemd
  Packages: 1529 Compilers: clang: 17.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9
    inxi: 3.3.34

Telegram Version: 5.1.4 (not working since many versions before)

Telegram Log:

flatpak run org.telegram.desktop                                                                                  
Gtk-Message: 08:00:37.319: Failed to load module "xapp-gtk3-module"
Gtk-Message: 08:00:37.338: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:00:37.338: Failed to load module "canberra-gtk-module"
Qt: Session management error: Could not open network socket
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
qt.svg: Error while inflating gzip file: SVG format check failed
Gtk-Message: 08:00:42.424: Failed to load module "xapp-gtk3-module"
Gtk-Message: 08:00:42.445: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:00:42.445: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:00:42.511: Failed to load module "xapp-gtk3-module"
Gtk-Message: 08:00:42.533: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:00:42.533: Failed to load module "canberra-gtk-module"
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 384x590: Permission denied

Solution found:

First, needed to enable nvidia modesetting:

Second, needed to add the following line to the environment variables (sudo nano /etc/environment):
WEBKIT_DISABLE_DMABUF_RENDERER=1

And a proof:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.