#Enabling non-experimental kargs breaks NVIDIA driver

1 messages · Page 1 of 1 (latest)

opaque harbor
#

CPU: 5600G
MB: ASRock X570-ITX
GPU: NVIDIA RTX 3080 Ti
RAM: 2x8GB DDR4

Enabling the hardening-kargs (skipping experimental ones) breaks the NVIDIA driver. Desktop resolution is locked at 800x600, running nvidia-smi yields NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

I vaguely remember NVIDIA requiring another set of kargs, but neither https://secureblue.dev/install#installation nor https://secureblue.dev/articles/kargs seems to mention them? ujust set-kargs-nvidia is still an option, though.

uneven cave
uneven cave
#

you can confirm by checking rpm-ostree kargs

opaque harbor
opaque harbor
# uneven cave the isos autoinstall kargs now, so set-kargs-nvidia isn't needed anymore
rd.luks.uuid=luks-bb4b23dd-a229-473d-801a-a777ddaefe7c rhgb quiet root=UUID=49738546-a5f0-499d-8dc1-18d28a6653f5 rootflags=subvol=root rw iommu=pt ostree=/ostree/boot.0/fedora/27038c817cb9bde441225c9668877e5dbf4cacd98b3766af6bcc09c84641a538/0 amdgpu.ppfeaturemask=0xfff7ffff rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 nvidia-drm.fbdev=1 nosmt=force init_on_alloc=1 init_on_free=1 slab_nomerge page_alloc.shuffle=1 randomize_kstack_offset=on vsyscall=none lockdown=confidentiality random.trust_cpu=off random.trust_bootloader=off iommu=force intel_iommu=on iommu.passthrough=0 iommu.strict=1 pti=on module.sig_enforce=1 mitigations=auto,nosmt spectre_v2=on spec_store_bypass_disable=on l1d_flush=on l1tf=full,force kvm-intel.vmentry_l1d_flush=always loglevel=0
opaque harbor
uneven cave
#

the nvidia karg is a signed module

#

no SB key enrolled = module verification fails

opaque harbor
#

That means I've been wrongly blaming NVIDIA for the past 24 hours?

uneven cave
#

yes lol

#

not nvidia's fault 😛

opaque harbor
#

Buuut my Kernel is tainted. That's NVIDIA's fault, right?

uneven cave
#

the kernel being tainted is informational

#

it means youre using out of tree modules

#

which is necessarily the case if youre using nvidia drivers or any other out of tree kmod