Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: NVIDIA Drivers installation (Vulkan) (Read 1443 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

NVIDIA Drivers installation (Vulkan)

Hello!

I want to use Godot, so I downloaded it, and whenever I run it, I get this error
Quote
Godot Engine v4.0.beta1.official.20d667284 - https://godotengine.org
ERROR: No surface extension found, is a driver installed?
at: _initialize_extensions (drivers/vulkan/vulkan_context.cpp:365)
ERROR: Could not initialize Vulkan
at: DisplayServerX11 (platform/linuxbsd/display_server_x11.cpp:4813)
Your video card driver does not support any of the supported Vulkan or OpenGL versions.
Please update your drivers or if you have a very old or integrated GPU, upgrade it.
If you have updated your graphics drivers recently, try rebooting.
ERROR: Unable to create DisplayServer, all display drivers failed.
at: setup2 (main/main.cpp:1846)
ERROR: BUG: Unreferenced static string to 0: interface_added
at: unref (core/string/string_name.cpp:131)
ERROR: Pages in use exist at exit in PagedAllocator: N7Variant5Pools11BucketLargeE
at: ~PagedAllocator (./core/templates/paged_allocator.h:140)
ERROR: Pages in use exist at exit in PagedAllocator: N7Variant5Pools12BucketMediumE
at: ~PagedAllocator (./core/templates/paged_allocator.h:140)
ERROR: Pages in use exist at exit in PagedAllocator: N7Variant5Pools11BucketSmallE
at: ~PagedAllocator (./core/templates/paged_allocator.h:140)

I tried to find what graphics card I use, so I typed
Code: [Select]
lspci -k | grep -EA3 'VGA|3D|Display
which returns:
Quote
    29:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
    Subsystem: Gigabyte Technology Co., Ltd GV-N105T0C-4GD
    Kernel driver in use: nouveau
    Kernel modules: nouveau
I use dwm. However, my build is kinda pre-installed so I don't know what kind of drivers I run, if any.

The drivers I found are:
[]Proprietary: https://www.nvidia.com/Download/driverResults.aspx/193095/en-us/
[]Open-Source/Nouveau: https://nouveau.freedesktop.org/CodeNames.html NV-137

But I don't know how to install the above Nouveau drivers.
See https://wiki.archlinux.org/title/Nouveau

I find that
Code: [Select]
mesa
is installed. No idea on anything else there, e.g. if drivers load by default (2nd section in above link)

Edit: I did
Code: [Select]
sudo dmesg | grep 'nouveau'
And here is the output:
Code: [Select]
[    3.560613] nouveau 0000:29:00.0: vgaarb: deactivate vga console
[    3.560671] nouveau 0000:29:00.0: NVIDIA GP107 (137000a1)
[    3.678290] nouveau 0000:29:00.0: bios: version 86.07.42.00.5b
[    3.693033] nouveau 0000:29:00.0: pmu: firmware unavailable
[    3.719407] nouveau 0000:29:00.0: fb: 4096 MiB GDDR5
[    3.741151] nouveau 0000:29:00.0: DRM: VRAM: 4096 MiB
[    3.741153] nouveau 0000:29:00.0: DRM: GART: 536870912 MiB
[    3.741155] nouveau 0000:29:00.0: DRM: BIT table 'A' not found
[    3.741156] nouveau 0000:29:00.0: DRM: BIT table 'L' not found
[    3.741157] nouveau 0000:29:00.0: DRM: TMDS table version 2.0
[    3.741158] nouveau 0000:29:00.0: DRM: DCB version 4.1
[    3.741159] nouveau 0000:29:00.0: DRM: DCB outp 00: 01000f42 04620030
[    3.741161] nouveau 0000:29:00.0: DRM: DCB outp 01: 02011f62 04620010
[    3.741162] nouveau 0000:29:00.0: DRM: DCB outp 02: 02822f76 04600020
[    3.741163] nouveau 0000:29:00.0: DRM: DCB outp 03: 02022f72 04620020
[    3.741165] nouveau 0000:29:00.0: DRM: DCB conn 00: 00001031
[    3.741166] nouveau 0000:29:00.0: DRM: DCB conn 01: 00010161
[    3.741167] nouveau 0000:29:00.0: DRM: DCB conn 02: 00020246
[    3.741489] nouveau 0000:29:00.0: DRM: MM: using COPY for buffer copies
[    3.742632] snd_hda_intel 0000:29:00.1: bound 0000:29:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[    4.335940] nouveau 0000:29:00.0: DRM: allocated 1366x768 fb: 0x200000, bo 00000000b2bade35
[    4.336756] fbcon: nouveaudrmfb (fb0) is primary device
[    4.673633] nouveau 0000:29:00.0: [drm] fb0: nouveaudrmfb frame buffer device
[    4.710280] [drm] Initialized nouveau 1.3.1 20120801 for 0000:29:00.0 on minor 0[/quote]
So I assume I already have drivers? Can someone confirm this? I have drivers, but they don't support Vulkan?

 

Re: NVIDIA Drivers installation (Vulkan)

Reply #1
Hello,
So I assume I already have drivers? Can someone confirm this? I have drivers, but they don't support Vulkan?
Code: [Select]
lsmod | grep video
can help you.

 lshw is more talkative :
Code: [Select]
sudo pacman -Sy lshw
Code: [Select]
lshw
Maybe someone can give you a better command...

Re: NVIDIA Drivers installation (Vulkan)

Reply #2
Do you have any of the vulkan packages installed?

Do a pacman -Ss vulkan | less to see which packages might benefit you.

Re: NVIDIA Drivers installation (Vulkan)

Reply #3
Hello,
Code: [Select]
lsmod | grep video
can help you.
Output:
Code: [Select]
video                                        61440        1   nouveau

lshw is more talkative :
Code: [Select]
sudo pacman -Sy lshw
Code: [Select]
lshw
Maybe someone can give you a better command...
Output:
Code: [Select]
hello
    description: Desktop Computer
    product: MS-7A38 (To be filled by O.E.M.)
    vendor: Micro-Star International Co., Ltd.
    version: 8.0
    serial: To be filled by O.E.M.
    width: 64 bits
    capabilities: smbios-2.8 dmi-2.8 smp vsyscall32
    configuration: boot=normal chassis=desktop family=To be filled by O.E.M. sku=To be filled by O.E.M. uuid=7BD12B6A-ACE4-164D-A883-2CF05D8B30D5
  *-core
       description: Motherboard
       product: B450M PRO-VDH MAX (MS-7A38)
       vendor: Micro-Star International Co., Ltd.
       physical id: 0
       version: 8.0
       serial: K817062218
       slot: To be filled by O.E.M.
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: B.70
          date: 06/10/2020
          size: 64KiB
          capacity: 16MiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
     *-memory
          description: System Memory
          physical id: f
          slot: System board or motherboard
          size: 16GiB
        *-bank:0
             description: 3200 MHz (0.3 ns) [empty]
             product: Unknown
             vendor: Unknown
             physical id: 0
             serial: Unknown
             slot: DIMM 0
             clock: 3200MHz (0.3ns)
        *-bank:1
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 3200 MHz (0.3 ns)
             product: F4-3200C16-8GVKB
             vendor: Unknown
             physical id: 1
             serial: 00000000
             slot: DIMM 1
             size: 8GiB
             width: 64 bits
             clock: 3200MHz (0.3ns)
        *-bank:2
             description: 3200 MHz (0.3 ns) [empty]
             product: Unknown
             vendor: Unknown
             physical id: 2
             serial: Unknown
             slot: DIMM 0
             clock: 3200MHz (0.3ns)
        *-bank:3
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 3200 MHz (0.3 ns)
             product: F4-3200C16-8GVKB
             vendor: Unknown
             physical id: 3
             serial: 00000000
             slot: DIMM 1
             size: 8GiB
             width: 64 bits
             clock: 3200MHz (0.3ns)
     *-cache:0
          description: L1 cache
          physical id: 11
          slot: L1 - Cache
          size: 576KiB
          capacity: 576KiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: 12
          slot: L2 - Cache
          size: 3MiB
          capacity: 3MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=2
     *-cache:2
          description: L3 cache
          physical id: 13
          slot: L3 - Cache
          size: 16MiB
          capacity: 16MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=3
     *-cpu
          description: CPU
          product: AMD Ryzen 5 2600 Six-Core Processor
          vendor: Advanced Micro Devices [AMD]
          physical id: 14
          bus info: cpu@0
          version: AMD Ryzen 5 2600 Six-Core Processor
          serial: Unknown
          slot: AM4
          size: 3898MHz
          capacity: 3900MHz
          width: 64 bits
          clock: 100MHz
          capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate ssbd ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca sev sev_es cpufreq
          configuration: cores=6 enabledcores=6 threads=12
     *-pci:0
          description: Host bridge
          product: Family 17h (Models 00h-0fh) Root Complex
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 33MHz
        *-generic UNCLAIMED
             description: IOMMU
             product: Family 17h (Models 00h-0fh) I/O Memory Management Unit
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 0.2
             bus info: pci@0000:00:00.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: msi ht cap_list
             configuration: latency=0
        *-pci:0
             description: PCI bridge
             product: Family 17h (Models 00h-0fh) PCIe GPP Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 1.3
             bus info: pci@0000:00:01.3
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:26 ioport:f000(size=4096) memory:f7500000-f76fffff
           *-usb
                description: USB controller
                product: 400 Series Chipset USB 3.1 XHCI Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:03:00.0
                version: 01
                width: 64 bits
                clock: 33MHz
                capabilities: msi msix pm pciexpress xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:29 memory:f76a0000-f76a7fff
           *-sata
                description: SATA controller
                product: 400 Series Chipset SATA Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.1
                bus info: pci@0000:03:00.1
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: sata msi pm pciexpress ahci_1.0 bus_master cap_list rom
                configuration: driver=ahci latency=0
                resources: irq:39 memory:f7680000-f769ffff memory:f7600000-f767ffff
           *-pci
                description: PCI bridge
                product: 400 Series Chipset PCIe Bridge
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.2
                bus info: pci@0000:03:00.2
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                configuration: driver=pcieport
                resources: irq:32 ioport:f000(size=4096) memory:f7500000-f75fffff
              *-pci:0
                   description: PCI bridge
                   product: 400 Series Chipset PCIe Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 4
                   bus info: pci@0000:20:04.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:33 ioport:f000(size=4096) memory:f7500000-f75fffff
                 *-network
                      description: Ethernet interface
                      product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                      vendor: Realtek Semiconductor Co., Ltd.
                      physical id: 0
                      bus info: pci@0000:25:00.0
                      logical name: eth0
                      version: 15
                      serial: 2c:f0:5d:8b:30:d5
                      size: 100Mbit/s
                      capacity: 1Gbit/s
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
                      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.19.8-artix1-1 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.8 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
                      resources: irq:29 ioport:f000(size=256) memory:f7504000-f7504fff memory:f7500000-f7503fff
              *-pci:1
                   description: PCI bridge
                   product: 400 Series Chipset PCIe Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 5
                   bus info: pci@0000:20:05.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:35
              *-pci:2
                   description: PCI bridge
                   product: 400 Series Chipset PCIe Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 6
                   bus info: pci@0000:20:06.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:36
              *-pci:3
                   description: PCI bridge
                   product: 400 Series Chipset PCIe Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 7
                   bus info: pci@0000:20:07.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:38
        *-pci:1
             description: PCI bridge
             product: Family 17h (Models 00h-0fh) PCIe GPP Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 3.1
             bus info: pci@0000:00:03.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:27 ioport:e000(size=4096) memory:f6000000-f70fffff ioport:e0000000(size=301989888)
           *-display
                description: VGA compatible controller
                product: GP107 [GeForce GTX 1050 Ti]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:29:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
                configuration: driver=nouveau latency=0
                resources: irq:64 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
           *-multimedia
                description: Audio device
                product: GP107GL High Definition Audio Controller
                vendor: NVIDIA Corporation
                physical id: 0.1
                bus info: pci@0000:29:00.1
                version: a1
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:65 memory:f7080000-f7083fff
        *-pci:2
             description: PCI bridge
             product: Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 7.1
             bus info: pci@0000:00:07.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:28 memory:f7200000-f74fffff
           *-generic:0 UNCLAIMED
                description: Non-Essential Instrumentation
                product: Zeppelin/Raven/Raven2 PCIe Dummy Function
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:2a:00.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress cap_list
                configuration: latency=0
           *-generic:1
                description: Encryption controller
                product: Family 17h (Models 00h-0fh) Platform Security Processor
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.2
                bus info: pci@0000:2a:00.2
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix bus_master cap_list
                configuration: driver=ccp latency=0
                resources: irq:59 memory:f7300000-f73fffff memory:f7400000-f7401fff
           *-usb
                description: USB controller
                product: Zeppelin USB 3.0 Host controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.3
                bus info: pci@0000:2a:00.3
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:50 memory:f7200000-f72fffff
        *-pci:3
             description: PCI bridge
             product: Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.1
             bus info: pci@0000:00:08.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:30 memory:f7700000-f77fffff
           *-generic UNCLAIMED
                description: Non-Essential Instrumentation
                product: Zeppelin/Renoir PCIe Dummy Function
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:2b:00.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress cap_list
                configuration: latency=0
           *-sata
                description: SATA controller
                product: FCH SATA Controller [AHCI mode]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.2
                bus info: pci@0000:2b:00.2
                version: 51
                width: 32 bits
                clock: 33MHz
                capabilities: sata pm pciexpress msi ahci_1.0 bus_master cap_list
                configuration: driver=ahci latency=0
                resources: irq:41 memory:f7708000-f7708fff
           *-multimedia
                description: Audio device
                product: Family 17h (Models 00h-0fh) HD Audio Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.3
                bus info: pci@0000:2b:00.3
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:67 memory:f7700000-f7707fff
        *-serial
             description: SMBus
             product: FCH SMBus Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 59
             width: 32 bits
             clock: 66MHz
             configuration: driver=piix4_smbus latency=0
             resources: irq:0
        *-isa
             description: ISA bridge
             product: FCH LPC Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.3
             bus info: pci@0000:00:14.3
             version: 51
             width: 32 bits
             clock: 66MHz
             capabilities: isa bus_master
             configuration: latency=0
     *-pci:1
          description: Host bridge
          product: Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 101
          bus info: pci@0000:00:01.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 102
          bus info: pci@0000:00:02.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 103
          bus info: pci@0000:00:03.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 104
          bus info: pci@0000:00:04.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:5
          description: Host bridge
          product: Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 105
          bus info: pci@0000:00:07.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:6
          description: Host bridge
          product: Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 106
          bus info: pci@0000:00:08.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:7
          description: Host bridge
          product: Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 107
          bus info: pci@0000:00:18.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:8
          description: Host bridge
          product: Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 108
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:9
          description: Host bridge
          product: Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 109
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:10
          description: Host bridge
          product: Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10a
          bus info: pci@0000:00:18.3
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: driver=k10temp
          resources: irq:0
     *-pci:11
          description: Host bridge
          product: Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10b
          bus info: pci@0000:00:18.4
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:12
          description: Host bridge
          product: Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10c
          bus info: pci@0000:00:18.5
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:13
          description: Host bridge
          product: Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10d
          bus info: pci@0000:00:18.6
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:14
          description: Host bridge
          product: Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10e
          bus info: pci@0000:00:18.7
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pnp00:00
          product: System Board
          physical id: 1
          capabilities: pnp
          configuration: driver=system
     *-pnp00:01
          product: AT Real-Time Clock
          physical id: 2
          capabilities: pnp
          configuration: driver=rtc_cmos
     *-pnp00:02
          product: Motherboard registers
          physical id: 3
          capabilities: pnp
          configuration: driver=system
     *-pnp00:03
          product: Standard LPT printer port
          physical id: 4
          capabilities: pnp
          configuration: driver=parport_pc
     *-pnp00:04
          product: 16550A-compatible COM port
          physical id: 5
          capabilities: pnp
          configuration: driver=serial
     *-pnp00:05
          product: Motherboard registers
          physical id: 6
          capabilities: pnp
          configuration: driver=system

Quote
Do you have any of the vulkan packages installed?
I do not know, and you did good to ask because I didn't even think of it

Quote
Do a pacman -Ss vulkan | less to see which packages might benefit you.
Output:
Code: [Select]
world/amdvlk 2022.Q3.4-1
    AMD's standalone Vulkan driver
world/nvidia-utils 515.65.01-2
    NVIDIA drivers utilities
world/qt6-shadertools 6.3.2-1.1 (qt6)
    Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to OpenGL
world/spirv-tools 2022.1-1 (vulkan-devel) [installed]
    API and commands for processing SPIR-V modules
world/vulkan-headers 1:1.3.227-1 (vulkan-devel)
    Vulkan header files
world/vulkan-html-docs 1:1.3.227-1 (vulkan-devel)
    Vulkan html documentation
world/vulkan-icd-loader 1.3.226-1 [installed]
    Vulkan Installable Client Driver (ICD) Loader
world/vulkan-intel 22.1.7-1
    Intel's Vulkan mesa driver
world/vulkan-mesa-layers 22.1.7-1
    Mesa's Vulkan layers
world/vulkan-radeon 22.1.7-1
    Radeon's Vulkan mesa driver
world/vulkan-swrast 22.1.7-1
    Vulkan software rasteriser driver
world/vulkan-tools 1.3.226-1 (vulkan-devel)
    Vulkan Utilities and Tools
world/vulkan-validation-layers 1.3.224.1-1 (vulkan-devel)
    Vulkan Validation Layers
galaxy/vkd3d 1.4-1
    Direct3D 12 to Vulkan translation library By WineHQ
universe/nvidia-390xx-utils 390.154-1
    NVIDIA drivers utilities
universe/nvidia-470xx-utils 470.141.03-1
    NVIDIA drivers utilities
extra/amdvlk 2022.Q3.4-1
    AMD's standalone Vulkan driver
extra/nvidia-utils 515.65.01-2
    NVIDIA drivers utilities
extra/qt6-shadertools 6.3.2-1 (qt6)
    Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to OpenGL
extra/spirv-tools 2022.1-1 (vulkan-devel) [installed]
    API and commands for processing SPIR-V modules
extra/vulkan-extra-layers 1.3.224.1-1 (vulkan-devel)
    Extra layers for Vulkan development
extra/vulkan-extra-tools 1.3.224.1-1 (vulkan-devel)
    Vulkan lunarg tools
extra/vulkan-headers 1:1.3.227-1 (vulkan-devel)
    Vulkan header files
extra/vulkan-html-docs 1:1.3.227-1 (vulkan-devel)
    Vulkan html documentation
extra/vulkan-icd-loader 1.3.226-1 [installed]
    Vulkan Installable Client Driver (ICD) Loader
extra/vulkan-intel 22.1.7-1
    Intel's Vulkan mesa driver
extra/vulkan-mesa-layers 22.1.7-1
    Mesa's Vulkan layers
extra/vulkan-radeon 22.1.7-1
    Radeon's Vulkan mesa driver
extra/vulkan-swrast 22.1.7-1
    Vulkan software rasteriser driver
extra/vulkan-tools 1.3.226-1 (vulkan-devel)
    Vulkan Utilities and Tools
extra/vulkan-validation-layers 1.3.224.1-1 (vulkan-devel)
    Vulkan Validation Layers
community/primus_vk 1.6.2-1
    Nvidia Vulkan offloading for Bumblebee
community/python-glfw 2.5.5-1
    Module for OpenGL, OpenGL ES, Vulkan, window and input support
community/vkd3d 1.4-1
    Direct3D 12 to Vulkan translation library By WineHQ
community/vkmark 20220318-1
    Vulkan benchmark
community/waifu2x-ncnn-vulkan 20220728-1
    ncnn implementation of waifu2x converter
I see 3 packages [installed] above, but do I need to install more of these? These 3 I have installed could be tools or dependencies. I feel this^ is the closest to solving this problem, and I hope it does because otherwise I would have to install NVIDIA's official drivers (would be the first proprietary software in this linux build), at least that's what I got recommended from a Godot user to solving this lol


Re: NVIDIA Drivers installation (Vulkan)

Reply #5
Hello,

Quote
           *-display
                description: VGA compatible controller
                product: GP107 [GeForce GTX 1050 Ti]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:29:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
                configuration: driver=nouveau latency=0
                resources: irq:64 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
You are using the Nouveau driver.

As SGOrava already suggested, use the nvidia driver to get the best performance.

Or do like me, replace your nvidia card with a radeon card. :-\

Re: NVIDIA Drivers installation (Vulkan)

Reply #6
I know the official NVIDIA drivers have better performance and probably have Vulkan. But I would prefer nouveau, if it's possible, especially since it seems I have it installed. That vulkan package list is my last bet, before giving up nouveau, but I just don't know what to do with the package list which I posted, from the suggestion of @Lancia
Quote
Do a pacman -Ss vulkan | less to see which packages might benefit you.

Re: NVIDIA Drivers installation (Vulkan)

Reply #7
https://wiki.archlinux.org/title/Vulkan (see installation section)

I did `sudo pacman -S vulkan-icd-loader` without problems. Can't open Godot.
I did  `sudo pacman -S nvidia-utils ` without problems. Can't open Godot.
Restarted pc. Couldn't login to dwm (tty1) had some display problems.
I did `sudo pacman -R nvidia-utils` and restarted pc, and I can login to dwm(tty1) no issues like usual. Can't open Godot.

Anyway, I did this pretty much:
Code: [Select]
sudo pacman -S vulkan-icd-loader vulkan-tools vulkan-headers vulkan-validation-layers
and while pc works as usual, cant open Godot lol

Any suggestions? Should I give up nouveau and go for official drivers? I don't even know why I got display problems with nvidia-utils, perhaps it conflicted existing drivers?

Re: NVIDIA Drivers installation (Vulkan)

Reply #8
When I do `sudo pacman -S nvidia-utils` and reboot, and can't login to tty1, this is the error I get (/var/log/Xorg.0.log):
Code: [Select]
[    21.970] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[    21.971] Current Operating System: Linux hello 5.19.8-artix1-1 #1 SMP PREEMPT_DYNAMIC Mon, 12 Sep 2022 08:08:44 +0000 x86_64
[    21.971] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=dd74678b-a072-4fcc-83aa-af7e226c1ac5 rw loglevel=3 quiet
[    21.971] 
[    21.972] Current version of pixman: 0.40.0
[    21.972] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[    21.972] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    21.974] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 23 15:16:25 2022
[    21.976] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    21.976] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    21.978] (==) No Layout section.  Using the first Screen section.
[    21.978] (==) No screen section available. Using defaults.
[    21.978] (**) |-->Screen "Default Screen Section" (0)
[    21.978] (**) |   |-->Monitor "<default monitor>"
[    21.978] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[    21.978] (==) Automatically adding devices
[    21.978] (==) Automatically enabling devices
[    21.978] (==) Automatically adding GPU devices
[    21.978] (==) Automatically binding GPU devices
[    21.978] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    21.981] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    21.981] Entry deleted from font path.
[    21.981] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    21.981] Entry deleted from font path.
[    21.981] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    21.981] Entry deleted from font path.
[    21.981] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    21.981] Entry deleted from font path.
[    21.981] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    21.981] Entry deleted from font path.
[    21.981] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    21.981] Entry deleted from font path.
[    21.981] (==) FontPath set to:

