ChanServ changed the topic of #lima to: Development channel for open source lima driver for ARM Mali4** GPUs - Kernel has landed in mainline, userspace driver is part of mesa - Logs at https://people.freedesktop.org/~cbrill/dri-log/index.php?channel=lima and https://freenode.irclog.whitequark.org/lima - Contact ARM for binary driver support!
adjtm has quit [Remote host closed the connection]
adjtm has joined #lima
<MoeIcenowy> anarsoul: maybe we should introduce some app blacklist like panfrost?
<MoeIcenowy> (although I doubt whether the panfrost blacklist should be removed
<anarsoul> I'd prefer to fix the issue in lima
<anarsoul> you can launch it with LIBGL_ALWAYS_SOFTWARE=1 if you want to use it with sw rendering
<anarsoul> MoeIcenowy: btw is your aosc build for pinebook available for download?
<MoeIcenowy> (this should be at America
<anarsoul> thanks
<MoeIcenowy> BTW I'm using the same version of chromium and AMDGPU driver on my PC
<MoeIcenowy> (my video card changed in the sequence of i965/iris, nouveau, amdgpu in this coronavirus outbreak
<MoeIcenowy> so should not be gallium issue
<MoeIcenowy> or cr issue
<anarsoul> I'm waiting for new thinkpads with ryzen 4000 to update my laptop
<anarsoul> MoeIcenowy: likely some format is not supported, I wonder if chromium now needs float textures
<anarsoul> MoeIcenowy: do you patch lima in order for gnome to work?
<anarsoul> or it's fine as is?
<MoeIcenowy> I used to patch it
<MoeIcenowy> but now seems that patchless is also okay
<anarsoul> gnome from archlinux crashes on lima for me :(
<anarsoul> same on panfrost
<MoeIcenowy> anarsoul: then try to patch TEXTURE_3D ?
<MoeIcenowy> and another crash source is my fix of invalidated resource
<MoeIcenowy> (I mean I fixed the crash source
<anarsoul> yeah, but your fix is already merged into mesa
<MoeIcenowy> BTW I regretted to release the image. I never tested it on Pinebook (only PineTab) and now I start to imagine how it struggles on Pinebook 1080p
<MoeIcenowy> (my own Pinebook runs KDE now
<anarsoul> btw
<anarsoul> try wayland session in KDE
<anarsoul> it should work better
<anarsoul> than X11
<MoeIcenowy> anarsoul: I need IM
<anarsoul> input method?
<MoeIcenowy> y
<anarsoul> it's not supported in wayland yet?
<MoeIcenowy> I think so
<anarsoul> it works with cyrillic layouts
<anarsoul> anyway it's worth comparing performance :)
<anarsoul> panfrost is noticeably faster on wayland
<anarsoul> I expect lima to be the same
<MoeIcenowy> Time for a rock'n'roll of Chromium on Panfrost
<MoeIcenowy> IT WORKS! (screaming)
<MoeIcenowy> maybe I need to make a MR to clean the app blacklist
<anarsoul> probably it breaks somewhere else :)
<anarsoul> so I guess it's missing format in lima?
<MoeIcenowy> maybe
<MoeIcenowy> or maybe I built a desktop GL chromium
<MoeIcenowy> as I seen "2.1" in the version string on Panfr
<anarsoul> that's fine, we're exposing desktop GL
<MoeIcenowy> we lack some desktop features
<anarsoul> yet it shouldn't fail due to some missing format
<MoeIcenowy> maybe I should try to drop ETC?
<MoeIcenowy> not the problem of ETC
<anarsoul> sure
<anarsoul> I thought you tried to downgrade chromium and it worked
<MoeIcenowy> anarsoul: run with `--with-gl=egl` works
<anarsoul> try capturing apitrace?
<MoeIcenowy> this enables the usage of GLES
<MoeIcenowy> the trace is totally nonsense
<anarsoul> also I'd suggest trying to add RGBX sRGB formats
<MoeIcenowy> maybe as a distro maker I should try to make it default to GLES on ARM
<MoeIcenowy> (it's also one of the policy now on my distro
<anarsoul> sure
<MoeIcenowy> but as a lima developer here
<anarsoul> yet fixing lima is better :)
<MoeIcenowy> should we really fix an issue of our fake GL non-ES?
<anarsoul> we just fake few features
<MoeIcenowy> adding SRGB for RGBX doesn't helps
<anarsoul> try adding traces to lima_format_pixel_supported() and lima_format_texel_supported()?
<anarsoul> or
<anarsoul> nah, nevermind
<anarsoul> just add traces :)
<anarsoul> MoeIcenowy: what gnome version do you use?
<MoeIcenowy> 3.24
<anarsoul> isn't it a bit old?
<anarsoul> or it's 3.34?
<MoeIcenowy> maybe 3.34
<MoeIcenowy> y 3.34
<MoeIcenowy> anarsoul: I added traces for formats not defined in the array
<MoeIcenowy> before the program fails
<MoeIcenowy> it tries to ask for pixel format 68
<anarsoul> and what format is it?
<MoeIcenowy> it's a difficulty to convert it back
<anarsoul> PIPE_FORMAT_R8G8B8_UNORM
<anarsoul> are you sure you're using up-to-date mesa?
<MoeIcenowy> we hit GL_RGB again?
<MoeIcenowy> I am sure
<MoeIcenowy> because it's up-to-date, RGB8 is not defined
<anarsoul> MoeIcenowy: GL_RGB will be promoted to RGBX
<MoeIcenowy> in any case?
<anarsoul> I think so
<anarsoul> MoeIcenowy: maybe they changed their workarounds in recent chromium releases?
<MoeIcenowy> anarsoul: I think we never trigger Cr's workarounds
<MoeIcenowy> it matches Mali blob strings
<MoeIcenowy> Our vendor is not "ARM"
<MoeIcenowy> it's "lima"
<anarsoul> maybe they relaxed it recently?
<MoeIcenowy> maybe our lowering fails in Mesa?
<MoeIcenowy> BTW unknown in this trace means not in lima_format_table
<MoeIcenowy> even those with NONE pixel format is considered known
<anarsoul> MoeIcenowy: probably you should print all the formats
<anarsoul> not only missing
<MoeIcenowy> full log
<anarsoul> 70 is PIPE_FORMAT_R8G8B8A8_UNORM
<MoeIcenowy> that sounds quite normal...
<anarsoul> yep
<anarsoul> so it failed for some different reason
<anarsoul> did you run out of CMA? :)
<MoeIcenowy> I think no
<anarsoul> try setting break points in lima_resource_create_scanout() and in lima_resource_create_bo()
<anarsoul> at the line where it returns NULL
<MoeIcenowy> breakpoint debugging chromium is nonsense
<MoeIcenowy> it's multi process
<anarsoul> add traces there
<anarsoul> 1920x959x4 is quite large so I wouldn't be surprised if you ran out of CMA
<anarsoul> how much CMA you have?
<MoeIcenowy> `Memory: 1789108K/2064384K available (11516K kernel code, 9648K rwdata, 7416K rodata, 896K init, 341K bss, 70476K reserved, 204800K cma-reserved)`
<anarsoul> I see
<anarsoul> that should be enough
<anarsoul> I'm out of ideas :)
<MoeIcenowy> anarsoul: I tried to add "return NULL" traces
<MoeIcenowy> no result
<MoeIcenowy> and I think running on GLES succeeds means no CMA issue
<anarsoul> btw 195 is PIPE_FORMAT_R8G8B8A8_SINT
<anarsoul> so I wonder if it needs SINT formats
<MoeIcenowy> SINT is beyond what we can process, right?
<anarsoul> yep
<MoeIcenowy> or do we have some lowering facility
<anarsoul> MoeIcenowy: I'm not sure whether it's actually the root cause
<anarsoul> or maybe just switch to firefox? :)
kaspter has joined #lima
camus1 has joined #lima
kaspter has quit [Ping timeout: 258 seconds]
camus1 is now known as kaspter
kaspter has quit [Remote host closed the connection]
kaspter has joined #lima
camus1 has joined #lima
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #lima
<MoeIcenowy> anarsoul: switch to GLES solves it.
<anarsoul> MoeIcenowy: OK
<MoeIcenowy> but this makes this problem more mysterious
deesix_ has joined #lima
dddddd_ has joined #lima
buzzmarshall has quit [Remote host closed the connection]
deesix has quit [Ping timeout: 272 seconds]
dddddd has quit [Ping timeout: 265 seconds]
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #lima
_whitelogger has joined #lima
niceplace has quit [Ping timeout: 272 seconds]
niceplace has joined #lima
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #lima
dddddd_ has quit [Ping timeout: 260 seconds]
Elpaulo has quit [Quit: Elpaulo]
kaspter has quit [Ping timeout: 268 seconds]
kaspter has joined #lima
camus1 has joined #lima
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
yann has quit [Ping timeout: 256 seconds]
<anarsoul> rellla: have you tested "[PATCH 0/5] drm/lima: add error debug functionality" patch series?
<anarsoul> if no I'll test it tomorrow. Looks good to me in general
camus1 has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus1 is now known as kaspter
yann has joined #lima
monstr has joined #lima
gcl_ has joined #lima
gcl has quit [Ping timeout: 256 seconds]
<rellla> anarsoul: no, i haven't done that yet ...
<rellla> i can do though
z3ntu_ has quit [Quit: killed]
mariogrip has quit [Quit: killed]
z3ntu_ has joined #lima
mariogrip has joined #lima
paulk-leonov has quit [Ping timeout: 272 seconds]
paulk-leonov has joined #lima
deesix_ is now known as deesix
Barada has quit [Quit: Barada]
tlwoerner is now known as tw-eh
tw-eh is now known as tlwoerner
monstr has quit [Remote host closed the connection]
gcl_ has quit [Ping timeout: 260 seconds]
gcl has joined #lima
yann has quit [Ping timeout: 258 seconds]
yann has joined #lima
dddddd has joined #lima
buzzmarshall has joined #lima
niceplace has quit [Ping timeout: 268 seconds]
niceplace has joined #lima