02:26 imirkin: if we're ever to pass CTS, i think we need to make a directed attempt at triaging all the failures across all chips and figuring out why they happen
02:27 imirkin: i've created a new trello board - https://trello.com/b/lfM6VGGA/nouveau-cts - for precisely this task
02:28 imirkin: let me know if you're interested in being part of that effort, and i'll add you to the board
02:29 airlied: imirkin: you can pass CTS on one chip :-)
02:30 imirkin: airlied: perhaps i phrased that wrong - what i meant is that we need to do the analysis on each chip, not just on one chip. i.e. if the same test fails on 2 chips, that probably needs to be treated as 2 failures
02:30 imirkin: depends on the situation
02:31 gnarface: fun patches?
02:33 imirkin: hm?
02:44 gnarface: nevermind
07:29 librin-thinkpad: hello!
07:30 librin-thinkpad: are there any known issues related to running nouveau on UEFI? (UEFI on the mainboard, not the card itself)
07:35 mlankhorst: uefi runs before nouveau, so don't see how..
07:39 mjg59: mlankhorst: Card tends to come up in a different mode, legacy VGA addresses may not be mapped
07:39 mjg59: Nothing that *should* matter, but
07:40 mlankhorst: true
07:44 librin-thinkpad: I traced back my flickering problem on higher refresh rates (which I found to actually be triggered at >=75Hz, not >60Hz, I tested modes with 74.9hz, even) to be UEFI-related
07:44 librin-thinkpad: if I do a UEFI boot with CSM (Compatibility Support Module) disabled, I hit the problem
07:44 librin-thinkpad: if I enable CSM back, even though it's not even used, it's all fine
07:44 mjg59: librin-thinkpad: It's not UEFI as such, it'll be that the UEFI driver has configured the card slightly differently
07:45 mjg59: If CSM is enabled it's probably running the legacy video BIOS instead
07:48 librin-thinkpad: And in the end, Nouveau fails to properly handle that. The way it gets configured when CSM is not present, I mean
07:48 librin-thinkpad: :/
07:49 librin-thinkpad: imirkin: any 2¢ on this?
08:52 RSpliet: librin-thinkpad: that's kernel stuff presumably, I... guess you could boot your kernel with nouveau.NvForcePost=1 and see if it makes a difference?
08:52 RSpliet: Report your results along with anything else to the freedesktop bugzilla (https://nouveau.freedesktop.org/wiki/Bugs/)
08:53 RSpliet: and expect to be asked for mmiotraces of your kernel on boot
08:54 librin-thinkpad: RSpliet: thanks a million!
09:43 karolherbst: imirkin: why a new board?
10:37 AndrewR: Hi all... may be I have another nouveau OpenGL-related bug .... At least I tried to run cinelerra (video editing software, open-source) on nouveau, and while one dev branch worked with OpenGL eacceleration, it had strange behavior when paused with one or more effects, and default branch simply crashed with opengl output/acceleration. But both worked with LIBGL_ALWAYS_SOFTWARE=1 https://git.cinelerra-cv.org/gitweb . I finally compiled new apitrace, and
10:37 AndrewR: can try to trace this application (seems to be one rare case when anyone uses pbuffers).
10:42 AndrewR: right now it tend to crash like this (main branch, https://git.cinelerra-cv.org/gitweb?p=CinelerraCV.git;a=summary) https://pastebin.com/0gHQgxdt
10:58 RSpliet: AndrewR: you might need to install debugging symbols for nouveau_dri.so to get a more meaningful backtrace
10:59 RSpliet: (and for others who can't be bothered to fire up bing translate: that signal is segfault)
10:59 AndrewR: RSpliet, thanks ..
11:07 zabell: Hey, I see that nouveau have support for GP107 but trying the mobile version GP107M seams to fail, is that intentional?
11:08 RSpliet: zabell: no. Are you using a brand new kernel? what's failing?
11:09 RSpliet: Also I don't think GP107 can be used for anything other than display modesetting and software rendering until NVIDIA releases their firmwares
11:10 RSpliet: which in a laptop is rather useless, considering 99% of all displays are driven by the Intel GPU instead
11:10 zabell: RSpliet: I have a Dell XPS 15 with Nvidia GTX 1050, the firmware loads now on Fedora 25, but I can only run wayland on the Intel graphics. And running lspci from terminal crashes the whole system.
11:11 RSpliet: sounds like problems with power management
11:11 zabell: Okay, I have read that it's no implemented yet, just wondered if there is a difference between GP107 and GP107M
11:11 RSpliet: no there isn't
11:12 RSpliet: Well, not as far as nouveau is concerned
11:12 zabell: So just use the Nvidia driver until the kernel gets some more updates? :)
11:12 zabell: Thought maybe my hardware was faulty
11:12 RSpliet: Also, I don't think NVIDIA has released firmware for GP107
11:13 RSpliet: so I highly doubt anything is loading at this point
11:13 zabell: They have some time ago
11:13 zabell: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=7c7785c3fca909d876e506e337eaa771a8f4dcbc
11:13 RSpliet: Oh that went completely past me. Cool
11:13 RSpliet: you can try booting with disabled runpm
11:14 RSpliet: and a 4.11 kernel from Koji
11:14 zabell: okay to disable power management?
11:15 RSpliet: well, I don't quite know what bits it disables to be fair. Probably something with suspend/resume, so it'll probably impact battery life and power consumption
11:15 zabell: I guess I will wait for power management to work, becuase without that I might as well use Nvidia
11:15 RSpliet: but with boot clocks I doubt it can overheat
11:15 RSpliet: true
11:15 RSpliet: if you feel like experimenting, boot with nouveau.runpm=... I always forget. Either 0 or 1
11:16 zabell: Though nvidia-drm modesetting it really hard to get working on new hardware, they have quite a lot of bugs.
11:16 zabell: runpm is default 1 on optimus systems.
11:16 zabell: So I could try setting it to null
11:16 RSpliet: according to the wiki it's -1
11:16 zabell: ohh yea sorry :D
11:17 zabell: Is that a typo, or does -1 do something special i wonder.
11:17 RSpliet: it's probably a semi-clever "auto"
11:17 RSpliet: don't know the code well enough tbh
11:18 zabell: yea okay
11:19 zabell: Atleast now I know it is probably not my hardware.
13:55 imirkin: karolherbst: dunno, seems a little orthogonal. this is basically a bug tracking and investigation board, broken down by family.
13:56 karolherbst: well, we could have the same lists in the nouveau board as well
13:57 imirkin: could be. but then it'd get confusing.
16:39 orbea: So slackware current updated gcc-5.4.0 to gcc-7.1.0 and now pcsx2 kind of just broke... As in the OpenGL gsdx will render nothing, broken images, or severe graphical issues (Epileptic flashing). The software gsdx still works however. Here are two traces that show the issue, although the second one mostly replays correctly. http://ks392457.kimsufi.com/orbea/stuff/trace/PCSX2_gcc-7.1.0_ggx2.trace.xz and
16:39 orbea: http://ks392457.kimsufi.com/orbea/stuff/trace/PCSX2_gcc-7.1.0_tota.trace.xz Here is an pcsx2 issue as well: https://github.com/PCSX2/pcsx2/issues/1937 So what happened? Is this nouveau specific? Mesa? gcc? pcsx2?
16:40 imirkin_: let's see what happens replaying it on i965
16:40 orbea: also an example of 'broken images', it varies though. http://ks392457.kimsufi.com/orbea/stuff/pics/scrots/pcsx2/gsdx_20170509134534.png
16:42 imirkin_: 5801: message: application error 57005: ERROR: Source and Target are the same!
16:42 orbea: I get the same
16:42 imirkin_: seems like something bad is happening.
16:43 orbea: I guess maybe it might be better to ask in #dri-devel?
16:43 imirkin_: it does tend to render ok on i965 once you get into the game
16:43 imirkin_: before then i get lots of blinking
16:44 orbea: yea, without apitrace it will render nothing until the fmv which blinks a lot
16:45 orbea: the other trace shows just garbage like I see without apitrace
16:45 orbea: and prints a lot of: 129: message: application error 57005: ERROR: Update RenderTarget 0x0 bw:10 (0,0 => 640,480)
16:45 orbea: 2218: message: application error 57005: OI_GsMemClear (0,0 => 639,479)
16:46 imirkin_: that's something put in by the application
16:46 imirkin_: so actually i think it's pcsx2 that's inserting those messages
16:46 imirkin_: not mesa
16:50 orbea: well, its fairly disconcerting for it to go from working fairly well to nothing. Well, I guess it was probably a time bomb waiting to go off...
18:05 imirkin_: https://devblogs.nvidia.com/parallelforall/inside-volta/
18:09 imirkin_: fp64 is back...
18:27 karolherbst: wuhu
18:28 karolherbst: Tensor cores... interesting
18:31 karolherbst: 12nm?
18:31 karolherbst: k
18:32 karolherbst: :O " Volta GV100 is the first GPU to support independent thread scheduling, which enables finer-grain synchronization and cooperation between parallel threads in a program."
19:35 RSpliet: "Transistors: 21.1 billion"
19:36 RSpliet: That beast just got 30% bigger than its predecessor
19:36 imirkin_: each one's smaller though
19:37 RSpliet: well, with processes named after the smallest feature, that's not guaranteed
19:38 imirkin_: still smaller than these guys, i bet: https://www.parts-express.com/electro-harmonix-el84-eh-vacuum-tube--072-880
19:38 RSpliet: and cheaper, presumably
19:39 imirkin_: at least on a per-unit basis :)
19:39 RSpliet: yeah... guess we'll have to request a quote for 21.1 billion of them to verify
19:39 imirkin_: -ENOMETAL
19:55 gregory38: imirkin_: orbea: I'm sorry
19:55 gregory38: those errrorsa are "normal"
19:56 gregory38: I used them to monitor crappy emulation corner case
19:56 imirkin_: well, sounds like there's still some real issue though =/
19:56 gregory38: mesa seems to be fineon my side
19:56 imirkin_: with the new gcc?
19:57 gregory38: yes butit could be related to gcc 7
19:57 imirkin_: yes
19:57 gregory38: :)
19:57 gregory38: I need to check the apitrace on my sied
20:00 karolherbst: Lyude: I have an idea: let's work on having Nouveau running on switch :O
20:01 Lyude: seriously? that sounds kinda neat
20:01 karolherbst: yeah
20:01 Lyude: granted though I am not sure if I've got the time between nouveau, working on <redacted> at work, and probably reverse engineering the mali gpu series
20:02 Lyude: or the t600 at least
20:02 karolherbst: nah, I don't care about the CPU side, I just want to replace nvidias blobs with nouveau :D
20:02 karolherbst: and why mali?
20:02 karolherbst: ohhhh
20:02 karolherbst: k
20:03 karolherbst: my phone has a mali as well
20:03 Lyude: I haven't checked but I don't think we have a re'd driver for it
20:03 Lyude: at least from what robclark told me
20:03 Lyude: i would very much like to actually have my own drm driver. would help make me feel cool and also teach me a lot of stuff
20:03 karolherbst: I think somebody wanted to work on mali?
20:03 Lyude: yeah, some person apparently did work on it already and wrote a driver but, didn't release the source code for it?
20:04 karolherbst: sounds about right I think
20:04 karolherbst: I don't know the details though
20:04 Lyude: weird
20:04 karolherbst: I think there was some sillyness going on, that's why it never happen, but I could remember wrongly
20:04 Lyude: i am going to try to poke them at some point but if I don't end up getting much info from them hey, just means more re work for me
20:05 Lyude: the most important part of all of this is that I decided to name the driver something along the lines of "flogging mali"
20:07 karolherbst: Lyude: why mali though?
20:08 Lyude: karolherbst: cause rob had a chromebook with it, and I just kinda want the experience of writing a set of drivers for a gpu from scratch
20:08 karolherbst: I see
20:08 imirkin_: Lyude: it's a lot of work
20:09 imirkin_: but you get to know how GL works real well
20:09 Lyude: imirkin_: yeah, I figured it was going to be
20:10 Lyude: of course though i'm still working on nouveau as well :), tbh that is on a higher priority atm
20:12 Echelon9: karolherbst, Lyude: Re getting nouveau working on the Switch (Tegra T210), I've been working on getting nouveau working on the SHIELD TV (Tegra T210)
20:13 karolherbst: Echelon9: well, on the shield it should "just work" (tm)
20:13 Echelon9: Unlocked bootloader and Android base is a starting point
20:13 karolherbst: .
20:13 karolherbst: *switch
20:14 Echelon9: Device tree shenanigans aside etc
20:14 karolherbst: true
20:14 karolherbst: and that switch is using FreeBSD
20:16 Echelon9: No one appears to have fastboot / bootloader access on the Switch yet
20:16 Echelon9: The SoC's should be broadly equivalent
21:58 karolherbst: imirkin: it sounds like that with the tensor cores there will be a more vector centred ISA for a special core type?
21:59 karolherbst: 120 TFLOPS of "matrix-multiply-and-accumulate"
22:01 karolherbst: especially this f16 inout anbd f32 output thing sounds interesting
22:03 RSpliet: karolherbst: it's an answer to Google's TPU
22:06 RSpliet: (see https://drive.google.com/file/d/0Bx4hafXDDq2EMzRNcy1vSUxtcEk/view )