All I wanted to hear. Thanks for putting this out, time to sync and update!Myu wrote:It installs fine with kernel 4.4.6 and openGL still works
Code: Select all
[ebuild R ~] x11-drivers/nvidia-drivers-364.12:0/364::gentoo USE="X acpi driver gtk3 kms multilib tools -compat -pax_kernel -static-libs -uvm -wayland" 0 KiB
[ebuild R ] sys-kernel/gentoo-sources-4.1.15-r1:4.1.15-r1::gentoo USE="-build -experimental -kdbus -symlink" 0 KiBCode: Select all
use kms && MODULE_NAMES+=" nvidia-modeset(video:${S}/kernel) nvidia-drm(video:${S}/kernel)"
Code: Select all
modprobe -r nvidia-drm ; modprobe nvidia-drm modeset=1
Code: Select all
[ 2.156724] nvidia: module license 'NVIDIA' taints kernel.
[ 2.164752] nvidia-nvlink: Nvlink Core is being initialized, major device number 248
[ 2.172984] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 364.12 Wed Mar 16 20:44:12 PDT 2016
[ 2.177420] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 2.858437] nvidia-modeset: Allocated GPU:0 (GPU-cb14a0f5-e4d3-2dfd-930b-16c2c145622e) @ PCI:0000:01:00.0
Code: Select all
options nvidia_drm modeset=1The proprietary NVIDIA driver supports KMS (since 364.12). However, it lacks an fbdev driver for the high-resolution console.
Code: Select all
#!/bin/bash
export DISPLAY=:0
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/opengl/nvidia/lib:/usr/lib/opengl/nvidia/lib"
exec ~/.local/share/Steam/steam.sh "$@"I'm betting this is related https://bugs.gentoo.org/show_bug.cgi?id=578040xtx wrote:anybody figure out how to use vulkan yet? i installed the new nvidia-beta driver and i have talos on steam. i enabled the public beta for talos and launched it as 64 bit, but when i switch to the vulkan api in game i get "Cannot set display mode" and I see the line "Vulkan error: Cannot find a compatible vulkan ICD!"
my first guess is that my launch options for steam are the issue, i launch steam with the script:I did a search for vulkan to see if there was a folder somewhere that I need to include in this launch script but I didn't see anything.Code: Select all
#!/bin/bash export DISPLAY=:0 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/opengl/nvidia/lib:/usr/lib/opengl/nvidia/lib" exec ~/.local/share/Steam/steam.sh "$@"
Good catch, almost definitely the issue. Thanks, I'll keep my eyes on the bug reportSaundersx wrote:I'm betting this is related https://bugs.gentoo.org/show_bug.cgi?id=578040xtx wrote:anybody figure out how to use vulkan yet? i installed the new nvidia-beta driver and i have talos on steam. i enabled the public beta for talos and launched it as 64 bit, but when i switch to the vulkan api in game i get "Cannot set display mode" and I see the line "Vulkan error: Cannot find a compatible vulkan ICD!"
my first guess is that my launch options for steam are the issue, i launch steam with the script:I did a search for vulkan to see if there was a folder somewhere that I need to include in this launch script but I didn't see anything.Code: Select all
#!/bin/bash export DISPLAY=:0 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/opengl/nvidia/lib:/usr/lib/opengl/nvidia/lib" exec ~/.local/share/Steam/steam.sh "$@"
Code: Select all

[ 5338.262318] vgaarb: device changed decodes: PCI:0000:02:00.0,olddecodes=none,decodes=none:owns=io+mem
[ 5338.262416] nvidia-nvlink: Nvlink Core is being initialized, major device number 250
[ 5338.262437] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 364.12 Wed Mar 16 21:11:26 PDT 2016
[ 5338.263459] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 364.12 Wed Mar 16 20:44:12 PDT 2016
[ 5338.263950] [drm] [nvidia-drm] [GPU ID 0x00000200] Loading driver
[ 5338.824705] nvidia-modeset: Allocated GPU:0 (GPU-595b3d36-aaea-d916-d4ce-4efa80c7c223) @ PCI:0000:02:00.0
[ 5338.886475] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 5338.886476] [drm] No driver support for vblank timestamp query.
[ 5350.257392] [drm:nvidia_drm_gem_import_nvkms_memory [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000200] Failed to import NVKMS memory to GEM object
Code: Select all
weston -B drm-backend.so --tty=1 --use-egldevice --current-mode

Code: Select all
emerge =x11-drivers/nvidia-drivers-364.12-r1 -1av