Thanks for the help and replies so far.

I've had my partners parents staying for the weekend so access to the PC has been limited.

So far I've tried:

10-HEAD from here: NetBSD 10 HEAD
10-BETA from here: NetBSD 10 BETA

Both of these images are coming up with a kernel panic, and don't reach the installer. I'm working from home on Wednesday so I'll take a picture of the screen and post it on here.

I'll also grab an image from NetBSD 10 Latest and try that one as well, as that was built 30/3 so is different to the other two.

Steve

joany Well here is the DMESG with my R9

$ fgrep amdgpu dmesg.txt
[ 1.013958] amdgpu0 at pci1 dev 0 function 0: ATI Technologies Radeon R9 FURY / NANO Series (rev. 0xc8)
[ 1.013958] amdgpu0: WARNING: power management not supported
[ 4.194838] amdgpu0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[ 4.194838] amdgpu0: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
[ 4.204831] [drm] amdgpu: 4096M of VRAM memory ready
[ 4.204831] [drm] amdgpu: 4096M of GTT memory ready.
[ 4.204831] amdgpu0: debug: amdgpu: using MSI/MSI-X.
[ 4.204831] amdgpu0: interrupting at msi6 vec 0 (amdgpu0)
[ 4.264830] {drm:netbsd:dce_v10_0_pageflip_irq+0xf2} amdgpu_crtc->pflip_status = 0 != AMDGPU_FLIP_SUBMITTED(2)
[ 4.264830] {drm:netbsd:dce_v10_0_pageflip_irq+0xf2} amdgpu_crtc->pflip_status = 0 != AMDGPU_FLIP_SUBMITTED(2)
[ 4.514831] amdgpufb0 at amdgpu0
[ 4.514831] [drm] Initialized amdgpu 3.36.0 20150101 for amdgpu0 on minor 0
[ 4.514831] amdgpufb0: framebuffer at 0xe0f96000, size 1920x1080, depth 32, stride 7680
[ 4.604830] {drm:netbsd:dce_v10_0_pageflip_irq+0xf2} amdgpu_crtc->pflip_status = 0 != AMDGPU_FLIP_SUBMITTED(2)
[ 4.674830] wsdisplay0 at amdgpufb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
$ 

