Tiny Core Extensions > TCE Talk

gtk4 extension on armv7l (RaspberryPi)

<< < (3/4) > >>

Juanito:

--- Quote from: yvs on August 16, 2024, 12:34:50 PM ---Xorg works there with VC4 too

--- End quote ---

I just get a blank, but backlit, screen - if I ssh into the RPi3 there are no errors in Xorg.0.log.

What do you have in config.txt for Xorg-3d?

yvs:

--- Quote from: Juanito on August 16, 2024, 12:57:35 PM ---
--- Quote from: yvs on August 16, 2024, 12:34:50 PM ---Xorg works there with VC4 too

--- End quote ---

I just get a blank, but backlit, screen - if I ssh into the RPi3 there are no errors in Xorg.0.log.

What do you have in config.txt for Xorg-3d?

--- End quote ---

vc4-fkms-v3d

p.s. it was already discussed some time ago
https://forum.tinycorelinux.net/index.php/topic,27066.msg174556.html#msg174556

Paul_123:
Juanito,

Hard to say what "depreciated means".   Obviously the overlay is still there, but we don't know what's going on in firmware.

Juanito:
To continue the troubleshooting, I installed piCore-15.x on an RPi4, which comes up 32-bit with a 64-bit kernel.

Using vc4-kms-v3d

Xorg-3d works without problems on the RPi4:
--- Code: ---glxinfo | grep Acc
    Accelerated: yes

inxi -b
System:
  Host: boxrpi4_32 Kernel: 6.6.34-piCore-v8 arch: aarch64 bits: 64
  Desktop: FLWM v: N/A Distro: piCore 15.0
Machine:
  Type: ARM System: Raspberry Pi 4 Model B Rev 1.2 details: N/A rev: c03112
    serial: 100000002f7ed527
CPU:
  Info: quad core Model N/A [MCP] speed (MHz): avg: 1000 min/max: 600/1500
Graphics:
  Device-1: bcm2711-hdmi0 driver: vc4_hdmi v: N/A
  Device-2: bcm2711-hdmi1 driver: vc4_hdmi v: N/A
  Device-3: bcm2711-vc5 driver: vc4_drm v: N/A
  Display: server: X.org driver: X: loaded: modesetting dri: vc4
    gpu: vc4-drm,vc4_crtc,vc4_dpi,vc4_dsi,vc4_firmware_kms,vc4_hdmi,vc4_hvs,vc4_txp,vc4_v3d,vc4_vec
    resolution: <missing: xdpyinfo/xrandr> resolution: 3840x2160
  API: OpenGL v: 3.1 vendor: broadcom mesa v: 24.1.4 renderer: V3D 4.2.14
--- End code ---
..and gtk4-widget-factory is noticeably quicker.

After modifying the symlink in /usr/local/share/vulkan/icd.d from broadcom_icd.armv7l.json to broadcom_icd.armv8.json, vulkan works:
--- Code: ---vulkaninfo
...
=================                                       
Presentable Surfaces:                                               
=====================                                                 
GPU id : 0 (V3D 4.2.14):                                             
        Surface types: count = 2                                     
                VK_KHR_xcb_surface                                   
                VK_KHR_xlib_surface
...
Device Properties and Extensions:                                   
=================================                     
GPU0:                                         
VkPhysicalDeviceProperties:                                                     
---------------------------                                         
        apiVersion     = 4202774 (1.2.278)                           
        driverVersion  = 100667396 (0x6001004)                       
        vendorID       = 0x14e4                                     
        deviceID       = 0xbe485fd3                                 
        deviceType     = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU         
        deviceName     = V3D 4.2.14
--- End code ---

I couldn't test gtk4 with vulkan because:
--- Code: ---GSK_RENDERER=help gtk4-widget-factory
...
  vulkan - Disabled during GTK build
--- End code ---
I'll have to check what happened there.

Juanito:
wayland/weston is also working with the gpu:
--- Code: ---XDG_RUNTIME_DIR=/run/user/1001 weston-launch -- --log=log
grep -i gpu log
GPU id : 0 (V3D 4.2.14):
..
GPU0:
        deviceType     = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version