Nvidia and Vulkan in Manjaro

Hi. Long searched without results. Trying to understand ways to optimize settings for vulkan running. I am addicted to flight sim and X-Plane 11 is the game. With windows and other distros Linux, Vulkan runs well. Many foruns, people tell it is even better in Manjaro. But here it just crashes every time I try to open with Vulkan and not OpenGL. How do you suggest me to search how to improve vulkan settings or even Nvidia Drivers

HI @caiooliveirac, and welcome!

  1. Please see How to provide good information
    1.1. If applicable, please see [HowTo] post screenshots and links
  2. Do you know if you’ve got the open-source or proprietary Nvidia drivers installed?
    2.1. How did you install it?

It sounds, to me, like you’re using thee unofficial, open-source drivers, and that might be the reason why.

KDE UI has a page that permits you to right click and install. But it came already with an Nvidia driver. I have booted with non-free drivers (proprietary). I was suspecting maybe this bad performance is because the Manjaro recognized bad the board and installed bad driver or the game is running on intel integrated video card not with nvidia…

It might be that. You didn’t specify that you had hybrid graphics which I’m assuming means you’re using a laptop.

That’s why I asked for the information in my previous reply:

Edit:

In addition, open a terminal and provide thee output for:

mhwd --listhardware

as well as

mhwd --list

and

mhwd --listinstalled

Sorry. I thought that form in sign up would make it visible in every post my config and hardware

notebook i7 7700 gtx 1050 Ti

KDE shows another option called 390xx bumblebee and an option not hybrid (just video-nvidia)

Answer the question, or circle around, but only one way will go forward. Provide your system info properly.

  Kernel: 5.14.10-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.14-x86_64
  root=UUID=f2c5989f-8413-49fe-9e9e-b0149176f8b3 rw quiet apparmor=1
  security=apparmor resume=UUID=8f640c8e-82f0-4f71-b341-38494039545d
  udev.log_priority=3
  Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
  Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Inspiron 15 7000 Gaming v: N/A
  serial: <filter> Chassis: type: 10 serial: <filter>
  Mobo: Dell model: 0P84C9 v: A01 serial: <filter> UEFI-[Legacy]: Dell
  v: 1.6.0 date: 03/27/2018
Battery:
  ID-1: BAT0 charge: 58.4 Wh (100.0%) condition: 58.4/74.0 Wh (78.9%)
  volts: 13.1 min: 11.4 model: SMP DELL 71JF452 type: Li-poly serial: <filter>
  status: Full
  ID-2: hidpp_battery_0 charge: N/A condition: N/A volts: 4.2 min: N/A
  model: Logitech G903 LIGHTSPEED Wireless Gaming Mouse w/ HERO type: N/A
  serial: <filter> status: Charging