This looks OK so far. Make sure the /dev/dri/card? and /dev/dri/renderD??? devices exist, then try the modesetting Xorg driver.

    rvp As root i reached X and neofetch displayed glorius R9 Fury

    More info will come
    7950 just gave crash or garbage grafics but i understand the tug of war bethwwn ATI and AMD drivers on that one

      a year later

      joany

      May I ask, how did you manage to make your R9 Fury work? I have an R9 Nano for which I built a custom kernel (NetBSD 10.0 release) with amdgpu enabled but the system crashes on boot if xdm is enabled. When disabled and I try to startx either as root or normal user, the system also crashes. Here is the relevant part of dmesg with the crash in the end when booting with xdm enabled if it gives any hint:

      `
      [ 2,695531] kern.module.path=/stand/amd64/10.0/modules
      [ 2,695531] [drm] initializing kernel modesetting (FIJI 0x1002:0x7300 0x1043:0x04A4 0xCA).
      [ 2,695531] [drm] register mmio base: 0xFCF00000
      [ 2,695531] [drm] register mmio size: 262144
      [ 2,695531] [drm] add ip block number 0 <vi_common>
      [ 2,695531] [drm] add ip block number 1 <gmc_v8_0>
      [ 2,695531] [drm] add ip block number 2 <tonga_ih>
      [ 2,695531] [drm] add ip block number 3 <gfx_v8_0>
      [ 2,695531] [drm] add ip block number 4 <sdma_v3_0>
      [ 2,695531] [drm] add ip block number 5 <powerplay>
      [ 2,695531] [drm] add ip block number 6 <dm>
      [ 2,695531] [drm] add ip block number 7 <uvd_v6_0>
      [ 2,695531] [drm] add ip block number 8 <vce_v3_0>
      [ 2,862141] ATOM BIOS: 115-C8820200-102
      [ 2,862141] [drm] UVD is enabled in physical mode
      [ 2,862141] [drm] VCE enabled in physical mode
      [ 2,862141] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
      [ 2,862141] amdgpu0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
      [ 2,862141] amdgpu0: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
      [ 2,862141] [drm] Detected VRAM RAM=4096M, BAR=256M
      [ 2,862141] [drm] RAM width 512bits HBM
      [ 2,862141] Zone kernel: Available graphics memory: 9007199253812078 KiB
      [ 2,862141] Zone dma32: Available graphics memory: 2097152 KiB
      [ 2,862141] [drm] amdgpu: 4096M of VRAM memory ready
      [ 2,862141] [drm] amdgpu: 4096M of GTT memory ready.
      [ 2,862141] [drm] GART: num cpu pages 262144, num gpu pages 262144
      [ 2,862141] [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
      [ 2,862141] amdgpu0: autoconfiguration error: error: amdgpu: failed to enable MSI
      [ 2,862141] amdgpu0: interrupting at irq 10 (amdgpu0)
      [ 3,038520] iwm0: hw rev 0x210, fw ver 22.361476.0, address d0:c6:37:38:71:b0
      [ 3,048320] [drm] Chained IB support enabled!
      [ 3,077719] hwmgr_sw_init smu backed is fiji_smu
      [ 3,077719] powerplay sw init successfully
      [ 3,087519] [drm] Found UVD firmware Version: 1.91 Family ID: 12
      [ 3,087519] [drm] UVD ENC is disabled
      [ 3,087519] [drm] Found VCE firmware Version: 37.2 Binary ID: 3
      [ 3,136517] Can't find requested voltage id in vdd_dep_on_sclk table
      [ 3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86 data: 408289520
      [ 3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86 data: 408289520
      [ 3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86 data: 408289520
      [ 3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86 data: 408289520
      [ 3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86 data: 408289520
      [ 3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 86 data: 408289520
      [ 3,156116] warning: [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
      [ 3,156116] [drm] Display Core initialized with v3.2.69!
      [ 3,156116] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 84 data: 0
      [ 3,156116] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84 data: 1
      [ 3,156116] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84 data: 0
      [ 3,185516] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
      [ 3,185516] [drm] Driver supports precise vblank timestamp query.
      [ 3,214914] [drm] UVD initialized successfully.
      [ 3,312911] [drm] VCE initialized successfully.
      [ 3,312911] amdgpufb0 at amdgpu0
      [ 3,312911] [drm] Initialized amdgpu 3.36.0 20150101 for amdgpu0 on minor 0
      [ 3,312911] amdgpufb0: framebuffer at 0xe0f96000, size 1920x1080, depth 32, stride 7680
      [ 3,312911] [SCALER]:resource_build_scaling_params: Viewport:
      [ 3,312911] height:1080 width:1920 x:0 y:0
      [ 3,312911] dst_rect:
      [ 3,312911] height:1080 width:1920 x:0 y:0
      [ 3,322711] [HW_AUDIO]:
      [ 3,322711] dce_aud_wall_dto_setup:Input::requested_pixel_clock_100Hz = 1485000calculated_pixel_clock_100Hz =1485000
      [ 3,322711] audio_dto_module = 1485000 audio_dto_phase =240000

      [ 3,322711] [HW_AUDIO]:
      [ 3,322711] dce110_se_setup_hdmi_audio:Input::requested_pixel_clock_100Hz = 1485000calculated_pixel_clock_100Hz = 1485000
      [ 3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 84 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84 data: 1
      [ 3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 37 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 37 data: 65537
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 40 data: 117901057
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 41 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 42 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 43 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 44 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 45 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 46 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 47 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 49 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 50 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 51 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 53 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 56 data: 1
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 56 data: 1
      [ 3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 55 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 55 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 55 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 55 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 58 data: 91827532
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 59 data: 11
      [ 3,322711] [HW_AUDIO]:
      [ 3,322711] AUDIO:az_configure: index: 4 data, 0xb, displayName SyncMaster:
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 60 data: 1431864734
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 61 data: 228103241
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 62 data: 1668184403
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 63 data: 1953718605
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 64 data: 29285
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 65 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 66 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 84 data: 17
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84 data: 16
      [ 3,322711] [HW_AUDIO]:AUDIO:read_indirect_azalia_reg: index: 84 data: 0
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84 data: 2147483649
      [ 3,322711] [HW_AUDIO]:AUDIO:write_indirect_azalia_reg: index: 84 data: 2147483648
      [ 3,322711] [HW_AUDIO]:
      [ 3,322711] ========= AUDIO:dce_aud_az_enable: index: 4 data: 0x80000000
      [ 3,322711] [SURFACE]😛ipe:0 0xffff85801348ccc8: addr hi:0xf4, addr low:0xf96000, src: 0, 0, 1920, 1080; dst: 0, 0, 1920, 1080;clip: 0, 0, 1920, 1080
      [ 3,322711] [SURFACE]😛ipe 0: width, height, x, y
      [ 3,322711] viewport:1920, 1080, 0, 0
      [ 3,322711] recout: 1920, 1080, 0, 0
      [ 3,342311] [SURFACE]😛ipe:0 0xffff85801348ccc8: addr hi:0xf4, addr low:0xf96000, src: 0, 0, 1920, 1080; dst: 0, 0, 1920, 1080;clip: 0, 0, 1920, 1080
      [ 3,342311] [SURFACE]😛ipe 0: width, height, x, y
      [ 3,342311] viewport:1920, 1080, 0, 0
      [ 3,342311] recout: 1920, 1080, 0, 0
      [ 3,352109] wsdisplay0 at amdgpufb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
      [ 3,352109] wsmux1: connecting to wsdisplay0
      [ 10,368692] wsdisplay0: screen 1 added (default, vt100 emulation)
      [ 10,368692] wsdisplay0: screen 2 added (default, vt100 emulation)
      [ 10,368692] wsdisplay0: screen 3 added (default, vt100 emulation)
      [ 10,368692] wsdisplay0: screen 4 added (default, vt100 emulation)
      [ 46,942227] panic: unlocking unlocked wait/wound mutex: 0xffff858023c90920
      [ 46,942227] cpu0: Begin traceback...
      [ 46,942227] vpanic() at netbsd:vpanic+0x183
      [ 46,942227] panic() at netbsd:panic+0x3c
      [ 46,942227] linux_ww_mutex_unlock() at netbsd:linux_ww_mutex_unlock+0x9e
      [ 46,942227] ttm_bo_release() at netbsd:ttm_bo_release+0xf3
      [ 46,942227] amdgpu_bo_unref() at netbsd:amdgpu_bo_unref+0x1d
      [ 46,942227] amdgpu_vm_free_table() at netbsd:amdgpu_vm_free_table+0x53
      [ 46,942227] amdgpu_vm_free_pts() at netbsd:amdgpu_vm_free_pts+0xeb
      [ 46,942227] amdgpu_vm_fini() at netbsd:amdgpu_vm_fini+0x270
      [ 46,942227] amdgpu_driver_postclose_kms() at netbsd:amdgpu_driver_postclose_kms+0x101
      [ 46,942227] drm_file_free() at netbsd:drm_file_free+0x1fb
      [ 46,942227] drm_close() at netbsd:drm_close+0x60
      [ 46,942227] closef() at netbsd:closef+0x58
      [ 46,942227] fd_close() at netbsd:fd_close+0x140
      [ 46,942227] sys_close() at netbsd:sys_close+0x22
      [ 46,942227] syscall() at netbsd:syscall+0x1fc
      [ 46,942227] --- syscall (number 6) ---
      [ 46,942227] netbsd:syscall+0x1fc:
      [ 46,942227] cpu0: End traceback...
      `

        Loong time since i tried my Fury, i was root on a beta release of NetBSD10

        Amd drivers and ATI drivers where mixed up. But NetBSD 10 should work with Fury.
        Check what chipset you have on your nano.

        r0ller

          joany

          Thanks for the quick response. In my case it also reports it as:
          amdgpu0 at pci9 dev 0 function 0: ATI Technologies Radeon R9 FURY / NANO Series (rev. 0xca)
          But do you happen to remember the trick? Was amdgpu enabled in your kernel and you copied over the radeon driver to the amdgpu's place? Or did you solve it without amdgpu in the kernel?

          Let me throw together something to test NetBSD 10 and my Fury

          Got my old rampage 3 gathering dust so i nice to give the old beast something to do

            My 7950 and my Fury does not work with generic 10.0
            I am not so skilled to recompile a kernal

            I have a 6870 but i think that uses the radeon driver and not amdgpu
            🙁

              joany

              Never mind and thanks anyway! But could you explain what you meant by this comment of yours?

              "Amd drivers and ATI drivers were mixed up."

              If you happen to remember, how you handled that, it'd also be a nice hint for me to go on resolving this issue.

                r0ller ATI cards
                Older cards uses the Radion driver

                AMD cards uses the amdgpu driver

                my 7950 was not playing nice because of that.

                my understanding was that this was fixed in NetBSD 10
                So your original question surprised me

                  12 days later

                  Tangential to this, if RDNA isn't important for you, for NetBSD 10 I have i3wm with picom transparency with all the tricks working with amdgpu AMD Powercolor Dragon RX 550 4GB ($80), 75Mhz Monitor Refresh, with no configuration needed. It's super slick for a BSD, uses 1.2GB RAM with Claws-Mail, 8 FF tabs, Alacritty/nuShell x3, and Pluma 3 asciidocs running, exceptional I think. i3 takes 143ms to start.

                  Worked more flawless than OBSD and is a recommended buy/value for many content creation, games, and raylib render spins with NetBSD 10.

                  So awesome you got the Fury R9 to work too, NetBSD 10 is really suprising me.

                  • Jay likes this.
                  a month later

                  In the end, I had to hack ww_mutex_unlock() in /usr/src/sys/external/bsd/drm2/linux/linux_ww_mutex.c to check if the mutex is already unlocked and simply return without doing anything. That was at least a remedy to the panic due to unlocking an unlocked mutex but I have no clue if that hack makes sense at all. After that the system could boot and I even managed to start x as a normal user but after a week or so it got frozen when starting it. It still worked as root but I won't use the box as a daily driver logged in as root. Firefox could only play youtube videos in black and white while it played normally when x was started as root. Another strange thing was that when booting the box, I first had to boot into single user mode, then reboot via cli and then boot as normal user. Otherwise it got frozen when amdgpu kicked in. So still no luck 🙁

                  • Jay likes this.
                  a month later

                  There have been recent checkins in CURRENT fixing things.
                  My equipment seems to work now

                  • Jay likes this.