Haiku ❤ Nvidia (porting Nvidia driver for Turing+ GPUs)

KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter
KERN: NVRM: GPU 0000:01:00.0: RmSetupRegisters for 0x10de:0x1f82
KERN: NVRM: GPU 0000:01:00.0: pci config info:
KERN: NVRM: GPU 0000:01:00.0: registers look like: 0xf6000000 0x1000000
KERN: NVRM: GPU 0000:01:00.0: fb looks like: 0xe0000000 0x10000000
KERN: NVRM: GPU 0000:01:00.0: Successfully mapped framebuffer and registers
KERN: NVRM: GPU 0000:01:00.0: final mappings:
KERN: NVRM: GPU 0000:01:00.0: regs: 0xf6000000 0x1000000 0x0xffffffffa3000000
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: NVRM: GPU 0000:01:00.0: PCI config space reports GPU is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is primary UEFI console device
KERN: NVRM: PBI is not supported for GPU 0000:01:00.0
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: NVRM: GPU 0000:01:00.0: Tearing down registers
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter
KERN: NVRM: GPU 0000:01:00.0: RmSetupRegisters for 0x10de:0x1f82
KERN: NVRM: GPU 0000:01:00.0: pci config info:
KERN: NVRM: GPU 0000:01:00.0: registers look like: 0xf6000000 0x1000000
KERN: NVRM: GPU 0000:01:00.0: fb looks like: 0xe0000000 0x10000000
KERN: NVRM: GPU 0000:01:00.0: Successfully mapped framebuffer and registers
KERN: NVRM: GPU 0000:01:00.0: final mappings:
KERN: NVRM: GPU 0000:01:00.0: regs: 0xf6000000 0x1000000 0x0xffffffffa2800000
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: NVRM: GPU 0000:01:00.0: PCI config space reports GPU is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is primary UEFI console device
KERN: NVRM: PBI is not supported for GPU 0000:01:00.0
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: NVRM: GPU 0000:01:00.0: Tearing down registers
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter
KERN: NVRM: GPU 0000:01:00.0: RmSetupRegisters for 0x10de:0x1f82
KERN: NVRM: GPU 0000:01:00.0: pci config info:
KERN: NVRM: GPU 0000:01:00.0: registers look like: 0xf6000000 0x1000000
KERN: NVRM: GPU 0000:01:00.0: fb looks like: 0xe0000000 0x10000000
KERN: NVRM: GPU 0000:01:00.0: Successfully mapped framebuffer and registers
KERN: NVRM: GPU 0000:01:00.0: final mappings:
KERN: NVRM: GPU 0000:01:00.0: regs: 0xf6000000 0x1000000 0x0xffffffffa3000000
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: NVRM: GPU 0000:01:00.0: PCI config space reports GPU is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is primary UEFI console device
KERN: NVRM: PBI is not supported for GPU 0000:01:00.0
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: NVRM: GPU 0000:01:00.0: Tearing down registers
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter
KERN: NVRM: GPU 0000:01:00.0: RmSetupRegisters for 0x10de:0x1f82
KERN: NVRM: GPU 0000:01:00.0: pci config info:
KERN: NVRM: GPU 0000:01:00.0: registers look like: 0xf6000000 0x1000000
KERN: NVRM: GPU 0000:01:00.0: fb looks like: 0xe0000000 0x10000000
KERN: NVRM: GPU 0000:01:00.0: Successfully mapped framebuffer and registers
KERN: NVRM: GPU 0000:01:00.0: final mappings:
KERN: NVRM: GPU 0000:01:00.0: regs: 0xf6000000 0x1000000 0x0xffffffffa3000000
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: NVRM: GPU 0000:01:00.0: PCI config space reports GPU is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is primary UEFI console device
KERN: NVRM: PBI is not supported for GPU 0000:01:00.0
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: NVRM: GPU 0000:01:00.0: Tearing down registers
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter
KERN: NVRM: GPU 0000:01:00.0: RmSetupRegisters for 0x10de:0x1f82
KERN: NVRM: GPU 0000:01:00.0: pci config info:
KERN: NVRM: GPU 0000:01:00.0: registers look like: 0xf6000000 0x1000000
KERN: NVRM: GPU 0000:01:00.0: fb looks like: 0xe0000000 0x10000000
KERN: NVRM: GPU 0000:01:00.0: Successfully mapped framebuffer and registers
KERN: NVRM: GPU 0000:01:00.0: final mappings:
KERN: NVRM: GPU 0000:01:00.0: regs: 0xf6000000 0x1000000 0x0xffffffffa3800000
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: NVRM: GPU 0000:01:00.0: PCI config space reports GPU is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is primary UEFI console device
KERN: NVRM: PBI is not supported for GPU 0000:01:00.0
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: NVRM: GPU 0000:01:00.0: Tearing down registers
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter
KERN: NVRM: GPU 0000:01:00.0: RmSetupRegisters for 0x10de:0x1f82
KERN: NVRM: GPU 0000:01:00.0: pci config info:
KERN: NVRM: GPU 0000:01:00.0: registers look like: 0xf6000000 0x1000000
KERN: NVRM: GPU 0000:01:00.0: fb looks like: 0xe0000000 0x10000000
KERN: NVRM: GPU 0000:01:00.0: Successfully mapped framebuffer and registers
KERN: NVRM: GPU 0000:01:00.0: final mappings:
KERN: NVRM: GPU 0000:01:00.0: regs: 0xf6000000 0x1000000 0x0xffffffffa3800000
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: NVRM: GPU 0000:01:00.0: PCI config space reports GPU is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is not primary VGA
KERN: NVRM: GPU 0000:01:00.0: is primary UEFI console device
KERN: NVRM: PBI is not supported for GPU 0000:01:00.0
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: NVRM: GPU 0000:01:00.0: Tearing down registers

