00:28 mwk: ha
00:28 mwk:wrote an audio player
00:29 mwk: took me a while to realise that all offsets and buffer sizes are counted in samples, not bytes...
00:40 mwk: though my math still doesn't check for the sample rate... I get 2/3 of what I predicted
00:41 mwk: maybe I got the PLL calculations wrong...
20:32 ouned: is there a way to set pstate on bootup? echo 0e > /sys/class/drm/card1/device/pstate does only return when the GPU is active
20:36 pmoreau: ouned: From https://nouveau.freedesktop.org/wiki/KernelModuleParameters/, look at config=NvClkMode
20:37 karolherbst: ouned: do you use stock nouveau or my patches?
20:39 ouned: pmoreau: does this always keep it running? (that wouldnt be what I want)
20:39 ouned: karolherbst: stock 4.4
20:39 ouned: patches?
20:41 pmoreau: ouned: It should’t affect power management AFAIK, so it should just reclock to that particular level upon initialisation, and later live its life as if nothing happened.
20:42 karolherbst: I think after resume it would set the pstate you specify for nvclkmode, but not 100% sure
20:42 karolherbst: ouned: well, with stock nouveau chances are, that your gpu will just crash on use
20:44 ouned: hmm ok.
20:44 ouned: it just worked for me so far
20:44 ouned: i just hate setting the clock manually on every reboot
20:46 ouned: but I had to enable DRI3 for it. Without DRI3 windows created by the program running on nouveau just stay empty
20:46 ouned: (optimus)
20:47 ouned: but DRI3 also just works so no problem here^