01:02 karolherbst: mupuf, skeggsb: do you think it will be okay to use the coefficients I REd on my gpu for the voltage table for all gpus for now? The worst what could happen is, that we use the max voltage stated in the entries. I am sure that we need this so called "speedo" value which also get used in the gk20a code
01:02 karolherbst: but the speedo value is given by the tegra code to nouveau :/
01:02 karolherbst: and I have no idea where to find it
01:10 karolherbst: Tom^: are you there?
01:36 Jayhost``: Well Saturday was a bust and then MS keyboard crapped out. Will try again.
01:39 Tom^: karolherbst: sort of.
01:39 Tom^: karolherbst: irl catching up, dont think ive spent more then an hour infront of computer in a month now :P
01:40 karolherbst: I see
01:41 Tom^: karolherbst: bought one of these too http://i.imgur.com/PIDUlNZ.jpg . been destroying the earth slowly with it, one liter of gasoline at a time.
01:41 karolherbst: .D
01:41 karolherbst: :D
01:42 karolherbst: Tom^: do you still have the fan fix from mupuf?
01:42 Tom^: hm i think i could dig that up yes
01:42 karolherbst: ahh no, it is there
01:42 karolherbst: if you got time, could you test the stable_reclocking_kepler_v2 branch?
01:43 karolherbst: I think it has everything to fix volting in an okayish way
01:43 Tom^: ok
01:43 karolherbst: it's based upon linux 4.4
01:43 karolherbst: it doesn't revolt on increasing/decreasing temperature yet though
01:44 karolherbst: there is also a tool you could run with the blob (it compares blob voltage with the one nouveau would set)
01:45 Tom^: in envytools?
01:45 karolherbst: no
01:45 karolherbst: nouveau
01:45 karolherbst: we are able to turn nouveau into a library and write tools based on it
01:45 karolherbst: and just run it alongside the blob
01:46 karolherbst: you also get a little bit more perf in heaven, because the clocks should be higher now
01:48 Tom^: mmh
01:48 Tom^: but moar flickers because of dynamic reclocking :P
01:50 karolherbst: no
01:50 karolherbst: there is no dyn reclocking in that branch
01:50 Tom^: oh
01:50 Tom^: cool
01:50 karolherbst: I want to upstream most of it, so it can't be there yet
01:50 Tom^: best of two worlds hehe
01:51 karolherbst: do you have currently nouveau or the blob running?
01:51 Tom^: blob
01:51 karolherbst: okay
01:51 karolherbst: then we should run that tool first
01:51 karolherbst: just run make inside the top level directory of nouveau
01:51 karolherbst: then as root "LD_LIBRARY_PATH=lib bin/nv_cmp_volt"
01:53 Tom^: error while loading shared libraries: libnvif.so: cannot open shared object file: No such file
01:53 karolherbst: if you use sudo
01:53 karolherbst: sudo LD_LIBRARY_PATH=lib bin/nv_cmp_volt
01:54 Tom^: ah
01:56 Tom^: karolherbst: https://gist.github.com/anonymous/7fc04ac397de965ca040
01:56 Tom^: seems to be off ~-24481 uV
01:56 karolherbst: looks okayish
01:56 karolherbst: let me check something
01:56 karolherbst: step size is 12500 uV
01:57 karolherbst: so we are off by one step basically
01:57 karolherbst: because I round up
01:57 karolherbst: should be fine
01:57 karolherbst: 0.0125V undervolting may be stable enough
01:57 karolherbst: but
01:57 karolherbst: put some load to it
01:57 karolherbst: maybe the value gets better
01:58 karolherbst: either way, I used my gpu to get the coefficients to calculate teh voltage, and I am sure there are chipset/gpu specific factors I don't found yet
01:58 karolherbst: but all in all it is better than stock nouveau
01:58 karolherbst: stock nouveau was like 10% off for me
01:58 Tom^: karolherbst: https://gist.github.com/anonymous/1693e4f31dd5d149a429
01:59 karolherbst: now something looks odd
01:59 karolherbst: can you open nvidia-settings and tell me which clocks nvidia clocked to?
02:00 Tom^: core 1097 and mem 7000
02:01 karolherbst: mhh something is wrong
02:02 karolherbst: nouveau voltage shouldn't be below 950000 in your last paste
02:02 Tom^: no matter the temp or load i never go past 1097 tho seems to be some kind of limit.
02:02 karolherbst: yeah
02:02 karolherbst: voltage limit
02:06 karolherbst: uhh
02:06 karolherbst: it sets the pstate voltage
02:09 karolherbst: ohhh
02:09 karolherbst: now I see it
02:09 karolherbst: mode 2
02:09 karolherbst: yeah, odd
02:10 karolherbst: okay, but now why is the wrong cstate selected
02:11 karolherbst: Tom^: if nvidia clocks to 1097, is the second last coloumn 35?
02:12 Tom^: its either 32 or 28
02:12 karolherbst: mhhh
02:12 Tom^: it keeps jumping a bit between 1083~ and 1097 , not sure why tho
02:12 karolherbst: ohh maybe nvf1 uses something differently
02:13 karolherbst: maybe the readout is just messy
02:14 karolherbst: anyway, can you fetch my repository and reset --hard the branch?
02:14 Tom^: mh
02:14 karolherbst: git fetch origin
02:14 karolherbst: git reset --hard origin/stable_kepler_reclocking_v2
02:14 karolherbst: and then make in the top directory
02:15 Tom^: you got to long branch names, even you get them wrong ;)
02:15 karolherbst: :D
02:15 karolherbst: no way
02:15 karolherbst: ahh right
02:16 Tom^: ;)
02:16 karolherbst: it's stable_reclocking_kepler_v2
02:16 karolherbst: my bad
02:16 karolherbst: :D
02:18 karolherbst: it will be still less, but only because that tool can't find the right cstate :/
02:18 karolherbst: the blob doesn't tell us so we have to readout the clocks and stuff
02:18 Tom^: clocking down when idle, https://gist.github.com/anonymous/ffc161e5d2d008dbc2ca and clocking up on load https://gist.github.com/anonymous/c30cb078beaf3dedc623
02:18 karolherbst: ahhh better
02:19 karolherbst: but it seems too high in general
02:19 karolherbst: no problem though
02:19 karolherbst: I may just misinterpret the mode 2 entries
02:19 karolherbst: or wrong clock calculated
02:19 karolherbst: who knows
02:20 karolherbst: anyway, if you compile inside drm again you can try out the branch
02:23 karolherbst: Tom^: the jumping may be because of power consumption or something :/
02:24 Tom^: perhaps
02:26 karolherbst: Tom^: anyway, the pstate file will behave a bit odd now. It will still list the highest possible clock, but it won't clock to it if you set the pstate
02:26 karolherbst: the AC line will contain something lower
02:28 karolherbst: okay, and I will RE the missing bit for your voltage table then...
02:43 karolherbst: mhhhhh
02:43 karolherbst: odd
02:43 karolherbst: Tom^: okay, I pushed my branch with my changes, it should be good now
02:44 karolherbst: well the tool should be still broken, but nouveau should be better now
02:45 Tom^: mk
02:45 karolherbst: this volting stuff is so damn annoying :/
02:48 karolherbst: mupuf: there is no chance nvidia tells us where to get this "speedo" value, right?
03:32 karolherbst: Tom^: so do you want to create a new heaven benchmark? :D
13:13 karolherbst: skeggsb: if you got time, could you have a look at this branch? https://github.com/karolherbst/nouveau/commits/stable_reclocking_kepler_to_upstream
13:13 karolherbst: it's not quite ready yet, but I think I cleaned most of the stuff up already and there are also some really trivial commits
14:05 Jayhost: karolherbst does this line mean anything? Workqueue: events gk104_fifo_recover_work [nouveau]
14:06 karolherbst: well it means something went wrong
14:08 Jayhost: I think imirkin said I might be able to use valgrind to track down this line. GPC0/TPC1/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 000d [GPR_OUT_OF_BOUNDS]
14:09 karolherbst: yeah
14:09 karolherbst: the envytools mmt valgrind
14:10 karolherbst: Jayhost: https://nouveau.freedesktop.org/wiki/Valgrind-mmt/
14:10 Jayhost: Okay. I've got Doom 3 and valgrind-mmt built
15:22 steve555: Hi all, I've compiled the latest mesa from git, I have the latest gentoo. I have put an alias in my .bashrc file in my home folder, but 'nvgl' isn't working, I've tried various things to get it to work to no avail.
15:25 steve555: Here is what I have so far in my bashrc:http://pastebin.com/qMRBDa7t
15:33 pmoreau: steve555: `alias nvgl="LD_LIBRARY_PATH="/home/steve/mesa/lib64" LIBGL_DRIVERS_PATH="/home/steve/mesa/lib64/gallium/"` should be better (do not put `nvgl=` inside the double quotes)
15:35 steve555: pmoreau: well I re-did that line now, and now it reads: alias nvgl='LD_LIBRARY_PATH="/home/steve/mesa/lib64/" LIBGL_DRIVERS_PATH="/home/steve/mesa/lib64/gallium/"'
15:36 steve555: I'll log in and out now, and see if that fixes it.
15:39 pmoreau: steve555: You could simply do `source ~/.bashrc` to re-parse it for the current terminal.
15:39 steve555: pmoreau: I did a 'ldconfig' before I logged out, and I've just tested it and 'nvgl works fine now thanks.
15:39 pmoreau: you're welcome
15:40 steve555: but that is a useful command to remember for nextime :)
15:50 Mittttens: .tell a
15:51 Mittttens: .hellp
15:51 Mittttens: .help
15:52 Mittttens: java: pushbuf.c:727: nouveau_pushbuf_data: Assertion `kref' failed.
15:53 Mittttens: this is happening on nve4
15:53 Mittttens: with the latest drivers and mesa
19:27 orbea: I'm getting segmentation faults with xorg when making a video fullscreen with mplayer and mpv, it doesn't happen every time and will either freeze the video player forcing me to kill it or crash x with a segmentation fault. It possibly happens only or just more often after resuming from pm-suspend. I'm using linux-4.4.3 and here is a paste with the xorg log and some relevent version numbers -
19:27 orbea: http://dpaste.com/3KAE3R8
19:28 orbea: could this be nouveau related?
19:29 orbea: Or could you suggest a better place to report this?
21:55 imirkin: Mittttens: file a bug, please include a stacktrace, and most ideally a way to reproduce.
21:56 imirkin: orbea: try to see if this looks familiar to anyone in #xorg-devel -- this *seems* like potentially a core X bug, but perhaps nouveau is just feeding it crap
21:56 imirkin: i'd specifically try pinging ajax
21:58 Mittttens: imirkin i dont have the energy to do that tbh
21:58 imirkin: Mittttens: ok, perhaps someone else will come across the issue and be able to debug it further
21:58 Mittttens: if you're keen to reproduce it i just ran minecraft with minecraftforge
21:58 Mittttens: if not then w/e
21:59 imirkin: can you provide me sufficient pointers on how to retrieve the various software?
21:59 Mittttens: well i used to multimc5 launcher but i'm not sure that has much to do with it
21:59 imirkin: i have little to no clue what minecraft is, or minecraftforge. i have some vague recollection that microsoft bought something related to minecraft, but that's about it.
21:59 Mittttens: if you use multimc5 just create an instance using version 1.8.9
21:59 imirkin: you're like 30 steps ahead of me
21:59 Mittttens: and then hit the install forge button under the instance settings
21:59 imirkin: what software do i need to install?
22:00 Mittttens: https://github.com/MultiMC/MultiMC5
22:00 Mittttens: this here
22:00 Mittttens: is all you need to install
22:00 imirkin: ok, and then it should be apparent how to get minecraft started?
22:00 Mittttens: if you're using arch it's on the AUR but i doubt it's in the repos for anything
22:00 Mittttens: but afaik it's pretty easy to build
22:00 Mittttens: then you just run multimc5
22:00 imirkin: building things is no trouble for me
22:00 imirkin: i just have no idea what to build ;)
22:00 Mittttens: right click on the backgroudn and hit new instance
22:00 Mittttens: build multimc5
22:00 Mittttens: that's it
22:00 imirkin: ok, and then i should see the crash?
22:01 Mittttens: no, hit new instance, make sure you're on version 1.8.9
22:01 imirkin: or do i have to do things in-game?
22:01 Mittttens: then hit under instance settings "install forge"
22:01 Mittttens: install the latest version
22:01 Mittttens: meaning the one at the very top
22:01 Mittttens: and then hit play
22:01 Mittttens: pretty ez
22:01 imirkin: and the crash happens....
22:02 Mittttens: yeah a little while into the loading
22:02 Mittttens: the crash should happen
22:02 imirkin: ok great
22:02 Mittttens: previously it would crash nouveau
22:02 Mittttens: but when i did it with another desktop open it didn't
22:02 Mittttens: it just crashed the game throwing a nouveau error
22:02 Mittttens: the one memo'd you
22:03 Mittttens: https://0x0.st/8yu.png and the instance stuff should look like this
22:03 imirkin: i see. well i'm much too tired to act on this now
22:03 imirkin: but perhaps when i have some time i'll check it all out
22:03 Mittttens: i know how you feel ;)
22:03 Mittttens: thanks!
22:04 imirkin: i don't have a kepler, but hopefully it crashes the same way on my shitty shitty fermi