So kernel driver started successfully. So it may be NVKMS/accelerant problem.

Can you paste syslog somewhere? Or at least lines starting from [!], nvidia_gsp:, NvAccelerant::.

Also what display connector is used (VGA, DVI, DisplayPort, HDMI etc.)?

My display is connected to DisplayPort with a VGA adapter

~> cat /boot/system/var/log/syslog | grep [!]
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: [!] os_dbg_breakpoint
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: [!] nvidia_gsp: No such device
KERN: vesa: vesa_init() completed successfully!
KERN: hda: try without mixer!
KERN: hda: build tree!
KERN: hda: Failed to setup new audio function group (No such device)!
KERN: hda: build tree!
KERN: VESA compatible graphics!
KERN: Welcome to the Haiku boot loader!
KERN: new child partition!
KERN: new child partition!
KERN: new child partition!
KERN: 0x001013c0 Partition::Scan(): scan child 0x00105610 (start = 32256, size = 274880600064, parent = 0x001013c0)!
KERN: 0x001013c0 Partition::Scan(): scan child 0x001056e8 (start = 274880632320, size = 274877906944, parent = 0x001013c0)!
KERN: 0x001013c0 Partition::Scan(): scan child 0x00105850 (start = 549758958592, size = 149999846400, parent = 0x001013c0)!
KERN: new child partition!
KERN: 0x00105850 Partition::Scan(): scan child 0x00105ae8 (start = 549758959616, size = 149999845376, parent = 0x00105850)!
KERN: Welcome to kernel debugger output!
KERN: Welcome to syslog debug output!
KERN: ACPI: ASF! 0x00000000DBFFF300 0000A5 (v32 INTEL HCG 00000001 TFSM 000F4240)
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: [!] os_dbg_breakpoint
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: [!] nvidia_gsp: No such device
KERN: VESA compatible graphics!
KERN: Welcome to the Haiku boot loader!
KERN: new child partition!
KERN: new child partition!
KERN: new child partition!
KERN: 0x001013c0 Partition::Scan(): scan child 0x00105610 (start = 32256, size = 274880600064, parent = 0x001013c0)!
KERN: 0x001013c0 Partition::Scan(): scan child 0x001056e8 (start = 274880632320, size = 274877906944, parent = 0x001013c0)!
KERN: 0x001013c0 Partition::Scan(): scan child 0x00105850 (start = 549758958592, size = 149999846400, parent = 0x001013c0)!
KERN: new child partition!
KERN: 0x00105850 Partition::Scan(): scan child 0x00105ae8 (start = 549758959616, size = 149999845376, parent = 0x00105850)!
KERN: Welcome to kernel debugger output!
KERN: Welcome to syslog debug output!
KERN: ACPI: ASF! 0x00000000DBFFF300 0000A5 (v32 INTEL HCG 00000001 TFSM 000F4240)
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: [!] os_dbg_breakpoint
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: [!] nvidia_gsp: No such device
KERN: VESA compatible graphics!
KERN: Welcome to the Haiku boot loader!
KERN: new child partition!
KERN: new child partition!
KERN: new child partition!
KERN: 0x001013c0 Partition::Scan(): scan child 0x00105610 (start = 32256, size = 274880600064, parent = 0x001013c0)!
KERN: 0x001013c0 Partition::Scan(): scan child 0x001056e8 (start = 274880632320, size = 274877906944, parent = 0x001013c0)!
KERN: 0x001013c0 Partition::Scan(): scan child 0x00105850 (start = 549758958592, size = 149999846400, parent = 0x001013c0)!
KERN: new child partition!
KERN: 0x00105850 Partition::Scan(): scan child 0x00105ae8 (start = 549758959616, size = 149999845376, parent = 0x00105850)!
KERN: Welcome to kernel debugger output!
KERN: Welcome to syslog debug output!
KERN: ACPI: ASF! 0x00000000DBFFF300 0000A5 (v32 INTEL HCG 00000001 TFSM 000F4240)
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: [!] os_dbg_breakpoint
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: [!] nvidia_gsp: No such device
KERN: vesa: vesa_init() completed successfully!
KERN: VESA compatible graphics!
KERN: Welcome to the Haiku boot loader!
KERN: new child partition!
KERN: new child partition!
KERN: new child partition!
KERN: 0x00101480 Partition::Scan(): scan child 0x001056d0 (start = 32256, size = 274880600064, parent = 0x00101480)!
KERN: 0x00101480 Partition::Scan(): scan child 0x001057a8 (start = 274880632320, size = 274877906944, parent = 0x00101480)!
KERN: 0x00101480 Partition::Scan(): scan child 0x00105910 (start = 549758958592, size = 149999846400, parent = 0x00101480)!
KERN: new child partition!
KERN: 0x00105910 Partition::Scan(): scan child 0x00105ba8 (start = 549758959616, size = 149999845376, parent = 0x00105910)!
KERN: Welcome to kernel debugger output!
KERN: Welcome to syslog debug output!
KERN: ACPI: ASF! 0x00000000DBFFF300 0000A5 (v32 INTEL HCG 00000001 TFSM 000F4240)
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: [!] os_dbg_breakpoint
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: [!] nvidia_gsp: No such device
KERN: vesa: vesa_init() completed successfully!
KERN: VESA compatible graphics!
KERN: Welcome to the Haiku boot loader!
KERN: new child partition!
KERN: new child partition!
KERN: new child partition!
KERN: 0x00101480 Partition::Scan(): scan child 0x001056d0 (start = 32256, size = 274880600064, parent = 0x00101480)!
KERN: 0x00101480 Partition::Scan(): scan child 0x001057a8 (start = 274880632320, size = 274877906944, parent = 0x00101480)!
KERN: 0x00101480 Partition::Scan(): scan child 0x00105910 (start = 549758958592, size = 149999846400, parent = 0x00101480)!
KERN: new child partition!
KERN: 0x00105910 Partition::Scan(): scan child 0x00105ba8 (start = 549758959616, size = 149999845376, parent = 0x00105910)!
KERN: Welcome to kernel debugger output!
KERN: Welcome to syslog debug output!
KERN: ACPI: ASF! 0x00000000DBFFF300 0000A5 (v32 INTEL HCG 00000001 TFSM 000F4240)
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: PCI: Fixup invalid length from ACPI!
KERN: NVRM: nvAssertFailedNoLog: Assertion failed: clPcieReadWord() failed! @ chipset_pcie.c:3013
KERN: [!] os_dbg_breakpoint
KERN: NVRM: GPU 0000:01:00.0: RmInitAdapter succeeded!
KERN: [!] nvidia_gsp: No such device
KERN: vesa: vesa_init() completed successfully!

