00:00 karolherbst: 940mx is a GM108, right?
00:00 filipdevuan_: when i install linux mint as second distro then i cant boot to devuan i get fsck error or something and get directed to initramfs...
00:00 karolherbst: filipdevuan_: with nouveau you won't need bumblebee
00:00 filipdevuan_: uhh im not sure if its gm108 how can i check it??
00:00 karolherbst: glxinfo should tell you
00:01 karolherbst: OpenGL renderer string
00:01 filipdevuan_: oh it shows its nv117 0x179c
00:01 karolherbst: might tell NV118 or something
00:01 karolherbst: ohh, nv117 is gm107
00:01 karolherbst: anyway, that's fine as well
00:01 filipdevuan_: okay great :)
00:02 karolherbst: you should be able to see a /sys/kernel/debug/dri/1/pstate file
00:02 karolherbst: and cat it to let the driver report available perf states
00:03 karolherbst: and you can do a "echo 0xf > /sys/kernel/debug/dri/1/pstate" to select the "0f:" one. Last line is just status
00:03 filipdevuan_: nah i havent got anything in debug folder
00:03 karolherbst: ohh
00:03 karolherbst: then no debugfs mounted
00:03 karolherbst: as root: mount /sys/kernel/debug
00:03 filipdevuan_: mount: can't find /sys/kernel/debug in /etc/fstab
00:04 karolherbst: ohh, mhh, right
00:04 karolherbst: no systemd
00:04 filipdevuan_: yeah its without systemd ;p
00:04 filipdevuan_: do you think its bad or good
00:04 karolherbst: mount -t debugfs none /sys/kernel/debug
00:05 filipdevuan_: okay
00:05 filipdevuan_: i typed it
00:05 karolherbst: filipdevuan_: makes some things just more annoying to setup and the default init system ain't that great either
00:05 karolherbst: anyway
00:05 karolherbst: with it mounted you should see it now
00:05 filipdevuan_: yeah nvidia optimus on here its real pain in the ass\
00:05 gnarface: (to be fair it's a pain in the ass with systemd too)
00:06 karolherbst: I was more refering to general system setup and stuff
00:06 filipdevuan_: haha :P but its quite easy on linux mint that has prime
00:06 karolherbst: well, optimus is painful with the nvidia driver
00:06 karolherbst: bumblebee is practically a big hack
00:06 filipdevuan_: ohh i feel more comfortable on non-systemd to be honest reminds me of windows xp pretty much not many tasks too and its simplier to me
00:06 filipdevuan_: oh right
00:06 karolherbst: amount of tasks isn't systemds fault
00:07 filipdevuan_: yeah true
00:07 filipdevuan_: but it feels more stable to me
00:07 filipdevuan_: i tried many systemd distros and havent stayed for long time
00:07 gnarface: less moving parts means less to break, but that comes along with less automation. it's always a tradeoff.
00:07 karolherbst: yeah...
00:07 karolherbst: but a lot of distributions don't have good defaults
00:08 karolherbst: no, let me reword it: most distirbutions have crap defaults for normal desktop amchines
00:08 karolherbst: *machines
00:08 gnarface: i agree with that, especially when it comes to ALSA....
00:08 karolherbst: well, pulse is fine if you know what to do
00:08 karolherbst: same goes with systemd
00:08 filipdevuan_: arch distros have google dns set by default
00:08 karolherbst: or unity really
00:08 karolherbst: I was running unity on gentoo once
00:08 karolherbst: was smoother than any ubuntu
00:09 karolherbst: and less troubles...
00:09 karolherbst: filipdevuan_: which is stupid...
00:09 filipdevuan_: do you install gento with commands or it has installation gui??
00:09 filipdevuan_: yeah it is i agree
00:09 karolherbst: normally they should default to whatever dhcp gives you
00:09 karolherbst: filipdevuan_: command line
00:09 karolherbst: like... seriously command line
00:09 filipdevuan_: okay :)
00:09 karolherbst: you basically learn Unix while installing it
00:09 filipdevuan_: nice
00:09 karolherbst: and using it
00:09 filipdevuan_: sounds great haha :P
00:10 karolherbst: well, takes some time, but you can learn a lot
00:10 karolherbst: you even configure your own kernel, if you want to
00:10 karolherbst: or are able to disable/enable features for each package, but you also compile everything yourself
00:10 karolherbst: updates can take hours, especially if you compile chromium/firefox
00:10 karolherbst: and libreoffice
00:11 filipdevuan_: yeah nice i dont know much about unix commands unfortunately
00:11 karolherbst: well, you can always try it out within a VM
00:11 karolherbst: and learn how to do it that way
00:11 gnarface: well, i tried gentoo before they had any prebuilt starter images. after several weeks of practice i could get the installation down to 11 hours if i did it in one sitting. i can install devuan in about 30 minutes, mostly hands-off.
00:12 karolherbst: there isn't really anything more flexible than gentoo, but... it has its costs
00:12 karolherbst: gnarface: I setup gentoo with luks/dm-crypt :p
00:12 karolherbst: it's undocumented sadly :D
00:12 gnarface: (and the primary limitation of the speed of installing devuan is my download bandwidth)
00:12 karolherbst: that took quite a while to figure everything out
00:12 karolherbst: yeah...
00:13 karolherbst: binary distributions are quite fast regarding package manager tasks
00:13 karolherbst: thing is, most distributions have quite silly default settings, like no CONFIG_PREEMPT enabled in the kernel
00:13 karolherbst: and you want that on a desktop
00:13 karolherbst: like, seriously
00:22 filipdevuan_: do you think that watching a movie in vlc run by noveau gpu instead of intel one would use less battery???
00:27 karolherbst: no
00:28 karolherbst: the opposite
00:28 karolherbst: not directly because of nouveau though
00:28 karolherbst: simply because you have two GPUs active now
00:29 filipdevuan_: oh ok :) get it
00:29 filipdevuan_: nice, thanks for solution :)
00:31 gnarface: does DRI_PRIME work, filipdevuan_ ?
00:32 filipdevuan_: yeah i think so atm i downloaded wine and installing tes oblivion and gonna find out if i open launcher with DRI_PRIME=1 gonna make client detect nvidia gpu as well instead of just intel, intel was smooth on medium details
00:34 gnarface: filipdevuan_: what about the PM states in /sys?
00:35 filipdevuan_: how do i check it
00:38 filipdevuan_: oh oblivion detects gtx 750 geforce instead of 940mx haha :P. gonna check if game runs better than intel
00:49 filipdevuan_: W WWWWWWWWWWWWWWWWWWWWWWWWWWWWAWD W ww w da wa
00:49 filipdevuan_: sorry lol no keyboard im oblivion
00:49 filipdevuan_: 0049:fixme:quartz:Parser_OutputPin_QueryInterface No interface for {56a868a5-0ad4-11ce-b03a-0020af0ba770}!
01:05 karolherbst: filipdevuan_: you probably want to use wine-staging instead if possible
01:13 filipdevuan_: haha yeah i downloaded it and i can play diablo 3 now hahah... only if i knew it months ago!! i spent so many hours for bumblebee and damn...
01:17 gnarface: it's working, really? cool
01:18 filipdevuan_: yeah not sure if its running under intel or geforce atm but yeah, i opened it and menu is very smooth characters as well now just downloading 1act
01:19 filipdevuan_: now i can compare the gameplay to the one from linux mint that i ran under proprietary nvidia
01:20 gnarface: you might need to still twiddle with that /sys/kernel/debug/dri/1/pstate value for optimum performance, i'm not sure if that' automatic for your card or not
01:20 gnarface: *that's
01:22 filipdevuan_: and you can do a "echo 0xf > /sys/kernel/debug/dri/1/pstate" to select the "0f:" one. Last line is just status
01:22 filipdevuan_: that one??
01:23 gnarface: first run this: `cat /sys/kernel/debug/dri/1/pstate`
01:23 gnarface: what is the output?
01:26 filipdevuan_: lol i typed it and the laptop froze
01:26 gnarface: uh
01:26 gnarface: i don't think it was supposed to do that
01:27 gnarface: karolherbst, `cat /sys/kernel/debug/dri/1/pstate` shouldn'
01:27 gnarface: ... shouldn't freeze it, should it?
01:27 filipdevuan_: oh cat one no
01:27 filipdevuan_: i typed echo one
01:27 gnarface: ah
01:27 gnarface: you have to cat first to find out the right value to echo
01:28 filipdevuan_: oh it seems like i have to mount it again as well cuz i resetted laptop
01:30 gnarface: yes, it won't stay mounted through reboots by default
01:30 gnarface: that's normal
01:30 gnarface: you can change that though by adding a line to /etc/fstab
01:31 karolherbst: filipdevuan_: mhh, we should have fixed that issue already
01:31 karolherbst: but to be safe, only echo if something runs on the nvidia gpu
01:32 karolherbst: might be not backported :/
01:32 karolherbst: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/nouveau?h=v4.20-rc2&id=eaeb9010bb4bcdc20e58254fa42f3fe730a7f908
01:33 filipdevuan_: sorry i dont know what cat and echo stands for im not that experienced
01:35 gnarface: "cat" reads, "echo" writes
01:36 gnarface: the changes in here won't persist through reboot though, i don't think
01:38 filipdevuan_: ok
01:40 filipdevuan_: oh im not sure if quality of d3 wasnt better before it froze
01:40 gnarface: ?
01:40 gnarface: visually, or framerate-wise?
01:41 filipdevuan_: framerate vise
01:41 filipdevuan_: framerate-wise8
01:41 filipdevuan_: *
01:41 filipdevuan_: yeah the screen is tearing
01:41 gnarface: hmm. nothing should affect the framerate that changed except changes to /sys/kernel/debug/dri/1/pstate, but screen tearing may be due to disabling vsync or something
01:41 filipdevuan_: yeah maybe ill have a look again
01:45 filipdevuan_: uhmm it isnt super smooth but definitely playable :)
01:48 filipdevuan_: yeah i can play it it seems like i get no lags or whatever its stable running, thank you :)
01:49 gnarface: no problem. i guess what counts is you're happy with it. myself i have trouble leaving well-enough alone.
01:50 filipdevuan_: to be honest it seems like its takes a while to render models while playing the game this is why its not that super smooth
01:50 filipdevuan_: i think
01:51 filipdevuan_: yeah it is you know because the game is loading stuff all the time while i run through the map this is why it lags but if it loads then its smooth
01:51 Lyude: karolherbst: btw; put fixes for the DP AUX RPM issues on the mailing list if you want to help review them
01:51 Lyude: realized I forgot to send them out the other day
01:53 filipdevuan_: yeah it it loads stuff then yeah in runesacpe 3 i get similar experience on wine i think when it loads pre-shaders then game is not smooth until it reaches 100%. i think its rendering images i think
01:54 gnarface: i do have shader pre-load lag in wine with the official driver, too. dxvk made it better but didn't eliminate it
01:54 filipdevuan_: oh okay sorry not it may not be true the game was still downloading but now it downloaded all files and the game is smooth. and yeah i am happy cuz now i know i dont need to configure any stuff to play diablo 3
01:55 gnarface: hooraaay!
01:55 filipdevuan_: yeah exactly :D. Hahah mission accomplished after months of efforts xD.
01:57 filipdevuan_: yeah finally fuck.... i made it i can play this game on devuan and everything is great and quality of playing the game is similar to the one i had on mint using proprietary or even the same. thank you it is like a charm now nice that i dont have to bother with this bumblebee i wasted so many hours for it...
02:00 filipdevuan_: truth be told right now i get the same experience that i get when i play diablo 3 on playstation 3 its incredible damn i have no words to describe what i feel now
02:00 gnarface: really? that is cool, glad it works
02:04 filipdevuan_: yeah the game is so smooth now i can't believe it
02:05 filipdevuan_: when 10 monsters attack me and 3 blue ones with magicks i cant see any fps going down like i always have on windows or even optirun feels to me like worse than this now....
02:05 gnarface: yea bumblebee carries extra overhead
02:11 filipdevuan_: i cant believe it i just set everything to high and its still smooth.... you know what really decided for me to try linux is when i was playing diablo 3 on windows 10 i thought about seeing processes running in task manager so i checked and i was like i dont need that many processes to play the game linux is probably better than windows. and now it appears that u dont even need to download anything on devuan to play
02:11 filipdevuan_: d3 in my case, cuz nouveau is preinstalled, i only downloaded like newest wine-staging havent even bothered with winetricks and i run battle.net app and diablo 3 is 32 bit and dri_prime=1 maybe i had worse quality because i ran on 64 before but i ran diablo 3 on 32 bit linux mint two days ago and it was even worse than here and it said i used proprietary one, im looking for distro where i can run every app and devuan
02:11 filipdevuan_: seems to be closest to that now cuz i can run old 98/xp games and new games like diablo 3 and its so great.... and its open-source drivers too!!! no proprietary!!!!
04:44 gnarface: i'm always just happy when they don't leave disappointed
04:44 gnarface: (or angry)
04:44 gnarface: i'm often afraid to say anything because i don't want to ruin it
15:21 Laalf: hello. i own a w530 with a quadro k2000m. i thought about trying to pass it to a vm. echo 1 > /sys/bus/pci/devices/0000\:01\:00.0/remove locks up the entire machine. does someone know why/how to fix it?
16:17 imirkin: Laalf: i don't think that does what you think it does
16:17 imirkin: that removes the device from the pci bus
16:17 imirkin: what you want is echo 0000:01:00.0 > unbind in the nouveau driver
16:22 Laalf: imirkin: same thing happens
16:22 imirkin: i guess a pci remove also does an unbind
16:22 imirkin: that'd make sense.
16:22 imirkin: anyways - do you have a dmesg?
16:22 imirkin: if you have a second machine, maybe netconsole?
16:23 imirkin: also, if GPU resources are being used, this will not go well
16:23 imirkin: even if it's only set up as an offloading provider
16:25 Laalf: i wasnt able to ssh into it when it locked up. i tried it even without any x started
16:26 imirkin: one thing that works sometimes and is easy
16:27 imirkin: is ssh into it *first*, then run "dmesg -w"
16:28 Laalf: nothing interesting again
16:28 karolherbst: Laalf: do you know if rmmod nouveau works?
16:29 karolherbst: Laalf: ohh wait, is that a laptop?
16:29 karolherbst: could be that runpm issue
16:29 Laalf: yes that is a laptio. rmmod nouveau is nothing i have tried yet
16:30 karolherbst: why would you want to remove the device though? You won't get any power savings from it, the contrary is the case
16:30 imirkin: pass it through to vm
16:30 Laalf: to pass it to a vm.
16:30 imirkin: although that will be tricky because of how the vbios is stored
16:30 karolherbst: ahh, I see
16:30 Laalf: if i can somehow handle the vbios which is stored in the bios and gets called via acpu
16:31 karolherbst: Laalf: you might want to try nouveau.runpm=0
16:31 karolherbst: another thing you could try is a "dmesg -w" through ssh and get lucky
16:31 karolherbst: or netconsole
16:31 karolherbst: imirkin: btw, any progress on those mcp mmu issues? I remember you were a bit looking into that in the past
16:32 imirkin: karolherbst: i dropped the ball
16:32 imirkin: iirc we were trying to determine if compressed pages worked
16:32 karolherbst: yeah.. reply seem to indicate it wasn't
16:32 karolherbst: *doesn't
16:32 karolherbst: I seriously would just use the mcp79 class... seems to at least make the GPU work for some
16:32 imirkin: well, i think that's the correct solution too
16:33 imirkin: not just "makes it work", but actively correct :)
16:33 karolherbst: at this point I am already happy with the former
16:33 karolherbst: already broken for 5 releases
16:33 Laalf: with the 4.20-rc2 kernel it works now. i am confused. well time to try to get the vbios handled. thank you anyways!
16:33 imirkin: if the mcp89 can do other things, they would have to be explicitly demonstrated
16:33 imirkin: Laalf: we had a bunch of fixes around stuff like this
16:33 karolherbst: yeah...
16:34 karolherbst: I usually rely on being able to remove nouveau, so I hit such bugs quite often
16:34 imirkin: karolherbst: btw, i pushed those RA changes. pretty sure they should have very minimal impact outside nv50, but ... fyi.
16:34 karolherbst: yeah, probably
16:34 karolherbst: worst case we get bugs
16:35 imirkin: :)
16:35 karolherbst: imirkin: regarding that mmu thing, skeggsb rejected by patch, so... :/
16:35 imirkin: it'll change the spilling order of e.g. predicates vs registers
16:35 imirkin: karolherbst: he rejected it based on the prior knowledge
16:35 imirkin: with updated test results ...
16:35 karolherbst: ahh
16:35 karolherbst: I guess we should go for that and get it applied to the stable kernel as well
16:36 imirkin: yep
16:55 rhyskidd: karolherbst,glisse: interesting to hear about redhat's vendor-neutral compute efforts, with nv hw a target!
19:52 airlied: rhyskidd: they aren't Red Hats :-)
19:53 airlied: RH has no plans in this area, the article got cleaned up a little to represent the real world
20:39 rhyskidd: ah, ok
21:44 rhyskidd: airlied: so you were making the point that fragmentation in the open source compute space is too great, and we should all work together
21:44 rhyskidd: i agree, if so