ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
Kayden has quit [Server closed connection]
Kayden has joined #dri-devel
pcercuei has quit [Quit: dodo]
Lyude has quit [Server closed connection]
Lyude has joined #dri-devel
maxzor__ has quit [Ping timeout: 480 seconds]
maxzor_ has quit [Ping timeout: 480 seconds]
iive has quit []
zf has quit [Server closed connection]
zf has joined #dri-devel
sdutt has quit [Ping timeout: 480 seconds]
maxzor_ has joined #dri-devel
sdutt has joined #dri-devel
sdutt has quit [Remote host closed the connection]
sdutt has joined #dri-devel
i-garrison has quit [Ping timeout: 480 seconds]
i-garrison has joined #dri-devel
jhli has quit [Server closed connection]
jhli has joined #dri-devel
FireBurn has quit [Quit: Konversation terminated!]
co1umbarius has joined #dri-devel
columbarius has quit [Ping timeout: 480 seconds]
maxzor_ has quit [Remote host closed the connection]
maxzor_ has joined #dri-devel
jolan has quit [Server closed connection]
maxzor__ has joined #dri-devel
jolan has joined #dri-devel
sdutt has quit [Ping timeout: 480 seconds]
camus has quit [Ping timeout: 480 seconds]
camus has joined #dri-devel
mhenning has quit []
JohnnyonF has joined #dri-devel
camus1 has joined #dri-devel
JohnnyonFlame has quit [Ping timeout: 480 seconds]
camus has quit [Ping timeout: 480 seconds]
maxzor__ has quit [Ping timeout: 480 seconds]
Karyon has quit [Server closed connection]
Karyon has joined #dri-devel
kurufu has quit [Server closed connection]
kurufu has joined #dri-devel
camus has joined #dri-devel
camus1 has quit [Ping timeout: 480 seconds]
tango_ has quit [Ping timeout: 480 seconds]
zzoon has joined #dri-devel
zzoon has quit []
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
JohnnyonF has quit [Ping timeout: 480 seconds]
alyssa has quit [Server closed connection]
alyssa has joined #dri-devel
linearcannon has quit [Server closed connection]
linearcannon has joined #dri-devel
aravind has joined #dri-devel
andrey-konovalov has quit [Server closed connection]
andrey-konovalov has joined #dri-devel
imirkin has quit [Server closed connection]
imirkin has joined #dri-devel
ppascher has joined #dri-devel
Guest748 has joined #dri-devel
Guest748 has left #dri-devel [#dri-devel]
gnuiyl has joined #dri-devel
eukara has quit [Remote host closed the connection]
sadlerap1 has joined #dri-devel
sadlerap has quit [Ping timeout: 480 seconds]
macromorgan has quit [Server closed connection]
macromorgan has joined #dri-devel
melissawen has quit [Server closed connection]
melissawen has joined #dri-devel
Duke`` has joined #dri-devel
i-garrison has quit []
i-garrison has joined #dri-devel
adjtm has quit [Server closed connection]
adjtm has joined #dri-devel
Company has quit [Read error: Connection reset by peer]
aravind has quit [Ping timeout: 480 seconds]
maxzor__ has joined #dri-devel
maxzor has joined #dri-devel
tango_ has joined #dri-devel
maxzor__ has quit [Ping timeout: 480 seconds]
mszyprow has joined #dri-devel
dt9_ has quit []
danvet has joined #dri-devel
dt9 has joined #dri-devel
mclasen has joined #dri-devel
aravind has joined #dri-devel
<airlied> danvet: btw backmerge for rc6 pushed
mclasen has quit [Ping timeout: 480 seconds]
shankaru has joined #dri-devel
mlankhorst has joined #dri-devel
camus has joined #dri-devel
camus1 has quit [Ping timeout: 480 seconds]
<daniels> imirkin: killed them too whilst the host gets fixed
pnowack has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
rgallaispou has joined #dri-devel
thellstrom has joined #dri-devel
<clever> well, ive made progress on figuring out why my desktop is locking up, it looks like modesetting is partially to blame for how long it took
<clever> this time, i had a ps2 keyboard connected, and saw blinking LED's, a kernel panic!
<clever> so, why is the amdgpu driver in 5.10.81 not reverting back to text mode upon panic?
frieder has joined #dri-devel
lemonzest has joined #dri-devel
jewins has quit [Ping timeout: 480 seconds]
mvlad has joined #dri-devel
<airlied> clever: nothing does text mode revert on panic
<clever> airlied: ah, i had heard years ago, that modesetting allowed just that
<clever> by moving it out of xorg and into kernel, the kernel is able to revert back to text mode upon panic, and render the error
<clever> i'll have to try turning on a panic-kernel and netconsole when i get a chance
libv_ is now known as libv
<airlied> clever: there was a brief period where modesetting wasn't that complicated and it was hackily possible
<airlied> that time has passed
<airlied> it's hard to take locks when in an oops
<clever> ah, guess i just didnt hear that bit of news
<clever> the only solution i can see to that, is to kill every other core, then set a global flag to make locks a no-op
lynxeye has joined #dri-devel
<clever> if only 1 core is active, and irq's are off, your less likely to need a lock
<airlied> yeah setting a mode on modern hw needs irqs
<clever> and then its only issues due to another core having been in the middle of modifying something
<airlied> and processing HPD
<airlied> displayport MST is a whole protocol over the wire with signalling using hpd irq
<clever> i guess i'm also kind of spoiled by working entirely in the rpi hw space
<clever> if you keep the same resolution, switching between a graphical console and a text console is very cheap
MajorBiscuit has joined #dri-devel
<clever> oh, but how expensive can a pageflip really be on a modern gpu?
<airlied> I think danvet has a writeup somewhere on the pains
<clever> could you not modeswitch, but just paint a new textmode console, at whatever resolution DRM is configured for?
lemonzest has quit [Quit: WeeChat 3.4]
<clever> you likely already have a framebuffer for the graphical console, just draw text over that
<clever> i think i even saw that on some other older OS's, where the error text is drawn ontop of the gui
<clever> what if you didnt actually change the mode of the 2d subsystem, but just what image is being rendered? could you just display the fbcon image again, at whatever resolution the hw is currently at?
<clever> does that still need irq's on many gpu's?
<danvet> clever, that's pretty much the idea, see the rfc from noralf that the patch links
<danvet> or at least somewhere in that discussion
<danvet> also it wouldn't be fbcon, it could also be a yuv overlay from your gfx compositor
<danvet> so imo the only reliable emergency gpu output thing would be to have that hook to check whether emergency output is possible without anything having to change
<clever> at least for the rpi hw, you just give it a list of images (xy, wh, pixel format(rgb or yuv), alpha), and the hw will composite all of that on the fly
<clever> so adding any overlay, requires making a new list containing that overlay
<danvet> (including trylocks and all that to make sure we're not trampling over a concurrent modeset, which can easily hang the box)
<clever> at which point, its simpler to just omit the other layers, and render only the error msg
<danvet> yeah if you're extremely sure, you could also change the plane setup in that emergency output hook
<danvet> but that would be hw specific
<clever> and the hw supports rgb/yuv seamlessly, even down to 8bpp rgb
<danvet> on many hw trying to do anything like this is very risky
<danvet> so best we can do is trylock to make sure we're not racing
<danvet> and then print into the biggest plane that's currently visible
<clever> for the rpi, you have a large (16kb) block of ram, that contains multiple descriptions of a single frame (all planes in that frame)
<danvet> and hoping that plane is accessible to the cpu right now
<clever> and a pageflip is just changing 1 register, to say which frame description to render
<clever> tearing is just changing that 1 master register outside of vsync
<danvet> yeah on some hw you can do it easily
<danvet> assuming that holds for all hw is where current fbcon emergency printing fails epically
<clever> if you dont care about tearing, you can ignore the vsync irq
<clever> so that only leaves 1 minor issue
<clever> if you corrupt the actively used frame description, the hw can deadlock, and need a reset
<danvet> clever, the other problem is the memory/cpu mapping
<clever> so you need to know what part of that 16kb of ram is unused
<danvet> clever, yeah this only works if you preallocate the descriptor
<clever> reserving space for 1 plane (that only costs 32 bytes) would allow you to ignore any locks on the allocator
<danvet> and also you need to preallocate the memory and the cpu mapping
<danvet> none of that is stuff you can set up from panic context
<clever> yeah
<libv> i remember this was the main selling point back in 2008?
<libv> the second one being flicker free booting.
<clever> for a higher cost (60 bytes), you can do hardware scaling of the plane
<clever> so the pre-allocated image could be a lower resolution
<clever> libv: there are some flicker issues in the rpi bootup still, i think most distro's hide that by just not initializing the hdmi until the kernel modules are loaded, which kinda sucks
<daniels> clever: for better or worse, no other hardware really looks at all like the VideoCore
<clever> what if the DRM driver had a panic capability flag?
<clever> so it can advertise that it can swap planes in a sync manner?
<clever> and then some reusable code can do that for all DRM drivers that allow it
<danvet> clever, see the linked patches and disucssions
<clever> maybe a dedicated callback to just display a single image and just not deal with locks
<danvet> that's pretty much exactly the plan, except it hasn't landed yet
<clever> ah, so others are also on that track
<danvet> well it hasn't moved since a few years
<clever> heh, this was even tested on the vc4 driver!
* danvet gtg now
f11f12 has joined #dri-devel
<clever> and my real problem isnt that its not rendering the panic, but that i'm even having a panic at all
<clever> so i need to mess with kexec and/or netcon to get those logs
<clever> oh, and i STILL have a netconsole= in my /proc/cmdline lol
lemonzest has joined #dri-devel
rasterman has joined #dri-devel
<clever> and there, netcon is live
tursulin has joined #dri-devel
pcercuei has joined #dri-devel
kts has joined #dri-devel
thellstrom has quit [Ping timeout: 480 seconds]
frieder has quit [Remote host closed the connection]
frieder_ has joined #dri-devel
thellstrom has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
frieder_ has quit [Remote host closed the connection]
frieder has joined #dri-devel
frieder_ has joined #dri-devel
frieder has quit [Remote host closed the connection]
mlankhorst has quit [Remote host closed the connection]
mlankhorst has joined #dri-devel
orbea1 has joined #dri-devel
orbea has quit [Ping timeout: 480 seconds]
camus1 has joined #dri-devel
thellstrom has quit [Read error: Connection reset by peer]
camus has quit [Ping timeout: 480 seconds]
whald has joined #dri-devel
ahajda has joined #dri-devel
<MrCooper> the Steam Deck looks impressive, congrats to everyone involved!
kts has joined #dri-devel
JohnnyonFlame has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
devilhorns has joined #dri-devel
<emersion> <3
<MrCooper> emersion: so does the Steam Deck UI run gamescope on bare metal?
<emersion> yup
<MrCooper> nice!
<MrCooper> the Digital Foundry review was pretty positive on that
kts has joined #dri-devel
<shadeslayer> tomeu: is there a way I can look at the grafana perf charts for a iris MR?
<shadeslayer> or is the perf chart only shown for jobs from main?
lkw has joined #dri-devel
lemonzest has quit [Quit: WeeChat 3.4]
ella-0 has joined #dri-devel
ella-0_ has quit [Remote host closed the connection]
alyssa has left #dri-devel [#dri-devel]
mclasen has joined #dri-devel
tanty has quit []
adjtm is now known as Guest771
adjtm has joined #dri-devel
Guest771 has quit [Ping timeout: 480 seconds]
tanty has joined #dri-devel
orbea1 has quit []
orbea has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
camus has joined #dri-devel
camus1 has quit [Ping timeout: 480 seconds]
mclasen has quit []
mclasen has joined #dri-devel
<bbrezillon> jekstrand: 'Re: sec-cmd-buf stuff' => I gave your 'put the dispatch logic in existing trampolines' approach a try (see https://gitlab.freedesktop.org/bbrezillon/mesa/-/commits/panvk-exec-cmd-alt), and I think there's one aspect that's problematic
<bbrezillon> we need to be super careful when adding new vk_common wrappers implementing Cmd hooks and patch all users of the generic cmd-dispatch logic to implement the 2nd version of the entrypoint, otherwise we'll get NULL derefs
<bbrezillon> that's because device->dispatch_table.CmdXxx are all NULLs when we use the generic cmd-dispatch logic, and those NULL-entrypoints are automatically overloaded by the vk_common_CmdXxx implementation at device init time if there's such a wrapper
lemonzest has joined #dri-devel
rgallaispou has quit [Read error: Connection reset by peer]
mlankhorst has quit [Ping timeout: 480 seconds]
mlankhorst has joined #dri-devel
fxkamd has joined #dri-devel
jewins has joined #dri-devel
<tomeu> shadeslayer: unfortunately only for master atm, but we have wanted to do that for some time already
heat has joined #dri-devel
<shadeslayer> Ah :(
<jekstrand> bbrezillon: Hrm...
<karolherbst> hudasuhdasudh jekstrand: I saw your thread on twitter and got reminded of our Arc problem :D don't know if you saw my comment here on IRC in regards to that
<karolherbst> btw implementing the compiler stuff is super annoying
<karolherbst> even with clc
<jekstrand> karolherbst: I saw something. Also, I came up with a new idea over the week-end.
<karolherbst> cool
<jekstrand> karolherbst: :(
<karolherbst> well... at least I support most of the API by now... but I had to wire up support for compiler args which is annoying... rust string handling especially with ffi in mind is really realy annoying
kem has quit [Ping timeout: 480 seconds]
<karolherbst> but... I am currently implementing linking
<karolherbst> but then I am not sure how to move forward from that... I think I want to create the nir early but...
<karolherbst> clCreateKernel at the latest
<karolherbst> jekstrand: but anyway, what's your idea?
Company has joined #dri-devel
<jekstrand> karolherbst: I think I need to type it out rather than describe via IRC
<karolherbst> ahh
mattrope has joined #dri-devel
<karolherbst> the CL API is so annoying sometimes :/
kem has joined #dri-devel
sdutt has joined #dri-devel
mbrost has joined #dri-devel
<daniels> karolherbst: ... sometimes?
<karolherbst> daniels: it's all bad, but somtimes annoying as well. better? :P
<jekstrand> bbrezillon: Yeah, we currently stuff in the trampolines only as part of vkGetInstanceProcAddr and so it's the very last thing in the chain.
<jekstrand> Also, it never happens for device things.
heat has quit [Remote host closed the connection]
<bbrezillon> jekstrand: I addressed that
<bbrezillon> but that's not the only problem
maxzor has quit [Ping timeout: 480 seconds]
<bbrezillon> jekstrand: even with a patched vk_device_get_proc_addr(), the vk_common_ overload is still problematic
<bbrezillon> jekstrand: one option would be to add vk_device_init_with_cmd_dispatch() variant that takes the primary dispatch table and only set the wrappers if the function is not implemented there, but that looks pretty close to what I was doing in vk_device_dispatch_table_from_cmd_tables(), so I'm not sure you'll like it :)
Akari has joined #dri-devel
Akari- has quit [Ping timeout: 480 seconds]
Haaninjo has joined #dri-devel
<jekstrand> bbrezillon: Yeah... Let me give it a think.
<jekstrand> bbrezillon: I'd not thought through all these interactions when I said "just use the same thing!"
Akari` has joined #dri-devel
Akari has quit [Ping timeout: 480 seconds]
dwlsalmeida has left #dri-devel [#dri-devel]
dwlsalmeida has joined #dri-devel
lemonzest has quit [Quit: WeeChat 3.4]
maxzor has joined #dri-devel
adjtm has quit [Quit: Leaving]
<dj-death> I forgot what's the function removing unused SSA values in a shader...
<dj-death> anybody remembers?
<pendingchaos> nir_index_ssa_defs? nir_opt_dce?
<dj-death> pendingchaos: thanks!
<dj-death> was looking for the index one I think
<jekstrand> dce is removing unused stuff
fxkamd has quit []
lemonzest has joined #dri-devel
iive has joined #dri-devel
pnowack has quit [Quit: pnowack]
agx has quit [Read error: Connection reset by peer]
agx has joined #dri-devel
frieder_ has quit [Remote host closed the connection]
pnowack has joined #dri-devel
aravind has quit [Read error: Connection reset by peer]
pnowack has quit [Remote host closed the connection]
pnowack has joined #dri-devel
Duke`` has joined #dri-devel
nchery has joined #dri-devel
f11f12 has quit [Quit: Leaving]
<anholt> dschuermann: I'd love it if we could land the parts of your opt_shrink_vectors other than the per-component DCE
<dschuermann> anholt: doesn't it need !14865?
<anholt> Yeah. A few people looked at it, but I didn't get "please change this and then r-b" so I don't know what to do with it
aravind has joined #dri-devel
<dschuermann> ok, I'll have a look tomorrow. I think it's a really nice addition
rgallaispou has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
kts has quit []
kts has joined #dri-devel
rgallaispou has quit [Read error: Connection reset by peer]
kts has quit []
kts has joined #dri-devel
lkw has quit [Quit: leaving]
mbrost_ has joined #dri-devel
mbrost has quit [Read error: Connection reset by peer]
<zmike> karolherbst: any chance I could request that you have the gallium state updates happen in the st_atom_list.h order?
<karolherbst> zmike: huh? what do you mean?
<zmike> like when you send the state updates to the driver
<zmike> making them always happen in that order would be nice
<zmike> if it's not a hassle
<karolherbst> ohh you mean inside clover?
<zmike> yeah
<karolherbst> ahh
<zmike> nbd either way, just thought I'd ask
<karolherbst> clover doesn't really do much of state updates anyway, so I don't think it should be a problem, but the state updates stuff is a complete mess in clover anyway
<karolherbst> zmike: what's the benefit btw?
<zmike> at some point in the future I would like to have that standardized in all frontends so drivers can optimize for dispatching in sequence
<karolherbst> ahh
<zmike> distant future
idr has joined #dri-devel
sneil has quit [Quit: Leaving]
sneil has joined #dri-devel
MajorBiscuit has quit [Ping timeout: 480 seconds]
ybogdano has joined #dri-devel
devilhorns has quit []
mszyprow has quit [Ping timeout: 480 seconds]
sadlerap1 has quit []
sadlerap has joined #dri-devel
LexSfX has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Konversation terminated!]
kts has joined #dri-devel
kts has quit []
angerctl has joined #dri-devel
maxzor has quit [Ping timeout: 480 seconds]
maxzor_ has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
Namarrgon has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
gouchi has joined #dri-devel
<jekstrand> bbrezillon: Ok, let me see if I can reason through all this dispatch nonsense.
* jekstrand pulls the branch
Duke`` has joined #dri-devel
maxzor has joined #dri-devel
ngcortes has joined #dri-devel
mbrost_ has quit [Ping timeout: 480 seconds]
lynxeye has quit []
kts has quit [Ping timeout: 480 seconds]
ramaling_ has joined #dri-devel
ngcortes has quit [Quit: Leaving]
ngcortes has joined #dri-devel
eukara has joined #dri-devel
ramaling has quit [Ping timeout: 480 seconds]
Namarrgon has joined #dri-devel
angerctl has quit [Ping timeout: 480 seconds]
maxzor has quit [Ping timeout: 480 seconds]
shankaru has quit [Quit: Leaving.]
cmarcelo has quit [Quit: Reconnecting]
cmarcelo has joined #dri-devel
pnowack has quit [Quit: pnowack]
cmarcelo has quit []
cmarcelo has joined #dri-devel
pnowack has joined #dri-devel
cmarcelo has quit []
pnowack has quit [Remote host closed the connection]
cmarcelo has joined #dri-devel
ngcortes has quit [Remote host closed the connection]
pnowack has joined #dri-devel
f11f12 has joined #dri-devel
mbrost has joined #dri-devel
angerctl has joined #dri-devel
cphealy has quit [Remote host closed the connection]
cphealy has joined #dri-devel
Namarrgon has quit [Ping timeout: 480 seconds]
cphealy has quit []
cphealy has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
ngcortes has joined #dri-devel
ngcortes has quit [Ping timeout: 480 seconds]
mszyprow has joined #dri-devel
nchery has quit [Read error: Connection reset by peer]
ngcortes has joined #dri-devel
nchery has joined #dri-devel
nsneck has quit [Quit: bye]
nsneck has joined #dri-devel
f11f12 has quit [Quit: Leaving]
Haaninjo has quit [Quit: Ex-Chat]
gouchi has quit [Remote host closed the connection]
ahajda has quit [Quit: Going offline, see ya! (www.adiirc.com)]
mbrost has quit [Ping timeout: 480 seconds]
lemonzest has quit [Quit: WeeChat 3.4]
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
danvet has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
mszyprow has quit [Ping timeout: 480 seconds]
samueldr has quit [Server closed connection]
samueldr has joined #dri-devel
mhenning has joined #dri-devel
Ryback_ has quit [Server closed connection]
Ryback_ has joined #dri-devel
cworth has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
cworth has joined #dri-devel
mattrope has quit [Ping timeout: 480 seconds]
mvlad has quit [Remote host closed the connection]
mattrope has joined #dri-devel
unerlige has quit [Server closed connection]
unerlige has joined #dri-devel