[    21.981] (==) ModulePath set to "/usr/lib/xorg/modules"
[    21.981] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[    21.981] (II) Module ABI versions:
[    21.981] X.Org ANSI C Emulation: 0.4
[    21.981] X.Org Video Driver: 25.2
[    21.981] X.Org XInput driver : 24.4
[    21.981] X.Org Server Extension : 10.0
[    21.981] (++) using VT number 1

[    21.982] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    21.990] (--) PCI:*(41@0:0:0) 10de:1c82:1458:3763 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    21.990] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    21.990] (II) LoadModule: "glx"
[    21.991] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    22.007] (II) Module glx: vendor="X.Org Foundation"
[    22.007] compiled for 1.21.1.4, module version = 1.0.0
[    22.007] ABI class: X.Org Server Extension, version 10.0
[    22.007] (==) Matched nouveau as autoconfigured driver 0
[    22.007] (==) Matched nv as autoconfigured driver 1
[    22.007] (==) Matched modesetting as autoconfigured driver 2
[    22.007] (==) Matched fbdev as autoconfigured driver 3
[    22.007] (==) Matched vesa as autoconfigured driver 4
[    22.007] (==) Assigned the driver to the xf86ConfigLayout
[    22.007] (II) LoadModule: "nouveau"
[    22.007] (WW) Warning, couldn't open module nouveau
[    22.007] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    22.007] (II) LoadModule: "nv"
[    22.007] (WW) Warning, couldn't open module nv
[    22.007] (EE) Failed to load module "nv" (module does not exist, 0)
[    22.007] (II) LoadModule: "modesetting"
[    22.008] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    22.013] (II) Module modesetting: vendor="X.Org Foundation"
[    22.013] compiled for 1.21.1.4, module version = 1.21.1
[    22.013] Module class: X.Org Video Driver
[    22.013] ABI class: X.Org Video Driver, version 25.2
[    22.013] (II) LoadModule: "fbdev"
[    22.013] (WW) Warning, couldn't open module fbdev
[    22.013] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    22.013] (II) LoadModule: "vesa"
[    22.013] (WW) Warning, couldn't open module vesa
[    22.013] (EE) Failed to load module "vesa" (module does not exist, 0)
[    22.013] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    22.013] (EE) open /dev/dri/card0: No such file or directory
[    22.013] (WW) Falling back to old probe method for modesetting
[    22.013] (EE) open /dev/dri/card0: No such file or directory
[    22.013] (EE) Screen 0 deleted because of no matching config section.
[    22.013] (II) UnloadModule: "modesetting"
[    22.013] (EE) Device(s) detected, but none match those in the config file.
[    22.013] (EE)
Fatal server error:
[    22.013] (EE) no screens found(EE)
[    22.013] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
 for help.
