<wens>
it would be possible to make the drm driver more flexible, to have one output have 4 layers, and the other only have 2, but then it would be up to userspace to figure out what configuration is actually usable
mrueg has joined #lima
chewitt has joined #lima
chewitt has quit [Quit: Adios!]
jrmuizel has joined #lima
jrmuizel has quit [Read error: Connection reset by peer]
jrmuizel has joined #lima
Barada has quit [Quit: Barada]
monstr has quit [Remote host closed the connection]
adjtm has quit [Ping timeout: 258 seconds]
<enunes>
anarsoul: nice fix with the out_sync, how did you debug it to figure out that that was missing?
<enunes>
I also stared at the drm_sched code and lima implementation for a day and tried tracing multiple fences etc but that didn't show up
<anarsoul>
enunes: accidentally
<anarsoul>
I just noticed that lima_submit_wait() doesn't work
<anarsoul>
I tried to use lima_submit_wait() for job serialization and it was supposed to work but it didn't
<anarsoul>
replaced it with lima_bo_wait() - and it worked
<anarsoul>
so it suggested that lima_submit_wait() is broken
<enunes>
ah, makes sense
<enunes>
what is still wrong with xorg, just bad performance now?
adjtm has joined #lima
dllud_ has joined #lima
dllud has quit [Ping timeout: 245 seconds]
dllud_ is now known as dllud
drod has joined #lima
<anarsoul>
enunes: X11 doesn't wait for job to complete before submitting new one
<anarsoul>
so it submits hundreds of jobs to repaint cursor in a second
<anarsoul>
we can either try fixing X11 or implement job throttling (that's what vc4 does)
<anarsoul>
well, technically for pinebook we can use two patches from Ondrej to mark one of UI planes as cursor
<anarsoul>
but it's trickier for HDMI that has only 1 UI plane. There's a switch to move some UI planes from mixer0 (LCD) to mixer1 (HDMI) but it's not implemented atm
<wens>
anarsoul: sounds broken # hundreds of jobs to repaint cursor
<anarsoul>
wens: wanna fix X11? :)
<anarsoul>
wens: sending a job is cheap and it never waits for it to complete
* wens
sighs heavily
<anarsoul>
wens: the problem is that no one uses sw cursor
<anarsoul>
except poor guys who use allwinner boards
<anarsoul>
pretty much everyone else got hw cursor
<wens>
:(
<jernej>
Aifaik meson (amlogic) also doesn't expose hw cursor
<anarsoul>
well, we can try throttling in lima
<anarsoul>
that would require changing kernel driver though since currently we don't have information on what job it's working on
drod has quit [Ping timeout: 245 seconds]
drod has joined #lima
UnivrslSuprBox has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
UnivrslSuprBox has joined #lima
UnivrslSuprBox has quit [Client Quit]
UnivrslSuprBox has joined #lima
UnivrslSuprBox has quit [Client Quit]
UnivrslSuprBox has joined #lima
UnivrslSuprBox has quit [Client Quit]
UnivrslSuprBox has joined #lima
UnivrslSuprBox has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
UnivrslSuprBox has joined #lima
jrmuizel has quit [Remote host closed the connection]