<jenatali>
mmx_in_orbit__: Yeah, zmike even hooked up Kopper for Windows IIRC
tristan has joined #dri-devel
tristan is now known as Guest7539
<mmx_in_orbit__>
what is Kopper in 25 words or less ?
<jenatali>
Hooks up GL window system stuff to Vulkan swapchains
pixelcluster has quit [Ping timeout: 480 seconds]
zf has quit [Ping timeout: 480 seconds]
<mareko>
zmike: replied
krushia has quit [Ping timeout: 480 seconds]
youmukonpaku133 has joined #dri-devel
<youmukonpaku133>
hey guys, im messing with turnip and was wondering how do i get a 32bit icd when building? loading any 32bit vulkan application fails
<youmukonpaku133>
was trying to load up touhou07, saw dxvk showing "driver: llvmpipe" and thought "since when is llvmpipe a vulkan driver" lol
crabbedhaloablut has joined #dri-devel
youmukonpaku133 has quit [Remote host closed the connection]
youmukonpaku has joined #dri-devel
youmukonpaku has quit []
youmukonpaku has joined #dri-devel
youmukonpaku has quit []
youmukonpaku has joined #dri-devel
youmukonpaku has quit []
youmukonpaku133 has joined #dri-devel
zf has joined #dri-devel
<youmukonpaku133>
okay i think i found the docs for cross compiling
The_ASV has quit [Read error: Connection reset by peer]
The_ASV has joined #dri-devel
<airlied>
anholt: you might know, are ballots and read_first_invocation in fragment shaders meant to work for helper invocations?
* airlied
wonders do I have to track helper invocs vs flow control, since fixing the cts tests breaks a piglit one that does flow control
vliaskov_ has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
rasterman has joined #dri-devel
bmodem has quit [Remote host closed the connection]
sima has joined #dri-devel
The_ASV has joined #dri-devel
tristan has joined #dri-devel
tristan is now known as Guest7553
The_ASV has quit [Read error: Connection reset by peer]
bmodem has joined #dri-devel
vliaskov__ has joined #dri-devel
tzimmermann has joined #dri-devel
vliaskov_ has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Quit: WeeChat 3.6]
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
The_ASV has joined #dri-devel
Ahuj has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
Zopolis4 has quit [Quit: Connection closed for inactivity]
mwalle has joined #dri-devel
The_ASV has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
The_ASV has joined #dri-devel
bmodem has quit [Ping timeout: 480 seconds]
bmodem has joined #dri-devel
bmodem has quit [Excess Flood]
bmodem has joined #dri-devel
bmodem has quit [Remote host closed the connection]
bmodem has joined #dri-devel
frieder has joined #dri-devel
JohnnyonFlame has quit [Read error: Connection reset by peer]
jkrzyszt_ has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
The_ASV has joined #dri-devel
pcercuei has joined #dri-devel
pixelcluster has joined #dri-devel
fab has joined #dri-devel
sgruszka has joined #dri-devel
tursulin has joined #dri-devel
tzimmermann has quit [Remote host closed the connection]
tzimmermann has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
The_ASV has joined #dri-devel
jagan_ has joined #dri-devel
kts has joined #dri-devel
<mareko>
helper invocations are just temporarily enabled lanes
fab has quit [Ping timeout: 480 seconds]
<mareko>
I think they just can't store anything to memory
<MrCooper>
KungFuJesus: DRI2 requires GPU memory management in the kernel driver, which r128 didn't have; there was some talk about possibly adding r128 support to the radeon kernel driver, but I don't think anything ever materialized
<mareko>
there is no difference between helper and non-helper invocations otherwise
djbw has quit [Read error: Connection reset by peer]
<airlied>
yeah llvmpipe kinda sucks at defining what are helper invocs and it means things like ballot and read first invocation are messy
The_ASV has quit [Read error: Connection reset by peer]
The_ASV has joined #dri-devel
drobson has joined #dri-devel
drobson has quit [Remote host closed the connection]
drobson has joined #dri-devel
drobson has quit [Read error: Connection reset by peer]
donaldrobson has joined #dri-devel
The_ASV has quit [Remote host closed the connection]
The_ASV has joined #dri-devel
cmichael has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
Zopolis4 has joined #dri-devel
The_ASV has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
The_ASV has joined #dri-devel
kts has quit [Quit: Leaving]
The_ASV has quit [Read error: Connection reset by peer]
The_ASV has joined #dri-devel
Guest7553 has quit [Ping timeout: 480 seconds]
godvino has joined #dri-devel
tzimmermann has quit [Remote host closed the connection]
The_ASV has quit [Remote host closed the connection]
tzimmermann has joined #dri-devel
sarahwalker has joined #dri-devel
The_ASV has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
tzimmermann has quit [Quit: Leaving]
The_ASV has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
donaldrobson_ has joined #dri-devel
donaldrobson has quit [Ping timeout: 480 seconds]
DrNick has quit []
The_ASV has joined #dri-devel
The_ASV has quit [Remote host closed the connection]
andrey-konovalov has quit [Quit: ZNC - http://znc.in]
itoral has quit [Remote host closed the connection]
<karolherbst>
airlied: I wonder if you could play dirty end game tricks by compiling two versions for each shader, and just swapping them once a thread is demoted to helper... (making sure both versions have instructions at the same place so you can simply mess with $pc and stuff)
The_ASV has joined #dri-devel
sumits has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
The_ASV has quit [Read error: Connection reset by peer]
sumits has quit []
The_ASV has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
godvino has quit [Quit: WeeChat 3.6]
andrey-konovalov has joined #dri-devel
sumits has joined #dri-devel
kts has joined #dri-devel
The_ASV has joined #dri-devel
andrey-k- has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
<alyssa>
If we decide that the mesa/st behaviour is right and those drivers are all broken.. I don't have the bandwidth to take on another cross-tree effort, sorry. Someone else can pick up the torch.
jagan_ has quit [Remote host closed the connection]
The_ASV has joined #dri-devel
andrey-k- has quit []
JohnnyonFlame has joined #dri-devel
yyds has quit [Remote host closed the connection]
andrey-k- has joined #dri-devel
andrey-k- has quit []
andrey-k- has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
The_ASV has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
godvino has joined #dri-devel
The_ASV has joined #dri-devel
ahajda_ has joined #dri-devel
kts has quit [Quit: Leaving]
youmukonpaku133 has joined #dri-devel
ahajda has quit [Ping timeout: 480 seconds]
ahajda_ is now known as ahajda
The_ASV has quit [Read error: Connection reset by peer]
<youmukonpaku133>
hey guys im back again, so when i run stuff without vblank_mode=0 its not at my actual hz (60fps instead of 120fps) and most apps throttle down to 30 unless i keep moving my cursor, then they hit 60, but with vblank mode 0 its stable
<youmukonpaku133>
any ideas?
The_ASV has joined #dri-devel
<jenatali>
airlied: Without looking at the GL/VK specs, D3D allows both modes. By default helper lanes are considered inactive for subgroup ops but can be opted in
Cyrinux9474 has quit []
The_ASV has quit [Remote host closed the connection]
mbrost has joined #dri-devel
The_ASV has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
mvlad has joined #dri-devel
Cyrinux9474 has joined #dri-devel
andrey-k- has quit []
pa- has quit [Read error: Connection timed out]
andrey-k- has joined #dri-devel
hansg has joined #dri-devel
pa- has joined #dri-devel
andrey-k- has quit []
andrey-k- has joined #dri-devel
<enunes>
anarsoul: alyssa: for the lima nir register intrinsic MR I guess I will just go ahead and merge it?
andrey-k- has quit []
<alyssa>
enunes: =D
<alyssa>
thanks for finishing that off!
andrey-k- has joined #dri-devel
<mareko>
alyssa: it's an st/mesa bug
<alyssa>
mareko: :+1:
<alyssa>
thanks for weighing in!
The_ASV has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
ahajda has quit [Ping timeout: 480 seconds]
Haaninjo has joined #dri-devel
youmukonpaku133 has quit [Ping timeout: 480 seconds]
youmukonpaku133 has joined #dri-devel
fxkamd has joined #dri-devel
oneforall2 has joined #dri-devel
macromorgan has joined #dri-devel
yuq825 has left #dri-devel [#dri-devel]
macromorgan is now known as Guest7599
macromorgan has joined #dri-devel
macromorgan is now known as Guest7600
Guest7599 has quit [Ping timeout: 480 seconds]
andrey-k- has quit []
andrey-k- has joined #dri-devel
Guest7600 has quit [Ping timeout: 480 seconds]
<karolherbst>
alyssa: nah.. those nire changes are all fine :D I should probably review it as well, just those wildcard changes are scaring me
<youmukonpaku133>
vsync is locking to 60 while xrandr shows 119.93
<youmukonpaku133>
hm
<youmukonpaku133>
anything that i couldve fucked up when compiling mesa?
The_ASV has joined #dri-devel
The_ASV has quit [Remote host closed the connection]
orbea has quit [Remote host closed the connection]
orbea has joined #dri-devel
<youmukonpaku133>
really need some help with this lol i cannot find any similiar issues online
The_ASV has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
<psykose>
sounds like some vrr thing or mismatching display refresh with multiple displays
<psykose>
if it's the latter then i'm not sure it's even possible with xorg to have one high and one low
bmodem has quit [Ping timeout: 480 seconds]
kzd has joined #dri-devel
<youmukonpaku133>
im not exactly running xorg
<youmukonpaku133>
my setup is an abomination
<youmukonpaku133>
oh and i dont have multiple displays or vrr
<psykose>
no clue then gl
<youmukonpaku133>
im running turnip zink in a debian chroot through termux-x11 which is if im not wrong xwayland, but when i asked in their discord they told me its a mesa problem
<youmukonpaku133>
so like
<youmukonpaku133>
yeah.
<youmukonpaku133>
hm
The_ASV has joined #dri-devel
rasterman has quit [Remote host closed the connection]
tristan has joined #dri-devel
tristan is now known as Guest7608
The_ASV has quit [Read error: Connection reset by peer]
andrey-k- has quit []
macromorgan has joined #dri-devel
The_ASV has joined #dri-devel
Duke`` has joined #dri-devel
godvino has quit [Quit: WeeChat 3.6]
aravind has joined #dri-devel
youmukonpaku133 has quit [Ping timeout: 480 seconds]
youmukonpaku133 has joined #dri-devel
kzd has quit [Quit: kzd]
<gfxstrand>
hakzsam: Do you have your editor configured to auto-clang-format?
<hakzsam>
yes
<gfxstrand>
Okay, that explains the vk_buffer_view changes.
The_ASV has quit [Read error: Connection reset by peer]
<alyssa>
highly recommend it
<gfxstrand>
Who unilaterally decided that the character limit for all of src/ is now 100 characters?
<hakzsam>
yeah, it's now required for RADV that explains the changes
<hakzsam>
gfxstrand: I don't know
<alyssa>
gfxstrand: was that rhetorical?
<gfxstrand>
Konstantine, Eric, and, and Alyssa, aparently
* alyssa
sweats
<alyssa>
asahi uses 80 chars fwiw
<emersion>
the kernel uses 100
<MrCooper>
youmukonpaku133: does xrandr report the output names as "XWAYLAND<n>", or does xdpyinfo list an XWAYLAND extension?
<gfxstrand>
emersion: The kernel also uses 8-space actual tabs
<emersion>
i mean, mesa uses 3-space indentation, so even if it used a 32 char limit it wouldn't be the worse part
* emersion
walks away and grabs popcorn
* alyssa
closes irc
<youmukonpaku133>
MrCooper: the output name is just screen
<MrCooper>
youmukonpaku133: the output name is on the second line, before "connected primary"
<youmukonpaku133>
as for xdpyinfo, doesnt seem like it
<youmukonpaku133>
yes, the output name on the second line is just "screen"
<daniels>
MrCooper: I always thought that the task was its own discouragement, but I guess people are more brave than I give them credit for
donaldrobson_ has quit [Ping timeout: 480 seconds]
donaldrobson has joined #dri-devel
<youmukonpaku133>
daniels: what's a ddx
<youmukonpaku133>
anyway one of the termuxx11 devs is asking how does mesa check vblank
<youmukonpaku133>
i have no idea what they mean by that but yeah
cmichael has quit [Quit: Leaving]
<karolherbst>
daniels: thanks.. now I know about another super cursed project
The_ASV has quit [Read error: Connection reset by peer]
<youmukonpaku133>
ok apparently termux x11 is a mix of xvfb, xsdl and xwayland code
<youmukonpaku133>
sounds horrible
<karolherbst>
youmukonpaku133: X device driver (more or less).
<karolherbst>
anyway
<karolherbst>
tell them to stop writing their own x server :P
JohnnyonFlame has quit [Ping timeout: 480 seconds]
twaik has joined #dri-devel
<youmukonpaku133>
oh look whos here
Guest7608 has quit [Remote host closed the connection]
<twaik>
What did I miss?
sgruszka has quit [Ping timeout: 480 seconds]
<youmukonpaku133>
not much
<twaik>
@karolherbst why should I stop writing my own X server?
_x0000001 has joined #dri-devel
<karolherbst>
Because XWayland should be long term the only one to exist
<psykose>
is it drama tuesday already
<daniels>
twaik: your server doesn't do anything Mesa needs to be able to sensibly run
<daniels>
for starters, you declare a single fixed mode of 60Hz regardless of what's going on
<daniels>
but even without that, Mesa has no way of knowing what your underlying (seemingly fixed at 120Hz regardless of display rate?) server is doing without having something like the Present extension to give feedback
<karolherbst>
psykose: I didn't had any drama last week I think
<daniels>
you'd also want DRI3 so you're not stuck with software rendering
<twaik>
> for starters, you declare a single fixed mode of 60Hz regardless of what's going on
<twaik>
I am declaring a mode with needed refresh rate
<daniels>
twaik: I don't see anything in your X server which implements Present at all
fxkamd has quit []
<twaik>
I could call present_screen_init but it looks like it requires only functions to work with DRM/GBM textures.
fxkamd has joined #dri-devel
<twaik>
But anyways `InitExtensions` calls `present_extension_init` so basic PRESENT extension is supported
<twaik>
And all PRESENT extension functionality works.
Zopolis4 has quit [Quit: Connection closed for inactivity]
<youmukonpaku133>
but doesnt seem like its working properly with my issue
The_ASV has joined #dri-devel
<daniels>
if you don't actually implement Present properly in your xserver, it has no way of discovering the actual times corresponding to vblank, so it uses a fake queue which ticks at ... well, you can probably guess the rate
<youmukonpaku133>
it ticks every 16.67ms doesnt it
Akron has joined #dri-devel
_x0000001 has quit [Remote host closed the connection]
<youmukonpaku133>
this is quite interesting to read ngl
The_ASV has quit [Read error: Connection reset by peer]
The_ASV has joined #dri-devel
<twaik>
I can try to assign `FakeScreenFps` and call `present_fake_screen_init` to force it.
sarahwalker has quit [Ping timeout: 480 seconds]
<twaik>
> Because XWayland should be long term the only one to exist
<twaik>
Why?
<twaik>
I am not pushing my code to upstream, I only implement something for my platform and distributed with my code.
Akron has quit [Remote host closed the connection]
<twaik>
karolherbst: ?
donaldrobson has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: A-lined: User has been AVIVA lined]
Danct12 has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
<karolherbst>
It's really hard to make such bigger ecosystem and everybody here would be more happy if the only reason to support X is because of legacy applications not seeing updates (games). Anyway, if you think that writing your own X server instead of relying on XWayland is the way to go, you probably have your reasons for that. Just I think it's better to make sure XWayland runs everywhere instead to have a "single source of truth" on how X shall
<karolherbst>
behave
The_ASV has quit [Read error: Connection reset by peer]
The_ASV has joined #dri-devel
The_ASV has quit [Read error: Connection reset by peer]
sravn has quit [Quit: WeeChat 3.5]
The_ASV has joined #dri-devel
<twaik>
Maybe it is better but in this case it is much harder to implement output into AHardwareBuffer which is bionic-specific. Using it is a huge optimization.
<twaik>
So users even can play games on their devices.
lyudess has quit []
Lyude has joined #dri-devel
<daniels>
sort of - using lock/unlock on AHB to effectively do an mmap is a very slow path - given that you're doing copies anyway you'd be much better off just using gl(Sub)TexImage2D
The_ASV has quit [Read error: Connection reset by peer]
The_ASV has joined #dri-devel
<twaik>
Not exactly. I have lagacy-drawing mode with glSubTexImage2D and it is twice slower. At least on my devices. So AHB is preferable.
JohnnyonFlame has joined #dri-devel
<zmike>
mareko: when exactly does your linker thing lower io? I'm seeing that lower_io can't handle indirect access of compact arrays (clip/cull dist), so I assume you're doing unroll first?
<karolherbst>
dcbaker: mhh.. I think I need a little addition for rust.bindgen and a potential workaround. Building against llvm-16 headers requires c++17 to be set. Not sure if rust.bindgen should get a cpp_args, but I guess it also needs to be able to autodetect the source language and apply the global setting automatically. In any case, Is there a way to fetch the currently set C++ std version in meson?
<zmike>
seems to me like the current semantics for lowered io with compact arrays is broken; it should be that the src is the array index and component is unused instead of the src being slot offset with component on top
<zmike>
otherwise there's no way to resolve this scenario if the loop can't be unrolled
<jenatali>
You unroll the loop by lowering IO to temps
<zmike>
well yes, but also if the driver just doesn't unroll loops then it's still not unrolled
junaid has joined #dri-devel
mbrost has joined #dri-devel
mbrost_ has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
yyds has quit [Remote host closed the connection]
vliaskov__ has quit [Ping timeout: 480 seconds]
<alyssa>
oof, I see the problem.
<alyssa>
but yes. I/O to temps, I think
<alyssa>
io to temps will turn it into indirect access on a local variable array
<alyssa>
and then direct stores to the compact array at the end
<karolherbst>
I should do more fun zink stuff, but sadly I don't have the 400 hours I need each day :')
<psykose>
how many hours do you have each day
<psykose>
~150?
<karolherbst>
sadly only 100
kasper93 has quit [Remote host closed the connection]
<bl4ckb0ne>
time to buy more engineers
mvlad has quit [Remote host closed the connection]
<youmukonpaku133>
"fun" zink stuff is when it works flawlessly on first start
<youmukonpaku133>
otherwise its just suffering
fab has joined #dri-devel
hansg has quit [Quit: Leaving]
mbrost_ has quit [Ping timeout: 480 seconds]
junaid has quit [Ping timeout: 480 seconds]
junaid has joined #dri-devel
benjaminl has joined #dri-devel
tursulin has quit [Ping timeout: 480 seconds]
idr_ has joined #dri-devel
<karolherbst>
then I meant secret fun zink stuff
idr has quit [Ping timeout: 480 seconds]
Ahuj has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
hansg has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
sravn has joined #dri-devel
hansg has quit [Remote host closed the connection]
<bl4ckb0ne>
whats the secret fun
junaid has quit [Ping timeout: 480 seconds]
rsripada_ has quit [Remote host closed the connection]
rsripada has joined #dri-devel
djbw has quit [Remote host closed the connection]
djbw has joined #dri-devel
Haaninjo has quit [Quit: Ex-Chat]
mbrost has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
mbrost has quit [Ping timeout: 480 seconds]
sima has quit [Ping timeout: 480 seconds]
idr__ has joined #dri-devel
idr_ has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has joined #dri-devel
idr has joined #dri-devel
idr__ has quit [Ping timeout: 480 seconds]
psykose has quit [Remote host closed the connection]
mbrost has joined #dri-devel
simon-perretta-img__ has quit []
simon-perretta-img has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
fxkamd has quit []
<youmukonpaku133>
AHAHAHAHAHAHAHAHAHAHAHAHAHAHA turns out my system was runninh like garbage because it didnt increase gpu clock from 150 while max is 830
<youmukonpaku133>
real
<youmukonpaku133>
forced it manually
<youmukonpaku133>
crazy performance now
<gfxstrand>
GPU clocks will do that...
<HdkR>
Gotta go fast
<gfxstrand>
GPU go brrrrrr
<HdkR>
My GPU over here being all sad at 690Mhz max
<youmukonpaku133>
also
<youmukonpaku133>
any way to force disable vsync on vulkan?
<youmukonpaku133>
like vblank_mode=0
<youmukonpaku133>
but that works only for gl
<HdkR>
Can probably do `MESA_VK_WSI_PRESENT_MODE=immediate`
<youmukonpaku133>
ok thx
<youmukonpaku133>
GAHAHAHAHAHAHAHA
<youmukonpaku133>
vkcube turned into prism
<youmukonpaku133>
at that speed
<youmukonpaku133>
wait no
<youmukonpaku133>
not prism
<youmukonpaku133>
cylinder
<youmukonpaku133>
engrish
<youmukonpaku133>
thanks a lot guys
djbw has quit [Read error: Connection reset by peer]
ickle has quit [Read error: Connection reset by peer]