[    22.013] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    22.013] (EE)
[    22.015] (EE) Server terminated with error (1). Closing log file.

I assume it conflicts the previous driver, or needs some configuration to detect my screen? No idea. I don't even know if `nvidia-utils` is the proprietary driver lol
Anyway, I promise no more spam, this is the final question pretty much: How to make `nvidia-utils` work?

Re: NVIDIA Drivers installation (Vulkan)

Reply #9
I tried to uninstall nouveau, so as `nvidia-utils` works, but I don't seem to find any such package.
Even did `sudo pacman -Q | grep nouveau` and I got nothing.
`sudo pacman -Q | grep xorg` returns:
Quote
xorg-fonts-encodings 1.0.6-1
xorg-server 21.1.4-1
xorg-server-common 21.1.4-1
xorg-setxkbmap 1.3.3-1
xorg-util-macros 1.19.3-1
xorg-xauth 1.1.2-1
xorg-xbacklight 1.2.3-3
xorg-xdpyinfo 1.3.3-4
xorg-xinit 1.4.1-3
xorg-xkbcomp 1.4.5-1
xorg-xmodmap 1.0.11-1
xorg-xprop 1.2.5-1
xorg-xrandr 1.5.1-2.1
xorg-xrdb 1.2.1-1
xorg-xset 1.2.4-3
xorg-xwininfo 1.1.5-3
xorgproto 2022.2-1

