amshafer / nvidia-driver

Fork of the Nvidia FreeBSD driver to port the nvidia-drm.ko module from Linux
44 stars 5 forks source link

error no gpu's found #10

Open devosalain opened 1 year ago

devosalain commented 1 year ago

starting sway Error : No GPU's found

[GPU is GeForce RTX 2060 12GB]

amshafer commented 1 year ago

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.

devosalain commented 1 year ago

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.

amshafer commented 1 year ago

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.