~> cat /boot/system/var/log/syslog | grep nvidia_gsp:
KERN: nvidia_gsp: module_init
KERN: nvidia_gsp: InitDriver
KERN: nvidia_gsp: [0/10]: no connected displays
KERN: nvidia_gsp: [1/10]: no connected displays
KERN: nvidia_gsp: [2/10]: no connected displays
KERN: nvidia_gsp: [3/10]: no connected displays
KERN: nvidia_gsp: [4/10]: no connected displays
KERN: nvidia_gsp: [5/10]: no connected displays
KERN: nvidia_gsp: [6/10]: no connected displays
KERN: nvidia_gsp: [7/10]: no connected displays
KERN: nvidia_gsp: [8/10]: no connected displays
KERN: nvidia_gsp: [9/10]: no connected displays
KERN: [!] nvidia_gsp: No such device
KERN: nvidia_gsp: module_init
KERN: nvidia_gsp: InitDriver
KERN: nvidia_gsp: [0/10]: no connected displays
KERN: nvidia_gsp: [1/10]: no connected displays
KERN: nvidia_gsp: [2/10]: no connected displays
KERN: nvidia_gsp: [3/10]: no connected displays
KERN: nvidia_gsp: [4/10]: no connected displays
KERN: nvidia_gsp: [5/10]: no connected displays
KERN: nvidia_gsp: [6/10]: no connected displays
KERN: nvidia_gsp: [7/10]: no connected displays
KERN: nvidia_gsp: [8/10]: no connected displays
KERN: nvidia_gsp: [9/10]: no connected displays
KERN: [!] nvidia_gsp: No such device
KERN: nvidia_gsp: module_init
KERN: nvidia_gsp: InitDriver
KERN: nvidia_gsp: [0/10]: no connected displays
KERN: nvidia_gsp: [1/10]: no connected displays
KERN: nvidia_gsp: [2/10]: no connected displays
KERN: nvidia_gsp: [3/10]: no connected displays
KERN: nvidia_gsp: [4/10]: no connected displays
KERN: nvidia_gsp: [5/10]: no connected displays
KERN: nvidia_gsp: [6/10]: no connected displays
KERN: nvidia_gsp: [7/10]: no connected displays
KERN: nvidia_gsp: [8/10]: no connected displays
KERN: nvidia_gsp: [9/10]: no connected displays
KERN: [!] nvidia_gsp: No such device
KERN: nvidia_gsp: module_init
KERN: nvidia_gsp: InitDriver
KERN: nvidia_gsp: [0/10]: no connected displays
KERN: nvidia_gsp: [1/10]: no connected displays
KERN: nvidia_gsp: [2/10]: no connected displays
KERN: nvidia_gsp: [3/10]: no connected displays
KERN: nvidia_gsp: [4/10]: no connected displays
KERN: nvidia_gsp: [5/10]: no connected displays
KERN: nvidia_gsp: [6/10]: no connected displays
KERN: nvidia_gsp: [7/10]: no connected displays
KERN: nvidia_gsp: [8/10]: no connected displays
KERN: nvidia_gsp: [9/10]: no connected displays
KERN: [!] nvidia_gsp: No such device
KERN: nvidia_gsp: module_init
KERN: nvidia_gsp: InitDriver
KERN: nvidia_gsp: [0/10]: no connected displays
KERN: nvidia_gsp: [1/10]: no connected displays
KERN: nvidia_gsp: [2/10]: no connected displays
KERN: nvidia_gsp: [3/10]: no connected displays
KERN: nvidia_gsp: [4/10]: no connected displays
KERN: nvidia_gsp: [5/10]: no connected displays
KERN: nvidia_gsp: [6/10]: no connected displays
KERN: nvidia_gsp: [7/10]: no connected displays
KERN: nvidia_gsp: [8/10]: no connected displays
KERN: nvidia_gsp: [9/10]: no connected displays
KERN: [!] nvidia_gsp: No such device
KERN: nvidia_gsp: module_init
KERN: nvidia_gsp: InitDriver
KERN: nvidia_gsp: [0/10]: no connected displays
KERN: nvidia_gsp: [1/10]: no connected displays
KERN: nvidia_gsp: [2/10]: no connected displays
KERN: nvidia_gsp: [3/10]: no connected displays
KERN: nvidia_gsp: [4/10]: no connected displays
KERN: nvidia_gsp: [5/10]: no connected displays
KERN: nvidia_gsp: [6/10]: no connected displays
KERN: nvidia_gsp: [7/10]: no connected displays
KERN: nvidia_gsp: [8/10]: no connected displays
KERN: nvidia_gsp: [9/10]: no connected displays
KERN: [!] nvidia_gsp: No such device

