Hi,
I have difficulty in setting up my laptop’s nvidia card and external displays.
Currently through the forum I have collected a few different approaches to this problem:
- nouveau driver
- dom0 with nvidia driver
- sys-gui-gpu with nvidia driver
What I did
-
nouveau does not work as content does not appear on external displays but just mouse pointer is visible. This is weird, I am curious why the driver fails… maybe it is fixable.
-
dom0 with nvidia driver
(later i found a similar story in this thread [qubes-users] nVidia binary in dom0 (ThinkPad P1 gen4))
a. I have tried first 455.45.01 (on the 5.10.109 kernel) from the cuda repos in Index of /compute/cuda/repos/fedora32/x86_64
This was not successful with theFailed to allocate shared surface
error.
b. Then I tried 510.47.03 (on the 5.16.18 kernel) from the Index of /compute/cuda/repos/rhel8/x86_64
The error wasPush buffer DMA allocation failed
I have run strace on it to see what system calls it’s making.
ioctl(31, DRM_IOCTL_I810_GETAGE or DRM_IOCTL_R128_CCE_IDLE or DRM_IOCTL_RADEON_CP_IDLE, 0) = -1 EINVAL (Invalid argument)
This was the only ioctl that was getting an error.
the 31 corresponds to/dev/dri/renderD128
:
openat(AT_FDCWD, "/dev/dri/renderD128", O_RDWR|O_CLOEXEC) = 31
The error code suggests that the ioctl argument is invalid.
At this point I can’t move forward because I don’t know any details on the ioctl communication, but will send an email to nvidia support. Hopefully someone reads this.
- sys-gui-gpu is something I want to try, for the NVIDIA part only. As suggested on [qubes-users] nVidia binary in dom0 (ThinkPad P1 gen4) - #5 by Demi and on some other thread which i can’t find right now.