<junari>
Hi. I have a g57 device, but it doesn't have the display output implemented on it yet. Because of this, the kernel disables the gpu related regulator. How can I verify that the gpu is working?
junari has quit [Ping timeout: 480 seconds]
junari has joined #panfrost
<CounterPillow>
If a necessary regulator for the GPU is getting turned off by a missing video output driver then the device tree is wrong and not declaring the dependency correctly. Either way, if the GPU shows up in /sys/class/drm as a `render` directory then at least the driver probed and initialised correctly.
Daanct12 has joined #panfrost
<junari>
Looks like I was wrong, I can't find any messages about disabling the gpu controller right now. In /sys/class/drm there are card0 and renderD128 that refer to gpu
<CounterPillow>
does `eglinfo | grep -i panfrost` show anything?
<CounterPillow>
kk, so the driver is both loaded and evidently userspace is fine talking to it. I'm not sure what's the currently accepted way of getting a picture out of the Linux graphics stack without a video output (I think OSMesa is no longer a thing?), but that would be the next step. Maybe you could `weston --renderer=gl --backend=vnc` and then VNC into it or something?
<CounterPillow>
maybe you could also `weston --renderer=gl --backend=headless` and then use `waypipe` to do it over ssh.
<junari>
weston --renderer=gl --backend=vnc - failed with "fatal: failed to create compositor backend"
<CounterPillow>
read the line above that error message
<CounterPillow>
>[03:25:49.448] The VNC backend requires a key and a certificate for TLS security (--vnc-tls-cert/--vnc-tls-key)
<junari>
With the headless option, I can see in nvtop that the gpu is in use. That's good
<junari>
okay, there is option --disable-transport-layer-security to disable tls
<junari>
I connected using vnc, thanks for the tip. But glmark2 still cannot initialize canvas
<junari>
But glmark2-wayland works!
Daanct12 has quit [Quit: WeeChat 4.6.3]
Daanct12 has joined #panfrost
<olivial>
junari: likely glmark2 doesn't work because weston doesn't enable xwayland by default. You can start it with '--xwayland' or stick 'xwayland=true` in the config to enable it
<junari>
olivial: yes, it works, thank you
Daanct12 has quit [Quit: WeeChat 4.6.3]
Daanct12 has joined #panfrost
warpme has joined #panfrost
rasterman has joined #panfrost
warpme is now known as Guest21538
<linkmauve>
junari, CounterPillow, you don’t need to run Weston on the board to use waypipe to display on your local computer, just use `waypipe ssh` and run any Wayland client over there.
Guest21538 has quit []
warpme has joined #panfrost
warpme is now known as Guest21550
ckeepax has quit [Quit: Smoke me a kipper I will be back for breakfast]
ckeepax has joined #panfrost
<junari>
linkmauve: Could you please explain what commands I should enter? On the pc side it should be waypipe ssh xyz@ip glmark2 (for example), and on the device side?
<linkmauve>
Exactly, and on the device side nothing, it will just work.
<linkmauve>
You just need to also have waypipe installed there.
Guest21550 has quit []
warpme has joined #panfrost
warpme is now known as Guest21553
Guest21553 is now known as warpme
warpme is now known as Guest21556
rasterman has quit [Quit: Gettin' stinky!]
junari has quit [Ping timeout: 480 seconds]
junari has joined #panfrost
lcagustini has joined #panfrost
Daanct12 has quit [Quit: WeeChat 4.6.3]
rasterman has joined #panfrost
Guest21556 has quit []
dsimic is now known as Guest21566
dsimic has joined #panfrost
Guest21566 has quit [Ping timeout: 480 seconds]
warpme has joined #panfrost
warpme is now known as Guest21567
Guest21567 has quit []
rasterman has quit [Quit: Gettin' stinky!]
cyrinux94907 has quit []
cyrinux94907 has joined #panfrost
cyrinux94907 has quit []
cyrinux94907 has joined #panfrost
lucas_ has joined #panfrost
lcagustini has quit [Ping timeout: 480 seconds]
karolherbst has quit [Read error: Connection reset by peer]