Btw, I don't have the file `/etc/modprobe.d/blacklist.conf`
Though it is blacklisted at `/usr/lib/modprobe.d/nvidia-utils.conf`

Running `nvidia-xconfig` returns:
Quote
WARNING: Unable to locate/open X configuration file.

WARNING: Unable to parse X.Org version string.

ERROR: Unable to write to directory '/etc/X11'
Did `sudo nvidia-xconfig` which still gave warning but "new X configuration file written to `/etc/X11/xorg.conf`"
This is the content of `xorg.conf`:
Code: [Select]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 515.65.01


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

tl;dr of this thread: How do I find and delete/blacklist/disable nouveau?

Re: NVIDIA Drivers installation (Vulkan)

Reply #10
Ok solved it; just opened software which requires Vulkan (Godot)
Posting this to help any1 stumbling into this post, who wants a vulkan renderer for GTX 1050 Ti which uses nouveau

1. Install the following packages:
nvidia, nvidia-settings, nvidia-utils, opencl-nvidia, vulkan-icd-loader, vulkan-tools, vulkan-headers, vulkan-validation-layers

2. Don't close the pc (otherwise dwm should be broken for tty1)

3. Type `sudo nvidia-xconfig` twice (first time it doesn't detect path so it creates half-finished file or sth. Just type it once and you will see an error, so just type it twice)

4. Do all 3 steps of this link https://bbs.archlinux.org/viewtopic.php?pid=1103093#p1103093

Supplementary links to have in mind: https://wiki.archlinux.org/title/NVIDIA, https://wiki.archlinux.org/title/Nouveau (gotta ensure nouveau is blacklisted, just ctrl+f blacklist)

5. Reboot. Should work without any errors. Enjoy Vulkan renderer :) at the trade of NVIDIA spyware :(