ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
jhli has quit [Remote host closed the connection]
glennk has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
kaiwenjon has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
<janesma>
thank you for the insight. If udev has changed to start with card1 instead of card0, then a kernel update (with no change to userspace) should not affect the device numbering. I will check that experiment on a debian-testing system that is currently reporting card0.
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
columbarius has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
epoch101 has joined #dri-devel
<sghuge>
Is there a option to dump the spirv as text from glslang or does it just allow to dump in binary form?
q66 has quit [Quit: WeeChat 4.0.2]
iive has quit [Quit: They came for me...]
mbrost has quit [Ping timeout: 480 seconds]
flynnjiang has joined #dri-devel
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
kts_ has joined #dri-devel
yyds has joined #dri-devel
kts_ has quit [Ping timeout: 480 seconds]
<Sachiel>
sghuge: you can use spirv-dis on the binary
alane has quit []
alane has joined #dri-devel
nerdopolis has joined #dri-devel
<sghuge>
Sachiel: Yeah, that's working fine for me, but I was looking for option to dump the output directly from glslang to file (glslang has -H option to dump things)
<Sachiel>
I read through all the options and managed to skip that one
<sghuge>
I thought if we combine -H and -o would work but then it doesn't
LeviYun has joined #dri-devel
kts has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
nerdopolis has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
u-amarsh04 has quit []
nerdopolis has quit [Ping timeout: 480 seconds]
q66 has joined #dri-devel
jernej has quit [Remote host closed the connection]
<ncopa>
i am not familiar with ralloc_*, but it seems like it is a way to do chained allocations? and when freeing the "top" level allocation/context, you free them all?
<javierm>
janesma: probably simpledrm is card0 and the real DRM driver is card1
<ncopa>
I also notice that there are currently no error handling, in case nir_opt_varyings run sout of memory
<ncopa>
if that happens it will simply segfault
<alice>
there's no malloc checking in mesa i don't think is there
<alice>
nor does that even generally work on linux due to default overcommit heuristic (the malloc will succeed and just crash later even when oom)
<MrCooper>
javierm: beat you by 15 minutes :P great minds think alike, as they say
apinheiro has joined #dri-devel
<javierm>
MrCooper: haha, sorry I missed your comment
guru__ has joined #dri-devel
oneforall2 has quit [Read error: Connection reset by peer]
flynnjiang has quit [Remote host closed the connection]
LeviYun has quit [Ping timeout: 480 seconds]
jsa has joined #dri-devel
dok_ has quit [Remote host closed the connection]
dok has joined #dri-devel
KDDLB has joined #dri-devel
kts has joined #dri-devel
dok has quit [Remote host closed the connection]
guru__ has quit [Ping timeout: 480 seconds]
dok has joined #dri-devel
oneforall2 has joined #dri-devel
oneforall2 has quit [Remote host closed the connection]
LeviYun has joined #dri-devel
oneforall2 has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
aradhya7 has quit [Quit: Connection closed for inactivity]
LeviYun has quit [Ping timeout: 480 seconds]
warpme has quit []
LeviYun has joined #dri-devel
sgruszka has joined #dri-devel
nerdopolis has joined #dri-devel
yyds has quit [Remote host closed the connection]
LeviYun has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
warpme has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
guludo has joined #dri-devel
LeviYun has joined #dri-devel
mvlad has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
feaneron has quit [Quit: feaneron]
feaneron has joined #dri-devel
apinheiro has quit [Quit: Leaving]
Coelacanthus[m]1 has quit []
nerdopolis has quit [Ping timeout: 480 seconds]
guludo has quit [Quit: WeeChat 4.2.2]
guludo has joined #dri-devel
wv[m] has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
heat has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
kts_ has joined #dri-devel
kts_ has quit []
kts has joined #dri-devel
QiuWenbo[m] has quit []
bolson has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
gumstixforreal has joined #dri-devel
kzd has joined #dri-devel
LeviYun has joined #dri-devel
bbrezill1 has joined #dri-devel
bbrezillon has quit [Ping timeout: 480 seconds]
coldfeet has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
bmodem has quit [Ping timeout: 480 seconds]
gouchi has joined #dri-devel
gouchi has quit [Remote host closed the connection]
bbrezill1 has quit [Ping timeout: 480 seconds]
coldfeet has quit [Remote host closed the connection]
LeviYun has joined #dri-devel
Haaninjo has joined #dri-devel
feaneron has quit [Quit: feaneron]
bbrezillon has joined #dri-devel
Duke`` has joined #dri-devel
epoch101 has joined #dri-devel
Lyude has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
oneforall2 has quit [Ping timeout: 480 seconds]
rasterman has joined #dri-devel
oneforall2 has joined #dri-devel
<janesma>
javierm: I didn't know about simpledrm, but it looks older than the change that changed /dev/dri/card0 to card1. There is no card0 anywhere in /dev. I guess the sound cards are still counted starting at 0, because I have /sys/class/sound/card0
yyds has joined #dri-devel
Lyude has joined #dri-devel
sgruszka has quit [Ping timeout: 480 seconds]
frankbinns has quit [Ping timeout: 480 seconds]
oneforall2 has quit [Ping timeout: 480 seconds]
<gumstixforreal>
hello, is obnoxious tomato here? Michigans fecalist anal ponytail please be reasonable, none has to see your volkovs brainpain jabbering, it's your deluded dreams of networking admin powers has no ending, but a fecalist who was born by dog ejaculating on brainless worm embryo, where part of brain area was eaten by gecko who also shitted on the remains, can't succeed in networking
<gumstixforreal>
tasks. Give up fecalist.
oneforall2 has joined #dri-devel
<MrCooper>
janesma: the sequence of events we have in mind goes something like: 1) simpledrm inits as card0 2) HW driver inits as card1 3) simpledrm gets deinited in favour of the HW driver, so card0 disappears
<MrCooper>
there should be something about simpledrm in dmesg if so
<MrCooper>
presumably modprobe.blacklist doesn't work because it's built into the kernel, not a module
<janesma>
bah, ok. I will confirm the theory. Relying on card numbers is a brittle aspect of some automation that our development process relies upon. I understand that the process needs to be stronger. I do wonder if stability in the card numbering is something that end-users with customized display configurations rely on.
<sima>
MrCooper, so the deinit should happen before the hw driver really loads, but the issue is that the chardev numbers are reserved for longer
<sima>
so if we're maybe trying to be really clever and limit that to drm_dev_register/unregister instead of drm_dev_init/free a lot of these issues would be less ugly?
<sima>
(I haven't tried, just an idea that crossed my mind rn)
<MrCooper>
it's really just cosmetic though, user space can't rely on card0 existing anyway
<zamundaaa[m]>
janesma: in KWin we just allow using the identifiers in /dev/dri/by-path, which are (more) stable
<sima>
MrCooper, yeah ...
<sima>
zamundaaa[m], yeah would be only really for userspace that tries the cardX names
<janesma>
some people still have /dev/sdc in their fstab...
kaiwenjon has joined #dri-devel
<emersion>
yeah, and sometimes it breaks, just like card0…
<janesma>
exactly, yes
<janesma>
My own use case requires access to /sys/class/drm/cardX for whatever the default rendering device is. We have a lab of machines, and we configure bios at install time to select the discrete card if that is the test target.
coldfeet has joined #dri-devel
<zamundaaa[m]>
janesma: there's a boot-vga tag that you can use for getting the bios-selected device
<janesma>
oh, that sounds much better than keeping configuring pci addresses per machine.
<emersion>
probably you can convince udevadm to filter based on this or something
yyds has quit [Remote host closed the connection]
gumstixforreal has quit [Remote host closed the connection]
<janesma>
Just to be clear on how I used boot_vga: I would have to iterate through the pci devices in /sys/devices looking for boot_vga, and either use the contents of the file to identify cardX, or the path to the file to identify the correct /dev/dri/by-path entry?
balrog has joined #dri-devel
<janesma>
we try to avoid customizing the distro configuration, so we have less to maintain and also so our deployment looks more like the platforms that end users will encounter.
<emersion>
doesn't seem like udevadm lets you filter on a sysattr sadly
<emersion>
you can iterate on dirs in /sys/class/drm/
<emersion>
then check if /sys/class/drm/card*/device/boot_vga is "1"
<janesma>
ah, so the contents of the file '1' is not indicating 'card1', but the path to file in /dev or sysfs will give me the info I need.
<janesma>
I really appreciate the information thank you.
<emersion>
np!
MrCooper has quit [Quit: Leaving]
rasterman has quit [Quit: Gettin' stinky!]
MrCooper has joined #dri-devel
oneforall2 has joined #dri-devel
LeviYun has joined #dri-devel
<daniels>
janesma: fwiw userspace is generally immune to ordering as Arm systems typically have separate DRM devices for render and display anyway, plus vgem also mixes it up
LeviYun has quit [Ping timeout: 480 seconds]
coldfeet has quit [Quit: Lost terminal]
oneforall2 has quit [Read error: Connection reset by peer]
oneforall2 has joined #dri-devel
lynxeye has quit [Quit: Leaving.]
LeviYun has joined #dri-devel
coldfeet has joined #dri-devel
<javierm>
daniels: yeah, in general the Linux device model doesn't guarantee a deterministic device node numbering
oneforall2 has quit [Remote host closed the connection]
oneforall2 has joined #dri-devel
guru__ has joined #dri-devel
oneforall2 has quit [Read error: Connection reset by peer]
sukuna has joined #dri-devel
guru__ has quit []
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
<mareko>
the r300_should_vectorize_io callback has incorrect parameters
jsa has joined #dri-devel
krushia has joined #dri-devel
jkrzyszt has quit [Quit: Konversation terminated!]
jkrzyszt has joined #dri-devel
epoch101 has joined #dri-devel
coldfeet has quit [Remote host closed the connection]
LeviYun has quit [Ping timeout: 480 seconds]
jkrzyszt has quit [Quit: Konversation terminated!]
jkrzyszt has joined #dri-devel
mbrost has joined #dri-devel
LeviYun has joined #dri-devel
coldfeet has joined #dri-devel
sukuna has quit [Remote host closed the connection]
sukuna has joined #dri-devel
wens has quit [Remote host closed the connection]
wens has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
coldfeet has quit [Quit: Lost terminal]
sukuna has quit [Remote host closed the connection]
mbrost has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
<zmike>
for all you glcts enthusiasts who know and hate KHR-GL46.texture_swizzle.smoke
<zmike>
did you know that this one test case actually contains over 70,000 unit tests?
jkrzyszt has quit [Quit: Konversation terminated!]
YunseongKim has joined #dri-devel
jkrzyszt has joined #dri-devel
<daniels>
so 0.00001% of an eds/so test?
<zmike>
yes
<zmike>
if by "test" in that case you mean CL
LeviYun has quit [Ping timeout: 480 seconds]
coldfeet has joined #dri-devel
fab has joined #dri-devel
Haaninjo has quit [Quit: Ex-Chat]
LeviYun has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
sima has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
jsa has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
jkrzyszt has quit [Quit: Konversation terminated!]
jkrzyszt has joined #dri-devel
mvlad has quit [Remote host closed the connection]
LeviYun has quit [Ping timeout: 480 seconds]
furiouswendy has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
jkrzyszt has quit [Quit: Konversation terminated!]
jkrzyszt has joined #dri-devel
nerdopolis has joined #dri-devel
coldfeet has quit [Quit: Lost terminal]
vliaskov has quit [Ping timeout: 480 seconds]
epoch101 has quit []
iive has joined #dri-devel
simon-perretta-img has quit [Read error: Connection reset by peer]
simon-perretta-img has joined #dri-devel
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit [Remote host closed the connection]
sukuna has joined #dri-devel
simon-perretta-img has quit [Read error: Connection reset by peer]
simon-perretta-img has joined #dri-devel
sukuna has quit [Remote host closed the connection]
sukuna has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
glennk has quit [Ping timeout: 480 seconds]
sukuna has quit [Remote host closed the connection]
sukuna has joined #dri-devel
mbrost has joined #dri-devel
sukuna1 has joined #dri-devel
furiouswendy has quit [Ping timeout: 480 seconds]
furiouswendy has joined #dri-devel
jkrzyszt has quit [Quit: Konversation terminated!]
sukuna has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
mbrost has quit [Ping timeout: 480 seconds]
crabbedhaloablut has quit []
LeviYun has joined #dri-devel
crabbedhaloablut has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
<mareko>
70,000 tests? DELETE!
nerdopolis has joined #dri-devel
<zmike>
if only
<zmike>
but they'll be 70,000 from now on instead of 1, which means they can be run in parallel to complete in fewer than 10 minutes
furiouswendy has quit [Ping timeout: 480 seconds]
heat has quit [Remote host closed the connection]
LeviYun has quit [Ping timeout: 480 seconds]
sukuna1 has quit [Remote host closed the connection]
LeviYun has joined #dri-devel
sukuna has joined #dri-devel
<alyssa>
zmike: isn't swizzle.functional even slower than .smoke?
<alyssa>
(-:
<zmike>
we're getting there
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
sukuna has quit [Remote host closed the connection]
<DavidHeidelberg>
I see "infinite" numbers of idea for improvement, but I believe this could provide a good value for people who get to the work and want to run one command which tell them how their pipelines doing :P