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