01:24`ani`: I have a question about Geforce 9300 GS.
01:24`ani`: 9300 GE. *
01:26imirkin: pretty much all nvidia chips are supported by nouveau to some extent.
01:26imirkin: TNT and up... no Riva 128.
01:27HdkR: imirkin: How soon until I can ray trace with my RTX 2080ti in Nouveau?
01:27imirkin: 10 years.
01:27HdkR: Time to sleep for ten years
01:27imirkin: careful - might end up being 500
01:28imirkin: and then it'll be idiocracy time.
01:31imirkin: [if you haven't seen it i'd recommend it. not a good movie, but a lot of funny bits.]
01:32HdkR: I think you've suggested to me before even
02:18karolherbst: imirkin: ohh, "dual issueing" comes back on turing btw. We can now execute ints and float operations at the same time
02:19HdkR: karolherbst: That was already in Volta. You can see it in the whitepaper :P
02:19karolherbst: yeah, I guess turing is just like volta in the end with some additions
02:19karolherbst: especially those tensor and ray tracing bits
02:20karolherbst: there is something I didn't find in the nvidia blog post
02:20karolherbst: so that's bothering me a little
02:20karolherbst: but maybe it is inside the paper
02:21HdkR: what's this "something"?
02:21karolherbst: well, I can't talk about it
02:21karolherbst: because I found it inside software I got under NDA
02:22HdkR: Mesh shaders and Variable rate shading and double throughput FP16 are talked about :)
02:22karolherbst: variable rate shading sounds interesting
02:22karolherbst: but all those things are more frontend stuff
02:22karolherbst: and well
02:23karolherbst: we have to change a lot inside codegen I fear :/
02:23karolherbst: codegen is pretty much 32 bit centric
02:23karolherbst: which might not be helpful that much
02:23karolherbst: allthough registers still are
02:23karolherbst: so... maybe it won't matter
02:24karolherbst: int4 though
02:24HdkR: Gotta get that int4/int8
02:24karolherbst: well int 8 is trivial
02:24karolherbst: I was able to get it working through OpenCL
02:24karolherbst: but some things are byte based
02:24karolherbst: I think our typeSizeof is
02:25karolherbst: so.. we need to convert to bit based sizing
02:26HdkR: Do you need int4 generically?
02:28karolherbst: I think it only matters for tensor
02:29karolherbst: mhhh, there is one interesting thing though
02:29HdkR: Slap together a couple intrinsics and woo
02:29karolherbst: "Each block includes a new L0 instruction cache and a 64 KB register file."
02:29karolherbst: each SM is split into 4 blocks
02:32karolherbst: HdkR: dolphin is really mainly int, right?
02:32karolherbst: how much of float operation does it do?
02:33HdkR: Mainly int on the fragment side, mainly float on the vertex side. Fragment side does still do some float ops, which means the concurrent float/int operations does help it
02:33karolherbst: I see
02:34HdkR: Found this out myself when I ran Dolphin on the Titan V at like 8k resolution and full speed. Friggin monster chip
02:35karolherbst: it is
02:35imirkin: HdkR: you have an 8k monitor?
02:35karolherbst: HdkR: first gpu where pixmark piano reached 60 fps :D on FHD :D
02:35HdkR: Nah, only 4k x 2 + 1440p. Was trying to stress the GPU :D
02:35HdkR: haha, nice
02:36karolherbst: on 4k it is still a slideshow though, more or less
02:36karolherbst: or maybe it was smooth enough
02:36HdkR: Cinematic framerates
02:38karolherbst: I mean, I think on my gk106 I got it to run at 20 fps or something on that 1280x res
02:38karolherbst: and the titan V is like 10x the processing power
02:39karolherbst: but uhm, I didn't test on a titan v, but a quadro gv100...
02:42HdkR: That's a good one :)
04:11`ani`: so I can get 3D accel on a Geforce 9300 GE?
05:32gnarface: `ani`: https://nouveau.freedesktop.org/wiki/FeatureMatrix/
06:07`ani`: NV98 (G98) - GeForce 9300 (GE, GS, M GS).
06:08`ani`: it's under NV40.
15:33imirkin: skeggsb: what happened to this patch: http://paste.debian.net/1042320/
15:35imirkin: (the fan deadlock thing)
20:49mattst88: I'm building new gentoo/ppc livecds and I cannot get nouveau or CONFIG_FB_NVIDIA to modeset properly on an iMac G4 with an FX5200
20:49mattst88: haven't tried typing blind to get network/ssh going to debug further yet
20:49mattst88: just hoping someone knows exactly what's wrong and how to fix it :)
20:50imirkin: what's wrong is ... people keep breaking this stuff
20:50imirkin: mattst88: try older kernels. i know 4.4 worked.
20:51imirkin: or rather ... it worked on my PPC G5 with an AGP FX 5200
20:51mattst88: okay, I'm using 4.14 so that's a good idea
20:51imirkin: mattst88: netconsole is nice too
20:51imirkin: fwiw i treat the G5 like i treat my arm boards ... nfsroot, netconsole, etc ;)
20:51imirkin: it's probably about as powerful too...
20:51mattst88: I've never tried that, but that's a good idea
20:52imirkin: i appear to have some 4.11ish kernels too
20:52imirkin: i can't guarantee they worked, but it's likely they did
20:53mattst88: I'm surprised that CONFIG_FB_NVIDIA wouldn't work. maybe that doesn't support FX5200? seems like it wouldn't get enough changes to regress...
20:53imirkin: no, it should
20:53mattst88: hmm, okay
20:53imirkin: yeah ... that does seem odd
20:53imirkin: FB_NVIDIA supports pre-G80 iirc
20:53mattst88: I'll build a new CD with 4.4 and Nouveau and see if that is successful
20:54imirkin: just checked, it does seem like 4.4 included my various fixes that fell out from the rewrite that happened in 4.3
20:56imirkin: (it'll be funny after you bisect it and it turns out i'm the one who broke it...)
20:56mattst88: heh :)
20:56imirkin: fyi, FX5200 is also referred to as "NV34"
20:57mattst88: FWIW, on my G5 with a 6800 the same kernel version modesets successfully with FB_NVIDIA
20:57mattst88: I haven't tried nouveau yet, but I've already got the CD made
20:57imirkin: those 6800's are weird
20:57imirkin: iirc nouveau doesn't work so hot
20:57mattst88: oh yeah?
20:57imirkin: this is the NV40 AGP right?
20:57imirkin: yeah, someone else had no end of trouble
20:57mattst88: I don't know about the NV40 part, but it's AGP
20:58imirkin: then it's definitely NV40
20:58imirkin: NV41+ are PCIe
20:58imirkin: (and 6xxx means nv4x)
20:58imirkin: my G5 has a FX5200. i've thought about tracking down the 6800
20:58imirkin: but ... i have 10000 things to do. this would make it 10001, and probably no higher in the list.
20:59mattst88: quite understandable :)
20:59mattst88: seems like the 6800s are actually stupidly expensive
20:59imirkin: the mac ones are special since they have OF in the vbios
20:59mattst88: I guess they're the fastest AGP cards for the PowerMac G5
21:00imirkin: like $100+. cheaper to find a whole G5 with them in it :)
21:00imirkin: i picked this one up for like $30
21:00mattst88: the whole system?
21:00imirkin: had to go to brooklyn though. and carry the thing. almost not worth it.
21:01mattst88: that's more than shipping would be :)
21:01mattst88: that's *less* I meant
21:01imirkin: it's surprisingly heavy
21:01mattst88: heh, yeah bringing back computers on the subway... probably not fun
21:01imirkin: i'm not in the best shape that exists in the world, but ... the thing must weigh 50lbs
21:01imirkin: and subways have stairs. and connections.
21:02mattst88: yeah, it's definitely heavy, especially if it's one of the water cooled ones :)
21:02imirkin: on the bright side, when you get tired, you can use it as a chair.
21:02mattst88: haha, true
21:03imirkin: [and invariably, the train wasn't stopping at my stop when i did it. good times.]
21:03mattst88: won't ever put an nvidia in this system, but I just picked up a Quadra 840av today :)
21:04mattst88: 40MHz 68040!
21:04imirkin: that's pretty fast
21:04imirkin: iirc the NeXTStation i played with at one point was a 68030 25MHz
21:04imirkin: didn't dare put linux on it. NeXT was an interesting OS
21:05mattst88: Wonder how long gcc takes to compile on one of these m68k systems :)
21:05mattst88: how many weeks
21:05imirkin: pretty fast. crosstool is your friend :)
21:06imirkin: anyways ... if 4.4 doesn't work, then you have a different (or additional) issue
21:06mattst88: I'll give it a try and let you know how it goes
21:06imirkin: iirc imacs were special in that they didn't have correct DCB's
21:06mattst88: if I can get something working well enough to get gentoo installed, I'll try to bisect
21:06imirkin: we have a bunch of handling around faking stuff on them to make things work
21:06imirkin: but at least one guy with a G3 never got it going
21:13imirkin: mattst88: PowerMac4,5 ?
21:14mattst88: according to https://en.wikipedia.org/wiki/Power_Mac_G5 it's a PowerMac7,3 (DP 2.7GHz)
21:14imirkin: i meant your iMac G4
21:14imirkin: the one you're testing
21:15imirkin: the 7,3 is the G5 i have too. just diff gpu.
21:15mattst88: it must be a PowerMac6,1 since it's got a 1.25GHz CPU
21:17imirkin: k. we have a special hack for a 4,5 in there. anyways, if you can get into it, seeing logs would be interesting. netconsole should be pretty easy as long as it's built into the kernel
21:17imirkin: if you want to netboot it, i can show you what i did on the 7,3
21:17glennk: agp on ppc is quirk city if i remember correctly
21:17imirkin: yeah, well we don't actually use the AGP-ness of it
21:17imirkin: just treat it like a PCI board
21:17glennk: i think even apple gave up on the agp bits
21:18mattst88: imirkin: sure, if you've got some directions for netbooting, that might be useful
21:18imirkin: well, dunno about directions, more like "here is the set of files i use"
21:18mattst88: yeah, that's probably all I need
21:18mattst88: I can google the rest :)
21:19imirkin: this is the yaboot.conf i use: https://hastebin.com/facixasopu.makefile
21:19imirkin: you also need the "yaboot" binary
21:20imirkin: oh, and there's a dhcp bit to it too... lets see...
21:21mattst88: oh, in case you don't know -- grub2 supports ppc macs now :)
21:21imirkin: mattst88: https://hastebin.com/coparuqore.rb
21:21mattst88: the CDs I'm making use Grub
21:21mattst88: awesome, thanks
21:21imirkin: i was just following some guide somewhere.
21:22imirkin: and then to boot it, from OF, you do "boot enet:0" iirc
21:22imirkin: or maybe just "boot enet"
21:22mattst88: okay, cool
21:22imirkin: the whole nfsroot bit of it is optional, naturally.
21:23imirkin: and i don't really know how much of it is totally required, and how much of it was me trying stuff
21:23imirkin: i do know that this is what i settled on
21:41endrift: oh hey someone else having trouble with the 6800 GT AGP on G5?
21:42imirkin: not yet
21:42imirkin: but someone else with a G5 6800 :)
21:42imirkin: endrift: what was the issue again?
21:42endrift: I don't remember exactly
21:43endrift: but the screen would give me checkered garbage and hardlock
21:43imirkin: but with noaccel it was fine right?
21:43endrift: framebuffer works, noaccel works
21:43endrift: but yeah with noaccel I don't get hardware GL which is what I was after
21:44endrift: ended up buying a significantly worse Radeon just to get ANYTHING working
21:44imirkin: i think mattst88 is after "does it boot"
21:44imirkin: and/or "does it blend"
21:45endrift: also I'm having fun running OpenGL stuff on my Switch now thanks to this project. Great work :D
21:49imirkin: the switch porting guys probably have something to do with it too
21:50endrift: I mean yeah, some of them are in this channel though
21:50endrift: also like I was just talking to karolherbst in the #switchdev channel so, I'm there too
21:51karolherbst: imirkin: well, they apperantly were able to take our driver as in and just added some egl platform + reimplemented libdrm_nouveau
21:51karolherbst: but yeah ;)
21:53HdkR: 10/10 for open source projects