Remarks
OS
Download 4.1.1 rc1 and create bootable usb
Boot it and on Install qubes press 'e'
In line module2 add 'nouveau.modeset=0 rd.driver.blacklist=nouveau video=vega:off' to end on line and press F10
When graphic installer loads, install qubes as well as initial config and finally login to qubes
Attach network cable and update
Graphic card
dom0: sudo qubes-dom0-update gcc kmod grub2-tools perl-bignum make
untrusted: download https://ftp.qubes-os.org/repo/yum/r4.1/current-testing/dom0/fc32/rpm/kernel-devel-5.15.48-1.fc32.qubes.x86_64.rpm
untrusted: download driver at https://www.nvidia.com/en-us/geforce/drivers/
dom0: qvm-run -p untrusted 'cat kernel-devel-5.15.48-1.fc32.qubes.x86_64.rpm' > kernel-devel.rpm
dom0: qvm-run p untrusted 'cat /home/user/Downloads/NVIDIA-Linux-x86_64{version}.run' > NVIDIA-Linux-x86_64-{version}.run
dom0: dnf install kernel-devel.rpm
dom0: chmod +x NVIDIA-Linux-x86_64-{version}.run
dom0: ./NVIDIA-Linux-x86_64-{version}.run --ui=none --no-x-check --keep --extract-only
dom0: cd NVIDIA-Linux-x86_64-{version}/kernel/
dom0: make module IGNORE_XEN_PRESENCE=y CC=āgcc -DNV_VMAP_4_PRESENT -DNV_SIGNAL_STRUCT_RLIMā
dom0: sudo cp nvidia.ko > /lib/modules/{verzia kernela}/extra
dom0: echo 'blacklist nouveau' | tee -a /etc/modprobe.d/blacklist.conf
reboot and press 'e' on 'Qubes with xen'
in line module2 - remove nouveau.modeset=0 rd.driver.blacklist=nouveau video=vega:off and press F10
graphics should now run on nvidia
dom0: sudo vim /etc/sysconfig/grub and remove nouveau.modeset=0 rd.driver.blacklist=nouveau video=vega:off
dom0: sudo grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg
after reboot it should start with nvidia automatically
Optionally install newest kernel:
dom0: sudo qubes-dom0-update kernel-latest kernel-latest-devel
after reboot it should start with nvidia automatically with newest kernel (check uname -a)
Sound card:
with nvidia it should already work through hdmi
Intel sound card:
untrusted: git clone https://github.com/thesofproject/sof-bin
untrusted: tar -czf sof.tgz sof-bin/
dom0: qvm-run -p untrusted ācat /home/user/sof.tgzā > sof.tgz
dom0: tar -xvf sof.tgz
dom0: mv /lib/firmware/intel/sof /lib/firmware/intel/sof-old
dom0: mv /lib/firmware/intel/sof-tplg /lib/firmware/intel/sof-tplg-old
dom0: cd sof-bin
dom0: vim install.sh and comment 2 lines where is rsync and repace wirh 3 lines of cp:
...
#rsync -a "${path}"/sof*"$ver" "${FW_DEST}"/
#rsync -a "${path}"/tools-"$ver"/ "${TOOLS_DEST}"/
cp -r "${path}"/"$ver".x/sof-"$ver" "${FW_DEST}"/
cp -r "${path}"/"$ver".x/sof-tplg-"$ver" "${FW_DEST}"/
cp -r "${path}"/"$ver".x/tools-"$ver"/* "${TOOLS_DEST}"/
...
dom0: ./install.sh v2.0
reboot and sound should work. Click on speaker icon -> Audio mixer -> Output devices tab - there should be sof-hda-dsp, not Dummy.
Attachments
Sorry, new users can not upload attachments