Memory:
  RAM: total: 15.22 GiB used: 6.83 GiB (44.9%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP
  arch: Kaby Lake family: 6 model-id: 9E (158) stepping: 9 microcode: EA
  cache: L2: 6 MiB bogomips: 44817
  Speed: 1239 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 1239 2: 1244
  3: 1362 4: 1700 5: 1700 6: 1538 7: 1700 8: 1700
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est
  f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window
  hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm
  mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat
  pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts
  rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1
  sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
  tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
  xsaves xtopology xtpr
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
  IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel
  bus-ID: 00:02.0 chip-ID: 8086:591b class-ID: 0300
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Dell
  driver: nvidia v: 470.63.01 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
  chip-ID: 10de:1c8c class-ID: 0300
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
  bus-ID: 1-12:3 chip-ID: 0c45:6a06 class-ID: 0e02
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver:
  loaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
  s-diag: 582mm (22.9")
  Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6")
  diag: 395mm (15.5")
  OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 21.2.3
  direct render: Yes
Audio:
  Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel
  bus-ID: 00:1f.3 chip-ID: 8086:a171 class-ID: 0403
  Device-2: NVIDIA GP107GL High Definition Audio vendor: Dell
  driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fb9
  class-ID: 0403
  Sound Server-1: ALSA v: k5.14.10-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.38 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  vendor: Dell driver: r8169 v: kernel port: d000 bus-ID: 02:00.0
  chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
  vendor: Dell driver: ath10k_pci v: kernel bus-ID: 03:00.0 chip-ID: 168c:003e
  class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
  broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-4:2
  chip-ID: 0cf3:e007 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
  v: 3.0 port: f060 bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 1.14 TiB used: 52.24 GiB (4.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: LITE-ON model: CV3-8D256-11 SATA 256GB
  size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
  type: SSD serial: <filter> rev: 10D scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10SPZX-75Z10T1
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
  type: HDD rpm: 5400 serial: <filter> rev: 1A02
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 229.67 GiB size: 225 GiB (97.97%) used: 52.24 GiB (23.2%)
  fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: N/A
  uuid: f2c5989f-8413-49fe-9e9e-b0149176f8b3
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
  dev: /dev/sda2 maj-min: 8:2 label: swap
  uuid: 8f640c8e-82f0-4f71-b341-38494039545d
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:8 info: Logitech G903 LIGHTSPEED Wireless Gaming Mouse w/ HERO
  type: Mouse,Keyboard,HID driver: logitech-hidpp-device,usbhid interfaces: 3
  rev: 2.0 speed: 12 Mb/s power: 500mA chip-ID: 046d:c091 class-ID: 0300
  serial: <filter>
  Device-2: 1-4:2 info: Qualcomm Atheros type: Bluetooth driver: btusb
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 0cf3:e007
  class-ID: e001
  Device-3: 1-12:3 info: Microdia Integrated_Webcam_HD type: Video
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
  chip-ID: 0c45:6a06 class-ID: 0e02
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.0 speed: 5 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 67.0 C mobo: 51.0 C sodimm: SODIMM C
  Fan Speeds (RPM): cpu: 4158
Info:
  Processes: 274 Uptime: 1h 20m wakeups: 3 Init: systemd v: 249
  tool: systemctl Compilers: gcc: N/A Packages: 1220 pacman: 1209 lib: 329
  flatpak: 0 snap: 11 Shell: Zsh v: 5.8 default: Bash v: 5.1.8
  running-in: konsole inxi: 3.3.0```

From what we can see, you have properly installed the Nvidia hybrid drivers, on your dual GPU system.

Now with this kind of system, to run your games on the dedicated (Nvidia) GPU, you most likely need to tell to offload on the Nvidia GPU (by default it uses the Intel GPU). If you run your game through Steam, you can do that by going to your game properties and add into the Launch Options the following

prime-run %command%

It should force the use of Nvidia video card when starting the game.

See if it improves the situation.

If you are starting the games in other way, then tell us.

is this correct ?

I tried. And then the game starts… .I can choose the plane and the local. It begins to charge everything and exactly the instant that it is all going to appear in the screen, the games just disappear. Crash without error messages

What do you mean with “correct”?

I can only see one ext4/linux (filesystem) partition on your partition list. I’m assuming that that is your boot ssd, and that your games are on the external disk.

Im going out on a limb and guess that your external drive is formatted with the ntfs/windows filesystem. In my experience steam is incompatible for most games when installed on that filesystem with windows, and that games fail to launch in the way you described.

Moving a game that does not work to the main drive could diagnose if this is indeed the problem. And if so you might want to figure out how to add a ext4 partition to your main drive.

This was the only problem I had with running games, so hopefully its the same issue for you.

IF SteamLibrary on NTFS

SteamLibrary on NTFS

use ntfs-3g

I have only one SSD 256GB ext4 here. I mean it contains Manjaro and Steam in the same partition ext4

Your CPU Temperature is 67 C by 1,2 Ghz ?
What is your Temperature by 3,8 Ghz ? :astonished:

can you check this

The access permissions in the folder / SteamLibrary / steamapps / common / Proton 6.3 / dist / bin /
are wrong. This applies to all Proton versions except Proton Experimental!
Solution: Delete the folder / dist in the respective version (attention only the folder NOT the archive!)
Then start the game with the Proton version. The / dist folder is now created correctly.

google translator

I found low temperatures with Manjaro. Playing games with windows was a hot experience.

1 Like

Ok. I can move the folder with all the content elsewhere and then we expect that Steam would reinstall the folder with permission?

yes

weingeist

Do you have the game on Steam? Did you try to run it with Proton instead of native?
Also make sure you have these vulkan packages.

vulkan-headers
vulkan-icd-loader