linkmauve has left #dri-devel [Error from remote client]
linkmauve has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
asrivats has quit [Ping timeout: 480 seconds]
melonai5 has quit []
bolson_ has joined #dri-devel
bolson has quit [Ping timeout: 480 seconds]
leizhou has joined #dri-devel
davispuh has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
i-garrison has quit [Ping timeout: 480 seconds]
i-garrison has joined #dri-devel
leizhou has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
nerdopolis has joined #dri-devel
i-garrison has quit [Ping timeout: 480 seconds]
i-garrison has joined #dri-devel
Company has quit [Ping timeout: 480 seconds]
leizhou has joined #dri-devel
Daanct12 has joined #dri-devel
alane has quit []
alane has joined #dri-devel
leizhou has quit [Ping timeout: 480 seconds]
Company has joined #dri-devel
apinheiro has quit [Remote host closed the connection]
nerdopolis has quit [Ping timeout: 480 seconds]
melonai5 has joined #dri-devel
nerdopolis has joined #dri-devel
asrivats has joined #dri-devel
leizhou has joined #dri-devel
leizhou has quit [Ping timeout: 480 seconds]
docmax_ has joined #dri-devel
phire_ has joined #dri-devel
phire is now known as Guest1618
phire_ is now known as phire
Guest1618 has quit [Ping timeout: 480 seconds]
kaiwenjon has quit [Ping timeout: 480 seconds]
docmax has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: WeeChat 4.3.5]
Daanct12 has joined #dri-devel
bolson_ has quit [Ping timeout: 480 seconds]
heat has quit [Remote host closed the connection]
feaneron has joined #dri-devel
LeviYun has joined #dri-devel
jimc_ has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
jimc has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
krumelmonster has quit [Ping timeout: 480 seconds]
Parthiban has joined #dri-devel
LeviYun has joined #dri-devel
leizhou has joined #dri-devel
krumelmonster has joined #dri-devel
kts has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
leizhou has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
Jeremy_Rand_Talos__ has quit [Read error: Connection reset by peer]
Jeremy_Rand_Talos__ has joined #dri-devel
glennk has joined #dri-devel
kaiwenjon has joined #dri-devel
itoral has joined #dri-devel
tzimmermann has joined #dri-devel
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
feaneron has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
warpme has joined #dri-devel
leizhou has joined #dri-devel
frankbinns2 has joined #dri-devel
frankbinns1 has quit [Ping timeout: 480 seconds]
leizhou has quit [Ping timeout: 480 seconds]
frieder has joined #dri-devel
sima has joined #dri-devel
rasterman has joined #dri-devel
warpme has quit []
warpme has joined #dri-devel
leizhou has joined #dri-devel
leizhou has quit [Ping timeout: 480 seconds]
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
mripard has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
kode542 has joined #dri-devel
KDDLB4 has joined #dri-devel
leizhou has joined #dri-devel
KDDLB has quit [Ping timeout: 480 seconds]
kode54 has quit [Ping timeout: 480 seconds]
leizhou has quit [Ping timeout: 480 seconds]
mvlad has joined #dri-devel
LeviYun has joined #dri-devel
warpme has quit []
leizhou has joined #dri-devel
lynxeye has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
frankbinns2 is now known as frankbinns
leizhou has quit [Ping timeout: 480 seconds]
warpme has joined #dri-devel
kode542 has quit []
KDDLB4 has quit []
<tzimmermann>
jfalempe, thanks for the reviews
<jfalempe>
tzimmermann: you're welcome, sorry I should have done it earlier
<tzimmermann>
jfalempe, from shixiong's reply and from what i've found in the ast docs, i think we can finally solve the BMC problem. there's only officially one physical connector on each board: DP, DVI, VGA (my test board is an exception for, well, testing). and the BMC mirrors whatever is shown on that output. so we can model this as a single encoder+connector with brigdes in between. that will keep userspace happy and also
<tzimmermann>
integrate the BMC correctly. the BMC connector would go away.
<tzimmermann>
i have a similar prototype for mgag200, which appears to work
<jfalempe>
ok that looks fine
<tzimmermann>
i'm a bit tired of the BMC saga :)
<tzimmermann>
i'm going to put patch 1 into -misc-fixes
<tzimmermann>
the others will thne go into drm-misc-next later this week
leizhou has joined #dri-devel
<sima>
mripard, apologies for pushing a fix to drm-misc-next-fixes, wasn't entirely awake .-/
<mripard>
sima: yeah, that surprised me a bit :)
<mripard>
I took it into drm-misc-fixes, so it's no big deal
<sima>
thx
<sima>
tzimmermann, jfalempe there's no use-case for disabling the bmc I guess, so unconditionally enabling it is fine?
<mripard>
sima: I've also disabled push access to drm-misc-next-fixes in gitlab as a test
<sima>
ah yeah good idea
<mripard>
only for developpers though, so maintainers can still do it
<sima>
uh
kode542 has joined #dri-devel
<tzimmermann>
sima, it currently is enabled unconditionally
<mripard>
ie, you still can push if you're not fully awaken :)
KDDLB4 has joined #dri-devel
<tzimmermann>
sima, the HW docs are a bit unclear, whether the BMC scanout can really be disabled
<tzimmermann>
even if we wanted
leizhou has quit [Ping timeout: 480 seconds]
<sima>
yeah I guess then there's really no benefit in the explicit bmc connector, and only trouble
<tzimmermann>
sima, we had the additional BMC connector to make userspace keep the display enabled if there's no physical monitor present. didn't workout entirely :/
<tzimmermann>
sima, BTW i do have a patch to improve the kernel console's handling of mirrored outputs. shall i still send it?
<tzimmermann>
for mirrored outputs, the DRM client only picks 1024x768
<tzimmermann>
with the patch, it would look for a better/higher resolution
tobiasjakobi has joined #dri-devel
kode542 has quit []
tobiasjakobi has quit []
kode54 has joined #dri-devel
<sima>
tzimmermann, I think improving the fbcon clone logic is a good idea no matter what
<tzimmermann>
ok
<sima>
and yeah I guess that "real output disconnected, keep bmc alive" is a real use that would break if the bmc connector goes away
warpme has quit []
<tzimmermann>
sima, as long as the physical connector is still connected, it should work. in my mgag200-based prototype, on unplugging the monitor i clear the edid and install some default display modes. the connector is then in "BMC mode". incrementing the connector's epoch_counter generates a hotplug even for clients. appears to work nicely
<tzimmermann>
that is a bit more complicated for ast, but not fundamentally different
apinheiro has joined #dri-devel
<sima>
hm this feels a bit silly, since it's essentially hand-rolling clone mode but not using the uapi
<sima>
otoh *shrug*
<sima>
especially when you can't shut off the bmc anyway
Jeremy_Rand_Talos__ has quit [Remote host closed the connection]
Jeremy_Rand_Talos__ has joined #dri-devel
leizhou has joined #dri-devel
itoral has quit [Remote host closed the connection]
leizhou has quit [Ping timeout: 480 seconds]
<jfalempe>
tzimmermann: sorry I was in a meeting. yes having better display mode, when the physical connector is unplugged is a good thing.
<tzimmermann>
i'll prepare something
<jfalempe>
sima, tzimmermann: I'm working on a drm_log, which uses drm_client api,I will send an RFC when it's a bit more polished.
<tzimmermann>
ok, sure
<jfalempe>
that way we can bypass fbcon/vt completely at boot.
simon-perretta-img has quit [Ping timeout: 480 seconds]
bmodem has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Quit: Ex-Chat]
heat has joined #dri-devel
The_Company has quit []
Company has joined #dri-devel
tzimmermann has quit [Quit: Leaving]
<mareko>
zmike: any luck making llvmpipe work with dril? glxinfo succeeds though without any double-buffered visuals it seems, and glxgears prints: Error: couldn't get an RGB, Double-buffered visual
kts has joined #dri-devel
<zmike>
mareko: uhhhh you mean like running xorg on llvmpipe?
simon-perretta-img has joined #dri-devel
<zmike>
or just using llvmpipe in general
simon-perretta-img_ has joined #dri-devel
<mareko>
zmike: xorg on llvmpipe
<zmike>
mareko: how are you starting it?
<mareko>
zmike: modprobe.blacklist=amdgpu on the kernel command line is one way
<zmike>
hmm
<zmike>
okay yeah I see it
<zmike>
fixing...
<mareko>
in reality, I have the wrong firmware version for my GPU, so amdgpu doesn't load, same effect
<zmike>
still a good catch
simon-perretta-img has quit [Ping timeout: 480 seconds]
<eric_engestrom>
I've retried the job a few times to see if it's a flake, but it's got a 100% reproduction rate, so something really is causing this in one of these changes
<eric_engestrom>
/cc karolherbst since it's most likely one of your commits
<eric_engestrom>
I have to go now, but tomorrow I'll start bisecting (always fun doing that by pushing to the CI), but I'm hoping one of you will see something I don't so that I don't have to do this 🙏
<jenatali>
eric_engestrom: I don't see f05b7225a331a72d7ff97c68b08b171fc31d3ce8 picked up?
LeviYun has joined #dri-devel
<jenatali>
It was also part of 29896
<eric_engestrom>
hmm
mbrost has joined #dri-devel
<eric_engestrom>
looks like a bug in pick-ui (the release maintainer tool), it didn't pick that commit as nominated for backport
<jenatali>
Weird. It's got "Cc: mesa-stable"
<karolherbst>
I hope it's not due to the otherwise empty commit message
<jenatali>
I wonder if it's a line endings problem since I probably authored it on Windows with \r\n :P
kaiwenjon has joined #dri-devel
<karolherbst>
...
kaiwenjon has quit []
<karolherbst>
that would be a good one
<eric_engestrom>
yeah, the commit message looks right
<eric_engestrom>
oh
kaiwenjon has joined #dri-devel
<eric_engestrom>
I don't know how to check that
<eric_engestrom>
the line ending thing
<eric_engestrom>
but yeah, that could be the issue
mbrost_ has joined #dri-devel
<eric_engestrom>
`git log -1 --format=%b f05b7225a331a72d7ff97c68b08b171fc31d3ce8 | xxd` shows a normal \n without \r, so I don't think commit messages have the line ending issue
<eric_engestrom>
I'll look into it more tomorrow, but now I have to go
<jenatali>
Yeah I was trying to see that too
<jenatali>
Anyways that's the missing commit
<eric_engestrom>
thank you both for your very quick help!
<karolherbst>
I hope you won't end up with "uhh, we are missing 100 commits never backported"
<eric_engestrom>
yup, that fix works 💪
<eric_engestrom>
karolherbst: yeah, that's my worry and that's why I want to figure out what went wrong so that I can grep for what other commits have hit that bug
mbrost_ has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
<eric_engestrom>
oh, the commit parsing side actually did get the `cc: stable` and marked it for backport
<eric_engestrom>
so it's a bug in the ui part of the tool
<jenatali>
Oh fun
<eric_engestrom>
so at least fixing that will suddenly show all matching commits
feaneron has quit [Quit: feaneron]
rasterman has joined #dri-devel
simon-perretta-img_ has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
simon-perretta-img_ has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
jsa has joined #dri-devel
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
lynxeye has quit [Quit: Leaving.]
LeviYun has joined #dri-devel
tobiasjakobi has joined #dri-devel
mbrost has joined #dri-devel
tobiasjakobi has quit []
mbrost_ has joined #dri-devel
Haaninjo has joined #dri-devel
eukara has quit [Read error: Connection reset by peer]
mbrost has quit [Ping timeout: 480 seconds]
frieder has quit [Remote host closed the connection]
mbrost__ has joined #dri-devel
mbrost_ has quit [Ping timeout: 480 seconds]
mbrost__ has quit [Ping timeout: 480 seconds]
karenthedorf has joined #dri-devel
simon-perretta-img has joined #dri-devel
ManMower has quit [Quit: leaving]
ManMower has joined #dri-devel
bbrezill1 has joined #dri-devel
airlied_ is now known as airlied
sima has quit [Ping timeout: 480 seconds]
bbrezillon has quit [Ping timeout: 480 seconds]
coldfeet has quit [Remote host closed the connection]
rasterman has quit [Quit: Gettin' stinky!]
kaiwenjon has quit [Ping timeout: 480 seconds]
DarkShadow4444 has joined #dri-devel
DarkShadow4444 has quit []
DarkShadow44 has joined #dri-devel
Parthiban has quit [Remote host closed the connection]
Parthiban has joined #dri-devel
<DarkShadow44>
is there a way to make mesa give an error message if it fails to compile a shader, preferably with details?
<DarkShadow44>
Like "MESA_GLSL=errors /bin/wine x.exe"? Because that doesn't print anything, but if I do an apitrace that will show shader compile errors
<jenatali>
Oh I don't know how wine/stderr interact
LeviYun has joined #dri-devel
<gfxstrand>
dcbaker: Have we ever gotten a solution for include!() something from the builddir?
samuelig has quit []
mbrost has joined #dri-devel
Parthiban has quit [Remote host closed the connection]
samuelig has joined #dri-devel
Parthiban has joined #dri-devel
<dcbaker>
gfxstrand: I can't remember now, did `structured_sources` solve that or did we decide that wasn't sufficient?
Parthiban has quit [Remote host closed the connection]
<DarkShadow44>
I had it work once, and how without anything changed it doesn't work again >_>
<jenatali>
... oh
Parthiban has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
<jenatali>
Why is that using _mesa_debug instead of _mesa_error?
<jenatali>
DarkShadow44: Use dump_on_error which is apparently not documented in that list, but uses something that should work on a retail build
<jenatali>
Oh it also needs MESA_DEBUG=1
Parthiban has quit [Remote host closed the connection]
<DarkShadow44>
ah, so "MESA_GLSL=dump ./factorio" only works when the shader is not in .cache/mesa_shader_cache
<DarkShadow44>
is that a bug...?
<Sachiel>
no
<Sachiel>
MESA_SHADER_CACHE_DISABLE=1\
mvlad has quit [Remote host closed the connection]
<DarkShadow44>
okay, thanks
Parthiban has joined #dri-devel
<Company>
DarkShadow44: debug env vars are always blackmagic for developers (for large projects it's even a subset of at most 2-3 people), so it's expected that you need some obscure knowledge to use them right
<Company>
and once you know it, you remember the magic incantation of env vars and put them in some document somewhere
<jenatali>
"Some document somewhere" = public documentation?
<Company>
they tend to change from time to time
<Company>
mesa's docs are a good intro, but not complete enough for the more obscure stuff
<Company>
"your driver needs to use the frob subsystem for this to work"
gouchi has quit [Remote host closed the connection]
<Company>
I'm not complaining btw - I think it's by design that things work that way, and not just in MEsa
LeviYun has joined #dri-devel
Parthiban has quit [Remote host closed the connection]
owndgwsmehoyk^ has joined #dri-devel
Parthiban has joined #dri-devel
gouchi has joined #dri-devel
gouchi has quit [Remote host closed the connection]
<DarkShadow44>
dump_on_error isn't doing anything either
<DarkShadow44>
yeah, it's not exactly easy
<jenatali>
DarkShadow44: Did you also include MESA_DEBUG=1?
<DarkShadow44>
no
<jenatali>
"Oh it also needs MESA_DEBUG=1"
mbrost has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
<DarkShadow44>
yes, yes it does. Thanks for your patience, it finally works :)
Parthiban has quit [Remote host closed the connection]
<Company>
GL transforms that automatically, GLES bugs out
<Company>
iirc
alanc has quit [Remote host closed the connection]
<jenatali>
Or is it complaining about vec4 * vec4?
alanc has joined #dri-devel
<jenatali>
I can't quite tell which one line 32 is
Haaninjo has quit [Quit: Ex-Chat]
<DarkShadow44>
it's the texColor *= (1.0 - Intensity);
<HdkR>
`debug env vars are always blackmagic for developers` My project even programatically generates documentation for environment variables and no one knows how to find them :D
<DarkShadow44>
is this a known bug, something I should report or a buggy program?
mbrost has joined #dri-devel
<jenatali>
Company: /* Prior to GLSL 1.20, there are no implicit conversions */
<jenatali>
So the problem is that the shader doesn't explicitly declare a GLSL version I guess
melonai5 has joined #dri-devel
LeviYun has joined #dri-devel
kaiwenjon has joined #dri-devel
guludo has quit [Ping timeout: 480 seconds]
<alyssa>
HdkR: wait what
leizhou has quit [Remote host closed the connection]
<HdkR>
alyssa: Knowledge is power
<HdkR>
`man fex` and search for the `ENVIRONMENT` section
<Company>
jenatali: my shaders have #version 320 es and they complain about it
<jenatali>
🤷 I was just reading the code comment
<HdkR>
GLES also doesn't get implicit conversion unless you explicitly enable the extension for it
<Company>
and I just removed a ".0" from one of my shaders and tried ;)