~> cat /boot/system/var/log/syslog | grep NvAccelerant::
KERN: NvAccelerant::Init
KERN: NvAccelerant::Init
KERN: NvAccelerant::Init
KERN: NvAccelerant::Init
KERN: NvAccelerant::Init
KERN: NvAccelerant::Init

This looks like bug RTX 3070 TI, black screen. · Issue #8 · X547/nvidia-haiku · GitHub that DisplayPort do not work. Switching to HDMI should help.

I currently have no DisplayPort monitors at my home to investigate issue.

Hardware 3D acceleration still should work by the way even if modesetting failed.

3 Likes

I dug up an HDMI adapter, and now modesetting works! Though I still get this error when I try to run OpenGL demos or other accelerated programs

~> /boot/system/demos/GLTeapot
VideoStreamsWsi: vkEnumerateInstanceExtensionProperties
VideoStreamsWsi: vkEnumerateInstanceExtensionProperties
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
GLTeapot: ../haiku-git/src/system/libroot/posix/pthread/pthread_mutex.cpp:96:status_t __pthread_mutex_lock(pthread_mutex_t*, uint32, bigtime_t): mutex->owner == -1
Kill Thread

One thing i noted is the Guy was booting with legacy mode not uefi Mode. I don’t know if this is a problem per see or not.

