Hello, As per geerlingguy/sbc-reviews#62 (comment) i've moved the conversation to this repo.
Just got the time to test and debug sorry for the wait.
That being said as per my previous messages on that post, I've gotten the 7.0.0 mainline kernel booted on my radxa orion o6 alongside the required patches but have faced some trouble getting the board to poweroff/reboot or use the iGPU.
Pressing the power button or sending a shutdown/reboot command through linux "Works" but the board remains powered on until i forcefully hold the power button for a few seconds..
As for the iGPU, I haven't gotten it working with mesa? Vulkan claims to work? But i highly doubt it's actually using the iGPU because my dGPU is showing higher usage than normal (Which to me implies it's falling back to it)
Some misc logs:
DRI_PRIME=1 glmark2-wayland
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: Mesa
GL_RENDERER: Mali-G720 MC10 (Panfrost)
GL_VERSION: 3.1 Mesa 26.1.1-arch1.2
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 800x600 windowed
=======================================================
[build] use-vbo=false:wl_display#1: error 1: invalid arguments for wl_surface#17.attach
FPS: 562 FrameTime: 1.781 ms
=======================================================
glmark2 Score: 561
=======================================================
MESA_VK_DEVICE_SELECT=13b5:c8700008! vkcube
Selected WSI platform: wayland
WARNING: panvk is not a conformant Vulkan implementation, testing use only.
Selected GPU 0: Mali-G720 MC10, type: IntegratedGpu
vulkaninfo --summary
WARNING: [../mesa-26.1.2/src/amd/vulkan/radv_physical_device.c:2411] Code 0 : Device '/dev/dri/renderD128' is not using the AMDGPU kernel driver: Permission denied (VK_ERROR_INCOMPATIBLE_DRIVER)
WARNING: panvk is not a conformant Vulkan implementation, testing use only.
==========
VULKANINFO
==========
Vulkan Instance Version: 1.4.350
Instance Extensions: count = 26
-------------------------------
VK_EXT_acquire_drm_display : extension revision 1
VK_EXT_acquire_xlib_display : extension revision 1
VK_EXT_debug_report : extension revision 10
VK_EXT_debug_utils : extension revision 2
VK_EXT_direct_mode_display : extension revision 1
VK_EXT_display_surface_counter : extension revision 1
VK_EXT_headless_surface : extension revision 1
VK_EXT_layer_settings : extension revision 2
VK_EXT_surface_maintenance1 : extension revision 1
VK_EXT_swapchain_colorspace : extension revision 5
VK_KHR_device_group_creation : extension revision 1
VK_KHR_display : extension revision 23
VK_KHR_external_fence_capabilities : extension revision 1
VK_KHR_external_memory_capabilities : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2 : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2 : extension revision 1
VK_KHR_portability_enumeration : extension revision 1
VK_KHR_surface : extension revision 25
VK_KHR_surface_maintenance1 : extension revision 1
VK_KHR_surface_protected_capabilities : extension revision 1
VK_KHR_wayland_surface : extension revision 6
VK_KHR_xcb_surface : extension revision 6
VK_KHR_xlib_surface : extension revision 6
VK_LUNARG_direct_driver_loading : extension revision 1
Instance Layers: count = 12
---------------------------
VK_LAYER_INTEL_nullhw INTEL NULL HW 1.1.73 version 1
VK_LAYER_MESA_anti_lag Open-source implementation of the VK_AMD_anti_lag extension. 1.4.303 version 1
VK_LAYER_MESA_device_select Linux device selection layer 1.4.303 version 1
VK_LAYER_MESA_overlay Mesa Overlay layer 1.4.303 version 1
VK_LAYER_MESA_screenshot Mesa Screenshot layer 1.4.303 version 1
VK_LAYER_MESA_vram_report_limit Limit reported VRAM 1.4.303 version 1
VK_LAYER_RENDERDOC_Capture Debugging capture layer for RenderDoc 1.4.324 version 44
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_fossilize_arm64 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_32 Steam Overlay Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_64 Steam Overlay Layer 1.3.207 version 1
Devices:
========
GPU0:
apiVersion = 1.4.348
driverVersion = 26.1.2
vendorID = 0x1002
deviceID = 0x7480
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName = AMD Radeon RX 7600 XT (RADV NAVI33)
driverID = DRIVER_ID_MESA_RADV
driverName = radv
driverInfo = Mesa 26.1.2-arch1.1
conformanceVersion = 1.4.0.0
deviceUUID = 00000000-c300-0000-0000-000000000000
driverUUID = 414d442d-4d45-5341-2d44-525600000000
GPU1:
apiVersion = 1.4.348
driverVersion = 26.1.2
vendorID = 0x13b5
deviceID = 0xc8700008
deviceType = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
deviceName = Mali-G720 MC10
driverID = DRIVER_ID_MESA_PANVK
driverName = panvk
driverInfo = Mesa 26.1.2-arch1.1
conformanceVersion = 0.0.0.0
deviceUUID = b5130000-0800-70c8-0000-000000000000
driverUUID = 4ceacc34-58dd-c6fe-638d-a00ec59747ac
DRI_PRIME=1 glxinfo -B
name of display: :0
MESA: error: dri3_alloc_render_buffer:1653 xcb_dri3_pixmap_from_buffer[s] failed
MESA: error: X error: 11
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa (0x13b5)
Device: Mali-G720 MC10 (Panfrost) (0xffffffff)
Version: 26.1.2
Accelerated: yes
Video memory: 63846MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 3.1
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: Mesa
OpenGL renderer string: Mali-G720 MC10 (Panfrost)
OpenGL core profile version string: 3.1 Mesa 26.1.2-arch1.1
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
MESA: error: dri3_alloc_render_buffer:1653 xcb_dri3_pixmap_from_buffer[s] failed
MESA: error: X error: 11
OpenGL version string: 3.1 Mesa 26.1.2-arch1.1
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
MESA: error: dri3_alloc_render_buffer:1653 xcb_dri3_pixmap_from_buffer[s] failed
MESA: error: X error: 11
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 26.1.2-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
I'm running the recommended config as per the instructions on this git repo with minor changes such as disabling any debug related configs or unnecessary modules (Mainly networking and anything related for other SoCs like sophgo or the like)
I'm also running the CIX unlocked UEFI although i've also tried claystan's nightly UEFI which didn't change anything..
@amazingfate Any help would be appreciated.
Hello, As per geerlingguy/sbc-reviews#62 (comment) i've moved the conversation to this repo.
Just got the time to test and debug sorry for the wait.
That being said as per my previous messages on that post, I've gotten the 7.0.0 mainline kernel booted on my radxa orion o6 alongside the required patches but have faced some trouble getting the board to poweroff/reboot or use the iGPU.
Pressing the power button or sending a shutdown/reboot command through linux "Works" but the board remains powered on until i forcefully hold the power button for a few seconds..
As for the iGPU, I haven't gotten it working with mesa? Vulkan claims to work? But i highly doubt it's actually using the iGPU because my dGPU is showing higher usage than normal (Which to me implies it's falling back to it)
Some misc logs:
I'm running the recommended config as per the instructions on this git repo with minor changes such as disabling any debug related configs or unnecessary modules (Mainly networking and anything related for other SoCs like sophgo or the like)
I'm also running the CIX unlocked UEFI although i've also tried claystan's nightly UEFI which didn't change anything..
@amazingfate Any help would be appreciated.