I'm actually using Qubes 4.0.1 on my Lenovo Thinkpad p52 in UEFI.
To make it work I had to disable nouveau in the xen.cfg
Now I'm trying to install NVIDIA Driver and I have several errors.
I'm following https://www.qubes-os.org/doc/install-nvidia-driver/
first I run ./NVIDIA-Linux-<MY VERSION for Quadra p2000>.run --ui=none --no-x-check --keep --no-nouveau-check --no-kernel-module.
I get an Installation interface and everything is fine.
I can ask for a Xorg.conf .
The problem is when I try to use "make" in NVIDIA/Kernels:
make IGNORE_XEN_PRESENCE=1 CC="gcc -DNV_VMAP_4_PRESENT -DNV_SIGNAL_STRUCT_RLIM"
I get this error :
"Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
then when I try to install one of them libelf-dev, libelf-devel or elfutils-libelf-devel and I can only find elfutils-libelf-devel with(enablerepo=unstable)
When I execute again the "make"
after executing for several seconds : A lot of files are not found(object files -> *.o).
I read about the CONFIG_UNWINDER_ORC=y and that there's a way to make it work without the elfutils-libelf-devel by rebuilding the kernel with CONFIG_UNWINDER_FRAME_POINTER=y
But I don't know how and if it's a good idea.
Of course I tried to reboot with the Xorg.conf(nvidia-xconfig) but knowing that it will not work and after entering my luks password , I have a black screen so I can't log in into X, but I can login to a text console (press Ctrl-Alt-F2). So in the text console I uninstalled Nvidia and when I reboot it everything went to normal without Nvidia driver and of course with nouveau disabled(from the beginning).
P.S: the HDMI is connected to the NVDIA GPU so I can't use it.
Thanks in advance
Best Regards
Aly Abdellatif
I activated thunderbolt in the BIOS and the usb C works perfectly in sys-usb ,
On the otherhand hdmi is not recognized in sys-usb(xrandr). I tried to attach the PCI to dom0 but I didn't succeed.
I don't mind if it's possible to assign the usb c to an appvm and then the hdmi works for this appvm. I don't need to have the dom0 on another monitor , just an appvm will be perfect for me
Did you manage to make nouveau work ? By default I don't have a xorg.conf so I don't know how to do it even when I close the X session and then in the text console I write Xorg --configure --> I have a seg fault error and the xorg.conf.new is not created.
Any idea to make the hdmi with an adapter(usb,usbC) work so it doesn't connect to nvidia ?
I need the hdmi only for an appvm so I don't mind if it doesn't work on dom0 .
P.S I forgot to mention : I'm on hybrid graphics
Best regards
Aly Abdellatif
On discrete mode nouveau works(hdmi works too) but if I close the lid I have to force shutdown.
That's why I switched to hybrid with nouveau disabled.
Whenever I try to create a new xorg.conf(Xorg -configure after stoppin the X session I have an error.You will find attached the output of Xorg.0.log
This error is produced in Hybrid and Discrete mode
I think if I manage to create a proper Xorg.conf I will be able to have nouveau working in hybrid but I can't create one with Xorg -configure(attached image) and by default there isn't one in /etc/X11/
Best regards
Aly Abdellatif