I had the exact same error with with my GTX 1650 the first time after installing the driver and rebooting, but apps like GLTeapot started working with the expected crash after closing when I rebooted again, that other error hasn’t happened since. No idea what changed as it was a fresh install of 64 bit nightly on an external SSD connected via USB I used for testing.

I also installed the drivers on an existing installation of 64 bit nightly which uses legacy boot and it worked fine too with the same card. The SSD with the fresh install was UEFI so that seems to make no difference from what I could see.

Well i am booting using GPT(UEFI) not legacy MBR , and the GLTeapot does not crash(same video card GTX1650 maybe different vendor MSI).

Teapot: I get about 3000 FPS on the Ryzen 5 9600X with the default settings. :slight_smile:

(and my monitor is only 60Hz, so I won’t be able to enjoy it. :rofl: )

1 Like

Will this ever work intel or amd?

Not this one - it’s specfically nvidia’s open sourced driver that’s being used. X512 did previously do some work on Radeon cards though.

1 Like

Ref: Vulkan lavapipe software rendering is working on Haiku - #48 by X512

3 Likes

Not only this but RadeonGFX

Unfortunately when I try to boot with my RTX 2070 SUPER connected into whatever is preinstalled on Haiku, it hangs indefinitely on the step of actually launching the desktop, it just stays on the boot screen with all symbols illuminated. To get it to boot I had to remove it and use only the internal graphics adapter.

If this is not included in the main image yet (doesn’t seem like it is), how can I get it? I don’t have huge amounts of experience with Haiku in particular, though I am comfortable compiling stuff if there are instructions for it.

Are you using DisplayPort?

2 Likes

No, I am using HDMI. I’d like to use DisplayPort (both my GPU and screen support it), but I have no cable for it…
By the way, I got it to boot successfully with the card connected, using the failsafe video driver (selected in the spacebar-spam menu before bootup).

Also, with the default video driver and debug output enabled, it dumped a whole list of video modes as well as describing my screen as “1920x1080@74Hz”, indicating that it does know how to handle the screen. It just for whatever reason then hangs. When selecting the failsafe video driver and enabling debug output, there is no mention of any screen resolutions from what I could spot as the text was whizzing past.

I wanted to try out the driver but installing the hpkg it refused telling me libglvnd>=1.7.0-1 is needed. Where is that to be found?

In v0.0.1 binaries. libglvnd package is not changed in v0.0.2.

1 Like

So you mean I have to install first the 0.0.1 package then the 0.0.2 one?

Edit: Ah, I see now what you mean. In the 0.0.1 release on github there is an additional file missing from the 0.0.2 one. That’s what confused me.

I still can’t install it since it conflicts with mesa-22.0.5-3 . Asks me to deinstall mesa-22.0.5-3 . Does this driver fully replace Mesa (or rather, the OpenGL part of it)?