09:15 karolherbst: hihi, and I thought I would have to throw out my popcorn out of my stash cause it was getting old
09:31 pmoreau: karolherbst: What am I missing?
09:35 karolherbst: pmoreau: AMD DAL
09:35 karolherbst: airlied was even called being a communist on phoronix :D
09:35 pmoreau: I looked through the ML, then on Phoronix, and guessed it would be for DAL indeed
12:11 karolherbst: ohh wow, it actually is getting worse over time
12:12 karolherbst: danvet: nice overview, you should put in a good place so that this can be reused for future discussions as well :D "why-we-didn't-merge-stuff-FAQ"
12:17 RSpliet: nothing wrong with a bit of communism...
12:19 karolherbst: I am quite sure he has the same meaning of the word as you have :p
12:25 pmoreau: hakzsam: Have you tried https://cgit.freedesktop.org/mesa/mesa/commit/?id=6dc96de303290e8d1fc294da478c4f370be98dea with F1?
12:29 hakzsam: pmoreau: no
12:32 hakzsam: I will try though
12:33 karolherbst: there is also a valve bug ticket for this somewhere
12:33 hakzsam: link?
12:34 karolherbst: https://github.com/ValveSoftware/Source-1-Games/issues/1943
12:38 karolherbst: well maybe it fixes a few issues I've encountered as well
12:38 karolherbst: seems like I have to play TF2 again :D
12:59 pmoreau: karolherbst: Such a shame… :-D
13:13 danvet: karolherbst, hm yeah, might be a good blog indeed
19:14 bernie: I'm trying to understand why xf86-video-nouveau fails to initialize acceleration on the GTX 970:
19:14 bernie: [ 2962.382] (EE) NOUVEAU(0): Failed to initialise context object: 2D_NVC0 (0)
19:15 imirkin_: pastebin dmesg
19:16 bernie: https://bugs.freedesktop.org/attachment.cgi?id=128334
19:16 bernie: it's truncated, but perhaps the failure is near the bottom
19:16 imirkin_: [ 2962.292520] nouveau 0000:01:00.0: gr: init failed, -28
19:17 imirkin_: that means "no accel"
19:17 imirkin_: you appear to have grabbed the wrong hackpatch
19:17 bernie: imirkin_: I applied this one: 0001-nvkm_gpuobj-size-is-smaller-then-nvkm_gpuobj-size-ca.patch
19:17 imirkin_: https://bugs.freedesktop.org/attachment.cgi?id=127508
19:17 imirkin_: try that one
19:18 bernie: iirc, that one lead to a blank screen
19:18 imirkin_: can't win 'em all i guess
19:18 imirkin_: well the one you applied is just very clearing wrong
19:18 imirkin_: clearly*
19:19 bernie: but it could have been caused by some other problem in drm-next head, which would hang on networking too
19:20 bernie: imirkin_, ok, i'll give another shot at the "parts = 3" patch and report back
19:24 bernie: imirkin_, just to make sure: 2D/3D acceleration *is* expected to work with GTX 970 using current kernels, mesa, drm and DDX driver?
19:25 imirkin_: not with the GTX 970 with 4GB of vram, but otherwise, yes
19:25 imirkin_: you do need the firmware, but it's in linux-firmware
19:25 imirkin_: (the signed firmware, that is)
19:25 bernie: imirkin_, ah, that's what I have
19:27 karolherbst: you could try the hack though
19:27 bernie: perhaps I'm misunderstanding the code, but... The DDX driver calls this:
19:27 bernie: ret = nouveau_object_new(pNv->channel, 0x0000902d, 0x902d,
19:27 bernie: NULL, 0, &pNv->Nv2D);
19:27 karolherbst: ohh wait
19:27 karolherbst: you tried the hack
19:28 bernie: yeah, but only this one worked for me: https://bugs.freedesktop.org/attachment.cgi?id=125656
19:30 bernie: Anyway, I traced the ioctl down into the kernel, and it seems that nvkm/engine/gr/ctxgm200.c does not handle 902d
19:31 bernie: unlike, for example ctxgf100.c
19:32 bernie: oh, wait, it that FERMI_TWOD_A?
19:42 imirkin_: yes :)
19:42 imirkin_: your gr engine didn't come up
19:42 imirkin_: so you won't have any accel
19:43 imirkin_: skeggsb: those look like some nice changes to have
19:44 imirkin_: [the fault handling stuff]
20:50 alkabetz: Hey, does anybody know the current status for MST support?
20:58 imirkin_: alkabetz: it should be working in drm-next
20:58 alkabetz: imirkin_: Cool, thanks.
21:03 imirkin_: [obviously only on hw that has DP 1.2... i think kepler+]
21:15 alkabetz: Sure. I have a Kepler card and would like to drive a UP2414Q.
21:16 imirkin_: it's supposed to work on drm-next -- let us know if it doesn't
21:16 imirkin_: (or the upcoming 4.10-rc1)
21:33 bloblo: hello guys
21:33 bloblo: i have a question
21:34 bloblo: how i can switch pcie gen2 to gen3 ?
21:35 imirkin_: it should be done automatically i think
21:35 bloblo: i am debian user but any linux cmd is welcome
21:35 bloblo: is nvidia guys force stay in gen2
21:36 bloblo: look this http://nvidia.custhelp.com/app/answers/detail/a_id/3135
21:36 bloblo: in old drivers other people say is possible to work in gen3 driver 29x. but with 3xx is forced gen2
21:37 imirkin_: only kepler hw can do pcie gen3
21:37 bloblo: and i am looking for set manualy gen3
21:37 bloblo: i have gtx 770
21:37 imirkin_: [and obviously later]
21:37 bloblo: 4 gb ddr5
21:38 imirkin_: we should be enabling pcie gen3 automatically on those (on sufficiently recent kernels)
21:38 bloblo: in box i see pcie3.0
21:38 imirkin_: [assuming your mobo can handle it]
21:38 bloblo: yeah 2 pci gen3 x79 mobo
21:39 bloblo: i have kern 4.8.0x
21:40 imirkin_: so you should be good i think
21:41 imirkin_: do you have a reason to believe you're not?
21:42 imirkin_: lspci -nnvvv -d 10de::300 and look for the LnkSta lines iirc
21:42 bloblo: i see with lspci -vvv
21:42 bloblo: k test
21:44 bloblo: LnkSta: Speed 2.5GT/s, Width x16, when i launch glxgears LnkSta: Speed 5GT/s, Width x16
21:44 bloblo: is with nvidia driver
21:44 bloblo: alos 5 in nouveau
21:45 bloblo: also*
21:45 bloblo: with kern 4.9-rc8
21:45 imirkin_: i think that each pstate indicates the pcie speed that should be set
21:45 imirkin_: with pcie v3, you can have 2.5, 5, and 8GT/s speeds
21:46 imirkin_: look for something like Capabilities: [70] Express (v3) Endpoint
21:46 bloblo: yes and i am lookink for 8 gt
21:46 imirkin_: that should say whether you have v2 or v3, i think
21:47 bloblo: Capabilities: [78] Express (v2) Endpoint, MSI 00
21:47 imirkin_: hmmmm
21:47 imirkin_: karolherbst: what does yours say?
21:47 karolherbst: v2
21:48 karolherbst: there is no v3
21:48 karolherbst: we parse the pcie link speed wrong though
21:48 karolherbst: also debug=pci=debug helps
21:51 bloblo: i have just pci gen2 or is my system use only gen2
21:51 bloblo: ?
21:52 bloblo: when i buy i have see pci gen3
21:52 bloblo: and in paper is gen3
21:53 karolherbst: bloblo: boot with nouveau.debug=pci=debug
21:53 karolherbst: it will print all the stuff
21:53 bloblo: ok, i reboot
21:57 bloblo: [ 4.216449] nouveau 0000:02:00.0: pci: pcie max speed: 8.0GT/s
21:58 bloblo: LnkCap: Port #0, Speed 8GT/s,
21:58 bloblo: vblank_mode=0 glxgears Xlib: extension "GLX" missing on display ":0". Error: couldn't get an RGB, Double-buffered visual
21:59 bloblo: hm i think nvidia not like
21:59 bloblo: but i have backlisted nvidia
21:59 karolherbst: okay, so the gpu detects 8.0
21:59 karolherbst: fine
21:59 karolherbst: change to highest pstate
21:59 karolherbst: it will print out what the driver tries to do
22:00 bloblo: 0f: core 405-1241 MHz memory 7010 MHz AC DC *
22:00 bloblo: not return
22:00 bloblo: but is in kern 4.8.0.2
22:00 bloblo: 0-2*
22:00 bloblo: i have 2 line error with kern 4.9
22:01 bloblo: rc8
22:01 bloblo: i don remember what
22:01 karolherbst: mhh
22:01 karolherbst: k
22:01 karolherbst: well you want a new kernel
22:01 bloblo: i go install 4.9rc8 and test i think is with 4.9 i have also 5gt
22:01 karolherbst: anyway
22:02 karolherbst: depending on the pstate, you get different pcie speeds
22:02 karolherbst: no
22:02 karolherbst: 4.9v8 won't do it
22:02 karolherbst: you need 4.10
22:02 karolherbst: or current drm-next
22:02 bloblo: with 0e and 0f i have error output
22:03 bloblo: i have already compiled linux-next but in boot amdgpu or nouveau startx not work
22:03 bloblo: i dont know how compil goodly
22:04 bloblo: you have cmd line for compil 4.10 or drm-next ?
22:05 bloblo: i have mesa 13.0.2-1
22:17 karolherbst: mhh, drm-next should be fine though
22:17 karolherbst: did you configure your kernel yourself?
22:17 karolherbst: or so?
22:17 karolherbst: sometimes there are packages for your distribution for drm-next
22:17 karolherbst: so you should just this then
22:28 bloblo: I use this method for normal last: - git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
22:28 bloblo: after, make menuconfig, make-kpkg clean, fakeroot make-kpkg -j 16 --initrd --append-to-version=-$(date '+%s') kernel-image kernel-headers
22:28 bloblo: is give a .deb of image and headers kernel, after i install (is debian not ubuntu)
22:29 bloblo: I think is same method with other kernel but i dont know what i need
23:16 bloblo: I have found how enable pci gen 3 with nvidia drivers, but i dont know if is risk to add here