Skip to content

Testing yanghaku's DRM patch for cache coherency on various graphics cards #764

@geerlingguy

Description

@geerlingguy

I wanted to consolidate some of my testing into a single issue, as I'd like to see how well the simple fix from #756 works for various graphics cards.

Test Setup

I have a Raspberry Pi 500+, and test graphics cards inside this JMT M.2 M-Key to OCuLink eGPU dock (model DOCK-OC4), using a chenyang SFF-8611 OCuLink cable. Photo of that part of the setup below:

Image

For cards with HDMI and DisplayPort outputs, I plug HDMI directly into my 4K display. For cards with only DisplayPort, I plug DisplayPort directly into my 4K display.

I'll leave further details in the comments, but from a high level, here are cards that have been tested under Raspberry Pi OS rpi-6.15.y with that patch applied (click on the card name to go to the specific GitHub issue with more details on that card):

AMD (amdgpu)

Card glmark2 vkmark GravityMark Notes
AMD Radeon RX 9070 XT 16GB 8151 14946 56944 Required newer version of Mesa
AMD Radeon RX 7900 XT 20GB 8011 14319 65809 Everything runs smoothly
AMD Radeon Pro W7700 16GB 7589 12929 40782 Everything runs smoothly
AMD Radeon RX 7600 8GB 8074 14790 27861 Everything runs smoothly
AMD Radeon RX 6700 XT 12GB 7841 14855 36455 GUI choppy until restarting lightdm
AMD Radeon RX 6500 XT 8GB 7668 14185 14865 GUI choppy until restarting lightdm
AMD Radeon RX 580 8GB 7613 12753 12103 Everything runs smoothly
AMD Radeon RX 460 4GB 7269 10089 5739 Everything runs smoothly

AMD (radeon)

Card glmark2 vkmark GravityMark Notes
AMD R5 230 2GB 356 563 DNF Only X11 works, see linked issue
AMD Radeon HD 7470 1GB 539 230 DNF Only X11 works, see linked issue

Intel Arc

Card glmark2 vkmark GravityMark Notes
Intel B580 Sparkle 12GB 5622 10133 55209 Artifacting, but better than before; see #695
Intel Arc A750 4223 12313 25462 Artifacting, but better than before; see #510

Nvidia RTX / GTX

Card glmark2 vkmark GravityMark Notes
Nvidia RTX A4000 - - - Get error dump on swiotlb_map
Nvidia GeForce GTX 750 Ti - - - Get error dump on swiotlb_map

Commands used (representative example):

# glmark2
$ DISPLAY=:0 glmark2-es2-wayland 
=======================================================
    glmark2 2023.01
=======================================================
    OpenGL Information
    GL_VENDOR:      AMD
    GL_RENDERER:    AMD Radeon RX 6500 XT (radeonsi, navi24, LLVM 15.0.6, DRM 3.63, 6.15.11-v8-16k+)
    GL_VERSION:     OpenGL ES 3.2 Mesa 24.2.8-1~bpo12+rpt4
    Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
    Surface Size:   800x600 windowed
=======================================================

# vkmark
$ DISPLAY=:0 build/src/vkmark --winsys-dir=build/src --data-dir=data
=======================================================
    vkmark 2025.01
=======================================================
    Vendor ID:      0x1002
    Device ID:      0x743F
    Device Name:    AMD Radeon RX 6500 XT (RADV NAVI24)
    Driver Version: 100671496
    Device UUID:    3ab6f656c2fadb58e7866ca2641bd4d6
=======================================================

# GravityMark
$ sudo ./GravityMark_1.88_arm64.run
# (Use defaults: 200k asteroids, 1600x900, windowed, Vulkan)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions