You are not logged in.

#1 2021-08-13 07:57:41

bweston6
Member
Registered: 2020-12-01
Posts: 4

Unable to get display from Nvidia eGPU on Wayland

After being told that the most recent Nvidia driver now supports xwayland I'd like to setup my GTX 1070 to work with Wayland on gnome.

However, after following all the tutorials in the archwiki on eGPU, Nvidia and Optimus I am unable to get the screen plugged into the GPU to turn on. I only get display via the laptop screen and this sometimes freezes after being booted for a minute.

I am able to get output on Wayland using the nouveau driver but not the Nvidia one. I believe this may be because the property driver doesn't seem to be populating /dev/dri with card1. Only my intel graphics (/dev/dri/card0) is present.

Offline

#2 2021-08-13 08:06:05

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

Re: Unable to get display from Nvidia eGPU on Wayland

Did you enable KMS? It's a basic prerequisite for Wayland on nvidia to work: https://wiki.archlinux.org/title/NVIDIA … de_setting

Offline

#3 2021-08-13 08:06:59

bweston6
Member
Registered: 2020-12-01
Posts: 4

Re: Unable to get display from Nvidia eGPU on Wayland

V1del wrote:

Did you enable KMS? It's a basic prerequisite for Wayland on nvidia to work: https://wiki.archlinux.org/title/NVIDIA … de_setting

Yes I have. Is there a way to verify that this has worked correctly?

Offline

#4 2021-08-13 08:10:09

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

Re: Unable to get display from Nvidia eGPU on Wayland

systool -vm nvidia_drm

should show Y for the modeset parameter.

That said I'm not so sure how well multi-gpu and external card setups are going to be supported in general.

Offline

#5 2021-08-13 08:40:03

bweston6
Member
Registered: 2020-12-01
Posts: 4

Re: Unable to get display from Nvidia eGPU on Wayland

When running systool I get:

Error opening module nvidia_drm

After running:

sudo modprobe nvidia_drm

I get the correct response.

My kernel parameters are:

root=/dev/sda6 rootflags=rw nowatchdog module_blacklist=nouveau nvidia-drm.modeset=1

and my mkinitcpio.conf modules are:

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

I have also tried booting without any Nvidia modules and I have the same output.

edit: in response to your last comment I have tried amd gpus in the same configuration and this gpu using the nouveau driver and they all work correctly.

Last edited by bweston6 (2021-08-13 08:43:00)

Offline

Board footer

Powered by FluxBB