alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://freenode.irclog.whitequark.org/panfrost - <daniels> avoiding X is a huge feature
_whitelogger has joined #panfrost
stikonas has quit [Remote host closed the connection]
raster has quit [Quit: Gettin' stinky!]
vstehle has quit [Ping timeout: 264 seconds]
agrisis has quit [Quit: agrisis]
urjaman has quit [Read error: Connection reset by peer]
urjaman has joined #panfrost
<kinkinkijkin> error when trying to force panfrost, assert failed, I don't remember where it failed though right now
chewitt has quit [Read error: Connection reset by peer]
chewitt_ has joined #panfrost
archetech has quit [Quit: Konversation terminated!]
chewitt_ has quit [Read error: Connection reset by peer]
chewitt has joined #panfrost
davidlt has joined #panfrost
vstehle has joined #panfrost
BorgCuba has quit [Quit: Leaving]
<kinkinkijkin> back off of phone, still cant get panfrost working
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #panfrost
nlhowell has joined #panfrost
nlhowell has quit [Remote host closed the connection]
nlhowell has joined #panfrost
tgall_foo has quit [Ping timeout: 240 seconds]
<kinkinkijkin> oh, mightve found the issue
tgall_foo has joined #panfrost
<kinkinkijkin> built first time with bad options, they got cached
davidlt has quit [Ping timeout: 240 seconds]
kaspter has joined #panfrost
<kinkinkijkin> went through dmesg, found a few errors relating to panfrost
<kinkinkijkin> will have to talk to macc when they get back on, if im not already moving by then
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #panfrost
kaspter has quit [Quit: kaspter]
kaspter has joined #panfrost
alpernebbi has joined #panfrost
davidlt has joined #panfrost
kaspter has quit [Ping timeout: 264 seconds]
davidlt has quit [Ping timeout: 240 seconds]
kaspter has joined #panfrost
raster has joined #panfrost
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #panfrost
mixfix411 has joined #panfrost
chewitt has quit [Read error: Connection reset by peer]
chewitt_ has joined #panfrost
stikonas has joined #panfrost
<daniels> SolidHal: hmm, that's super strange - my only guess is that there's maybe autosuspend enabled on one of the devices, which is causing it to take an enormously long time waiting on the kernel? maybe touchpad?
<daniels> unless the touchpad is smashing you with a billion events, but even that shouldn't really be possible given that the kernel has a surprisingly small internal queue for input events
<daniels> I'd suggest running either strace or perf in the background to capture things so you can see where the time goes; my money's on a _really_ long ioctl somewhere
macc24 has joined #panfrost
<macc24> hey kinkinkijkin
<kinkinkijkin> hey macc24
<kinkinkijkin> i cant get panfrost working, it's failing on a call to the kernel side
<kinkinkijkin> mesa hand-compiled
<macc24> mesa git-6c0ce29b4 works fine on my machine
<macc24> which errors do you see in dmesg?
<kinkinkijkin> relating to clock setting, and one about drm i forgot
<macc24> does kmscube work with -d /dev/dri/card1?
<kinkinkijkin> if i allow llvmpipe usage yes
<kinkinkijkin> not otherwise
<macc24> where is mesa installed?
<macc24> did you point LD_LIBRARY_PATH at libGL there? did you set LIBGL_DRIVERS_PATH there?
<kinkinkijkin> to /usr/lib/aarch64-linux-gnu\
<kinkinkijkin> it hits an assert issue loading panfrost
<kinkinkijkin> related to initially creating buffers
<macc24> assert issue? have you tried poking bbrezillon with it or setting build type to release?
<kinkinkijkin> tried release, did not try poking bbrezillon
<kinkinkijkin> lemme finish building mesa at this commit and if it works this time i guess it works, if it doesnt work ill get you a log
<macc24> can you paste output of glxgears -info onto something like bpa.st?
<kinkinkijkin> glxgears can't open screen
<macc24> or literally anything that woud say driver name and version
<kinkinkijkin> nothing can load the driver; the assert is in initial buffer creation, initiating the context
<kinkinkijkin> the driver doesn't seem to be readable before then?
<kinkinkijkin> at pan_props.c:57
<macc24> hmm
<kinkinkijkin> i looked into the code, that assert makes sure that if the thing being made in that function (forget what it was) is required, the driver crashes on failure to create
<kinkinkijkin> brb
<macc24> do you have read/write access to files in /dev/dri/ ?
<kinkinkijkin> lemme check, it's not working btw
<kinkinkijkin> crw-rw----
<kinkinkijkin> guessing that's "no" with my limited memory
<macc24> try putting yourself in video group
<kinkinkijkin> didnt help
<macc24> hmmm
davidlt has joined #panfrost
<macc24> does kmscube say that llvmpipe is of mesa-git version?
<kinkinkijkin> i... i opened it in a second vt and now it loads with panfrost?
<kinkinkijkin> what?
<macc24> i don't know
krh has quit [Ping timeout: 260 seconds]
krh has joined #panfrost
Ke has quit [Ping timeout: 260 seconds]
<kinkinkijkin> kmscube is now working
<kinkinkijkin> sway is still now
<kinkinkijkin> not*
<macc24> what does sway say on stderr?
<macc24> sway 2>swaylog
Ke has joined #panfrost
<kinkinkijkin> it's skipping over drm device 10, which is card1
<kinkinkijkin> forcing panfrost, it doesn't get to device 10 before the assert fails
<kinkinkijkin> any way to force a specific dri device to sway?
<macc24> it "just" works for me
chewitt_ has quit [Read error: Connection reset by peer]
chewitt has joined #panfrost
<kinkinkijkin> okay, weston loads with panfrost too
<kinkinkijkin> dahek
<kinkinkijkin> es2gears works in weston, glxinfo and es2_info do not
<kinkinkijkin> i added myself to the render group and now things are working but still sway is being weird?
<kinkinkijkin> like, im able to watch 1080p60 video and run gles2 applications
<kinkinkijkin> okay, firefox is rendering youtube videos correctly but only when it's not the only window on the current workspace
<kinkinkijkin> convinced at this point that my device is just haunted
kaspter has quit [Remote host closed the connection]
kaspter has joined #panfrost
<macc24> huh
<macc24> i can watch youtube just fine
<kinkinkijkin> it renders fine, but single-window it runs at the wrong speed with artifacts
<macc24> what do you see in /sys/devices/platform/13040000.mali/devfreq/<something current frequency> ?
<macc24> when playing youtube
<kinkinkijkin> 500000000
<macc24> that's minimum frequency of gpu in mt8183.dtsi
<macc24> so scaling most likely doesn't work
<macc24> again
embed-3d has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<macc24> i will look into that tomorrow
embed-3d has joined #panfrost
<kinkinkijkin> i might not be around tomorrow
<kinkinkijkin> moving in a couple hours and ill be in a motel for a bit
<macc24> ok
<macc24> how many fps are you getting in vblank_mode=0 glxgears when gears are on one half of screen with just sway running?
<kinkinkijkin> glxgears isnt launching
<kinkinkijkin> in sway
<kinkinkijkin> can't open display
<macc24> oh do you have xwayland installed?
<kinkinkijkin> apparently not
<macc24> and what's in /sys/devices/platform/soc/13040000.mali/devfreq/13040000.mali/governor
<kinkinkijkin> simple_ondemand
<macc24> does echo 800000000 > /sys/devices/platform/soc/13040000.mali/devfreq/13040000.mali/min_freq fix the issue?
<kinkinkijkin> actually installing xwayland has everything working now...
<macc24> is there a difference in scrolling performance of firefox
<kinkinkijkin> yes
<macc24> when it's only window vs when it is only on half of screen?
<macc24> also try setting layers.acceleration.force-enabled to true
<kinkinkijkin> okay, everything's running up at full speed now
<macc24> tip: set MOZ_USE_XINPUT2=1 to have touchscreen scrolling in firefox
<kinkinkijkin> already have it
<kinkinkijkin> i was about to get fake-mad about having only GLES2 and no 3 but i honestly dont much mind, development is a process
<macc24> you can have gles3 when you set LIBGL_ALWAYS_SOFTWARE=1
<kinkinkijkin> heh
<kinkinkijkin> audible hah
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #panfrost
macc24 has quit [Ping timeout: 245 seconds]
macc24_ has joined #panfrost
mixfix41 has quit [Ping timeout: 258 seconds]
embed-3d has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
embed-3d has joined #panfrost
macc24_ has quit [Ping timeout: 265 seconds]
macc24 has joined #panfrost
<macc24> ping
alpernebbi has quit [Quit: alpernebbi]
<alyssa> kinkinkijkin: gles3 on bifrost is wip
<alyssa> there are patches for most of it, but a bunch of things need to be finished up and polished before flipping on support
<alyssa> (probably end of january that can happen? estimation is notoriously hard)
<alyssa> also hoping for gles3.1 support (probably both midgard and bifrost) sometime after that but we'll see what happens
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
kaspter has quit [Quit: kaspter]
<macc24> this is how it feels when using a duet https://i.imgur.com/U4YLG.gifv
br has left #panfrost [#panfrost]
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #panfrost
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #panfrost
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #panfrost
popolon has joined #panfrost
<alyssa> ?
cphealy has joined #panfrost
davidlt has quit [Ping timeout: 240 seconds]
raster has quit [Quit: Gettin' stinky!]
icecream95 has joined #panfrost
archetech has joined #panfrost