Nightmayr-snaps / yuzu-snap

3 stars 4 forks source link

Deepin v20 / Debian 10 - nvidia driver not recognized #12

Closed cirospaciari closed 4 years ago

cirospaciari commented 4 years ago

I tried to install the snap in Deepin v20 (Debian 10) Kernel 5.3 but i get this error:

image image image

Nightmayr commented 4 years ago

Hi @cirospaciari, I'm not too sure what's causing that problem for you. Your hardware looks good to me. I'm also using an Nvidia GPU and the main difference between my setup and yours is the driver version. I'm using nvidia driver 440.100, could you try updating your driver to this version? (I think that may be the reason behind the "or you do not have the latest graphics driver" message).

I think these instructions should apply to you being on a Debian 10 Buster based distro: https://wiki.debian.org/NvidiaGraphicsDrivers#Version_440.100_.28via_buster-backports.29

cirospaciari commented 4 years ago

I use Deepin 20 (1000) last version, all drivers updated, (based in Debian 10.4). I will try add buster-backports as source list and install the latest driver.

Edit 1: In vulkan my GPU is not listed: image

Running yuzu (windows version) + lutris or wine (OpenGL 30-60fps and in some places 23fps drops, Vulkan dont work): image

Edit 2: I build a native version my self in the main line adding some packages from debian 11 (gcc & stdlibc++6) and updating manually zstd and others depencies. All work fine Vulkan and OpenGL, getting 45fps-60fps with my config in Vulkan and 35fps-60fps with OpenGL. no deep drops anymore like using wine/lutris.

Unfortunately yuzu snap dont recognize my GPU in Deepin 20 for some reason. its way less painfull install a snap instead of building a version my self (pre-build for linux don't run in this distro) also requires GCC 9.3 & stdlibc++6 > 8.3 (debian buster only have 8.3 gcc and stdlibc++6)

image

image

Nightmayr commented 4 years ago

Strange, I'm able to see my GPU under Vulkan backend, can't see anything thats different aside from your GPU being a 1070 and mine being a 2080ti (I wouldn't expect this to make a difference) as well as the operating system. I'll try to see if I can get some time to set the snap up on Deepin 20 but I would expect it to function the same as Ubuntu 20.04 (distro I'm using).

Just to figure out if this problem is also affecting other snaps for you or is just a problem with yuzu, would you be able to download the dolphin-emulator (either beta or edge channels, as stable doesn't have a vulkan backend), and check whether your GPU is recognised when selecting the Vulkan backend from the graphics options.

Sorry that I'm unable to identify the problem immediately, snap with nvidia vulkan isn't as straightforward as Intel/AMD due to the proprietary driver. Hopefully we can figure this out, as I agree with your comment about the snap being a painless method to install yuzu compared to building from source for end users.

cirospaciari commented 4 years ago

Hi, i get one update to kernel 5.4 and new drivers. All working now! image image

Nightmayr commented 4 years ago

Thanks for the update, I'm wondering why updating the kernel would have fixed the problem 🤔. Glad it's working for you though