00:41mwk: lovely, reading nonexistent res in 4008xx range on NV10 tends to hang the card
00:42imirkin_: that does sound delightful.
00:43imirkin_: that's the GeForce 256 right?
00:43imirkin_: twice as good as a Rage 128 :)
00:43imirkin_: iirc there was some crazy logic to what the 256 meant
00:44imirkin_: adding bus bit widths with numbers of megabytes of vram, plus other things...
02:27mwk:wonders what the fuck is going on with the alternative classes on NV10
02:27mwk: it seems every NV10_whatever class has its evil twin with a different number
02:27mwk: as in, NV10_CELSIUS is 0x56, and it has an evil twin 0x85
02:27mwk: it's the first time I see those...
02:28mwk: there's a switch in DEBUG_3 that selects whether the card will accept the usual class IDs and reject the evil ones, or accept evil ones and reject the good ones
02:29mwk: also, only classes that first appeared on NV10 have evil twins, stuff that was before NV10 or that was added on NV11 doesn't have these
02:30imirkin_: is there anything different about the evil twins?
02:31mwk: no idea
02:32mwk: I haven't submitted any methods on them yet
02:32mwk: or, for that matter, any other class on NV10
02:32imirkin_: this was the era when software had local "driver" implementations...
02:32imirkin_: perhaps they did something special for someone?
02:32mwk: we'll see
02:33mwk: maybe 0x85 is NV10_QUADRO_CELSIUS!
02:33imirkin_: i'm guessing you don't have one of those lying around...
02:34imirkin_: (a Quadro)
02:34mwk: well, not an NV10 one at any rate
02:34imirkin_: non-nv10 ones are Quadro2 etc
02:35mwk: FWIW, rules.xml calls the relevant switch bit "ALTARCH"
02:44mwk: well, that was horrible
02:44mwk: of course NV10 is different, sigh
02:44imirkin_: well, NV11 is a diff generation basically
02:44imirkin_: NV10/NV15/NV1A is one thing
02:45imirkin_: and NV11/NV17/NV18 are another. and of course NV17 also adds a bunch of stuff.
02:45mwk: NV15 also adds plenty of its own
02:45mwk: it's going to be: NV10, NV15, NV11, NV17/NV18/NV1F
02:46mwk: not sure where NV1A is going to be placed, probably closer to NV11 than NV15
02:46imirkin_: nv11 added somethign important though... fences? i forget
02:46mwk: as in, the weirdo PGRAPH methods that wait on crtc
02:46imirkin_: iirc it was fence-related
02:46mwk: also, semaphores on PFIFO
02:47imirkin_: that sounds right
06:20karthy: How to get reclocking feature working on older Gpu's?
07:09Guest95932: I read wikipedia DRM article, and its image says userprogram calls DRM modules via ioctl and DRM modules sends commands to VRAM. But I wonder if i can send commands from userspace? like pack commands into a buffer and dma them, execute them.
07:30gnurou: Guest95932: my understanding is that this is exactly what happens - you build your command buffer from userspace (in system RAM usually, although Nouveau has an option to have them in VRAM - see the vram_pushbuf module option), submit it via an ioctl, and the kernel just programs the DMA hardware to interpret your buffer
08:24Guest95932: gnurou: oh, I see. thank you.
09:01janus_: hello people
09:01janus_: i've been experiencing random crashes with nouveau on old quadro hardware..
09:02janus_: lenovo t61, kernel 4.6.2-gentoo, NVIDIA Corporation G86M [Quadro NVS 140M] [10de:0429], xf86-video-nouveau-1.0.13(started with 1.0.12)... i use gentoo and posted the same on #gentoo
11:57pmoreau: skeggsb: Neat! Some additional Pascal work + initial GP102 support. :-)
12:00mupuf: pmoreau: you are late ;)
12:00pmoreau: Only by a week!
12:01mupuf: 5 days, let's not overdo it ;0
12:02pmoreau: I should buy a Pascal one day, but I am waiting for a possible 1080 Ti before doing that.
12:05mupuf: the 1080 is not expensive-enough?
12:06mupuf: the cheapest 1050 is at 140e in my nearest shop :D
12:06mupuf: still too expensive for me :D
12:06mupuf: and it is out of stock anyway
12:06mupuf: and this fan issue needs to be adressed first
12:07mupuf: seriously, what is wrong with the people who designed this table :s
12:13pmoreau: It’s mainly for gaming, and on 4k, on maximal settings, if possible. I’m hoping as well, that it will have a similar architecture as the NVIDIA Titan X, and as such, have a good support for fp16.
12:14pmoreau: That fan table seems crazy indeed; I followed a bit your progress in the RE’ing.
12:17karolherbst: pmoreau: I heard you take care of GDDR5X?
12:18pmoreau: RE’ing it for reclocking?
12:18karolherbst: we can't do anything about other things anyway
12:19karolherbst: fan is pmu domain
12:19pmoreau: Got OpenCL on my plate! Sorry, I can’t :-D
12:19karolherbst: well, you thought of buying a GDDR5x gpu
12:19pmoreau:slowly backs off to the exit
12:19karolherbst: your fault :p
12:19karolherbst: I am quite sure the GDDR5 stuff will be quite sane and not that different actually
12:20karolherbst: looked nice enough
12:20pmoreau: You’ll most likely get access to it though. I still have to work that out, but I’ll have a look around Christmas at making everything available.
12:21pmoreau: I could give you access to the box already, but I have nothing to have it boot on demand yet, so it’s not that convenient.
12:21karolherbst: I only have traces with GDDR5X sadly :(
12:21karolherbst: a trace would be enough
12:21karolherbst: and also if skeggsb would push the maxwell pdisplay rnndb stuff :p
12:22pmoreau: So a trace of what would you need, if you already have one with GDDR5X? A Pascal with regular GDDR5?
12:23karolherbst: should also look into the engine stuff at some point...
12:23karolherbst: but this also looked sane
12:23karolherbst: the only _real_ problem should be the vbios
12:23karolherbst: and I don't really like guessing everything
12:25karolherbst: pmoreau: they doubled the P bit table size ;)
12:25karolherbst: ohh and a vbios is also good
12:25pmoreau: 2x more of the same data?
12:25karolherbst: I only have garbage vbios files for odd reasons
12:26karolherbst: pmoreau: well, more like they droped the old ones and made completly new ones
12:26karolherbst: I think only the votlage table is the same?
12:26karolherbst: I don't plan on getting anything working next year, so pascal reclocking has to wait until 2018 at least
12:29pmoreau: I’ll try to get the VBIOS from this one, but I would need to reboot with the iomem relax thing.
12:30karolherbst: would be awesome :)
14:33imirkin: uh oh. https://reviews.llvm.org/D26602 - i think we might have code that does something like that. hakzsam_ - care to check it out?
14:34imirkin: i have faint recollections of writing such logic
14:34imirkin: maybe i was smart and only did it for int's?
14:34imirkin: seems unlikely
14:34hakzsam_: yes, but I can't right now
14:38imirkin: ah no. looks like i only did it for SHL + ADD, not MUL + ADD =]
14:39imirkin: that was prescient of me...
14:44karolherbst: imirkin: wouldn't we do fadd(x, 1) -> mov(x) anyway?
14:44karolherbst: ohh add
14:50imirkin: only if x == infinity ;)
14:51karolherbst: allthough I am wondering if nvidia is able to predict the right value ranges to enable such an opt
14:51imirkin: a decent compiler ought to
14:52karolherbst: would be a good project to make the nouveau ones smarter in this regard
14:52imirkin: yep, a VRP would be nice
14:52karolherbst: I would even try to help the volunteer out on that :D
14:53karolherbst: imirkin: wanna to come and visit hamburg between christmas and new years? I totally forgot if I got any answers from you, allthough I am quite sure you won't want to come anyway
14:54imirkin: no thanks ;)
14:54karolherbst: but it is the 33c3!
14:55karolherbst: just saying, the next year it will be even harder to get tickets
14:58imirkin: it's a bit of a walk from here... also i have other plans.
15:00karolherbst: mwk: you are my only hope now
15:04Lekensteyn: when does the ticket sale start? Last year tickets were sold out before I could get them
15:05imirkin: sounds like karolherbst has some tickets for you :)
15:05karolherbst: Lekensteyn: https://tickets.events.ccc.de/33c3/
15:05karolherbst: Lekensteyn: first round was sold out after 30 minutes
15:05karolherbst: just saying
15:06karolherbst: webpage felt like a big DDOS
15:07karolherbst: Lekensteyn: I will try to buy at least 2 anyway
15:07Lekensteyn: heh, need at least 3 tickets for me and some friends :o
15:08karolherbst: I see
15:09karolherbst: Lekensteyn: I won'T try to buy +3 though
15:11Lekensteyn: have you tried to buy in the first round?
15:13mwk: karolherbst: talking to the management about it...
15:14karolherbst: mwk: yay
15:15mwk: that may take some time
15:15karolherbst: mwk: uhh
15:15karolherbst: mwk: there isn't much left though
15:15karolherbst: 25.11. is the last chance to buy one
15:15karolherbst: and then chances are rather slim to actually get one
15:15karolherbst: I will try to buy two though
15:17karolherbst: mwk: but if I get one I also plan to do a nouveau assembly there
15:17karolherbst: should be fun
15:17karolherbst: some are already interested
23:10mwk: of course, attempting to scan non-exposed Celsius state results in a hard hang
23:10mwk: this is going to be annoying.
23:12mupuf: mwk: the fun begins
23:12mupuf: Celcius is nv20?
23:19mupuf: off by one ... generation :D