nvidia-driver icon indicating copy to clipboard operation
nvidia-driver copied to clipboard

error no gpu's found

Open devosalain opened this issue 2 years ago • 3 comments

starting sway Error : No GPU's found

[GPU is GeForce RTX 2060 12GB]

devosalain avatar Feb 08 '23 14:02 devosalain

Could you please provide some more info? There isn't much to go off of here. Namely the sway output, which versions you have installed (of FreeBSD, drm-kmod, nvidia-drm), are all kernel modules loaded, are there entries in /dev/dri/..., are there error messages in dmesg, etc.

amshafer avatar Feb 08 '23 17:02 amshafer

some more info,

first i disabled moused in rc.conf Then i set kern.vty=sc in loader.conf and this gave better results. kldload nvidia works kldload nvidia-modeset works But kldload nvidia-drm sometimes hangs forever And kldunload nvidia-drm creates a kernel panic page-fault reboot

I could launch seatd-launch labwc

And start a terminal & firefox. But then the mouse went away. The mouse disappears when launching most applications. A weird problem... I think the mouse has a problem with nvidia-driver-code or libinput.

devosalain avatar Feb 13 '23 21:02 devosalain

Could you please provide the information I mentioned in the previous comment?

I haven't used labwc myself but wlroots-based compositors need the WLR_NO_HARDWARE_CURSORS=1 environment variable on Nvidia devices.

amshafer avatar Feb 14 '23 03:02 amshafer