ChanServ changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://oftc.irclog.whitequark.org/panfrost - <macc24> i have been here before it was popular
<alyssa> Daanct12: panfrost supports both glDrawRangeElementsBaseVertex and FBOs
hanetzer2 has joined #panfrost
hanetzer2 is now known as hanetzer
hanetzer1 has quit [Ping timeout: 480 seconds]
hanetzer1 has joined #panfrost
hanetzer has quit [Ping timeout: 480 seconds]
camus has joined #panfrost
camus1 has quit [Ping timeout: 480 seconds]
<Daanct12> robclark, the apitrace was taken on panfrost
<Daanct12> i tried that and this is what shows up
<Daanct12> Mesa: 18 similar GL_INVALID_FRAMEBUFFER_OPERATION errors
<Daanct12> Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
<Daanct12> Mesa: 1 similar GL_INVALID_FRAMEBUFFER_OPERATION errors
<Daanct12> Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glDrawRangeElements
hanetzer2 has joined #panfrost
hanetzer1 has quit [Ping timeout: 480 seconds]
hanetzer2 has quit [Quit: WeeChat 3.6]
<HdkR> Daanct12: Indeed, looks like an application bug
<HdkR> Since it is complaining about incomplete framebuffer
davidlt_ has joined #panfrost
kenzie7 has quit []
kenzie7 has joined #panfrost
guillaume_g has joined #panfrost
nlhowell has joined #panfrost
DVulgaris has quit [Ping timeout: 480 seconds]
<bbrezillon> CounterPillow: uh, taking more time than I expected, but I'm getting there. Goal is to have something submitted before the end of the year.
<CounterPillow> Neat, good luck!
rasterman has joined #panfrost
DVulgaris has joined #panfrost
pjakobsson has quit []
chipxxx has joined #panfrost
pjakobsson has joined #panfrost
chip_x has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
rasterman has joined #panfrost
pjakobsson has quit [Remote host closed the connection]
pjakobsson has joined #panfrost
pendingchaos_ is now known as pendingchaos
davidlt_ has quit [Ping timeout: 480 seconds]
davidlt_ has joined #panfrost
nlhowell has quit [Ping timeout: 480 seconds]
camus has quit [Remote host closed the connection]
camus has joined #panfrost
<Daanct12> HdkR, hmm, then is there anyway to workaround this? this is a FNA game and the developer doesn't update the game anymore
<greenjustin> alyssa: Thanks! Was wondering about that, I've just been trying to test with DVFS turned off, but I think I might've messed up the device tree somehow. Will try that tree
q4a has quit [Quit: WeeChat 3.6]
floof58 is now known as Guest3868
floof58 has joined #panfrost
Guest3868 has quit [Ping timeout: 480 seconds]
<HdkR> Daanct12: You could try using Mesa's GL version overrides, it's probably using some newer feature that makes it incomplete. To know more you would need to capture the framebuffer creation and deduce why it is failing
davidlt has joined #panfrost
davidlt_ has quit [Read error: Connection reset by peer]
MajorBiscuit has joined #panfrost
<greenjustin> Probably a dumb question, but is there something special I need to do in order to get panfrost working with X11? I've loaded the kernel driver and built a userspace driver, and I can confirm it all works with kmscube, but X11 is failing to start unless I unload the kernel module
<HdkR> greenjustin: Did you forget to build the userspace driver with kmsro?
<greenjustin> HdkR: I don't think so, I definitely added "-Dgallium-drivers=panfrost,kmsro"
<alyssa> that's not needed now
<alyssa> the kmsro part, it's automatic on recent (2022) mesa
<alyssa> (think that was changed in 2021)
<anarsoul> likely an issue with order of display/render node
atler has quit [Quit: atler]
<anarsoul> IIRC X11 didn't like render being card0 and display card1
<alyssa> oh, ugh, yeah I did have that issue on mt8192, I forget about that
<alyssa> # mv /dev/dri/card0 /dev/dri/card2
<alyssa> was my hack to workaround it
<alyssa> idk how to solve properly
<anarsoul> it should be solved in X
<anarsoul> by not attempting mode setting on render node :)
davidlt has quit [Ping timeout: 480 seconds]
<alyssa> :+1:
<greenjustin> alyssa, anarsoul: I thought that might be it, but the logs seem to indicate otherwise https://pastebin.com/Cuw3mwCc
<greenjustin> I did try moving the cardX files around just in case, no luck
<anarsoul> looks like it tries xf86-video-fbdev instead of xf86-video-modesetting
<anarsoul> moreover I thought that modesetting is included into xorg-server by default, but I might be wrong
atler has joined #panfrost
<robclark> greenjustin: you might also want to disable vgem if you are using a CrOS(ish) kernel config.. that is yet an extra card node to confuse Xorg..
rasterman has quit [Quit: Gettin' stinky!]
<greenjustin> anarsoul: Removing fbdev changed the error message! Now I get https://pastebin.com/byM2Lb5t
<greenjustin> robclark: How would I go about that?
<anarsoul> oh, you actually have 3 cards
<greenjustin> Yeah, the vgem, the display controller, and the GPU. But, to Xorg's credit, it seems to recognize that card1 is the right one?
<robclark> oh, hmm.. if you aren't using emerge stuff, it is just `make menuconfig`.. if you are doing emerge stuff, I think you can just remove CONFIG_DRM_VGEM from a chromeos/config/chromeos/base.config
MajorBiscuit has quit [Read error: No route to host]
<greenjustin> robclark: Turned off vgem, same error unfortunately :(
<urja> my thought would be getting rid of that fbdev driver (or having a xorg conf fragment or whatever that specifies the modesetting one)
<greenjustin> urja: I did try just uninstalling fbdev, that seemed to at least change the error message
hanetzer has joined #panfrost