00:38 BoRiS: Hi everyone!
03:21 orbea: with one of the n64 libretro cores I am getting a graphical issue just before the title screen with a zelda game with enableNativeResTexrects which does not seem to happen without nouveau, its not on my intel thinkpad and the dev can't reproduce it. Maybe its a nouveau issue? Its hard to tell as that option is pretty buggy. Apitrace:
03:21 orbea: http://ks392457.kimsufi.com/orbea/stuff/trace/libretro/glupen64-majaro.trace.xz image: http://ks392457.kimsufi.com/orbea/stuff/pics/scrots/libretro/mupen64plus/2016-08-06-153722_1680x1050_scrot.png
04:01 imirkin: orbea: safe bet that nouveau is somehow buggy.
04:06 imirkin: orbea: it basically looks identical on nouveau and llvmpipe... what's the issue exactly?
04:21 orbea: imirkin: just a graphical defect as sohown in the image (should be just a black screen), its nothing major
04:21 imirkin: oh ok.
04:22 imirkin: i actually did notice that there were VERY minor differences
04:22 imirkin: it sounded like you were talking about something major
04:23 orbea: oh no, the whole option is full of little tiny things. I just found it interesting on this one in particular could of been connected with nouveau.
04:40 imirkin: it looks like a ton of intermediate draws differ, due to what *looks like* lack of clearing
06:26 GreatEmerald: I switched to nouveau for testing different things now, and oddly enough it causes QupZilla to crash: https://bpaste.net/raw/91a2e5ae7a3d
06:27 GreatEmerald: In addition, this is what is printed on the console after trying to launch it: https://bpaste.net/raw/c1a8dc51d296
07:01 idl0r: imirkin: hm, re OSD/dri3: i modified your patch (toggle) to require the environment variable to be enabled but that didn't help
07:35 karolherbst: GreatEmerald: backtraces without symbol/dbg packages are pretty much useless
07:51 GreatEmerald: karolherbst: I installed the debuginfo package for libdrm_nouveau2 now, and the backtrace is: https://bpaste.net/raw/e57c7ecf0531
07:51 GreatEmerald: It doesn't look like it's really using them?
07:52 karolherbst: you also need to install the mesa one
07:52 GreatEmerald: OK
07:53 GreatEmerald: When running in GDB, I get this: "qupzilla: pushbuf.c:727: nouveau_pushbuf_data: Assertion `kref' failed."
07:53 GreatEmerald: So looks like the kernel rejected pushbuf is the reason for the crash
07:58 GreatEmerald: Here's a GDB backtrace of it: https://bpaste.net/raw/ec937705ad5a
07:59 GreatEmerald: It sometimes crashes on fences, sometimes on pushbuf, and sometimes hangs with 100% core utilisation on fences
08:12 hakzsam: you are hitting the "too fast commands submission" thing which is well known, will be fixed at some point
08:31 GreatEmerald: Welp, I sure am hitting a lot of bugs lately...
08:31 GreatEmerald: But at least so far it hasn't completely hung
08:37 karolherbst: I guess everything webkitqt5 based might run into troubles
08:40 GreatEmerald: I wonder what qupzilla actually uses qt5webkit for, since they switched to QtWebEngine
08:44 GreatEmerald: I don't think it does use it any more, just other Qt things like widgets and declarative
08:46 karolherbst: who knows for sure
08:48 GreatEmerald: ldd should! ;)
09:17 GreatEmerald: While I'm at it, how come does vdpauinfo show --- not supported --- under every decoder capability, even though I should have VP5 (MPEG-1/2/4, H.264 and VC-1)?
09:19 GreatEmerald: Oh, it might be the missing firmware noted
09:23 karolherbst: right
09:41 GreatEmerald: Hm, interesting, while I was using llvmpipe KWin switched back to XRender, and kept that when I went back to nouveau
09:41 GreatEmerald: With XRender it didn't freeze, but when I switched to OpenGL 3 compositing, it froze after a few minutes
09:42 GreatEmerald: With: "kernel: nouveau 0000:01:00.0: fifo: read fault at bcecceb000 engine 00 [GR] client 0d [GPC2/GCC] reason 00 [PDE] on channel 7 [023f749000 plasmashell[1710]]"
09:42 GreatEmerald: And then "nouveau 0000:01:00.0: fifo: gr engine fault on channel 7, recovering..."
09:43 GreatEmerald: I now switched to higher debug levels, let's see if it freezes again
09:56 GreatEmerald: It froze again, but the log has no interesting information this time... Even with debug, the last message is from 11:38, whereas the freeze happened at 11:49
09:57 GreatEmerald: And it makes me wonder whether KWIN_TRIPLE_BUFFER or __GL_YIELD changes could have an effect here
09:58 GreatEmerald: I enabled triple buffering and set the yield to USLEEP in order to make sure there's no tearing on the proprietary driver
09:59 GreatEmerald: Oh, no, they're already commented out
10:00 GreatEmerald: Installing the firmware indeed worked to make vdpau show all the decoders
14:04 imirkin: GreatEmerald: a ton of people have issues with kwin compositor thing, so i'd just turn that off
14:04 imirkin: GreatEmerald: also people have reported issues with qtwebengine, i have a patch set that fixes the underlying issues, but it needs a bit more thought
14:05 karolherbst: imirkin: it is odd though, that while I was running my plasma session prime offloaded, I had no issues
14:05 imirkin: karolherbst: dunno. i don't use kde, or compositors
14:05 imirkin: fact is, a bunch of people have reported issues
14:05 imirkin: and i'm not aware of any of that junk being actually useful
14:06 karolherbst: I am sure the issue is more like everything put together: ddx accell + multiple gl contexts + more stuff
14:06 imirkin: most likely, yes
14:07 GreatEmerald: Yea, right now I'm back on XRender and it hasn't frozen once
14:08 imirkin: GreatEmerald: if you urgently need your qtwebengine stuff to not die, have a look at this branch: https://github.com/imirkin/mesa/commits/locking
14:08 GreatEmerald: Nah, I'm good with using Firefox for some time
15:03 GreatEmerald: Hm, how come OBS with Xcomposite doesn't actually manage to capture windows?
15:04 GreatEmerald: It says "error: glCopyImageSubData failed, glGetError returned 0x502" and "error: device_copy_texture (GL) failed"
15:04 GreatEmerald: XSHM works
15:06 ajax: desoxy:~% grep 0x0502 /usr/include/GL/gl.h
15:06 ajax: #define GL_INVALID_OPERATION 0x0502
15:08 ajax: the causes of which are documented in the glCopyImageSubData man page
15:08 ajax: all of which would indicate a bug in either the app or the driver, more likely the former but hard to say
15:16 imirkin: GreatEmerald: it's a known bug in obs-studio
15:17 imirkin: you can work around it by running with MESA_EXTENSION_OVERRIDE=-GL_ARB_copy_image
15:17 imirkin: https://obsproject.com/mantis/view.php?id=403
15:17 imirkin: and iirc there's another one about it too
15:19 imirkin: same issue with nvidia blob drivers: https://obsproject.com/mantis/view.php?id=593
15:21 GreatEmerald_: Froze again while I was trying to look at the video in Kdenlive, but this time I got some interesting debug information in the log
15:22 imirkin: GreatEmerald_: btw, if the question you're trying to answer is "is nouveau ready for prime-time", i can tell you with certainty: "no"
15:23 GreatEmerald_: Hah
15:24 GreatEmerald_: Nah, I'm more trying to find out why the freezes might happen
15:24 GreatEmerald_: Hm, nouveau.debug=debug sure is chatty, I got 4.4 MB worth of log
15:24 imirkin: not sure if you saw my comments earlier about OBS
15:24 GreatEmerald_: I haven't
15:25 imirkin: unfortunately debug logs rarely, if ever, show why a hang happens
15:25 GreatEmerald_: Oh, cool
15:26 imirkin: the regular info logs are useful
15:26 imirkin: [or can be]
15:26 GreatEmerald_: But yea, the most important parts of the log are: "nouveau 0000:01:00.0: gr: TRAP ch 15 [023ef89000 kdenlive[11220]]" and "nouveau 0000:01:00.0: gr: GPC0/TPC0/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 3c000d [OOR_REG]"
15:26 imirkin: btw, what kernel are you on?
15:26 GreatEmerald_: 4.7.1
15:26 imirkin: ok, that should be plenty. there were some fixes to parallel ctx creation things at some point ... earlier
15:27 imirkin: like 4.5 or so
15:27 imirkin: OOR_REG - that's an interesting one.
15:27 imirkin: that means we fucked up big time. or, more likely, something odd happened.
15:27 imirkin: (OOR_REG = out-of-range register)
15:27 imirkin: (i.e. we said we were going to use N registers, but used N+1 registers)
15:31 GreatEmerald_: Here's the full log: https://bpaste.net/show/55a398701416
15:32 imirkin: interesting. so all is well, and then all of a sudden, you get a ton of those
15:32 imirkin: perhaps we really do compile a shader funny
15:35 GreatEmerald_: Yea, I was just playing the video I had recorded on Kdenlive. Oddly enough, it started flickering quite a bit after half a minute
15:35 GreatEmerald_: In vertical stripes, only within the video playback viewport
15:36 imirkin: maybe that shader got messed up somehow
15:36 GreatEmerald_: But it didn't freeze at that point, I paused and rewinded to see if the flickering is in the video or not, started to play again, and after a few more seconds it froze
15:37 GreatEmerald_: The audio kept playing, but the keyboard was not responsive. I guess the fan target requests at the end show that, it kinda still runs but I have no way of entering input at that point
16:40 GreatEmerald: Hm, here's another freeze I had (clicked a link, and since QupZilla is set as the default browser, it opened; but instaed of crashing, it froze the system instead): https://bpaste.net/show/e740711f62bb
16:40 GreatEmerald: Possibly the same issue, but maybe not
17:02 GreatEmerald: And another freeze, this time with mpv on a video, nothing interesting shown in the log
17:02 imirkin_: GreatEmerald: it sounds like you're having a variant of this issue:
17:03 imirkin_: gr, can't find it. hold on.
17:04 imirkin_: GreatEmerald: https://bugs.freedesktop.org/show_bug.cgi?id=72180
17:05 GreatEmerald: Yeap, I'm one of the people in that bug report ;)
17:06 imirkin_: does using blob graph ctxsw fw help?
17:06 GreatEmerald: Last I tried, it didn't
17:06 imirkin_: oh ok =/
17:06 GreatEmerald: As per comment #29
17:07 GreatEmerald: I could try with newer one or so, but I'm not sure if it changes that often
17:07 imirkin_: the fw? nah
17:07 GreatEmerald: Yea, thought so
20:12 kyan: Hi! What is the "Quadro 500M" used in Lenovo P40 Yoga? It's not mentioned at https://nouveau.freedesktop.org/wiki/CodeNames/…
20:12 karolherbst: imirkin: I also have a clevo laptop and it indeed does freeze the entire system at random. And this usually happens after quite a high uptime, like over a week or something
20:12 imirkin_: kyan: lspci -nn
20:12 imirkin_: kyan: rather, lspci -nn -d 10de:
20:12 Yoshimo: kyan: if you run nouveau it might also tell you
20:13 kyan: imirkin_: Umm, I don't have that computer
20:13 kyan: I'm shopping for one
20:13 imirkin_: ah
20:13 imirkin_: then it's whatever nvidia marketing decided
20:13 imirkin_: 0df9 GF108GLM [Quadro 500M]
20:13 imirkin_: 0ff8 GK107GLM [Quadro K500M]
20:13 kyan: Ah, cool, thans!
20:13 imirkin_: that's all i have in my pci.ids file
20:14 karolherbst: kyan: if you don't care about graphic speed, an intel only system is usually the better choice
20:14 imirkin_: but that's not authoritative
20:14 imirkin_: but really, try to avoid nvidia if you care about open-source
20:14 karolherbst: laptops + low end GPUs ->horrible pain on your end
20:15 kyan: karolherbst, I care somewhat about graphics speed, I think
20:15 kyan: I use Plasma 5 and Compiz window manager
20:15 karolherbst: especially if video ports are on the dedicated one, as Linux supports those rather badly
20:15 kyan: Hmm, I don't think there's an option to not have a Nvidia GPU in the Yoga
20:15 karolherbst: kyan: intel is fine for that
20:15 kyan: but it comes with Intel GPU too
20:15 kyan: HD520
20:15 karolherbst: kyan: yeah, but do you want to use your external display ports?
20:15 imirkin_: note that some yoga's have the intel gpu's hard-disabled
20:16 karolherbst: because chances are, you will need two drivers then
20:16 kyan: Yes, I have external monitor and would like to use it.
20:16 karolherbst: best and recommended workaround from my side: single gpu laptop
20:16 imirkin_: agreed.
20:16 kyan: Right now it doesn't work with my current Nouveau setup (Macbook pro)
20:16 karolherbst: kyan: I recommend a single gpu system to you then
20:16 karolherbst: right
20:16 kyan: Cool, how can I find one?
20:16 karolherbst: because it is _painfull_
20:16 kyan: I would like Hidpi touchscreen convertible, anyway
20:16 karolherbst: kyan: avoid lenovo
20:16 imirkin_: kyan: i like the thinkpads
20:17 karolherbst: :p
20:17 imirkin_: T4x0s are generally good.
20:17 kyan: A trackpoint is a plus for me.
20:17 imirkin_: it's a hard requirement for me
20:17 imirkin_: which is why i like them
20:17 karolherbst: their laptop engineers are just a little off the road, and with little I mean a lot
20:17 kyan: (Well, it's kind of a hard requirement for me, but I have a SpaceSaver II keyboard w/ trackpoi)
20:18 kyan: I do not care much for most modern keyboards — IMO, the Thinkpad X60 had a pretty good selection of keys
20:18 karolherbst: imirkin_: do the thinkpads have solids fans by now?
20:18 karolherbst: I heard that the fans aren't exactly reliable
20:19 imirkin_: no clue
20:19 imirkin_: i have a T420s
20:19 karolherbst: mhh
20:19 imirkin_: it works.
20:19 karolherbst: well
20:19 imirkin_: it's also 5 years old
20:19 karolherbst: they are good if you keep constant max boost on your cpu
20:19 kyan: imirkin_, those are not usable as tablets, though, right?
20:19 karolherbst: without noise :D
20:19 imirkin_: kyan: don't think so, no
20:19 Riastradh: Decomissioned corporate fleets are almost all T4x0, so it's easy to get replacements and parts for them pretty cheaply.
20:20 kyan: I really like the idea of the multitouch hi-DPI convertable computer like Microsoft Surface or Lenovo Yoga
20:20 kyan: but I need something with good support for GNU/Linux
20:20 Riastradh: (or T5x0)
20:20 kyan: and also able to run Window$
20:21 karolherbst: yoga-900-13 maybe?
20:21 karolherbst: it is funny how the lenovo shop doesn't work here :O
20:21 kyan: because a class I'm taking uses Adobe Program$ heavily (photo$hop, Illu$trator, Premier, and After-effect$)
20:21 karolherbst: html style completly broken
20:21 kyan: yeah, same here
20:21 karolherbst: I bet if you disable your adblocker it works
20:21 kyan: nah, I tried
20:22 kyan: I think they're just overloaded right now
20:22 kyan: was talking to their sales rep
20:22 kyan: who didn't know much about the computer
20:22 karolherbst: they do above 70+ requests to ad sites though
20:22 kyan: I was like, what is the model of touchscreen digitiser, so I can google it
20:22 karolherbst: ...
20:23 kyan: they were like, it's 200 nit 12400x2093 or whatever!!!!
20:23 karolherbst: from a moral point of view, I would avoid lenovo as much as possible, big they are being big assholes without their ad stuff
20:23 karolherbst: *because
20:24 karolherbst: they installed a own CA cert on windows machine to intercept _any_ https request to add ads to the html sites...
20:24 kyan: Well, I need to figure something out quick for school
20:24 karolherbst: and after something like that... well you don't buy from them anymore for lifetime
20:24 kyan: Doesn't really matter what brand to me, just need something reliable and functional
20:24 kyan: which is… hard to find, apparently
20:25 karolherbst: the best latpop I had was an ASUS multimedia type one
20:25 karolherbst: asus n56vm
20:25 karolherbst: but it is "quite" old now
20:26 karolherbst: fans could keep the i7 constantly at 3.4GHz below 90°C, and didn't make any loud noises
20:26 karolherbst: at full load
20:26 kyan: As far as I can tell: HiDPI/Touch/Convertible, Powerful, GNU/Linux support — pick any 2. Then, add in "Good keyboard and trackpoint" and "powerful" and "hiDPI et al" go out the window
20:27 karolherbst: right
20:27 kyan: I'm fed up with this, and want something that checks those four boxes
20:27 karolherbst: let me find something
20:27 kyan: regardless of whether the manufacturer makes the laptop out of dead babies and unicorn tears
20:28 karolherbst: kyan: what is hidpi for you? 200+?
20:28 kyan: Well, the higher the better, but that would be passable
20:28 kyan: :-S
20:28 karolherbst: mhh
20:28 kyan: Sometimes, I regret having good eyesight
20:28 karolherbst: mine is 140 and it seems quite good actually
20:28 karolherbst: 1920x1080 on 15.4"
20:29 karolherbst: and I have a retina mbp for work and the differences are quite small actually
20:29 kyan: Well, screw hiDPI
20:29 karolherbst: notcieable though
20:29 karolherbst: but I would say everything above 150 is quite good
20:29 kyan: HiDPI is less important than those other traits
20:30 kyan: since I can buy an external monitor
20:30 karolherbst: I already have a list of 180 models :D
20:30 kyan: How. How do you find these things
20:30 karolherbst: cheating
20:30 karolherbst: with performance you mean i7?
20:30 kyan: Yep
20:30 kyan: As in, can handle a lot of software compilation
20:31 karolherbst: i7 it is
20:31 karolherbst: mhh, how much would be "okay"?
20:32 karolherbst: I found stuff like the "HP Spectre x360 13-4230ng"
20:32 kyan: Hmm, preferably 4 cores x 2,5gHz
20:32 karolherbst: I meant money
20:32 karolherbst: :D
20:32 kyan: Oh
20:32 karolherbst: mh
20:32 karolherbst: hp spectre doesn'T look that bad actually
20:32 kyan: eek, I guess <US$1500
20:32 karolherbst: mhh
20:32 karolherbst: fair enough
20:32 karolherbst: the HP Spectre x360 13-4230ng is a bit above I guess
20:33 karolherbst: well I won't recommend anything to you anyway
20:33 karolherbst: so I just spill my source
20:33 karolherbst: kyan: https://geizhals.eu/?cat=nb&xf=2940_150~6748_13~6752_Core+ix-6xxxU~8150_Intel~83_Touchscreen~9291_Convertible
20:33 karolherbst: have fun
20:33 kyan: Wow
20:33 kyan: Thanks :D
20:34 kyan: This site is dope
20:34 karolherbst: I know
20:34 karolherbst: only shops from eu though
20:35 kyan: Meh, that's alright
20:35 kyan: I could use a reshipper if necessary
20:36 karolherbst: or just find the model on your end of the world :p
20:37 kyan: :3
21:03 kyan: Lenovo's store is still broken for me. Let me give you my money already
21:03 imirkin_: never!
21:04 kyan: 20FQ0040GE is a nice looking model
23:50 linkmauve1: Hi, when I boot a machine with a GTX 970, it starts correctly but I don’t get any image once nouveaufb is loaded, and there are some scary-looking things in journalctl: https://linkmauve.fr/files/nouveau.journalctl.txt
23:51 linkmauve1: This is the default kernel from ArchLinux, I’m going to compile the latest rc during the night, and will report back if this fixed it.
23:51 imirkin: linkmauve1: GTX 970 with 4GB vram?
23:51 linkmauve1: No idea.
23:51 imirkin: Aug 31 00:40:06 localhost kernel: nouveau 0000:01:00.0: DRM: VRAM: 4096 MiB
23:51 imirkin: seems likely
23:51 linkmauve1: Yeah, seems so.
23:51 imirkin: known issue
23:51 linkmauve1: :)
23:51 imirkin: boot with nouveau.noaccel=1 nouveau.nofbaccel=1
23:51 imirkin: that'll "fix" it
23:51 linkmauve1: It was working on a 4.4 from Ubuntu 16.04 btw.
23:52 linkmauve1: Ok.
23:52 imirkin: yep, no acceleration in 4.4 for GM20x :)
23:52 RSpliet: imirkin: 40/48-bit pointer trouble?
23:53 imirkin: RSpliet: no. weirdo memory partitions
23:53 RSpliet: oh, the 3.5, 0.5GiB split...?
23:53 imirkin: applies only to the GTX 970 with 4GB vram
23:53 imirkin: yes
23:53 linkmauve1: imirkin, worked perfectly, thanks!
23:54 RSpliet: heh, why did I think that'd be transparent...
23:54 imirkin: linkmauve1: you now have no gpu accel, btw. in case the params weren't obvious enough.
23:54 linkmauve1: I don’t care about this. :p
23:54 linkmauve1: As if I had a GPU to run 3D programs, ha. :D
23:55 linkmauve1: Will I be able to drive a 2160x1200 at 90 Hz through HDMI, though?
23:56 imirkin: 337mhz? not out-of-the-box
23:56 imirkin: we artificially limit the hdmi tmds to 297mhz
23:56 imirkin: however this is a purely arbitrary limit. if you think you know better, you can boot with nouveau.hdmimhz=337
23:56 imirkin: or whatever
23:58 linkmauve1: Ok.
23:58 RSpliet: presumably DRAM is clocked by default to transfer 1GB/s to the HDMI port