You are not logged in.

#1 2022-12-19 15:13:01

jchacking
Member
Registered: 2022-12-19
Posts: 5

XWayland applications with black flickering

Good morning, I've been having this error for quite some time and I can't solve it.

Currently on my computer I have put sway-nvidia + nvidia 2070. The applications that work under wayland go perfectly, but unfortunately I need applications that only have support for X11, the problem is that if I open any of them I have black flashing in some areas and soon closes.

I do not know how to address this issue (I do not know if it is a configuration problem, or incompatibility or where to look for a solution).

If you need any more information, please ask without problems. Thanks in advance!

----------------------
I provide more information in case it can help.

I have 2 monitors.
The main one -> 1080p 144hz
The secondary -> 1080p 60hz

In the applications that work with wayland (Chrome, vkube, etc) there are no problems.
On applications running xorg/x11 yes (xeyes, gparted, vmware-workstation, etc)

I use kernel lts and nvidia drivers lts.
And the rest of things I use the stable version (sway, xorg, etc).

In the following shared folder I post 2 videos so you can see exactly what happens to me.
https://drive.google.com/drive/folders/ … share_link

The xorg configuration is the one that nvidia generated by default, I have not changed it. Should I do it to solve the problem?

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option	   "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

----------------------
I've been testing and configuring monitors with their resolution with xorg in the xorg.conf file and it doesn't solve anything.

I have also tried with gimp and the same thing happens to me.

Last edited by jchacking (2022-12-31 19:56:17)

Offline

#2 2022-12-23 17:09:23

jchacking
Member
Registered: 2022-12-19
Posts: 5

Re: XWayland applications with black flickering

I provide more information in case it can help.

I have 2 monitors.
The main one -> 1080p 144hz
The secondary -> 1080p 60hz

In the applications that work with wayland (Chrome, vkube, etc) there are no problems.
On applications running xorg/x11 yes (xeyes, gparted, vmware-workstation, etc)

I use kernel lts and nvidia drivers lts.
And the rest of things I use the stable version (sway, xorg, etc).

In the following shared folder I post 2 videos so you can see exactly what happens to me.
https://drive.google.com/drive/folders/ … share_link

The xorg configuration is the one that nvidia generated by default, I have not changed it. Should I do it to solve the problem?

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option	   "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Last edited by jchacking (2022-12-23 17:10:07)

Offline

#3 2022-12-31 19:25:14

jchacking
Member
Registered: 2022-12-19
Posts: 5

Re: XWayland applications with black flickering

I've been testing and configuring monitors with their resolution with xorg in the xorg.conf file and it doesn't solve anything.

I have also tried with gimp and the same thing happens to me.

Offline

#4 2022-12-31 20:38:36

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: XWayland applications with black flickering

I think the vanilla sway package from [community] should now support NVIDIA with the --unsupported-gpu (née --my-next-gpu-wont-be-nvidia) option. Have you tried that?

Don't expect much though. I think NVIDIA's much-vaunted GBM support might be an elaborate practical joke. I hate NVIDIA.

Offline

#5 2023-01-05 19:13:14

jchacking
Member
Registered: 2022-12-19
Posts: 5

Re: XWayland applications with black flickering

Hi @Head_on_a_Stick

Yes, try also starting sway with its vanilla package and the --unsupported-gru parameter. And the same thing happens, in fact there is a little white flicker also that is solved with that sway-nvidia package (I understand that by the extra configuration that adds before starting sway).

Offline

#6 2023-01-10 20:04:04

jchacking
Member
Registered: 2022-12-19
Posts: 5

Re: XWayland applications with black flickering

With the nouveau driver and sway vanilla without option --unsupported-gpu it works fine, so I understand that the problem is in the nvidia driver and the communication with XWayland applications.

Anyway I would like to be able to use the proprietary nvidia drivers as I consider them a better option.

Last edited by jchacking (2023-01-10 20:05:45)

Offline

#7 2023-01-10 20:30:57

seth
Member
Registered: 2012-09-03
Posts: 49,992

Offline

Board footer

Powered by FluxBB