ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
hikiko_ has joined #dri-devel
hikiko has quit [Read error: Connection reset by peer]
Akari has joined #dri-devel
Akari` has quit [Remote host closed the connection]
fxkamd has joined #dri-devel
pcercuei has quit [Quit: dodo]
fxkamd has quit []
iive has quit []
<pinchartl>
graphitemaster: I get the same feeling reading pretty much any GL extension spec :-/
<pinchartl>
robher: is there an official DT overlay specification ? I have an overlay that dtc compiles without warning or error and that U-Boot apply partly only, silently ignoring parts of it. I think my overlay is wrong, but without a spec I can't tell which of dtc or U-Boot (libfdt really) should be fixed
<graphitemaster>
Either I have no clue how to properly use interlock or interlock is actually just buggy.
<imirkin>
graphitemaster: most likely a happy combination
Company has quit [Quit: Leaving]
FireBurnUK has quit [Ping timeout: 480 seconds]
<graphitemaster>
What's a good way to read and write to the same pixel in a fragment pass in a safe synchronized manner
<imirkin>
graphitemaster: bind the fb as an image
<imirkin>
and use imageStore/imageLoad
<graphitemaster>
I tried that first, it's corrupted as hell on AMD. Seems to work fine on NV.
<imirkin>
did you mark the image as ... something
<imirkin>
coherent?
<graphitemaster>
coherent readonly image2D yeah
<imirkin>
wait, readonly?
<imirkin>
i mean don't bind as fb at all
<imirkin>
use ARB_framebuffer_no_attachments style
<imirkin>
and do all the reading/writing via image*
<graphitemaster>
Doing that now, doesn't seem to work either. I have a single `restrict coherent uniform image2D` of type r16f, I do a imageLoad at the top, discard in the FS when >= 1.0, otherwise I do things and write out with imageStore, it's always at coordinate gl_FragCoord.xy, and every random run I get different corrupted results.
<imirkin>
is the fb bound?
<imirkin>
i mean
<imirkin>
is anything bound as the fb?
<graphitemaster>
separate texture from the fbo textures in this case, but yes the fbo has other attachments I'm drawing into as well
<graphitemaster>
Oh
<graphitemaster>
glMemoryBarrier after the glClearTexImage but before the glDraw seems to have made things consistent
<graphitemaster>
I guess there's no syncronization between a clear and a draw!?
<imirkin>
a clear and a draw, yes. a ClearTexImage and a draw? no.
<HdkR>
fb_fetch likely won't ever exist for Nvidia and AMD hardware. You'll have to live with Intel and mobiles :P
Haaninjo has quit [Quit: Ex-Chat]
columbarius has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
boistordu_old has joined #dri-devel
boistordu_ex has quit [Ping timeout: 480 seconds]
mclasen has quit [Ping timeout: 480 seconds]
LexSfX has quit []
sdutt has quit [Ping timeout: 480 seconds]
orbea has quit [Quit: You defeated orbea! 2383232 XP gained!]
orbea has joined #dri-devel
<alyssa>
EXT_shader_framebuffer_fetch drivers say aye
pendingchaos has quit [Quit: No Ping reply in 180 seconds.]
pendingchaos has joined #dri-devel
mclasen has joined #dri-devel
Daanct12 is now known as Danct12
lemonzest has joined #dri-devel
The_Company has joined #dri-devel
Company has quit [Ping timeout: 480 seconds]
sravn has joined #dri-devel
sravn has quit []
<robher>
pinchartl: No, only the docs in the kernel tree.
JohnnyonFlame has joined #dri-devel
mlankhorst has joined #dri-devel
camus1 has quit []
sravn has joined #dri-devel
ella-0 has joined #dri-devel
ella-0_ has quit [Read error: Connection reset by peer]
tobiasjakobi has joined #dri-devel
mlankhorst has quit [Ping timeout: 480 seconds]
tobiasjakobi has quit [Remote host closed the connection]
Haaninjo has joined #dri-devel
<Ristovski>
Is there a way to use DRI_PRIME with MESA_LOADER_DRIVER_OVERRIDE?
<imirkin>
sure
jljusten has quit [Quit: WeeChat 3.3]
<Ristovski>
imirkin: But there isn't a way to specify the other PRIME driver on a hybrid system
<Ristovski>
so I cannot choose between i965+amdgpu and crocus+amdgpu for example
<imirkin>
huh?
<imirkin>
sure you can
<imirkin>
maybe i don't understand the setup
<imirkin>
you can only have 1 gpu at a time
<imirkin>
so when you want radeonsi, you can just do "DRI_PRIME=1"
<pinchartl>
robher: my overlay had "/ { panel { ... }; };" instead of "${/} { panel { ... }; };". should dtc have complained ? fdtoverlay seems to have applied it correctly
<imirkin>
when you want crocus, you can do "MESA_LOADER_DRIVER_OVERRIDE=crocus"
<Ristovski>
imirkin: Hmm wait, so using DRI_PRIME=1 does not load the iGPU driver? I guess it makes sense if there is no need
<Ristovski>
I was under the assumption it had to load both
<imirkin>
no
<imirkin>
shouldn't!
<imirkin>
there could be some silly thing i'm not thinking of, of course
<imirkin>
with X, the ddx is meant to copy the contents over
<imirkin>
with wayland, the display manger is
<imirkin>
the application itself just has 1 gpu
<Ristovski>
Huh, interesting. I ran `DRI_PRIME=1 LIBGL_DEBUG=verbose glxgears` and libgl prints: "using driver amdgpu for 7", "using driver i915 for 5" and "pci id for fd 5: 8086:0a16, driver crocus"
<imirkin>
i think that's just the loader saying what driver it would use?
<Ristovski>
Seems to be the case, only radeonsi_dri.so gets loaded into the process
<robher>
pinchartl: You'd have to check with someone that pays attention to overlays. ;)
Company has joined #dri-devel
mattst88 has joined #dri-devel
The_Company has quit [Ping timeout: 480 seconds]
mszyprow has joined #dri-devel
sagar_ has quit [Remote host closed the connection]
sagar_ has joined #dri-devel
danvet has joined #dri-devel
<alyssa>
HdkR: I don't expect any non-Malis could support it efficiently
<alyssa>
and even on Mali, it's dicey
Haaninjo has quit [Quit: Ex-Chat]
mszyprow has quit [Ping timeout: 480 seconds]
co1umbarius has joined #dri-devel
columbarius has quit [Ping timeout: 480 seconds]
<HdkR>
alyssa: Dicey things? Sounds perfect for an extension :D
gouchi has quit [Remote host closed the connection]
Duke`` has quit [Ping timeout: 480 seconds]
sdutt has joined #dri-devel
rpigott has quit [Remote host closed the connection]
rpigott has joined #dri-devel
jljusten has joined #dri-devel
danvet has quit [Ping timeout: 480 seconds]
vivijim has joined #dri-devel
pcercuei has quit [Quit: dodo]
vivijim has quit [Ping timeout: 480 seconds]
DPA- has quit []
DPA has joined #dri-devel
mlankhorst has joined #dri-devel
calebccff_ has quit []
calebccff has joined #dri-devel
xxmitsu has quit [Remote host closed the connection]