Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703158 - x11-drivers/nvidia-drivers-440.36-r1 should install /etc/vulkan/implicit_layer.d/nvidia_layers.json, needed for VK_LAYER_NV_optimus
Summary: x11-drivers/nvidia-drivers-440.36-r1 should install /etc/vulkan/implicit_laye...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-16 23:05 UTC by Nathan Ringo
Modified: 2019-12-17 11:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Ringo 2019-12-16 23:05:21 UTC
The nvidia_layers.json file (mentioned in ch5, ch34D of README.txt) is not installed by this package; it needs to be for VK_LAYER_NV_optimus to be available.

Reproducible: Always

Steps to Reproduce:
1. emerge x11-drivers/nvidia-drivers
2. vulkaninfo | grep optimus
Actual Results:  
No results

Expected Results:  
VK_LAYER_NV_optimus (NVIDIA Optimus layer) Vulkan version 1.1.119, layer version 1

workaround for now is to manually create /etc/vulkan/implicit_layer.d, move nvidia_layers.json there by hand
Comment 1 Larry the Git Cow gentoo-dev 2019-12-17 11:19:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fa1702d8ce46fc0a8473451a894112f9d6aace8

commit 4fa1702d8ce46fc0a8473451a894112f9d6aace8
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-12-17 11:19:15 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-12-17 11:19:31 +0000

    x11-drivers/nvidia-drivers: Install nvidia_layers.json
    
    @/etc/vulkan/implicit_layer.d/nvidia_layers.json
    
    Closes: https://bugs.gentoo.org/703158
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../{nvidia-drivers-440.44.ebuild => nvidia-drivers-440.44-r1.ebuild}  | 3 +++
 1 file changed, 3 insertions(+)