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