Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Vulkan Installation

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
LightBasileus
Posts: 2
Joined: 2021-09-20 20:35

[SOLVED] Vulkan Installation

#1 Post by LightBasileus »

Hello,

I am following the installation guide for Vulkan programming from https://vulkan-tutorial.com/Development_environment. I've installed all the packages recommended from the tutorial. I have a Razer Blade 15 mid-2019 with both Intel and NVIDIA graphics. When I run vkcube, I receive the following error code:

Code: Select all

Could not find both graphics and present queues
I used to receive:

Code: Select all

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
but I fixed that by putting dev.i915.perf_stream_paranoid=0 in a config file in /etc/sysctl.d/.

Please help me,

Thank you.
Last edited by LightBasileus on 2021-10-30 01:10, edited 1 time in total.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Vulkan Installation

#2 Post by Segfault »

I have a Razer Blade 15 mid-2019 with both Intel and NVIDIA graphics.
There are several possible configurations possible with such hardware. Is it Optimus? Something else? You can't make it work without knowing how these cards work together.

gusi
Posts: 22
Joined: 2021-03-16 17:12
Been thanked: 1 time

Re: Vulkan Installation

#3 Post by gusi »

1. install
-mesa-vulkan-drivers , mesa-vulkan-drivers:i386, libvulkan1 , libvulkan1:i386
reboot
for Linux itself , u dont need nothing more

2. if u use it with wine
https://github.com/doitsujin/dxvk/releases
(only 20 mb , the sh file is working)

3. how to
setup + HUD = https://github.com/doitsujin/dxvk/

gusi
Posts: 22
Joined: 2021-03-16 17:12
Been thanked: 1 time

Re: Vulkan Installation

#4 Post by gusi »

@but I fixed that by putting dev.i915.perf_stream_paranoid=0 in a config file in /etc/sysctl.d/.

u dont need fix that , u can ignore
my oldest Acer-Laptop has a intel-Graphik 505 , this can Vesuv 1.2
the paranoid=0 come always on my intel onj Installation dxvk , but without policy

@ with both Intel and NVIDIA graphics ??? What for ?

I dont know , what u grafik-card is
The grafik-card must support Vesuv 1.2 , or it cant go

sry for my bad english

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Vulkan Installation

#5 Post by sunrat »

LightBasileus wrote: 2021-09-20 20:46I have a Razer Blade 15 mid-2019 with both Intel and NVIDIA graphics.
Sounds like you have Optimus graphics and don't have drivers set up correctly. There are several methods, currently the preferred one is NVIDIA PRIME Render Offload - https://wiki.debian.org/NVIDIA%20Optimus
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

LightBasileus
Posts: 2
Joined: 2021-09-20 20:35

Re: Vulkan Installation

#6 Post by LightBasileus »

I figured it out. According to https://wiki.debian.org/NVIDIA%20Optimus#PRIMEOffload you have to prefix a application ran on the command line with the following:

Code: Select all

__NV_PRIME_RENDER_OFFLOAD=1
After prefixing that with vkcube the application ran perfectly.

Sorry! But thanks for the help.

Post Reply