You are not logged in.

#1 2023-10-25 09:50:26

ranurag
Member
Registered: 2023-07-21
Posts: 59

Failed xcb connection with Hyprland(i.e wayland compositor)

Problem:

Hyprland is not working and output error with "Failed to open xcb connection".

xcb is for x11 then why Hyprland i.e wayland compositor invoking it.

Log file:

https://0x0.st/HJFS.txt

Environment Variables

taken from : https://wiki.hyprland.org/Nvidia/

 
export WLR_NO_HARDWARE_CURSORS=1
export WLR_DRM_DEVICES=/dev/dri/card1
export WLR_RENDERER_ALLOW_SOFTWARE=1
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export XDG_SESSION_TYPE=wayland
export XDG_RUNTIME_DIR=/tmp/ranurag_hyprland 
export WLR_RENDERER_ALLOW_SOFTWARE=1
export LIBVA_DRIVER_NAME=nvidia
export GBM_BACKEND=nvidia
export __GLX_VENDOR_LIBRARY_NAME=nvidia

Offline

#2 2023-10-25 12:35:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,285

Re: Failed xcb connection with Hyprland(i.e wayland compositor)

Remove literally all of these exports. You also have a intel GPU which will drive the majority of your actual rendering. Also for nvidia wayland anything to work you'll need https://wiki.archlinux.org/title/NVIDIA … de_setting did you do that?

Offline

#3 2023-10-25 20:06:37

ranurag
Member
Registered: 2023-07-21
Posts: 59

Re: Failed xcb connection with Hyprland(i.e wayland compositor)

Thank you "#Forum Modretor", I have tried this one.
By my only two time previous experience or just observation with this error. It happens when an X11 desktop environment already available or some application of it, that I don't know why, from where and which one ???  affecting it and in what manner. Not relatable error for which i have searched through internet and got nothing there. 

And now even cagebreaks wayland compositor shows this error. I doubt on some X11 desktop environment application behind this crime. 

While Sway didn't show this error or may be it plans to show me this at next.
Because at first error:
It forcing me to tradeoff nvidia with nouveau, which i rejected.
And also sorry for the late reply.

Offline

Board footer

Powered by FluxBB