radeonkms on Radeon R7 240 with FreeBSD 14.4 - all is not well

Since amdgpu only gave me software rendering (see this thread) on my main workstation which has a Sapphire Radeon R7 240 4G DDR3 graphics card, I thought I should try radonkms and see if that was better.
Code:
root@kg-core2:~ # pciconf -lv | grep -A 4 vga
vgapci0@pci0:7:0:0:    class=0x030000 rev=0xc7 hdr=0x00 vendor=0x1002 device=0x6617 subvendor=0x1da2 subdevice=0xe263
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Oland LE [Radeon R7 240]'
    class      = display
    subclass   = VGA
running FreeBSD 14.4
Code:
root@kg-core2:~ # freebsd-version -ku
14.4-RELEASE-p8
14.4-RELEASE-p8
root@kg-core2:~ # uname -a
FreeBSD kg-core2.kg4.no 14.4-RELEASE-p8 FreeBSD 14.4-RELEASE-p8 releng/14.4-n273754-3de2d29b088e GENERIC amd64
and with these relevant packages
Code:
root@kg-core2:~ # pkg info gpu-firmware\*
gpu-firmware-amd-kmod-oland-20260519.1404000
gpu-firmware-radeon-kmod-oland-20260519.1404000
root@kg-core2:~ # pkg info drm\*kmod\*
drm-61-kmod-6.1.128.1404000_10
so I switched to radeonkms and rebooted. And now I have hw rendering
Code:
tingo@kg-core2:~ $ glxinfo -B
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device:  (radeonsi, oland, ACO, DRM 2.50, 14.4-RELEASE-p8) (0x6617)
    Version: 26.1.3
    Accelerated: yes
    Video memory: 4096MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 2116 MB, largest block: 2116 MB
    VBO free aux. memory - total: 2010 MB, largest block: 2010 MB
    Texture free memory - total: 2116 MB, largest block: 2116 MB
    Texture free aux. memory - total: 2010 MB, largest block: 2010 MB
    Renderbuffer free memory - total: 2116 MB, largest block: 2116 MB
    Renderbuffer free aux. memory - total: 2010 MB, largest block: 2010 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4096 MB
    Total available memory: 6139 MB
    Currently available dedicated video memory: 2116 MB
OpenGL vendor string: AMD
OpenGL renderer string:  (radeonsi, oland, ACO, DRM 2.50, 14.4-RELEASE-p8)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 26.1.3
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 26.1.3
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 26.1.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
which is good.
But - all is not well. From /var/log/messages:
Code:
Aug  2 12:23:53 kg-core2 kernel: drmn0: offset 0x0 is in reserved area 0x800000
Aug  2 12:23:53 kg-core2 syslogd: last message repeated 27 times
Aug  2 12:23:53 kg-core2 kernel: drmn0: offset 0x100000 is in reserved area 0x800000
Aug  2 12:23:53 kg-core2 syslogd: last message repeated 207 times
Aug  2 12:23:53 kg-core2 kernel: drmn0: offset 0x0 is in reserved area 0x800000
Aug  2 12:23:53 kg-core2 syslogd: last message repeated 3 times
Aug  2 12:23:53 kg-core2 kernel: drmn0: offset 0x100000 is in reserved area 0x800000
Aug  2 12:23:53 kg-core2 syslogd: last message repeated 1 times
Aug  2 12:23:53 kg-core2 kernel: drmn0: bo 0xfffff8088e08e000 va 0x%010Lx conflict with (bo %p 0x%010lx 0x%010lx)
Aug  2 12:23:53 kg-core2 kernel: drmn0: bo 0xfffff8088e08e800 va 0x%010Lx conflict with (bo %p 0x%010lx 0x%010lx)
Aug  2 12:23:53 kg-core2 syslogd: last message repeated 7 times
Aug  2 12:23:53 kg-core2 kernel: drmn0: bo 0xfffff8088e065800 va 0x%010Lx conflict with (bo %p 0x%010lx 0x%010lx)
Aug  2 12:23:53 kg-core2 syslogd: last message repeated 7 times
Aug  2 12:23:53 kg-core2 kernel: drmn0: offset 0x0 is in reserved area 0x800000
Aug  2 12:23:53 kg-core2 syslogd: last message repeated 7 times
Aug  2 12:23:53 kg-core2 kernel: drmn0: bo 0xfffff8088e065800 va 0x%010Lx conflict with (bo %p 0x%010lx 0x%010lx)
Aug  2 12:23:53 kg-core2 kernel: drmn0: bo 0xfffff8084a071c00 va 0x%010Lx conflict with (bo %p 0x%010lx 0x%010lx)
Aug  2 12:23:53 kg-core2 syslogd: last message repeated 35 times
Aug  2 12:23:53 kg-core2 kernel: drmn0: bo 0xfffff808b10be000 va 0x%010Lx conflict with (bo %p 0x%010lx 0x%010lx)
Aug  2 12:23:53 kg-core2 syslogd: last message repeated 46 times
Aug  2 12:23:53 kg-core2 kernel: drmn0: bo 0xfffff8084a071c00 va 0x%010Lx conflict with (bo %p 0x%010lx 0x%010lx)
Aug  2 12:23:53 kg-core2 syslogd: last message repeated 1 times
Aug  2 12:23:53 kg-core2 kernel: drmn0: bo 0xfffff8084a071800 va 0x%010Lx conflict with (bo %p 0x%010lx 0x%010lx)
Aug  2 12:23:53 kg-core2 syslogd: last message repeated 23 times
Aug  2 12:24:10 kg-core2 kernel: pid 2044 (firefox), jid 0, uid 1001: exited on signal 11 (core dumped)
Aug  2 12:25:23 kg-core2 kernel: drmn0: offset 0x0 is in reserved area 0x800000
Aug  2 12:25:23 kg-core2 syslogd: last message repeated 13 times
Aug  2 12:25:23 kg-core2 kernel: drmn0: offset 0x40000 is in reserved area 0x800000
Aug  2 12:25:23 kg-core2 syslogd: last message repeated 5 times
and firefox crashes with graphics related "out of memory" messages (on std output if I run it from a shell) unless I run it in safe mode. And safe mode means no extensions, so I can't do that.

So now I have to replace the graphics card with one that has fans on it....
 
I do not have a dog running in this event.

My very limited experience with installing a 'Nix on my i7-870 and Radeon 4770 was ugly at best.
It crashed 100% on install on Mint, Deb 12 and Deb 13.
It installs and runs perfectly MX Linux XFCE with the AHS and Trixie flavors.
Apparently there are significant differences with 4770 support in different distros.

I am currently rebuilding to dual SSD, dual boot for MX Linux and Win10.
Radeon 4770 is replaced by ASUS TUF 4060ti.
 
Back
Top