01:48 mooch2: mwk, can you please explain to me da heck the ifc size in parameter does on sifc?
02:08 mwk: mooch2: well do you know what sifc does?
02:08 mwk: concepturally, it copies a rect from a cpu command stream to gpu memory
02:08 mooch2: scaled image from cpu
02:08 mooch2: don't worry, i've got it
02:08 mwk: size in is the dimensions of the input image
02:08 mwk: size out is the dimensions of the output image
02:08 mooch2: i just don't know how the data part of it works
02:09 mwk: data?
02:09 mwk: data is plain old packed pixel data
02:09 mooch2: ya know, when you write the data for the sifc
02:09 mooch2: yeah but where does it go when there was no output surface initialized?
02:09 mwk: well you have to have a surface initialized
02:09 mwk: otherwise the whole thing blows up with one of the errors
02:10 mooch2: oh, weird
02:11 mooch2: and da heck happens when on nv3, it sends an obj class of 0?
02:12 mwk: you get an invalid method error
02:12 mwk: on every method
02:13 mooch2: ah
02:17 mooch2: on nv3 sifc, how does one specify the output surface? mwk
02:17 mooch2: i see writes to method 0x31c and method 0x3fc for instance
02:20 mwk: it uses the global surface
02:20 mwk: nv3 has 4 surfaces total
02:20 mwk: the grobj specifies which of the 4 it renders to
02:20 mwk: and the 4 surfaces are set up by graph registers
02:21 mwk: surface offset & pitch registers, as well as canvas in & out size regs
02:21 mwk: the surf offset & pitch regs are settable by methods on the SURF objects; the canvas regs are onlys ettable by MMIO
02:23 mooch2: ah okay
02:24 mooch2: uh, maybe you can help me with this code, i have no idea dafuq i'm doing wrong, at some point, it just bails trying to submit methods
02:24 mooch2: shortly after submitting 0x03200258 to SIFC method 0x404
13:01 pmoreau: karolherbst: There is an “easy” way to generate PTX out of OpenCL kernel: run the program with the NVIDIA driver and retrieve the binary of the program: the binary is PTX code.
13:09 pmoreau: karolherbst: Found an even easier way: https://github.com/ljbade/clcc it calls the NVIDIA compiler directly, so no need to even run the OpenCL program.
15:36 oday: Hello again, now I'm trying to set up virtualgl with nouveau and virtio-gpu
15:37 oday: With nouveau running the 3D X server, and virtio-gpu running the 2D one
15:38 oday: I've run vglserver_config and set everything to the least secure option
15:38 oday: (This is all local anyway, and I'd rather not deal with auth as well yet)
15:39 oday: So after that, I started a TurboVNC server on :0 and straight up X on :8
15:39 oday: Thing is, I don't know how to connect them via VirtualGL
15:40 oday: And the official documentation pretty much says "Start the display manager and it'll sort itself out"
15:42 oday: So how do I do that
15:42 oday: *?
15:48 Kazumi621: ▄▄▄▄▄▄▄▄▄▄ we have got more than 200% of the monthly donations today, thank you all so much!(weechat devs)dwney: gnarface bonbons thc202 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
15:48 Kazumi621: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ we have got more than 200% of the monthly donations today, thank you all so much!(weechat devs)afcxocoyz: mmu_man NolanSyKinsley thc202 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
15:48 Kazumi621: ▄▄▄▄▄▄▄▄▄▄▄ we have got more than 200% of the monthly donations today, thank you all so much!(weechat devs)pzhuyfwub: oday towo` mmu_man ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
15:51 infinity0: i just built and installed skeggsb's devel-clk branch on a fermi gpu, how do i verify that the reclocking worked?
15:51 infinity0: RSpliet: ^
15:52 lead__597: ▄▄▄▄▄▄▄▄▄▄▄ we have got more than 200% of the monthly donations today, thank you all so much!(weechat devs)deqkorjlgw: towo` bonbons karolherbst ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
15:52 lead__597: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ we have got more than 200% of the monthly donations today, thank you all so much!(weechat devs)ijqmfpqsdm: infinity0 NolanSyKinsley gnar ▄▄▄▄▄▄▄▄▄▄▄▄
15:52 lead__597: ▄▄▄▄▄▄▄▄▄▄▄▄ we have got more than 200% of the monthly donations today, thank you all so much!(weechat devs)rfojcrkzz: infinity0 CoreDuo karolherbst ▄▄▄▄▄▄▄▄▄▄▄▄▄
15:52 lead__597: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ we have got more than 200% of the monthly donations today, thank you all so much!(weechat devs)amymbgs: damke karolherbst sarnex ▄▄▄▄▄▄▄▄▄▄▄▄,
16:05 infinity0: hm, no "reclocking" message in dmesg either
16:18 jamm: really annoying these bots
16:33 infinity0: ok it looks like it works
16:33 infinity0: echo 07 | sudo tee /sys/kernel/debug/dri/0/pstate
16:33 infinity0: increases starcraft 2 FPS from 4 to 15-20, very decently playable
16:33 infinity0: 01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1)
16:34 infinity0: however 0f causes my screen to go completely grey and keyboard/mouse stops responding
16:34 infinity0: via ssh dmesg, I see lots of:
16:34 infinity0: [ +0.000048] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 100c80 [ IBUS ]
16:34 infinity0: skeggsb, RSpliet: ^ this is the devel-clk branch on a fermi GF114
16:35 infinity0: forward-ported to 4.15-rc5 nouveau sources, but compiled against 4.14 headers
16:35 infinity0: and running in a 4.14 kernel
16:49 imirkin: infinity0: so ... 50% of the way there :) and RSpliet was right - nvce needs more work.
16:50 imirkin: infinity0: if you'd like to help work this out, stick around, there will be a lot of mmiotracing in your future
16:50 infinity0: sure, i'll be around :)
18:36 imirkin: i couldn't handle all the idiocy being said on phoronix, so in an effort to set things straight which i'm sure won't work, i wrote up a long explanation of how nvidia / nouveau stuff works. read at https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/998310-nouveau-persevered-in-2017-for-open-source-nvidia-but-2018-could-be-much-better?p=998427#post998427 if you're interested.
18:38 karolherbst: imirkin: ugh.. I didn't even bother replying :)
18:39 imirkin: https://xkcd.com/386/
18:39 imirkin: not much one can do. but every so often it just boils over.
18:40 karolherbst: :)
18:41 karolherbst: right, that open source vbios thing is always a bit annoying, but you could open up the bios/uefi code or write a replacement
18:44 karolherbst: imirkin: also vbios is signed since maxwell2 already
18:44 imirkin: i know
18:44 imirkin: did i say something counter to that?
18:44 karolherbst: it kind of sounds like it started with pascal
18:45 imirkin: it matters with pascal
18:45 karolherbst: "owever Pascal has an entirely different memory controller, so a new reclocking script generator would need to be developed. Except the NVIDIA drivers now ensure that the VBIOS hasn't been tampered with, which means that script development is limited to the specific GPU used for the RE."
18:45 imirkin: coz it's a different mem controller
18:45 karolherbst: right
18:45 karolherbst: but also with maxwell2 a little
18:45 karolherbst: skeggsb said that the kepler stuff shouldn't work on maxwell :)
18:45 karolherbst: or rather
18:45 karolherbst: it works by accident
18:46 karolherbst: not quite sure how much work we still have on maxwell2, but generally the memory reclocking chance is lower than on kepler
18:46 karolherbst: or this is at least the feeling I get
18:46 imirkin: i like accidents.
18:46 imirkin: esp happy ones
18:47 imirkin: i mean ... clearly like 99% of the reclocking code isn't _really_ necessary
18:47 imirkin: see e.g. the gk208 thing
18:47 imirkin: where we were moving 0's into regs instead of immediate values
18:47 imirkin: :)
18:47 karolherbst: well right. I didn't really asked about the differences and in the end I don't care as long as it runs and there is no obvious harm
18:48 imirkin: i.e. the fire starts later, not instantly ;)
18:48 karolherbst: I could see that we might reduce the life time of GPUs by doing weird things, but then again: we don't know better and we never will be able to
18:48 imirkin: yeah
18:48 imirkin: research shows that research causes cancer in mice :)
18:49 karolherbst: :)
18:50 karolherbst: actually it was the first time somebody said that nouveau stole some nvidia code
18:50 karolherbst: well
18:50 karolherbst: the first time I read about it
18:50 karolherbst: does this happen more often?
18:50 imirkin: yeah, that's the bit that pushed me over the edge.
19:25 imirkin: okkkk... so it looks like we're missing some kind of sync when flipping code segments
19:25 imirkin: [148924.175013] nouveau 0000:02:00.0: fifo: read fault at 0019904000 engine 00 [GR] client 10 [PD] reason 02 [PTE] on channel 7 [007f905000 X[20900]]
19:25 imirkin: old code segment: 19900000 (100000)
19:25 imirkin: new code segment: 19a00000 (200000)
19:25 imirkin: coincidence?
19:26 imirkin: oh. lol. yeah. we're missing it bigtime.
19:27 imirkin: hakzsam: you stick the SERIALIZE in there, but you don't wait for it to actually execute before nuking the bo. i think deleting the bo kills it immediately rather than on fence complete.
19:35 imirkin: w00t! dirt rally loads now (at least gets to the "start" screen)
19:37 karolherbst: :O
19:37 karolherbst: nice
19:37 karolherbst: awesome
19:38 karolherbst: I kind of expected some codegen CFG messup, but nice!
19:38 karolherbst: ohh wait
19:38 karolherbst: F1 might have a CFG messup, wrong game
19:40 karolherbst: imirkin: uhm, by the way, is there an advantage if we mark less components of varying slots as used? like is there an advantage of having a 0x11111111 mask vs 0xffffffff in the shader header?
19:40 karolherbst: I would assume perf reasons, but maybe you know more details
19:41 pmoreau: imirkin: Nice post on Phoronix BTW! :-)
19:50 imirkin: karolherbst: no clue
19:50 imirkin: karolherbst: i would assume that there is
19:50 karolherbst: I see
19:50 imirkin: karolherbst: among other things, there's a max # of components that you can't go over
19:50 karolherbst: right, I know about that one
19:50 imirkin: i.e. you can only have 128 bits set in that map, but there are > 128 bits total
19:50 karolherbst: ahhh
19:50 karolherbst: nice
19:50 imirkin: so ... you gotta watch out
19:51 karolherbst: I was just wondering, because in that one tess test we set 124 bits, but we only need 31 actually
19:51 karolherbst: it is an array of floats
19:51 imirkin: right, and varying packing gets disabled
19:51 imirkin: anyways, we might actually get the proper information via tgsi now
19:51 imirkin: we didn't use to
19:51 karolherbst: they aren't packed though
19:51 imirkin: yea i know
19:51 karolherbst: k
19:51 imirkin: coz packing gets disabled between tcs <-> tes
19:52 karolherbst: I see
19:52 karolherbst: I saw that I got to properly pack in other areas, like having 4 vec3 packed
19:53 pmoreau: karolherbst: Dunno whether you looked at the logs, but I found https://github.com/ljbade/clcc for easily compiling OpenCL to PTX using the NVIDIA OpenCL compiler.
19:57 imirkin: anyways, dirt rally seems to work fine now with my bindless impl. time to move on to the big leagues - dow3
20:00 karolherbst: :)
20:12 imirkin: well, this might come as some surprise, but an i7-920 with 6GB of ram and a GT 730 appears to be slightly under-spec for DOW3 :)
20:14 imirkin: it does seem to basically work though
20:16 karolherbst: :)
20:17 karolherbst: well, I could take a look later
20:17 airlied: imirkin: write a vulkan driver :-p
20:17 karolherbst: :D
20:17 imirkin: airlied: first i'm going to rewrite the GL driver
20:17 imirkin: airlied: i'm still waiting on skeggsb for the UAPI for vk
20:18 imirkin: (to be able to specify a VA for bos)
20:18 imirkin: (or alternatively to be able to toggle bo's memory flags)
20:18 imirkin: (actually that won't work - need to be able to place a BO at a specific VA)
20:19 karolherbst: pmoreau: well, this would be an idea, just need PTX to nvir then
20:19 imirkin: airlied: unrelatedly, any opinions about my drm_addfb woes for 30bpp?
20:20 imirkin: basically i need 30bpp to be a different format than the one it picks now
20:20 imirkin: it all worked fine before atomic since we didn't care about the drm formats
20:20 airlied: imirkin: a flag seems easiest
20:20 imirkin: ok, so just add a drm_driver->preferred_30bpp_format?
20:20 airlied: prefer 30bppbgra
20:21 airlied: or a format
20:21 imirkin:hopes drm_driver gets calloc'd
20:26 imirkin: karolherbst: 'bindless' branch on github - feel free to play with it
20:29 karolherbst: imirkin: nice, thanks
20:29 karolherbst: imirkin: did you try running hitman with it?
20:29 imirkin: works mostly fine with dirt rally and dow3
20:29 imirkin: only weird thing is the dirt rally loading screen
20:30 imirkin: as if the texture wrap settings were off or something
20:30 imirkin: i have an easy time blaming the game for that :)
20:30 imirkin: i haven't tried hitman
20:30 imirkin: i'll give it a shot...
20:31 karolherbst: imirkin: ohh by the way, somebody told me a story about some fancy compute shader abuse some games might start to do: putting all scene post processing into compute shader and run it alongside the rendering of the next frame :)
20:32 imirkin: should be fine... or you mean in a diff context?
20:33 Manoa: ben will keep working on the driver even after leaving the company ? btw thank for update for r600 dave
20:33 karolherbst: same context I think, but I guess multithreaded? not quite sure, I could ask about more details
20:33 airlied: imirkin: so how is the addfb user supposed to knkw the layout btw?
20:34 karolherbst: Manoa: huh? did I miss something?
20:34 imirkin: airlied: they don't. cool, huh?
20:34 imirkin: airlied: if they cared, they'd use addfb2
20:34 imirkin: if they don't care, they're xf86-video-nouveau and they know what the kernel driver does
20:35 imirkin: karolherbst: i get a ton of this with hitman: [153101.024758] nouveau 0000:02:00.0: gr: GPC0/TPC0/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 000e [OOR_ADDR]
20:35 karolherbst: yeah
20:35 karolherbst: I know
20:35 imirkin: OOR_ADDR means ... i forget
20:35 karolherbst: you have to enable bindless in the settings though
20:35 airlied: imirkin: just makenouveau ddx use addfb2 :-)
20:35 karolherbst: this is the one TSC/TIC overflow
20:35 imirkin: iirc it means that you're reading past the end of a constbuf
20:35 airlied: not.like 30bpp users are knocking down doors here :-)
20:36 imirkin: airlied: no amount of code i write now will cause older userspace to change =/
20:36 karolherbst: imirkin: https://github.com/karolherbst/mesa/commit/d12d1cdbd3f26f4f9437bc4d03e4870279a83354 and https://github.com/karolherbst/mesa/commit/4e4aa97982654db815be252cdb00ec4f661f2f8c
20:36 imirkin: airlied: anyways, yeah, i could flip it to use addfb2. i just didn't think that was a great solution.
20:37 karolherbst: imirkin: and some issues go away by forcing an ATI gl vendor...
20:37 imirkin: airlied: since it works as-is with 30bpp
20:37 karolherbst: but I would be interested if bindless makes a difference
20:37 imirkin: all the redmask/etc stuff is set up correctly
20:38 imirkin: karolherbst: yeah ... that makes no sense :) doesn't mean it doesn't happen ... :)
20:38 imirkin: karolherbst: would require proper investigation
20:39 imirkin: anyways, feel free to test it out with bindless
20:41 imirkin: actually i'll just try it
20:43 imirkin: nve4_launch_grid:752 - Failed to launch grid !
20:43 imirkin: interesting, i get a bunch of those
20:45 imirkin: airlied: btw, how much do you know about 30bpp?
20:46 imirkin: like ... let's say i have a digital connection ... do i need to pick a different mode? how does it know it's 10bpp of depth per channel? or does it just truncate to 8 bits unless it's some special thing?
20:46 imirkin: [e.g. the hdmi "deep color" thing in the infoframe or whatever]
20:46 Manoa: I thought I read somewhere ben leaving red hat I can't find it now, mybe I was wrong. I suppose ben programming the driver and his work is payed by red hat ? and you guys also ? I think that's nice that companies with many money investing into open source
20:47 imirkin: Manoa: i know ben moved physically from place to place but i haven't heard of him leaving RH.
20:48 imirkin: Manoa: RH and other companies invest fairly substantially into open-source software. (RH may be the most prolific, not sure. i doubt it's properly accounted anywhere.)
20:49 Manoa: I wonder though, if any of the companies that are big like RH, could, in addition to investing into open source programmers, had some money left to "buy out" and change some of nvidea's policy to give some documentation
20:52 Manoa: nvidea is going to lose in the end, sooner or later (not only because of walled garden spyware milking stations like W10) open source will be good also for game production, it's just that right now windows have the most programmers and bill gates have the most money
20:57 Manoa: I wanted to test the code you offered me before ilia and now I also want to test your changes on my 580 but the card is not plugged and I can't reboot with so many x264 instances running :x
21:00 Manoa: ...and by the time nvidea understand that open source would been good for them, AMD will already have (if not already ?) huge advantage in linux
21:55 RSpliet: imirkin: ftr, the card infinity0 owns is the one I had for a while. Traces should already be in the usual places :-)
21:55 pmoreau: karolherbst: Yeah, PTX to NVIR would be interesting, especially for a CUDA implementation.
21:55 imirkin: RSpliet: literally the one you had, or one just like it?
21:55 RSpliet: literally the same one
21:56 RSpliet: he lended it to me for a while :-)
21:56 karolherbst: pmoreau: well, I would still prefer to convert PTX to spir-v or nir or whatever. I think nir would be much easier, because PTX is pretty simple
21:56 imirkin: hehe ok
21:56 karolherbst: I wouldn't want to convert it directly, because I would want to have PTX support for all mesa drivers :)
21:56 karolherbst: well
21:56 karolherbst: if we would work on that in the first place
21:56 pmoreau: Sure
21:57 imirkin: karolherbst: ptx enables you to do all kinds of stuff that is very nvidia-specific
21:57 pmoreau: Let’s get at least one compute API working on Nouveau (not counting GLSL compute shader)
21:57 karolherbst: I see X to nvir directly as an optimisation, which we can do later as well
21:58 imirkin: karolherbst: so just get everything in tgsi and move on :)
21:58 karolherbst: there are more relevant drivers supporting nir than tgsi
21:58 karolherbst: and until we get proper compute support, we still need 1y+
21:58 karolherbst: so even AMD could do it by then
21:58 karolherbst: or they stick with llvm, I don't care
21:59 karolherbst: or somebody could try PTX to TGSI
21:59 karolherbst: personally I just think that in long term, NIR allows us to support more drivers in the end, that's all
21:59 karolherbst: and get better community support for various things
22:00 karolherbst: if we do 4 different X to nvir, we have to maintain it, if we do X to nir to nvir, we end up only having to support nir to nvir
22:01 imirkin: and who supports X to nir?
22:01 imirkin: it'll all fall on us anyways.
22:01 karolherbst: depends
22:02 karolherbst: some driver might be interested in several X to nir things
22:02 karolherbst: maybe not
22:02 imirkin: majority of development power for nir comes from intel, and they outgun us like 50:1
22:03 karolherbst: well, if they want to support PTX and help us out with PTX to nir, then I don't see the problem :)
22:03 imirkin: which means we're going to be in a permanent state of playing catch-up
22:03 imirkin: yeah they don't give a shit about that
22:03 imirkin: they've got their hands full of other things
22:03 imirkin: like bringing up genN+1
22:03 karolherbst: well, I don't know
22:03 karolherbst: I didn't ask
22:03 imirkin: and making progress on their infinite bug backlog
22:09 karolherbst: imirkin: any idea what are wrong with the arb_shader_image_load_store.atomicity tests? I got them to pass with nir, but 7/8 fail with TGSI
22:09 airlied: imirkin: my 30bpp sucks, but i think you have to setup the encoders as well as crtc
22:09 karolherbst: ohh wait, silly me
22:09 imirkin: airlied: i mean like once it leaves the card
22:09 airlied: to encode the link bit depth
22:09 karolherbst: those are the ones which failed due to GL_OUT_OF_MEMORY and issues on my last tgsi run
22:10 airlied: and thsn infoframes
22:10 imirkin: airlied: i don't know that much about like DVI
22:10 imirkin: beyond it being "digital"
22:10 imirkin: but presumably it sends a sequence of bits that are then assembled into colors on the display
22:11 imirkin: and so how does the display know it's 30bpp vs 24bpp?
22:11 imirkin: or is it just not possible with DVI, you have to use hdmi to get it, by setting an appropriate bit in the infoframe?
22:12 airlied: pretty sure hdmi only
22:12 imirkin: ah ok, that makes sense then
22:12 airlied: and it uses infoframes
22:12 imirkin: right, so then it knows if it should look for 24 or 30 bits
22:13 airlied: i think yoy can do 30 bit over dvi
22:13 airlied: its just non standard hacks
22:14 imirkin: hm ok
22:15 imirkin: "DVI will not natively support 30-bit deep color. It is possible to enable 30-bit color
22:15 imirkin: over DVI using device specific pixel packing method. In this approach, off screen
22:15 imirkin: buffers are used for rendering at a deep color value and a fragment shader is used to
22:15 imirkin: implement the monitor-specific pixel packing."
22:16 imirkin: this is from some nvidia whitepaper from 2009
22:17 karolherbst: sounds messy
22:18 karolherbst: I am sure we would also need some kind of list where there is a mapping of display => pixel packing format?
22:18 karolherbst: I don't see how the display is able to say anything about that anyway
22:19 imirkin: yeah, it'd have to be hacky like airlied said
22:19 imirkin: so this is basically a DP + HDMI feature
22:19 imirkin: (apparently there's some way to indicate it in DP as well)
22:22 airlied: dp has infoframes
22:22 imirkin: karolherbst: btw, i'd appreciate it if you could give bindless a shot - i just pushed out a very minor update. it seems to work for me, both dirt rally and dow3.
22:22 imirkin: karolherbst: but i have shit-for-hardware so perhaps something pops up on a beefier gpu like yours
22:23 imirkin: airlied: right ok :) so basically no infoframes = world of pain for 30bpp
22:26 imirkin: airlied: i'm mostly focused on the software end of 30bpp (i.e. having the proper format/etc support) rather than actually making it show up on an appropriate monitor
22:26 imirkin: although i do have a deep-color-capable tv
22:26 Manoa: I was just thinking, I have many 8bpp games, it would be nice to play them at 10bpp, you think up convertion from 8 to 10 in the driver, using say shaders can give higher quality ?
22:26 imirkin: but you never know what this means in practice
22:26 airlied: you really want fp16 scankut anyways :-)
22:27 imirkin: airlied: that's supported since G80
22:27 imirkin: there's no DRM_FORMAT for it though?
22:27 imirkin: although iirc there were patches, just not-landed
22:27 imirkin: or not-in-master? dunno.
22:44 airlied: yeah not sure where they went yrt
22:44 airlied: ill start caring about hdr nrxt week
22:45 airlied: got a shiny dell hdr10 monitor
22:46 imirkin: airlied: nice :)
22:47 karolherbst: imirkin: yeah, I will try to try it out until the weekend or earlier
22:48 Manoa: it would be nice to have 10 bit games
22:50 imirkin: karolherbst: cool thanks. i think dow3 will always just use it. it's a massive game though.
22:50 karolherbst: yeah, no worries about size
22:50 imirkin: karolherbst: for dirt rally and others, you have to flip something in ~/.local/share/feral-interactive/the-game/preferences
23:01 Simber: Hey
23:02 Simber: I think I might have found a bug in nouveau
23:02 Simber: How would I go about reporting this
23:02 Simber: as a linux noob
23:03 imirkin: describe it here, making sure to mention what hw you have and how you encounter it
23:04 imirkin: next steps will often involve filing a bug at bugs.freedesktop.org. but perhaps i can save you the trouble.
23:05 Simber: Basically I can't boot when I have my vive's HDMI connected
23:05 Simber: using latest mint with 1070 and i5 3570k
23:05 imirkin: do you get an oops or other message in dmesg?
23:06 Simber: If you give me 5 min I'll check
23:06 Simber: it just hangs on boot though
23:06 imirkin: what hangs?
23:06 Simber: the entire system
23:06 imirkin: how do you know?
23:06 Simber: actually I still get a boot sound
23:07 Simber: but no video
23:07 imirkin: do you have a second computer?
23:07 Simber: if I disconnect the vive and restart its fine
23:07 Simber: Yeah
23:07 imirkin: boot up with the vive connected and then ssh in from the second comp
23:07 imirkin: and check what's in dmesg
23:07 imirkin: my guess is that it's coming up just fine, just no video
23:08 imirkin: [make sure your target machine is configured to allow ssh and whatnot]
23:10 Simber: I'll do that now, Simber_v2 is my lapto
23:12 Simber_v2: I guess the vive is doing some weird stuff though cause it doesn't show up as a display
23:13 imirkin: might be expected...
23:13 imirkin: do you, by any chance, see a console on it?
23:13 imirkin: (a highly distorted one)
23:14 Simber_v2: I haven't thought about looking at it yet
23:14 imirkin: although all screens should be showing stuff in that case
23:14 imirkin: my guess is that nouveau dies in modesetting
23:15 imirkin: as a result of something unexpected. i don't think any nouveau developers have played with a vive yet.
23:15 imirkin: and airlied's hogging his :)
23:15 Simber_v2: That took along time to timeout, damn
23:16 Simber_v2: ok, just pluging the vive in while it's running causes it to freak out
23:16 imirkin: also note that 1070 is pascal which isn't the best-supported hw on nouveau
23:17 imirkin: Simber_v2: ok, so then boot without the vive
23:17 imirkin: ssh in
23:17 imirkin: run 'dmesg -w'
23:17 imirkin: and then plug it in
23:17 Simber_v2: it caused screen one to distort alot and screen 2 stopped reciving input
23:18 imirkin: well - the way the vive works is actually you have to send it highly-distorted images in order for them to appear correctly
23:18 imirkin: so if you send it a regular image, it'll look all weird
23:20 Simber_v2: https://pastebin.com/Lipk1eVw
23:20 Simber_v2: Thats a paste of dmesg
23:20 Simber_v2: the error starts on line 327
23:20 imirkin: do you have some kind of super-debug option enabled for nouveau?
23:21 imirkin: [ 182.268370] nouveau 0000:01:00.0: disp: 0x6269[0]: INIT_GENERIC_CONDITON: unknown 0x07
23:21 imirkin: that's fine
23:21 imirkin: the lines after -- not fine.
23:21 imirkin: so that's a modeset failing
23:21 Simber_v2: Its showing the vive in the displays list too
23:22 Simber_v2: it's also showing my other monitor which is nolonger reseving input
23:22 imirkin: file a bug at bugs.freedesktop.org xorg -> Driver/nouveau, and include that error (attached), and also attach /sys/class/drm/card0-HDMI-A-1/edid (or whatever the right connector for the vive is)
23:24 imirkin: unfortunately i'm not sufficiently well-versed in reading those modeset failures
23:24 Simber_v2: I got another spew of errors when trying to move display postions
23:24 Simber_v2: https://pastebin.com/75Xb0UEi
23:25 Simber_v2: I'll attach both of those and that file in a bug report
23:27 Simber_v2: I take it edid isn't meant to be human readable
23:28 imirkin: no, it's just data
23:28 imirkin: there are programs that can parse it
23:28 imirkin: should be 128- or 256-byte blob
23:29 imirkin: (maybe even bigger for vive... recent stuff has all sorts of extension stuff in there)
23:39 Simber: Where should I upload the edid
23:40 imirkin: as an attachment in the bug
23:40 Simber: nvm, an attachemnt
23:40 imirkin: you can only have one attachment when first creating it
23:40 imirkin: but you can add more after it's created
23:40 Simber: Im not used to sites allowing sttachments like that now a days
23:42 imirkin: yeah, blast from the past :)
23:42 imirkin: back when you could actually do things on the internet
23:42 imirkin: instead of just watching advertisements and buying things
23:43 Simber: Im too young for most of those days, I only caught the end of them
23:43 Simber: I've hardly used IRC tbh
23:45 imirkin: you'll get old too. just give it time.
23:52 Simber: I've submitted the bug
23:53 imirkin: please attach the messages - pastebins go away after a while
23:53 imirkin: for a self-described noob, you sure file some very cogent bug reports
23:55 Simber: The entire pastebins?
23:55 Simber: The first one is almost 1.9k lines
23:56 Simber: Or should I just attach them as txts
23:57 imirkin: attach a plaintext file with the various contents
23:58 imirkin: we live in the future
23:58 imirkin: so storing a few kb in a bug is no big deal
23:59 imirkin: excellent thanks