00:01fdobridge: <mohamexiety> ahh
03:47fdobridge: <gfxstrand> The modifiers MR is now passing CTS if folks want to play with it. It affects the display pipeline pretty hard so it'd be good to get a bit of testing. I'll be doing some manual testing tomorrow to make sure we're hitting all the paths.
03:48fdobridge: <gfxstrand> https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28843
03:48fdobridge: <gfxstrand> It's potentially a small perf boost but I'm honestly not too concerned about that aspect. More concerned that it doesn't screw anything up in any weird configurations.
03:50fdobridge: <airlied> given it a run on kepler?
03:51fdobridge: <Sid> will test on Turing prime ASAP
04:02fdobridge: <gfxstrand> I'm also reasonably happy with the compromise of smashing PTE kinds and tile modes into the BO for dedicated allocations. It's pretty non-invasive and should fix the GL problem.
04:03fdobridge: <gfxstrand> That's on the ToDo list for tomorrow
04:03fdobridge: <gfxstrand> It's good to test with prime but prime hopefully won't be hitting those paths.
04:04fdobridge: <airlied> do we need to have a uapi signal to know when to use those paths?
04:05fdobridge: <gfxstrand> I just try to allocate a tiled BO at physical device enumeration time and only enable modifiers if that succeeds.
04:05fdobridge: <gfxstrand> If you'd rather have a feature bit, I'd be happy with that, too.
04:05fdobridge: <airlied> ah cool, if that works it's probably just as efficient
04:06fdobridge: <gfxstrand> Yeah, it's a single 64k allocation. It's not going to kill our startup time
04:06fdobridge: <airlied> yeah the ioctl overhead of calling a getparam won't be much different
04:07fdobridge: <gfxstrand> And if we backport the patch, it's a temporary measure anyway
04:07fdobridge: <gfxstrand> Oh, right, for those wanting to test, you'll need my updated NVK kernel branch
04:09fdobridge: <Sid> I shall test mobile turning nvidia-only too then :3
04:10fdobridge: <gfxstrand> I may even play with some more entertaining combos tomorrow like Ampere + Turing and Pascal + Kepler.
04:10fdobridge: <gfxstrand> Those are totally gonna work, right? 😅
04:13fdobridge: <Sid> only one way to find out
04:13fdobridge: <Sid> :wolfFIRE:
04:53fdobridge: <Sid> does GA107 not have GSP firmware right now? in nouveau?
04:56fdobridge: <Sid> hm, my system says it does
05:05fdobridge: <Sid> oh, void apparently isn't packaging GSP
05:05fdobridge: <Sid> and Ampere mobile is not falling back to the non-GSP path
05:05fdobridge: <Sid> or if it is, something else is blowing up
05:05fdobridge: <Sid> @clangcat can tell more
05:08fdobridge: <clangcat> :P my system doesn't have the funny files.
05:08fdobridge: <clangcat> am trying to see if they put it in a seperate package first
05:08fdobridge: <marysaka> I am on ga107 and it works fine on Fedora at least here
05:08fdobridge: <Sid> yes that's what I found out as well
05:09fdobridge: <Sid> ^ mary
05:09fdobridge: <clangcat> This is almost certainly void not packaging(perhaps out of protest) or putting it in a separate package.
05:09fdobridge: <clangcat> just trying to see which it is first
05:11fdobridge: <clangcat> @tiredchiku what is the firmaware files name for GSP at ga107?
05:11fdobridge: <clangcat> gonna search them to see if they packaged anywhere
05:11fdobridge: <Sid> I already DMd them
05:13fdobridge: <clangcat> Hmm interesting seems like void doesn't symlink it but I also don't have ga102
05:13fdobridge: <clangcat> https://cdn.discordapp.com/attachments/1034184951790305330/1235821467300794398/grafik.png?ex=6635c3ee&is=6634726e&hm=ecc5994f680b7a72e30f3ec6e1eb8c2da5e23703faee3cd6747e82d6daa3e0dd&
05:13fdobridge: <clangcat> I think
05:13fdobridge: <clangcat> imma just force reinstall then symlink it
05:14fdobridge: <Sid> I see 102 tho
05:14fdobridge: <Sid> ga102 I mean
05:14fdobridge: <Sid> third line in that screenshot
05:14fdobridge: <clangcat> wait force reinstalling fixed it.
05:14fdobridge: <clangcat> https://cdn.discordapp.com/attachments/1034184951790305330/1235821833014743102/grafik.png?ex=6635c445&is=663472c5&hm=ab820c4316e23a8994b25e641dd2312c107d872084bcbe50bf6893334413c6cf&
05:14fdobridge: <Sid> ya goober, get some sleep
05:15fdobridge: <Sid> weird
05:15fdobridge: <Sid> wait why
05:15fdobridge: <clangcat> Uhhh welp guess I just reboot now
05:15fdobridge: <Sid> what
05:15fdobridge: <Sid> nvidia-firmware, that's
05:15fdobridge: <Sid> that's the firmware for the current proprietary module
05:15fdobridge: <Sid> proprietary/openrm
05:16fdobridge: <Sid> but it fixed symlinks on linux-firmware-nvidia?
05:16fdobridge: <Sid> wtf void linux
05:16fdobridge: <Sid> tl;dr 535.113 firmware is part of linux-firmware, which is what nouveau uses
05:17fdobridge: <Sid> that nvidia-firmware package you just force installed is 550.78, which is the current prop/openrm driver version
05:17fdobridge: <Sid> but apparently that fixed the symlinks so what do I know
05:17fdobridge: <redsheep> Ooo just seeing this, I will have to get testing this. I really really really hope this gets zink sessions running well, I feel like that's going to be much more ideal than nvc0 at the moment.
05:18fdobridge: <redsheep> Performance might not be the idea either but I think quite a bit of my performance and stutter feels like it's in the display server so I am hoping for some big wins
05:18fdobridge: <clangcat> Well I have also reinstalled linux-firmware-nvidia.
05:19fdobridge: <clangcat> I've done both just to uhhh hope
05:19fdobridge: <Sid> ah
05:19fdobridge: <clangcat> anyway brb
05:19fdobridge: <Sid> that makes more sense
05:22fdobridge: <clangcat> @tiredchiku it still crashes with the same error
05:22fdobridge: <clangcat> :Foxy_Dead:
05:22fdobridge: <redsheep> Is this the kernel to use? https://gitlab.freedesktop.org/gfxstrand/linux/-/tree/nvk?ref_type=heads
05:22fdobridge: <clangcat> No just 6.8 mainline
05:22fdobridge: <Sid> cat he's asking about the kernel to use with modifiers MR
05:22fdobridge: <redsheep> https://discord.com/channels/1033216351990456371/1034184951790305330/1235804971023466508
05:23fdobridge: <Sid> I'm at a loss then
05:23fdobridge: <clangcat> Guess I can give it a go. Worst case it still doesn't boot.
05:23fdobridge: <Sid> this is with you have the firmware actually installed correctly and GSP enabled with the commandline option, yeah?
05:23fdobridge: <clangcat> Although I am not trying to use Nvk persay
05:24fdobridge: <redsheep> You're not?
05:24fdobridge: <redsheep> Why mess with 535 firmware then?
05:25fdobridge: <clangcat> Yes the one Mary told me about
05:25fdobridge: <clangcat> ```
05:25fdobridge: <clangcat> [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.8.8_1 root=UUID=07446cd1-9d60-4ca3-8562-e82720d73d79 ro modprobe.blacklist=nouveau loglevel=4 module_blacklist=nvidia nouveau.config=NvGspRm=1 quiet splash
05:25fdobridge: <clangcat> ```
05:25fdobridge: <clangcat> my kernel cmd line
05:25fdobridge: <clangcat> Because I am just trying to get Nouveau to work
05:25fdobridge: <Sid> the kernel module
05:25fdobridge: <clangcat> Like I like the idea of Nouveau and I want to use an open source module if I can.
05:26fdobridge: <clangcat> But it's struggling. As Gsp is failing which I don't even care about but. it doesn't fall back to a non GSP version of the driver and just crashes
05:26fdobridge: <Sid> the kmod is crashing on her system with or without GSP enabled
05:26fdobridge: <Sid> void linux
05:26fdobridge: <clangcat> Mhmmmm
05:27fdobridge: <clangcat> do I have a USB round here
05:27fdobridge: <clangcat> Gonna flash idk Arch just to see if it crashes
05:29fdobridge: <clangcat> oh even more perfect it's the same kernel version
05:29fdobridge: <clangcat> https://cdn.discordapp.com/attachments/1034184951790305330/1235825536740364308/grafik.png?ex=6635c7b8&is=66347638&hm=148e40b413fa768892499889e7d78fb338e2c066e33d33a3882c29d57f167143&
05:32fdobridge: <!DodoNVK (she) 🇱🇹> How about Kosovo?
05:33fdobridge: <redsheep> So I have just looked through the convo more carefully, you're saying that a release kernel with no special parameters, not even gsp, and the regular ol void linux package for linux-firmware is crashing? That's really weird
05:34fdobridge: <redsheep> That should be like... the most well tested configuration possible
05:34fdobridge: <clangcat> I can't tell if you being sarcastic.
05:35fdobridge: <clangcat> Anyway
05:35fdobridge: <redsheep> No sarcasm
05:35fdobridge: <clangcat> Gonna test arch iso it's the same kernel version
05:35fdobridge: <clangcat> and in theroy it should also crash
05:35fdobridge: <clangcat> in theroy
05:35fdobridge: <airlied> pre GSP ampere doesn't always initialise properly
05:40fdobridge: <clangcat> Any suggestions on what I can do to fix it? Worth noting it is also a laptop version of the 3050.
05:41fdobridge: <clangcat> But Arch boots.
05:41fdobridge: <redsheep> Using gsp would avoid what he's referring to but you were already testign that on void
05:41fdobridge: <redsheep> Did the arch iso use gsp?
05:42fdobridge: <clangcat> Yea it loaded ga107 gsp fine.
05:42fdobridge: <clangcat> @airlied do you happen to know if the firmware needs to be on certain partition type or filesystem
05:43fdobridge: <clangcat> Because all I can think of right now is that my root is XFS.
05:43fdobridge: <redsheep> I know in my case my working configuration has gsp inside my ext4 /boot partition
05:44fdobridge: <Sid> I've used EXT4 root, btrfs root, amd xfs root just fine
05:44fdobridge: <clangcat> Though I suppose that's a question of maybe if the XFS driver is loading after Nouveau. Although I would think it would have to be loaded as the Nouveau kernel module is located on the xfs partition.
05:45fdobridge: <Sid> not necessarily
05:45fdobridge: <Sid> initrd could be loading nouveau before xfs
05:45fdobridge: <clangcat> It's not though as I have Nouveau blacklisted on boot and am manually starting it with modprobe
05:45fdobridge: <Sid> ah
05:46fdobridge: <clangcat> Here's the dmesg if anyone wants to read it cmdline is at the top and nouveau is right at the bottom
05:46fdobridge: <clangcat> https://cdn.discordapp.com/attachments/1034184951790305330/1235829823566254110/log?ex=6635cbb6&is=66347a36&hm=5758e225c3ca434f759d07d9ec63e76b02e4227b9b03a1b3544531c7ec52e8ca&
05:46fdobridge: <redsheep> Sid you were saying you were able to modprobe up nouveau to switch modules back and forth without reboot right?
05:48fdobridge: <clangcat> Man all this cause I wanted to test my code on Nouveau
05:48fdobridge: <clangcat> that was 3 hours ago :(
05:48fdobridge: <Sid> yes, but only if I had modesetting disabled
05:48fdobridge: <Sid> ya goober you could just
05:48fdobridge: <Sid> give it to me
05:48fdobridge: <clangcat> Yes
05:48fdobridge: <Sid> I've tested your code before too
05:49fdobridge: <clangcat> but I don't want to have get someone else to test my code for me all the time
05:49fdobridge: <clangcat> I'd like to be able to atleast run Nouveau
05:49fdobridge: <clangcat> I don't care if it has GSP or not.
05:50fdobridge: <redsheep> GSP is the better place to be, IIUC at this point it should work better in addition to being faster, even just with opengl
05:51fdobridge: <redsheep> (generally)
05:51fdobridge: <Sid> it could also be void's kernel doing something goofy
05:51fdobridge: <clangcat> Yea I don't really care about speed though. I just care about knowing "oh my code works"
05:51fdobridge: <clangcat> Yea it could be
05:51fdobridge: <clangcat> Cause I am not sure whatelse it can be at this point
05:52fdobridge: <Sid> you can always send me stuff to do, I don't mind
05:52fdobridge: <Sid> :myy_winkKawaii:
05:52fdobridge: <clangcat> Yea but I wanna be able to test stuff locally you know
05:52fdobridge: <redsheep> Testing locally is nice. Have you tested with modesetting off?
05:53fdobridge: <Sid> issue seems to be with the gpu initialization
05:53fdobridge: <Sid> so modesetting won't change anything
05:53fdobridge: <clangcat> Yea it's not even getting to modesetting is the thing
05:53fdobridge: <redsheep> Ah.
05:53fdobridge: <Sid> actually... do you have any PCI power management rules set on void?
05:54fdobridge: <Sid> via udev or something
05:54fdobridge: <Sid> I know they broke rebar for me because the GPU did PCIe ASPM before the driver probed the device for BAR size, and defaulted to small BAR
05:55fdobridge: <clangcat> Nope just look through them.
05:56fdobridge: <airlied> turn off CONFIG_SG_DEBUG or grab Lyude's patches to fix that
05:57fdobridge: <clangcat> Okay sure I'll get test once kernel compile is done.
05:58fdobridge: <airlied> CONFIG_DEBUG_SG might be the one
06:01fdobridge: <Sid> how is that affecting firmware load? /gen
06:02fdobridge: <clangcat> I mean all the same I am just configuring the kernel build for this. gotta make sure to turn this on
06:02fdobridge: <clangcat> https://cdn.discordapp.com/attachments/1034184951790305330/1235833914736513024/grafik.png?ex=6635cf85&is=66347e05&hm=4f0e565a455af8d19532be5d555f1824af75599846fb4914f7f635008cfd86a7&
06:03fdobridge: <clangcat> And turn off all the drivers I don't need like Stinky Matrox G200 module
06:03fdobridge: <i509vcb> do a bunch of stuff like use the mouse, plug in external drives, use wifi/ethernet, etc and generate a local config,
06:04fdobridge: <i509vcb> it will build far faster
06:04fdobridge: <redsheep> I saved quite a bit of time by just not building amdgpu
06:05fdobridge: <clangcat> Yes but amd is my only fallback if Nouveau fails
06:05fdobridge: <airlied> the fw loading code has a bug, the debug setting finds it
06:05fdobridge: <clangcat> `sg_init_one` I assume
06:05fdobridge: <clangcat> I may have poked around Nouveaus code.
06:05fdobridge: <Sid> interesting
06:06fdobridge: <airlied> https://patchwork.freedesktop.org/patch/591858/?series=132966&rev=2
06:06fdobridge: <Sid> yup
06:06fdobridge: <Sid> that is it
06:07fdobridge: <clangcat> Yea that is what's breaking
06:07fdobridge: <Sid> it should be in 6.9 then, yeah?
06:09fdobridge: <airlied> gonna need to tag it for 6.8 once it lands in Linus tree
06:09fdobridge: <Sid> sweet
06:09fdobridge: <clangcat> I was gonna offer to try and fix it. But neat it's already being fixed.
06:09fdobridge: <Sid> so cat will soon not have to compile her own kernel on void
06:09fdobridge: <clangcat> I was just trying to 100% make sure it was the driver
06:10fdobridge: <clangcat> and not just me being dumb
06:10fdobridge: <clangcat> Ehhhh welll
06:10fdobridge: <clangcat> you see
06:10fdobridge: <clangcat> void is still on 6.6 by default
06:10fdobridge: <clangcat> I had to go out of my way to install 6.8
06:10fdobridge: <Sid> yeah but you can install 6.8.8 via the packages
06:10fdobridge: <Sid> so
06:11fdobridge: <clangcat> Yea
06:11fdobridge: <Sid> it's still easier than building your own
06:11fdobridge: <clangcat> Yea that's certainly true
06:11fdobridge: <clangcat> and I hope I compressed it correctly
06:11fdobridge: <clangcat> otherwise this is gonna be big
06:12fdobridge: <clangcat> that's something I remember about custom kernels they can easily be massive if you don't do them right.
06:12fdobridge: <clangcat> Though did turn off all non Amd/Nvidia gpu drivers cause no reason to build any others really
06:14fdobridge: <Sid> mhm
06:15fdobridge: <clangcat> But it has been like a year since I built my own custom kernel so hopefully I remember what I am doing.
06:15fdobridge: <clangcat> Allthough if it ends up being chunky I can just fix it later.
06:16fdobridge: <clangcat> It's okay atleast it's not LLVM
06:16fdobridge: <clangcat> https://cdn.discordapp.com/attachments/1034184951790305330/1235837366485254166/grafik.png?ex=6635d2bc&is=6634813c&hm=59c561f83b88f1ae86437c17aeefc6af055d1a01f7ed13c67b8cde2eab1c4e6d&
06:16fdobridge: <clangcat> if it was LLVM I would be having OOM issues
06:50fdobridge: <!DodoNVK (she) 🇱🇹> Could nouveau cause `sync_file` leaks in KWin? 🍩
06:55fdobridge: <clangcat> @airlied thank you the patch from Lyude fixed my GPU.
06:55fdobridge: <clangcat> :D
06:56fdobridge: <clangcat> Well uhhh actually should probably test it "works" but it doesn't crash
06:56fdobridge: <clangcat> so
06:56fdobridge: <clangcat> awesome
07:17fdobridge: <airlied> @gfxstrand https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29032 just wanted to get it started after talking to Ben before, just running through CTS here, but I'm gonna guess it will have some issues
07:22fdobridge: <marysaka> hmm for async graphics queue doesn't that need some fancy unknown magic around?
07:24fdobridge: <marysaka> I think I saw some magic values being set around `SET_SCG_GRAPHICS_SCHEDULING_PARAMETERS` and `SET_SCG_COMPUTE_SCHEDULING_PARAMETERS` depending of the queue
07:34fdobridge: <ahuillet> somebody called me? :)
07:34fdobridge: <ahuillet> I wanted to type "magic is my middle name" but it felt a bit too much.
07:36fdobridge: <marysaka> So from the little I gathered some time ago, SCG (Simultaneous Compute and Graphics) = Async Compute (can be found on Ampere white paper)
07:36fdobridge: <ahuillet> yes
07:36fdobridge: <marysaka> And this thing appears to control the partitioning of SM in some way :aki_thonk:
07:37fdobridge: <marysaka> So I suppose the values set in the compute async queue change priority of stuffs maybe
07:37fdobridge: <karolherbst🐧🦀> yeah.. that would actually make sense
07:37fdobridge: <ahuillet> try 0x10
07:38fdobridge: <ahuillet> I would not worry too much about that particular method, at first glance it's setting some thresholds for heuristics, nothing needed for correct operation
07:38fdobridge: <ahuillet> I would not worry too much about that particular method, at first glance it's setting some thresholds for heuristics, nothing needed for correct operation of SCG (edited)
07:39fdobridge: <ahuillet> ~~try 0x10~~ignore that (edited)
07:52fdobridge: <!DodoNVK (she) 🇱🇹> Does Maxwell v2 support it?
07:54fdobridge: <airlied> @mohamexiety this is just a transfer queue
07:54fdobridge: <airlied> async compute is a whole other set of fun
07:54fdobridge: <airlied> but I think there are apps that could use transfer queues now
07:56fdobridge: <karolherbst🐧🦀> wouldn't the idea of transfer queues be to either use async dma-copy functionality or async compute if the transfer is ran in a compute shader?
07:58fdobridge: <karolherbst🐧🦀> but yeah.. maybe submitting them as different things is already good enough
08:00fdobridge: <redsheep> Back in the maxwell/pascal era I remember lots of discussion where the gist of it was one or both of them exposed it but didn't tend to benefit
08:00fdobridge: <!DodoNVK (she) 🇱🇹> Will extra queues increase NVK performance?
08:01fdobridge: <clangcat> Well it works now but gsp mmu fault
08:01fdobridge: <clangcat> ```
08:01fdobridge: <clangcat> [ 710.717578] nouveau 0000:01:00.0: gsp: mmu fault queued
08:01fdobridge: <clangcat> [ 710.720548] nouveau 0000:01:00.0: gsp: rc engn:00000001 chid:16 type:31 scope:1 part:233
08:01fdobridge: <clangcat> [ 710.720557] nouveau 0000:01:00.0: fifo:c00000:0002:0010:[sway[3759]] errored - disabling channel
08:01fdobridge: <clangcat> [ 710.720563] nouveau 0000:01:00.0: sway[3759]: channel 16 killed!
08:01fdobridge: <clangcat> [ 710.731902] sway[3759]: segfault at 559000000000 ip 00007f5f4957d13e sp 00007fff88a906e0 error 4 in libdrm_nouveau.so.2.0.0[7f5f4957c000+5000] likely on CPU 8 (core 4, socket 0)
08:01fdobridge: <clangcat> ```
08:01fdobridge: <Sid> is that sway with the vulkan renderer
08:01fdobridge: <Sid> or is it the old opengl drive
08:01fdobridge: <Sid> driver*
08:01fdobridge: <Sid> or are you using zink
08:01fdobridge: <redsheep> What version of mesa?
08:01fdobridge: <clangcat> Opengl but it's a gsp mmu fault.
08:01fdobridge: <redsheep> I think some older versions had more of these end up getting kicked up
08:02fdobridge: <Sid> gsp complains about userspace faults
08:02fdobridge: <clangcat> mesa-24.0.5_1
08:02fdobridge: <Sid> and opengl driver is technically unsupported now
08:02fdobridge: <clangcat> Oh cursed
08:03fdobridge: <Sid> unsure, it might help in programs that actually use multiple queues for parallelization
08:03fdobridge: <redsheep> I haven't tested yet but running sway on zink on mesa from Faith's MR and kernel is probably best, if it works at all
08:03fdobridge: <Sid> though the first thing we need to do is figure out how to have separate compute-only and GFX-only queues
08:03fdobridge: <clangcat> It might help but yea programs have to put in the effort
08:03fdobridge: <Sid> why not sway with the vulkan renderer
08:04fdobridge: <clangcat> Yea I just need to apply Lyude's patch to Faiths kernel.
08:04fdobridge: <clangcat> Assuming faith hasn't already
08:05fdobridge: <Sid> oh wait
08:05fdobridge: <redsheep> Didn't know it had one. Yeah, that then. But also, set /etc/environment to set zink should be good regardless, if it works
08:05fdobridge: <Sid> WLR_RENDERER=vulkan required drm modifiers
08:05fdobridge: <redsheep> Yeah so use modifiers branch, and probably zink. Except... is the idea with this MR that modifiers should work between nvk and nvc0?
08:06fdobridge: <redsheep> This reads like it should https://discord.com/channels/1033216351990456371/1034184951790305330/1235803766834462791
08:06fdobridge: <Sid> :revshrug:
08:20fdobridge: <joobei> Guys today is a milestone in my life. I was finally able to play my favorite game on GNU/Linux. I am ecstatic 🙂 This is from steam hardware info, does this mean that my system is running mesa/nouveau? (edited)
08:20fdobridge: <joobei> https://cdn.discordapp.com/attachments/1034184951790305330/1235711184230027264/image.png?ex=66355d38&is=66340bb8&hm=7bbe2a575cec5c0dbf188ac08fe509dd5120fb9711f92d1776a22c617c0236c5&
08:21fdobridge: <joobei> Steam asks that you install a 32-bit driver so I went ahead and did that just to be safe.
08:22fdobridge: <joobei> Ah so despite Steam's HWinfo reporting "Mesa" when the game runs it might be using Nvidia blob? I see.
08:30fdobridge: <mohamexiety> there's a getparam for the change in v2 of the kernel patch but not sure if that's what you mean
08:31fdobridge: <magic_rb.> No, steam is only running using software rendering according to that screenshot you sent
08:31fdobridge: <magic_rb.> So its running the opengl/vulkan code on the cpu fully
08:35fdobridge: <mohamexiety> have to go for something in a bit but will be re-testing with gamescope and seeing how it works
08:41fdobridge: <joobei> Ah so despite Steam's HWinfo reporting "Mesa", when the game runs it might be using Nvidia blob? I see. (edited)
08:42fdobridge: <joobei> If Steam is using the software renderer then so is everything else in my system? No way I'm getting this awesome performance with a software renderer. Anyway I am a bit of a mesa/driver noob so I guess that's why I don't understand it.
08:42fdobridge: <Sid> it's not easy to say
08:42fdobridge: <Sid> steam only really picks the first driver it finds
08:43fdobridge: <Sid> the hardware info, that is
08:43fdobridge: <magic_rb.> Steam is 32 bit, most other things are 64bit its yes, it can be that 32bit is only software
08:43fdobridge: <magic_rb.> Steam is 32 bit, most other things are 64bit, so yes, it can be that 32bit is only software (edited)
08:44fdobridge: <magic_rb.> Run `vulkaninfo` and in that output itll list known drivers/gpus, so you can figure it out from there
08:45fdobridge: <Sid> use `vulkaninfo --summary`
13:42fdobridge: <mohamexiety> :thonk:
13:42fdobridge: <mohamexiety> ```
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x34325241 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x34325241 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x34325258 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x34325258 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x34324241 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x34324241 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x34324258 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x34324258 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x36314752 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x3231564E (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x48344241 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x48344258 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344241 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344258 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x30334241 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x30334258 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x30335241 (VkResult: 0)
13:42fdobridge: <mohamexiety> vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x30335258 (VkResult: 0)
13:42fdobridge: <mohamexiety> ```
13:42fdobridge: <mohamexiety> let's dig in
14:15fdobridge: <gfxstrand> Probably
14:16fdobridge: <gfxstrand> What patch is that? I'm happy to pull stuff in if it helps folks
14:16fdobridge: <Sid> https://patchwork.freedesktop.org/patch/591858/?series=132966&rev=2
14:18fdobridge: <gfxstrand> Uh... That's fun... I was afraid we might hit something like that
14:59fdobridge: <zmike.> https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29041 should fix this
15:28fdobridge: <gfxstrand> Ugh... Why doesn't gears find a device...
15:37fdobridge: <gfxstrand> Hrm... explicit sync blows up
15:37fdobridge: <gfxstrand> Something else to debug, I guess
15:38fdobridge: <!DodoNVK (she) 🇱🇹> That's ironic because NVIDIA driver really likes explicit sync
16:00fdobridge: <gfxstrand> Okay, modifiers is now doing WSI now. Linear render even works. Thanks, @mohamexiety
16:00fdobridge: <gfxstrand> I had to fix it up a bit but it's working now
16:02fdobridge: <mohamexiety> yep, it works! \o/
16:02fdobridge: <mohamexiety> https://cdn.discordapp.com/attachments/1034184951790305330/1235984808363167754/image.png?ex=66365c0d&is=66350a8d&hm=6d2ec6d599592f8ca1c58c4891a2ebbfe3dd8ab271a7218600836c1438de989d&
16:13fdobridge: <gfxstrand> Still working out kinks
16:52fdobridge: <gfxstrand> Ugh... my computer hates me...
16:53fdobridge: <gfxstrand> One of my GPUs keeps going down mid-CTS-run
17:05fdobridge: <huntercz122> better than proprietary drivers already? o.o
17:58fdobridge: <gfxstrand> Does the tile mode end up in the page tables anywhere or just kind?
18:09fdobridge: <gfxstrand> Ugh... VM_BINDing all images is making hash of my CTS times. 😭
20:56fdobridge: <gfxstrand> I wonder if ESO hosed Kepler...
21:37fdobridge: <gfxstrand> I wonder if Maxwell is equally hosed..
21:38fdobridge: <gfxstrand> Pascal is fine
21:45fdobridge: <mohamexiety> I can test Pascal. Maxwell B (GTX 9xx) is _probably_ safe to assume to be same as Pascal. Maxwell A though (GTX 750/750Ti) is unknown
21:48fdobridge: <gfxstrand> Well, now I have a fail on Pascal
22:18fdobridge: <gfxstrand> I should try Turing+Ampere and see if that works
22:41fdobridge: <gfxstrand> Yeah, Turing+Ampere doesn't work, either. That's actually good news in a way. This might be a repro for the horrible MMU faults we've been fighting.
22:47fdobridge: <gfxstrand> @airlied I'm seeing faults when using modifiers on BOs which are shared with other GPUs. If you run the modifiers MR with the compositor on one GPU and the app on the other, it faults instantly.
22:48fdobridge: <gfxstrand> The only thing the modifier controls is PTE kind and tiling and I verify the PTE kind is what NIL would have used anyway so it's really just tiling. Even that's no different from what we normally use.
22:49fdobridge: <gfxstrand> So the only thing that makes sense to me is that forcing it into system ram breaks stuff.
22:53fdobridge: <gfxstrand> I should try Ampere+Ampere
23:03fdobridge: <gfxstrand> Yeah, I can repro with Ampere+Ampere. In that case, literally no different code paths are taken in userspace when I switch GPUs but the one that ends up putting the BO in system RAM faults.
23:03fdobridge: <gfxstrand> I think that makes it @airlied 's problem. 🙂
23:04fdobridge: <gfxstrand> If it really is a system RAM vs. VRAM issue, that could explain some of the faults we've seen.
23:04fdobridge: <gfxstrand> That's a good way to wrap up my Friday, I think. Talk to y'all later!
23:06fdobridge: <mohamexiety> good find. nice work and have a good weekend o/
23:43Lyude: [455099.846697] nouveau 0000:01:00.0: gsp: intr 00008000 ← huh. everything seems fine, wonder where that came from