ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
<Kayden>
though I'm not sure what fds you actually want...there's dedup across fstat-equivalent /dev/dri/* files, and dedup across os_same_file_description() (same open() of the same file, i.e. just dup()'d)
<jekstrand>
We don't for the EXT (it requires buffer-owned VA) but we do for the KHR
<jekstrand>
bnieuwenhuizen: util/vma.h is your friend. :D
<bnieuwenhuizen>
Kayden: it dedups across same major/minor
<bnieuwenhuizen>
which means you actually need the right fd to have your manually create syncobj be valid
<Kayden>
ah, right, amdgpu_device does that...more or less... (actually drmGetDeviceNameFromFd equivalence, which is...a bit more strange than that...)
<Kayden>
radv_amdgpu_winsys_create should have the actual fd though
<Kayden>
so you could just store it somewhere
<bnieuwenhuizen>
Kayden: if you store it the handles might not be compatible with the internal fd in libdrm_amdgpu
danvet has quit [Ping timeout: 480 seconds]
Company has quit [Read error: Connection reset by peer]
ybogdano has quit [Ping timeout: 480 seconds]
Lucretia has quit []
<imirkin>
zmike: well, that's definitely the path of least resistance :) not really gallium, but GL (and thus st/mesa) expect MSAA to work equally on any renderable format.
<imirkin>
zmike: in practice, some of the DX10 chips support less MSAA on 128-bit formats than on other ones. i think we've sorta normalized that in a way that doesn't completely upset everything ... iirc we just make the FB incomplete or something
<imirkin>
zmike: but perhaps i'm not completely understanding your problem
<imirkin>
an illustrated example might help?
columbarius has joined #dri-devel
<zmike>
imirkin: there's one format that most vk drivers can't render to as ms, but GL expects it, and returning unsupported fails the test instead of skipping it
co1umbarius has quit [Ping timeout: 480 seconds]
<imirkin>
zmike: which format?
<zmike>
the shared exponent one
<imirkin>
rgb9e5?
<zmike>
yep
<imirkin>
annoying
<zmike>
yep
<imirkin>
slightly surprised that hw lets you render in the first place
<zmike>
I pass the tests now but only because detection is broken
<zmike>
and the test skips
<zmike>
very stupid problem
<imirkin>
nvidia doesn't support rendering to rgb9e5
<imirkin>
tbh i'd just say don't report it renderable
<imirkin>
(maybe the latest boards do, dunno, but certainly not even like kepler generation did)
<zmike>
I have to or the tests fail
<zmike>
it's bizarre
<imirkin>
report rgb9e5 renderable??
<zmike>
yep
<imirkin>
i don't think so. if they're failing, it's for some other reason
<imirkin>
like i said, nouveau only exposes rgb9e5 for texturing
<zmike>
I still need to look at it more, it's hard to figure out the rube goldbergness
<zmike>
but that's the tl;dr
<imirkin>
yeah, really annoying to track this stuff down
<zmike>
indeed
<imirkin>
even when you're not dealing with layering
<imirkin>
zmike: fyi, this was my latest fix for the more general situation: 561f9ae74b2b7da06bb4830aaca8d017a3dd2746
<zmike>
will have to check tomorrow, I'm on mobile for the night
<imirkin>
cool. lmk if you have more questions tomorrow (i tend not to be on irc during the day, but email will reach me)
<zmike>
it's not that urgent
<zmike>
slow and steady
<zmike>
just like the ribs I made tonight
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
boistordu has quit [Ping timeout: 480 seconds]
camus has joined #dri-devel
nchery has quit [Remote host closed the connection]
camus1 has quit [Ping timeout: 480 seconds]
rg3igalia_ has joined #dri-devel
ezequielg_ has joined #dri-devel
cwabbott has quit [Ping timeout: 480 seconds]
ezequielg has quit [Ping timeout: 480 seconds]
steev_ has joined #dri-devel
steev has quit [Ping timeout: 480 seconds]
steev_ is now known as steev
cwabbott has joined #dri-devel
rg3igalia has quit [Ping timeout: 480 seconds]
vivijim has quit [Ping timeout: 480 seconds]
aswar002 has quit [Quit: No Ping reply in 180 seconds.]
mbrost has joined #dri-devel
aswar002 has joined #dri-devel
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
nchery has joined #dri-devel
camus has joined #dri-devel
camus1 has quit [Ping timeout: 480 seconds]
Sachiel has quit [Quit: WeeChat 3.2]
Sachiel has joined #dri-devel
shashank1202_ has joined #dri-devel
lemonzest has joined #dri-devel
mbrost has quit [Remote host closed the connection]
Daaanct12 has quit [Remote host closed the connection]
Daaanct12 has joined #dri-devel
pnowack has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
rpigott has quit [Read error: Connection reset by peer]
rpigott has joined #dri-devel
camus has joined #dri-devel
aravind has joined #dri-devel
Duke`` has joined #dri-devel
sdutt has quit [Remote host closed the connection]
i-garrison has quit [Ping timeout: 480 seconds]
itoral has joined #dri-devel
nchery has quit [Ping timeout: 482 seconds]
tarceri_ has joined #dri-devel
tarceri_ has quit [Read error: Connection reset by peer]
i-garrison has joined #dri-devel
tarceri_ has joined #dri-devel
tarceri has quit [Ping timeout: 480 seconds]
thellstrom has joined #dri-devel
thellstrom1 has quit [Ping timeout: 480 seconds]
mlankhorst has joined #dri-devel
thellstrom has quit [Quit: thellstrom]
thellstrom has joined #dri-devel
camus1 has joined #dri-devel
camus1 has quit [Remote host closed the connection]
alanc has quit [Remote host closed the connection]
camus has quit [Ping timeout: 480 seconds]
alanc has joined #dri-devel
mlankhorst has quit [Remote host closed the connection]
camus has joined #dri-devel
mlankhorst has joined #dri-devel
danvet has joined #dri-devel
<dj-death>
jekstrand: yeah, I was pretty sure that for binary semaphore, it has to have been submitted all the way
shashank1202_ has quit [Quit: Connection closed for inactivity]
jkrzyszt has joined #dri-devel
tzimmermann has joined #dri-devel
<pq>
mdnavare, in case it wasn't quite clear yet: Wayland has nothing to do with actual displays. Whether a compositor needs a display device or not is totally up to the particular compositor. There is nothing generic about that. If you use VKMS, it's possible that some compositors will then not support hw accel even if you had a render-only GPU.
<pq>
mdnavare, Weston in its current would not support hw accel on VKMS, but it has a separate headless-backend that supports hw accel without any display (DRM KMS device).
<javierm>
tzimmermann: hi, I'm pushing to disable the remaining fbdev drivers in Fedora and just use simpledrm instead. A user gave some feedback that I think is interesting
<javierm>
tzimmermann: he asked if there could be added a kernel cmdline to prevent the real DRM drivers to take over
<javierm>
something like nomodeset but to keep using simpledrm, let's say that there's a bug in the platform DRM driver but the firmware frame buffer is enough for basic video output
<tzimmermann>
javierm, there's sometimes a per-driver module parameter
<javierm>
tzimmermann: yes, you could also use module.blacklist=foobar but is an interesting idea I think. That way distros could have a "basic graphics" or something entry that does this
<javierm>
for troubleshooting would be useful
<tzimmermann>
javierm, but driver loading is performed by the linux kernel internally. there's nothing that drm could do
<tzimmermann>
at least not until the device get's created
<tzimmermann>
we could make drm_aperture_remove_framebuffer() fail, but that's it's somewhat hackish
elongbug has joined #dri-devel
<javierm>
tzimmermann: device -> driver matching is done by the driver model, yes but I thought about maybe making drm_dev_register() to fail
<javierm>
I thought about setting a DRIVER_SIMPLE or something in struct drm_driver .driver_features, but being an u32 there's no much room there to add another flag
<javierm>
tzimmermann: maybe is a silly idea but I thought that what he asked made sense
adjtm has quit [Remote host closed the connection]
<javierm>
tzimmermann: another option is to make this a udev rule. Since simpledrm would have to be built-in, we can prevent any drm module to be loaded
<tzimmermann>
javierm, as i said, native drivers have to call drm_aperture_remove_framebuffer() very early in their probe callback. if this fails, the native driver should fail as well.
adjtm has joined #dri-devel
<javierm>
tzimmermann: yeah, but I agree that this feels hackish
<tzimmermann>
a module parameter could be added to drm_aperture.c and drm_aperture_remove_framebuffer() would always fail if it's set
<javierm>
tzimmermann: Ok, if you think that could be a reasonable option I'll look at writing a patch
camus1 has joined #dri-devel
<tzimmermann>
javierm, yes please post a patch and let's see what other have to say
<javierm>
tzimmermann: I will. Thanks a lot for your help!
camus has quit [Ping timeout: 480 seconds]
<tzimmermann>
i can see the usecase at least, and the aperture helpers is probably the cleanest way of adding this
<tzimmermann>
javierm, but there's still a bit of work to do for simpledrm. is it ready for fedora?
<javierm>
tzimmermann: yeah, the usecase made a lot of sense to me. And I've seen cases where video output is not working with the DRM drivers but for example efifb works well
<javierm>
tzimmermann: that's what we want to figure out, if there are still gaps and what these are
<tzimmermann>
javierm, there's no flicker-free booting yet. this requries to read the display state backinto drm. i worked on drm helpers to do that, but it's not yet done
dongwonk has quit [Remote host closed the connection]
<tzimmermann>
javierm, and xorg doesn't autoconfigure platform drivers. if you do startx with simpledrm, you have to add a configure file
<tzimmermann>
that's the main things IIRC.
<tzimmermann>
for suse, the xorg thing is still a showstopper. i work on mitigating that
adjtm has quit [Remote host closed the connection]
<javierm>
tzimmermann: I see. Fedora has been using wayland by default for a while so the xorg may not be a showstopper
adjtm has joined #dri-devel
<javierm>
in fact, simpledrm is an improvement because mutter doesn't have a fbdev backend, hence not being usable with efifb but should work with simpledrm
<javierm>
the flicker-free booting may be an issue though. Thanks for the info
<tzimmermann>
javierm, yeah simpledrm is an improvement in most ways. but some of our clients cannot replace xorg easily.
<javierm>
tzimmermann: this is for F36 and the beta freeze is in 4 months so I believe there are still time to fix the remaining issues. And as mentioned in worst case the change could be reverted
<tzimmermann>
javierm, i have similar plans for tumbleweed (and later suse's enterprise distro). that timeframe sounds about right
JohnnyonFlame has quit [Read error: Connection reset by peer]
<javierm>
tzimmermann: cool
<tzimmermann>
javierm, now that nvidia starts offering gbm/wayland support, using wayland+xwayland might be an option.
<tzimmermann>
it's really just the xorg backend code that sucks
<javierm>
tzimmermann: yes, that's what Fedora does. And yeah, nvidia used to be the only reason for people using xorg but as you said that's improving
<tzimmermann>
great! i'm happy to see things moving forward :)
<javierm>
tzimmermann: indeed, and having simpledrm is awesome for this :)
<javierm>
now we "just" need to replace fbcon so we could disable fbdev and the vt console support completely
<javierm>
tzimmermann: anyway, I'll let you know how the Fedora experiment goes
<tzimmermann>
sure
<tzimmermann>
javierm, wrt fbcon. i'd like to revive kmscon. i simply don't have the time to do so.
<javierm>
tzimmermann: yeah, same. I also have forward ported david's drm_log patch but didn't have time to properly test it yet to post to the list
pcercuei has joined #dri-devel
<tzimmermann>
nice :)
rasterman has joined #dri-devel
<pq>
good plans!
pcercuei has quit []
pcercuei has joined #dri-devel
Ahuj has joined #dri-devel
gawin has joined #dri-devel
<danvet>
tzimmermann, ack
<tzimmermann>
danvet, thanks
<tzimmermann>
danvet: well, ack for the patch or for the discussion?
<danvet>
tzimmermann, ack on the revert
<danvet>
I didn't see a ping on the discussion
<tzimmermann>
davnet, so thanks again. there's certainly a deeper issue that needs to be addressed. but i'm on pto next week. no time to look into it today
<danvet>
tzimmermann, yeah the patch looks very funny, but if we don't understand what's going on then revert gets an ack
<airlied>
tzimmermann: i applied kims revert patch to fixes
<airlied>
today for Linus, seemed the safest option
<tzimmermann>
airlied, ok. i wanted to push this in a few minutes
<airlied>
kim seemwd to indicate the connector detect patch was the causr
<tzimmermann>
airlied, your revert should implicitly revert 572994bf18ff ("drm/ast: Zero is missing in detect function") as well
<tzimmermann>
there was a report about this too. but i think it's the same root cause
<tzimmermann>
i just don't have the time this week to investigate and won't be around next week
adjtm has quit [Quit: Leaving]
<tzimmermann>
airlied, as you applied kim's patch, i consider this done for now
<tzimmermann>
thanks for taking care of it
<airlied>
tzimmermann: Sounda good to me
Daaanct12 is now known as Danct12
Company has joined #dri-devel
X-Scale` has joined #dri-devel
X-Scale has quit [Ping timeout: 480 seconds]
camus has joined #dri-devel
flacks has quit [Quit: Quitter]
camus1 has quit [Ping timeout: 480 seconds]
flacks has joined #dri-devel
X-Scale has joined #dri-devel
X-Scale` has quit [Ping timeout: 480 seconds]
tursulin has joined #dri-devel
f11f13 has joined #dri-devel
f11f12 has quit [Ping timeout: 480 seconds]
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
itoral has quit []
camus1 has quit [Ping timeout: 480 seconds]
camus has joined #dri-devel
vivijim has joined #dri-devel
mareko has quit [Remote host closed the connection]
mareko has joined #dri-devel
dri-logger has quit [Remote host closed the connection]
glisse has quit [Remote host closed the connection]
glisse has joined #dri-devel
mslusarz has quit [Remote host closed the connection]
dri-logger has joined #dri-devel
mslusarz has joined #dri-devel
Rakko has joined #dri-devel
Rakko has left #dri-devel [#dri-devel]
omakk has joined #dri-devel
oakk has joined #dri-devel
omakk has quit []
sdutt has joined #dri-devel
iive has joined #dri-devel
unsolo has quit [Ping timeout: 480 seconds]
ced117_ has quit [Ping timeout: 480 seconds]
flto has quit [Remote host closed the connection]
flto has joined #dri-devel
unsolo has joined #dri-devel
sdutt has quit []
sdutt has joined #dri-devel
fxkamd has joined #dri-devel
camus1 has joined #dri-devel
gawin has quit [Ping timeout: 480 seconds]
camus has quit [Ping timeout: 480 seconds]
pekkari has joined #dri-devel
jkrzyszt has quit [Ping timeout: 480 seconds]
Ahuj has quit [Ping timeout: 480 seconds]
shashanks has joined #dri-devel
hansg has joined #dri-devel
camus1 has quit [Ping timeout: 480 seconds]
elongbug has quit [Ping timeout: 480 seconds]
nchery has joined #dri-devel
kenjigashu has joined #dri-devel
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit [Remote host closed the connection]
pekkari has quit [Quit: Konversation terminated!]
kenjigashu has quit []
boistordu has joined #dri-devel
shashanks has quit [Remote host closed the connection]
camus has joined #dri-devel
ced117 has joined #dri-devel
shashanks has joined #dri-devel
rgallaispou has quit []
tursulin has quit [Read error: Connection reset by peer]
dongwonk has joined #dri-devel
kenjigashu has joined #dri-devel
kenjigashu has quit [Remote host closed the connection]
heat has joined #dri-devel
mbrost has joined #dri-devel
ybogdano has joined #dri-devel
f11f13 has quit [Remote host closed the connection]
f11f13 has joined #dri-devel
gouchi has joined #dri-devel
gawin has joined #dri-devel
gawin has quit [Ping timeout: 480 seconds]
nsneck has joined #dri-devel
ybogdano has quit [Quit: Leaving]
ybogdano has joined #dri-devel
kenjigashu has joined #dri-devel
kenjigashu has quit []
pendingchaos has quit [Ping timeout: 480 seconds]
pendingchaos has joined #dri-devel
mlankhorst has quit [Ping timeout: 480 seconds]
kenjigashu has joined #dri-devel
shashank_sharma has joined #dri-devel
shashank_sharma has quit []
pendingchaos has quit [Quit: Quit]
pendingchaos has joined #dri-devel
kenjigashu has quit []
gouchi_ has joined #dri-devel
gouchi has quit [Read error: Connection reset by peer]
gouchi_ has quit [Remote host closed the connection]
tzimmermann has quit [Quit: Leaving]
kenjigashu has joined #dri-devel
kenjigashu has quit [Remote host closed the connection]
nchery has quit [Quit: Leaving]
kenjigashu has joined #dri-devel
heat has quit [Ping timeout: 480 seconds]
hansg has quit [Quit: Leaving]
thellstrom1 has joined #dri-devel
danvet has quit [Ping timeout: 480 seconds]
thellstrom has quit [Ping timeout: 480 seconds]
nchery has joined #dri-devel
nchery has quit []
nchery has joined #dri-devel
ppascher has quit [Ping timeout: 480 seconds]
nchery is now known as Guest3804
nchery has joined #dri-devel
Guest3804 has quit []
vivijim has quit [Ping timeout: 480 seconds]
danvet has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
pnowack has quit [Quit: pnowack]
vivijim has joined #dri-devel
kenjigashu has quit []
kenjigashu has joined #dri-devel
kenjigashu has quit [Remote host closed the connection]
nchery has quit [Quit: Leaving]
nchery has joined #dri-devel
DPA- has quit [Ping timeout: 480 seconds]
danvet has quit [Ping timeout: 480 seconds]
thellstrom has joined #dri-devel
thellstrom1 has quit [Remote host closed the connection]
Duke`` has quit [Ping timeout: 480 seconds]
DPA has joined #dri-devel
fxkamd has quit [Remote host closed the connection]
X-Scale` has joined #dri-devel
X-Scale has quit [Ping timeout: 480 seconds]
anholt__ has joined #dri-devel
anholt_ has quit [Ping timeout: 480 seconds]
alyssa has joined #dri-devel
iive has quit []
pcercuei has quit [Quit: dodo]
<alyssa>
anholt__: imirkin: should "mesa: Require MRT support for GL3/ES3" be cc stable?
<alyssa>
on one hand - it is an unambiguous bug fix
<alyssa>
on the other hand - if users are accidentally relying on the es3/gl3 we were accidentally exposing on t720 (and anyone else..?), that's breakage and that seems mean to backport
<alyssa>
Maybe should be sent to 21.3 since that's still in pre-release, but specifically not backported to 21.2?
anholt__ is now known as anholt
<anholt>
alyssa: that seems like a good compromise to me
<alyssa>
ack
ybogdano has quit [Ping timeout: 480 seconds]
* jekstrand
thinks his new Vulkan sync code might be working....