00:42 bartm0n: hi
00:43 bartm0n: i've had this issue for a while now - my 2nd monitor will not work when using the nouveau driver. It is detected by xrandr, it's possible to set mirroring but the monitor remains in standby. It works when using nvidia's proprietary driver...
00:43 bartm0n: currently using Fedora 23: 4.2.7-300.fc23.x86_64, card's family is NV50, chip G94
00:46 bartm0n: also xorg-x11-drv-nouveau-1.0.12-1.fc23.x86_64 :)
03:17 RSpliet: bartm0n: mind pasting your dmesg to a paste website of choice and sharing the URL here?
03:17 RSpliet: and your xorg.0.log
07:26 mupuf: imirkin: I was close then :D It is just an off-by-one in the name :D
08:35 innervision: hello, i have serious xserver crashes every 2 hours with the message [ 3549.739575] nouveau E[gnome-shell[1419]] failed to idle channel 0xcccc0000 [gnome-shell[1419]]
08:36 innervision: can you help me with that please?
08:38 innervision: I use a GeForce GTX 660 together with debian 8.2 (kernel 3.16.0-4-amd64)
08:39 RSpliet: innervision: although I'm not sure whether there is a solution for this, first step should always be running modern software
08:39 Tom^: for starters get a kernel that isnt soon 2 years old :/
08:40 innervision: but I did a fresh debian install some days ago
08:40 RSpliet: innervision: we're not debian. The only kernel we can attempt to support is 4.3
08:41 innervision: ok so switching to the newest ubuntu could solve my problem?
08:41 RSpliet: innervision: Ubuntu and Debian are notorious for shipping old software under the flag "stable"
08:41 RSpliet: ask #debian to see what they can suggest wrt. installing a more recent kernel and userspace
08:41 innervision: ok I didn't know that
08:42 RSpliet: (kernel is one, but you probably want the libdrm, ddx and mesa updated as well)
08:42 innervision: but it's everything else than 'stable'
08:42 innervision: ok, thank you very much
08:42 RSpliet: that can easily end up being either a philisophical discussion or one that ends up bashing distributions ;-)
08:42 huehner: innervision: check debian stable-backports repo, in there you can i.e. find 4.2.6 kernel packaged
08:43 huehner: innervision: https://tracker.debian.org/pkg/linux
08:43 Tom^: 4.2.6 is still old imo :P
08:44 huehner: ;) just wait some short time and it will get 4.3 as current debian sid has now
08:44 huehner: just easier for most people compared to compiling themselves
08:45 RSpliet: Tom^: let's not go there
08:46 innervision: maybe I should just switch to sid or the debian testing release
08:46 RSpliet: innervision: that 4.2 kernel might already bring a few important fixes in (weren't there some playlist fixes along the time? can't remember)
08:47 innervision: the strange thing is, I had no problems with debian wheezy just a while ago and the exact same hardware
08:47 imirkin: mupuf: -ENOCONTEXT
08:47 RSpliet: innervision: with older kernels you were most likely not having any acceleration at all with nouveau and instead falling back to software rendering and such
08:48 RSpliet: in my experience cards like yours run fairly stable using recent versions of the various nouveau components
08:48 imirkin: innervision: make sure to update kernel and mesa. if you're using a distro that doesn't make that easy, try to get help from a distro support channel. we can't support anything but the latest versions.
08:50 innervision: ok but that info helps me a lot - thanks!
09:18 mupuf: imirkin: GF106 vs GF116
09:18 imirkin: ah right
09:29 karolherbst: I am always suprised how much cleaning the fan and cooling pipes help..
09:48 karolherbst: mupuf: new version with clamping: https://github.com/karolherbst/nouveau/commit/175d8c2521bcacd8780d6ce15a022b4ce5e99e0a
10:09 karolherbst: I think 125 is too much for fermi/keplers
10:09 karolherbst: never saw anything above 115 on them, so I change that to 115
10:10 mupuf: :)
10:11 mupuf: I am pretty sure the condition on the chipset will not be accepted upstream
10:11 karolherbst: but I also saw 115 only on a nva0 card
10:11 karolherbst: but I think this should be fine anyway
10:11 karolherbst: ohh
10:11 karolherbst: well
10:11 karolherbst: there is a deeper issue anyway I think
10:11 karolherbst: I found like three different "kinds" of fsrm configuration types and didn't found a way to differ between them yet
10:12 mupuf: hmm
10:12 mupuf: have to go, tell me more about it in the mean time
10:12 mupuf: maybe I can help
10:12 karolherbst: yeah, I will try to create a nice overview
10:18 karolherbst: well for nvc0-nve7 there seems to be only two types, but they are not seperated by chipset :/
10:18 karolherbst: mupuf: https://gist.github.com/karolherbst/1854da8068b510d4cc14#file-gistfile1-txt-L33-L40
10:18 karolherbst: there seems to be a three and a two stage fsrm somehow
10:18 karolherbst: maybe it is the same, but can be configured to be either one
10:18 karolherbst: but I didn't manage to get my "two stage" on to behave like a "three stage" one
10:19 karolherbst: the only difference I found so far is, that bits 3-5 are set in 0x02010c for the lowest threshold, but setting it on my gpu doesn't change a thing
10:20 karolherbst: and I would need to play on a gpu with 0x02010c set to 0x00000049 to figure out the third type
10:21 karolherbst: mlankhorst: your nvc8 has 0x02010c set to 0x00000049 right?
10:22 karolherbst: mupuf: and your nvc4 too as it seems
10:52 mlankhorst: karolherbst: no idea about that one, only have whats in the archive
10:52 karolherbst: k
12:28 RSpliet: heh
12:28 RSpliet: http://steamcommunity.com/app/221410/discussions/0/496881136906381737/
12:28 RSpliet: I'm seeing exactly this
12:29 RSpliet: apparently mesa uses sha1 support somewhere since relatively recently, depending on openssl;
12:32 karolherbst: ohhh wait
12:33 karolherbst: RSpliet: you know that shader-cache compile flag?
12:33 karolherbst: maybe it is related?
12:34 karolherbst: RSpliet: but without a call stack, it can be whatever
12:38 RSpliet: karolherbst: I know...
12:39 RSpliet: it's more a general frustration that every time I try to rebuild Mesa, new stuff goes wrong
12:39 RSpliet: I like code sharing, but having an OpenSSL-kitchen-island cluncked on feels a bit of overkill
12:40 RSpliet: if it's not an SELinux problem, I might just rebuild with a different sha1 lib
12:41 karolherbst: :D
13:13 prototron: hello
13:14 prototron: I have a video card problem that I am trying to solve for days now... so after reading FAQ and troubleshooting guide, I ended up here
13:16 prototron: So I have a Lenovo Y400 notebook which has a Geforce GT 750M GPU. So Debian 8 (Jessie) installed nouveau driver by default (which they highly recommend anyway over the proprietary drivers from NVidia)
13:18 prototron: Then at boot time I get this funky colorful stripe near the top of the screen, and it hangs forever
13:20 RSpliet: prototron: are you running a 4.3 kernel?
13:21 karolherbst: prototron: but this is a dual gpu laptop, right?
13:21 bartmon: is there any known archive of this channel?
13:21 karolherbst: bartmon: read the topic
13:25 prototron: kernel 3.16.0-4-amd64
13:25 prototron: the laptop has the intel HD 4000 chip + the Nvidia 750m GPU
13:26 karolherbst: right, so the intel gpu will drive your desktop
13:26 karolherbst: most likely
13:26 karolherbst: mhh
13:26 karolherbst: could you do a screenshot and check if the line is in there?
13:26 karolherbst: prototron: and when did the line appear the first time?
13:27 prototron: well it is a fresh install of Debian
13:27 karolherbst: it may be, that the display itself is a bit bricked, that's why I asked since when the line appears
13:28 prototron: if that can help, I am dual booting with Windows 8 and the GPU works flawlessly
13:28 karolherbst: ahh okay, so this issue only occurs on the linux side
13:28 karolherbst: anyway
13:29 prototron: I also got it working on Ubuntu 14.04 using the proprietary drivers from NVidia
13:29 karolherbst: yeah, but the intel gpu is displaying your desktop
13:29 karolherbst: not the nvidia one
13:29 prototron: ?
13:29 karolherbst: except you have a fancy bios and disabled intel output
13:30 bartmon: karolherbst, well i feel embarrassed. thank you. :9
13:31 prototron: and right now I booted Debian using nomdoeset
13:31 karolherbst: why?
13:31 karolherbst: remove that
13:31 karolherbst: well you can leave it if the display stays black without it
13:31 karolherbst: but I doubt that
13:32 prototron: this is the only way to boot linux
13:32 karolherbst: mhhhh
13:32 prototron: otherwise, funky stripe + hangs
13:32 karolherbst: then something is really broken
13:33 karolherbst: prototron: could you get us a dmesg and xorg log without the nomodeset option?
13:33 prototron: I have the kern.log file, is that ok?
13:34 karolherbst: maybe
13:34 karolherbst: you could show it though
13:34 karolherbst: I will complain if it isn't
13:35 karolherbst: RSpliet: but why did you ask for 4.3?
13:36 imirkin_: RSpliet: there's a way to get it to not use libssl
13:36 RSpliet: karolherbst: because I refuse to debug set-ups that are not up to date
13:36 RSpliet: debian is a trigger word for "update your kernel, then we'll talk" ;-)
13:37 RSpliet: imirkin_: looking into it yes
13:37 karolherbst: RSpliet: :D
13:38 karolherbst: RSpliet: yeah but this sounds like an intel issue or bricked system configuration anyway
13:41 prototron: karolherbst, ok i'm sending you the log file
13:41 karolherbst: :O you can send file through IRC
13:43 prototron: ?
13:43 karolherbst: well I accepted it, but it timed out
13:43 prototron: hum shit
13:44 karolherbst: I think your sender IP was fulty
13:44 karolherbst: cause I got 0.0.0.190
13:44 prototron: indeed
13:44 karolherbst: well you could also pastebin it somewhere
13:46 imirkin_: skeggsb: not sure when i'll have time to look over your patches in depth again... but iirc i was happy with your older version, so don't block on me
13:47 prototron: karolherbst, http://paste.ubuntu.com/14120955/
13:50 karolherbst: prototron: well I would need a log from a boot without nomodeset
13:50 prototron: thought that was it
13:51 karolherbst: mhhh
13:51 karolherbst: but this is interessting: "[Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow_duplicates=1"if the current driver doesn't work."
13:51 karolherbst: what is this?
13:51 karolherbst: prototron: ohh wait
13:52 karolherbst: there is aboot without nomodeset in the log
13:52 karolherbst: my mistake
13:52 karolherbst: prototron: did you add "video=1366x768@60" ?
13:52 josla972: RSpliet: Hi, did you read my feedback about the reclocking patches?
13:53 RSpliet: josla972: no I didn't sorry
13:53 josla972: RSpliet: ok
13:53 josla972: I have a G84 card
13:53 josla972: so I changed 0x94 -> 0x84 in your last patch
13:53 RSpliet: oh yes, never looked at those, can't imane it works
13:53 prototron: karolherbst, I did try it. First time I booted, it had the bug I am talking about. So I checked the logs and saw that it tried to boot with a 1080 resolution, which is not supported by my laptop display
13:54 karolherbst: wow strange
13:54 josla972: RSpliet: ok, I managed to reclock everything but memory
13:54 prototron: karlmag, then I tried video=1366x768@60
13:54 prototron: i mean karolherbst
13:54 RSpliet: josla972: hmm yes, but the perf difference is probably minimal
13:54 josla972: RSpliet: I see
13:54 karolherbst: "fbcon: nouveaufb (fb0) is primary device" :O
13:54 josla972: would being able to reclock memory involve a lot of work?
13:55 karolherbst: that shouldn't happen
13:55 karolherbst: yeah I think I got the issue now
13:56 karolherbst: prototron: could you give me the output of "lspci | grep VGA"?
13:56 prototron: karolherbst, 01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1)
13:57 karolherbst: prototron: is there some option in the vbios to disable the intel gpu or to set the "main" gpu to either intel or nvidia?
13:58 prototron: karolherbst, hmmm i don't know I would have to verify
13:58 karolherbst: yeah please do, because the kernel doesn't seem to see your intel gpu
13:58 prototron: karolherbst, I THINK no, but I am not 100% sure, not even 90% :P
13:58 karolherbst: well
13:58 karolherbst: the issue is this
13:58 karolherbst: you need something from a newer kernel
13:58 karolherbst: 3.16 is too old
13:59 karolherbst: so if you plan to use nouveau as your primary driver, you need to update your kernel
13:59 karolherbst: but
13:59 karolherbst: I don't understand why the intel gpu doesn't even appear
13:59 karolherbst: you should check your bios
14:00 prototron: karolherbst, Ubuntu 14.04 uses kernel 4.3 right?
14:00 RSpliet: josla972: quite a bit yes, most importantly I simply don't have a card like that
14:01 karolherbst: prototron: well check your bios first, because you want to use the intel gpu as your main one
14:01 josla972: RSpliet: ok
14:01 karolherbst: because of battery life
14:02 imirkin_: RSpliet: perhaps you could help him collect the info you need?
14:03 prototron: (Ubuntu 14.04 uses 3.19)
14:04 karolherbst: imirkin_: when was the c800 workaround added through an option? 4.3?
14:04 prototron: ok hang on, rebooting to check my BIOS
14:05 imirkin_: karolherbst: yes
14:05 imirkin_: karolherbst: default to on in 4.4-rc5
14:06 karolherbst: k
14:06 karolherbst: default on for all keplers?
14:06 imirkin_: ya
14:06 josla972: yes, if you need me to extract info about my card I can maybe be of help
14:07 karolherbst: ahh PGOB fuse
14:07 karolherbst: k
14:15 prototron: karolherbst, so no option in the BIOS to choose between intel or nVidia
14:17 karolherbst: mhhh
14:17 karolherbst: prototron: k, then your entire lspci output
14:18 karolherbst: pls pastebin it somewhere
14:18 prototron: http://pastebin.ubuntu.com/14121377/
14:19 karolherbst: yeah, your intel gpu is totally missing
14:20 imirkin_: karolherbst: i think i've seen that on those lenovo Y series... some of them are even dual-nvidia gpu
14:20 karolherbst: prototron: then boot with "video.allow_duplicates=1"
14:21 karolherbst: imirkin_: check his cpu
14:21 karolherbst: it is a 3830MQ intel one
14:21 karolherbst: I meant 3630
14:21 imirkin_: the one i saw it on *should* have had an intel gpu, but it was fused off
14:21 karolherbst: :O
14:21 karolherbst: oh god why
14:21 imirkin_: i try not to ask such questions
14:22 karolherbst: seriously, somehow I fell like never buying me a lenovo laptop :D
14:22 imirkin_: buy the T series.
14:22 prototron: they run pretty good on Windows, but nothing but problems on linux
14:22 prototron: specially the gpu
14:22 karolherbst: no, lenovo died for me and not only because of their laptops
14:23 karolherbst: I won't forget that root certificate thing they did :D
14:23 Wonka: .oO( lenovo died for your sins? )
14:23 karolherbst: course
14:23 karolherbst: prototron: do you know if the intel gpu is "there" with windows?
14:24 karolherbst: anyway, laptop with 750M gpu is a bit instane for battery life
14:24 prototron: The dedicated GPU (750M) is disabled when not plugged in with DC adapter
14:24 imirkin_: i think the Y series isn't so much laptop as luggable :)
14:25 imirkin_: prototron: errr... really? you don't appear to have any other gpu in the system
14:25 karolherbst: ....
14:25 karolherbst: prototron: sooooo
14:25 karolherbst: prototron: what happens when you boot linux without the adapter plugged in?
14:25 karolherbst: does the intel gpu magically appears then?
14:25 karolherbst: in lspci
14:26 prototron: hmmm
14:26 prototron: never tried this
14:26 prototron: lol
14:26 prototron: brb
14:27 karolherbst: why use prime when you can hack something together yourself :D
14:27 karolherbst: ohh wait
14:27 karolherbst: it is called optimus or something
14:31 prototron: lspci results here https://paste.fedoraproject.org/303594/
14:31 prototron: doesnt seem to be there
14:32 prototron: maybe I can boot windows to see if it's "there" ?
14:32 karolherbst: yeah
14:32 karolherbst: the hardware manager should list it
14:32 prototron: yeah. brb
14:44 prototron: karolherbst, didn't see the HD 4000 chip in the display adapter menu, or anywhere
14:45 karolherbst: okay, so it seems like you really only have the 750M then
14:45 karolherbst: so, now you need a 4.3 kernel
14:45 prototron: weird, because according to Intel's website, the 3630QM is supposed to have that chip
14:46 karolherbst: debian sid has it I think
14:46 karolherbst: prototron: yeah, but imirkin_ already said he saw some laptops where the intel gpu was just disabled
14:46 imirkin_: specifically in a lenovo Y-series laptop
14:46 prototron: hmm
14:47 imirkin_: but that one had dual GTX 650's or so
14:47 prototron: ok. My laptop is SLI capable, but I don't have a second gpu
14:49 karolherbst: xenial has 4.3
14:49 karolherbst: willy just 4.2 :/
14:49 karolherbst: ohh that's ubuntu
14:50 karolherbst: prototron: do you have any preferences regarding distributions?
14:50 prototron: not ubuntu
14:51 prototron: I wanted something reliable and stable (this is why i chose Debian)
14:51 karolherbst: k, I have no clue what is fancy these days with modern kernel, so others have to suggest something
14:51 karolherbst: well, debian isn't that stable on modern hardware
14:51 imirkin_: prototron: so did debian achieve your reliability and stability goals?
14:51 prototron: imirkin, No.
14:51 imirkin_: prototron: so... perhaps time to reevaluate those goals :)
14:52 prototron: well, I don't know yet, cause I just struggle with the GPU
14:52 josla972: what are good dists these days?
14:52 karolherbst: prototron: you need a 4.3 kernel with an option
14:52 josla972: i have been running gentoo for more than 10 years
14:52 josla972: too lazy to switch
14:52 imirkin_: GAH!!! grrr.... my xkb settings got lost :(
14:52 karolherbst: prototron: you need to boot then with nouveau.config=War00C800_0=1
14:52 imirkin_: josla972: me too :)
14:53 karolherbst: well I run gentoo only for 3 years :/
14:53 karolherbst: same installation though
14:53 imirkin_: karolherbst: some day you'll catch up!
14:53 josla972: compiling from source nowadays is quite fast
14:53 karolherbst: well gentoo on my powermac g4 867MHz dual was fun
14:53 josla972: but then came thunderbird, libreoffice, firefox etc
14:53 imirkin_: i used slackware before and built everything from source
14:53 imirkin_: gentoo just systematized that
14:53 imirkin_: so it wasn't an exercise in pain when i wanted to update, say, evoluation
14:53 karolherbst: I always wanted to try out LFS
14:54 imirkin_: evolution*
14:54 josla972: portage is very nice
14:54 josla972: i build everything in a tmpfs
14:54 karolherbst: prototron: so as you see, nobody has any clues here :D
14:54 karolherbst: josla972: zram°
14:54 josla972: zram^0?
14:54 karolherbst: yeah
14:54 karolherbst: compressed ram disc
14:54 josla972: never did that
14:55 karolherbst: I have a 16GB swap on zram
14:55 karolherbst: I think you could even do a your system ram x 3 swap with zram inside ram
14:55 karolherbst: it basically is like tmpfs
14:55 josla972: interesting
14:55 karolherbst: just that it is compressed via lz4? or something
14:55 karolherbst: and you create a real fs into that
14:55 karolherbst: or swap
14:55 josla972: ok kind of like ZFS with compression then I guess
14:55 karolherbst: so you basically have a full ext4 fs compressed into ram
14:56 josla972: nice
14:56 karolherbst: and I do all my compilation into that
14:56 karolherbst: 11GB ram disc
14:56 karolherbst: usually only uses up to 3.5GB of real RAM
14:56 josla972: i will look into that
14:56 karolherbst: sys-block/zram-init is the package
14:56 josla972: ty
14:56 prototron: brb
14:56 karolherbst: josla972: and this: https://wiki.gentoo.org/wiki/Zram
14:57 karolherbst: this can be used to boost system ram on a low RAM environment, it is really nice
14:58 josla972: never head of it
14:58 josla972: experimental though
14:58 josla972: had to set ~amd64
14:58 karolherbst: yeah
14:58 karolherbst: zram-init are just the openrc/system files
14:58 karolherbst: you still need it from in the kernel
14:58 karolherbst: as a module
14:59 karolherbst: but the wiki page will tell you everything
14:59 josla972: i got screwed by poettering and changed to systemd after upgrading gnome
14:59 josla972: :(
14:59 karolherbst: :D
14:59 karolherbst: yeah I also use systemd
14:59 josla972: not because I wanted to
14:59 karolherbst: it's not _that_ bad, but some things are just terrible
14:59 karolherbst: well I choose mainly because of kwin_wayland
14:59 josla972: it's new
14:59 josla972: for me as a user and owner of my computer it brings me nothing of value that I can see directly
15:00 Tom^: there comes a point when the tech savvy linux user realize it doesnt matter wich distro he uses. its just a matter of which package manager you prefer and enough time and patience.
15:00 josla972: but perhaps systemd does cool stuff in the background :)
15:00 imirkin_:misses slackware's pre-sysvinit startup scripts
15:00 imirkin_: so simple... oh well.
15:01 josla972: the parallel initialization also gave nothing of value - in fact, booting became slower...
15:01 karolherbst: josla972: yeah, my parallel openrc was also faster
15:01 josla972: and now lots of new commands to learn like systemctl, timedatectl etc
15:02 josla972: at least I managed to skip the networkmanager :)
15:02 imirkin_: i will write my own init scripts before touching systemd...
15:03 RSpliet: ^ wouldn't touch it with a hammer
15:03 josla972: imirkin_: openrc no good?
15:03 imirkin_: josla972: openrc is fine
15:03 karolherbst: I never get why socket activation couldn't be done inside a library or something, I mean the concept is pretty simple :/
15:03 imirkin_: josla972: but i really miss the simplicity of just having a rc.S and rc.M
15:03 josla972: ok
15:03 josla972: freebsd is nice i think
15:03 josla972: rc.conf
15:03 josla972: :)
15:04 Tom^: i feel like an villain being on systemd in here :<
15:04 imirkin_: Tom^: as you should
15:04 karolherbst: journald is the worst :(
15:04 josla972: I heard they managed to fix gnome3 compatibility with openrc
15:04 josla972: so I am tempted to go back
15:05 imirkin_: what does gnome3 have that WindowMaker doesn't?
15:05 karolherbst: :D
15:05 Tom^: wobbly windows.
15:05 karolherbst: who does _not_ have wobbly windows
15:05 airlied: gnome3 doesn't have wobbly windows, that was compiz
15:05 imirkin_: Tom^: ok... so win for WindowMaker then? :)
15:05 karolherbst: :D
15:05 Tom^: airlied: oh right it might be kwin with its effects that has it too.
15:05 josla972: never tried windowmaker
15:05 karolherbst: course it has
15:06 Tom^: or im just old and remembering things wrong
15:06 imirkin_: josla972: it's a NeXT-y wm
15:06 karolherbst: kwin can do everything anyway
15:06 josla972: I am just lazy
15:06 prototron: karolherbst, so no luck with nouveau.config=War00C800_0=1
15:06 karolherbst: prototron: yeah, you need a 4.3 kernel for that
15:06 josla972: I had gnome2 and upgraded to gnome3
15:06 josla972: imirkin_: will look into it
15:06 karolherbst: :D
15:06 RSpliet:hides his SystemD knickers and Gnome Shell socks
15:06 karolherbst: have fun with NeXT
15:06 imirkin_: josla972: it's not particularly great. it's just perfectly sufficient for all my needs.
15:07 prototron: karolherbst, nor video.allow_duplicates=1
15:07 imirkin_: josla972: i think there are more modern wm's that achieve similar things that i haven't really investigated
15:07 karolherbst: xfwm4 is nice too
15:07 josla972: I see
15:07 imirkin_: WindowMaker has done the trick for me for the past... 15? years
15:07 josla972: the design kind of reminds me of amiga workbench 3 :P
15:07 karolherbst: imirkin_: you need gnustep for that, right?
15:08 imirkin_: karolherbst: sure, but that has no actual bearing on anything
15:08 karolherbst: yeah I know
15:08 imirkin_: karolherbst: just that its config files live in ~/GNUStep
15:08 Tom^: imirkin_: scrot of your desktop!
15:08 imirkin_: scrot? is that like scrotum?
15:08 josla972: this "meta-key + search for any program"-thing is neat
15:09 karolherbst: what?
15:09 karolherbst: isn't that like a default feature of every dm?
15:09 josla972: but I think even xfce has that
15:09 Tom^: imirkin_: i thought everyone knew of scrot, the simple command line screenshot utility for x. :p
15:09 imirkin_: Tom^: like xwd?
15:09 imirkin_: anyways... that'll just be my background image
15:09 imirkin_: not too exciting
15:09 josla972: karolherbst: it was not available in gnome2 afaik
15:09 karolherbst: Tom^: my desktop looks boring
15:09 karolherbst: really
15:11 imirkin_: Tom^: http://i.imgur.com/R2R8lms.jpg
15:12 karolherbst: oh that gnustep look
15:12 karolherbst: well next
15:12 karolherbst: anyway
15:12 prototron: karolherbst, how about the 4.2.6 kernel?
15:12 karolherbst: that was before my time :D
15:12 karolherbst: prototron: nope, 4.3
15:12 prototron: k
15:12 Tom^: imirkin_: cool , feels retro =D
15:12 prototron: so fuck debian
15:13 imirkin_: Tom^: has looked that way for me since about 1999 or so
15:13 Tom^: hehe
15:13 imirkin_: Tom^: although i think i started using this bg image in 2001? give or take
15:13 Tom^: imirkin_: sometimes change is a good thing
15:13 josla972: lol
15:13 karolherbst: :D
15:13 karolherbst: yeah right
15:13 karolherbst: try plasma5
15:13 Tom^: nonono not that big of a change
15:13 prototron: imirkin, you mentionned that the HD 4000 chip is disabled, so how would I enable it?
15:14 karolherbst: course
15:14 karolherbst: Tom^: you have to think bout it
15:14 karolherbst: he won't change it for another 15 years then
15:14 karolherbst: so
15:14 imirkin_: prototron: don't think you can.
15:14 Tom^: hm fair enough
15:14 josla972: oh well, gtg sleep
15:14 josla972: cya
15:14 imirkin_: Tom^: if there's a concrete benefit i'll switch
15:14 imirkin_: Tom^: but i've gotten pretty used to operating WM
15:14 imirkin_: moving/resizing windows is really easy
15:15 Tom^: besides looking cool? none.
15:15 imirkin_: since with a modifier key you don't have to aim for the stupid borders
15:15 imirkin_: what could be cooler than fake-transparent aterm windows? :)
15:15 Wonka: bah
15:16 imirkin_: i switched to aterm after the much cooler-of-the-day Eterm brought my system to its knees if i had like 4 of them running
15:16 Tom^: ive never even heard of either
15:16 imirkin_: aterm is part of the afterstep thing i think
15:16 imirkin_: which was another wm i used before windowmaker
15:17 Tom^: "As of January 1, 2008 aterm is no longer maintained;" no wonder. i didnt even use linux until around there.
15:17 imirkin_: but then its knew versions were *way* worse, and i couldn't figure out how to get the old one working
15:17 karolherbst: imirkin_: well I don't have window borders either
15:17 karolherbst: I hate them, so I just eliminated them :D
15:17 imirkin_: Tom^: it's a little annoying coz it doesn't support utf8
15:18 imirkin_: Tom^: but i've tried switching to other terminals and they all handle a little differently
15:18 Tom^: heh you could try rxvt
15:18 imirkin_: like lacking triple-click, or the way you select areas is diff, etc
15:18 imirkin_: yeah, i tried it
15:18 imirkin_: i use terminals a *lot* so the thing has to work *really well*
15:18 karolherbst: I am happy with my yakuake
15:18 karolherbst: :D
15:18 imirkin_: all the ones i've found appear to miss features i've come to rely on
15:19 imirkin_: and i don't really need utf8 in my terminals so... meh
15:21 Tom^: imirkin_: http://i.imgur.com/9SKUR5v.png :>
15:22 imirkin_: what wm is that?
15:22 Tom^: awesomewm :p
15:22 imirkin_: one of the tiling ones?
15:22 Tom^: indeed
15:23 Tom^: im all fancy with my tiling and libvte terminal termite. and colors everywhere! :P
15:23 karolherbst: I tried tiling onece, it was weird
15:24 karolherbst: ohh colors, really :D
15:24 RSpliet: I once had a tiled bathroom
15:24 Tom^: well i only have the dev tags as tiling for terminals. the rest is floating like any other wm
15:24 karolherbst: RSpliet: so not anymore? What happend?
15:24 RSpliet: had trouble with the smell, so now it's windowed
15:24 karolherbst: :D
15:24 karolherbst: RSpliet: why not both?
16:11 prototron: Upgraded to kernel 4.3m no luck
16:12 imirkin_: pastebin dmesg
16:12 prototron: wait, i'll try the boot parameter that karolherbst suggested
16:13 imirkin_: oh yeah, you almsot definitely need that
16:16 prototron: nope. it boots, but in software rendering mode
16:16 imirkin_: pastebin dmesg :)
16:16 prototron: yeah yeah
16:19 prototron: https://paste.fedoraproject.org/303612/65716114/
16:20 imirkin_: errrr
16:20 imirkin_: doesn't seem to have taken the param
16:21 imirkin_: not sure why not....
16:21 imirkin_: ohhhh
16:22 imirkin_: this is a GK107
16:22 imirkin_: sec
16:22 imirkin_: prototron: looks like you need 4.4-rc5
16:22 imirkin_: sorry
16:23 prototron: lol :P
16:23 imirkin_: specifically this one: http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=70dd0fc6c8c2d5a8e2bd34895e5ab4fb90510a37
16:28 prototron: woops, started the 4.4 upgrade already
16:28 imirkin_: that's fine
16:28 imirkin_: 4.4-rc5 (or -rc6) will do just fine
16:28 imirkin_: the above patch was in 4.4-rc1 iirc
16:28 prototron: installing rc5
16:31 prototron: rebooting
16:36 prototron: imirkin, i had no popup telling me I was in software rendering mode
16:36 prototron: https://paste.fedoraproject.org/303620/14506581/
16:37 imirkin_: prototron: that looks *much* happier
16:38 prototron: I did see a funky stripe, the screen went black, and it continued normally.
16:38 prototron: though I saw an error message: Failed to Load/Save Screen Backlight Brightness of backlight:acpi_video0
16:39 imirkin_: glxinfo | grep renderer
16:39 imirkin_: should say Gallium 0.4 on NVE7
16:39 prototron: it does
16:39 imirkin_: you should have acceleration then
16:40 prototron: great
16:40 karolherbst: prototron: I guess that stripe is realted to the non accelerated framebuffer
16:40 karolherbst: and the kernel switched modes and then it is gone
16:40 imirkin_: if you're looking for increased performance, you can boot with nouveau.pstate=1
16:40 imirkin_: which should enable you to switch between performance modes manually
16:40 imirkin_: otherwise you stay in the lowest one
16:41 karolherbst: prototron: you could isntall envytools and then I could tell you a simple way to improve your battery life by a bit :)
16:41 karolherbst: mupuf: seems like we should also tackle clock gating on PGRAPH for kepler
16:41 karolherbst: for those rare nvidia only laptops
16:41 mupuf: karolherbst: one thing at a time :D
16:41 karolherbst: well
16:41 karolherbst: it is _one_ reg write
16:41 karolherbst: at init
16:42 karolherbst: ENG_PWR or ENG_CLK has to be set to AUTO instead of RUN
16:43 mupuf: karolherbst: so is the FSRM :D close to it :D
16:43 prototron: imirkin, so I have to boot all the time with nouveau.config=War00C800_0=1 ?
16:43 karolherbst: well
16:43 imirkin_: prototron: no
16:44 imirkin_: prototron: that should be on by default now
16:44 karolherbst: the FSRM seems to be a lot more messy after looking into that :D
16:44 karolherbst: the theory is easy yes
16:44 karolherbst: but practically it is a mess
16:44 prototron: imirkin, and for nouveau.pstate?
16:44 imirkin_: prototron: that's not default, and probably not going to be for a while
16:44 imirkin_: certainly not for the 4.4 release
16:45 Tom^: are we entering debugfs then?
16:45 karolherbst: mupuf: set bit 0 to 1 in 20200 and the clock gating is working
16:45 karolherbst: that's it
16:45 mupuf: nope, not for every card
16:46 mupuf: and we sometimes need to disable it
16:48 karolherbst: mhh
16:48 karolherbst: I don't think the blob ever disables it on PGRAPH
16:48 karolherbst: at least for keplers
16:48 karolherbst: but I can check into that tomorrow
16:52 karolherbst: mupuf: you are right :O on mwks card the blob disables it again
16:52 mupuf: yep... nothing comes easy in PM...
16:52 karolherbst: but that's the only card
16:52 karolherbst: nvc1
16:53 karolherbst: mupuf: maybe on kepler that doesn't have to be disabled anymore?
16:53 prototron: awesome, my second and third displays work!
16:53 karolherbst: mupuf: we would need more trace though for that I guess
16:54 karolherbst: anyway, I head to bed now :D
16:54 karolherbst: mupuf: did you take a look at my paste?
16:54 mupuf: karolherbst: which one?
16:54 prototron: karolherbst, thank you. This is much appreciated
16:54 karolherbst: https://gist.github.com/karolherbst/1854da8068b510d4cc14#file-gistfile1-txt-L31-L43
16:55 prototron: and imirkin too!
16:55 karolherbst: that's basically my fsrm paste
16:55 karolherbst: but the last part is important
16:55 karolherbst: prototron: no problem
16:56 mupuf: karolherbst: right, did you find multiple cards with different behaviour but same chipset>
16:56 mupuf: ?
16:56 karolherbst: yes
16:56 karolherbst: there are nve7 with one type, then nve6 with different ones
16:56 karolherbst: it is a mess
16:56 karolherbst: and then some chipsets even have both (different cards)
16:58 karolherbst: mupuf: for v in $(find nvc* nvd* nve* -type f -iname "*.rom"); do echo $v; ../envytools/build/nvbios/nvbios $v 2>/dev/null | grep 'R\[0x02010c\]'; done
16:58 karolherbst: ohh
16:59 karolherbst: for v in $(find nvc* nvd* nve* -type f -iname "*.rom"); do echo $v; nvbios $v 2>/dev/null | grep 'R\[0x02010c\]'; done
16:59 karolherbst: ;)
16:59 karolherbst: 0x00000002 indicates two_stage fsrm
16:59 karolherbst: 0x00000016 three_stage
17:00 karolherbst: I bet there is a way to enable the third threshold on my gpu somehow, but until now I didn't find a way
17:00 karolherbst: so, now I am into bed for sure
17:01 prototron: imirkin, So I don't have to use at all param nouveau.config=War00C800_0=1 with kernel 4.4?
17:01 imirkin_: prototron: that's right
17:02 prototron: ok good
17:03 prototron: karolherbst, I don't get what EnvyTools does
17:04 prototron: ah he left.
17:13 Spencer_H: Hey does anyone know if any more work has been managed on getting an 840M (nv118) to work with Nouveau?
17:14 imirkin_: Spencer_H: https://bugs.freedesktop.org/show_bug.cgi?id=89558
17:15 Spencer_H: Yeah I saw that. Is the patch at the bottom complete?
17:15 imirkin_: no
17:15 Spencer_H: Anything I can do to help?
17:15 imirkin_: someone needs to go over the golden register values and compare if it's any different from GM107
17:15 imirkin_: not without investing a lot of time
17:16 Spencer_H: I have time. Since I can't do much with my PC until it works.
17:16 imirkin_: uhhhh
17:16 imirkin_: wait, is this preventing some useful use-case for you?
17:16 Spencer_H: I'd need to know how to do that though.
17:16 imirkin_: i was under the impression that it was only used as an accelerator, never any outputs attached
17:17 imirkin_: http://cgit.freedesktop.org/~darktama/nouveau/tree/drm/nouveau/nvkm/engine/gr/ctxgm107.c
17:17 Spencer_H: Well it's preventing using video's and the like. Since the intel gpu in this PC can't manage that smoothly.
17:17 imirkin_: see those tables? someone needs to make sure that they haven't changed for GM108
17:17 imirkin_: mmmm... well there's no video accel with nouveau for maxwell
17:18 Spencer_H: How should I check if they've changed?
17:18 imirkin_: and the clock speeds are going to be the boot ones, so it's not likely to be any faster than the intel chip
17:18 imirkin_: "check the mmiotrace"
17:18 imirkin_: sorry, no additional info beyond that
17:18 Spencer_H: and just go through one by one and see if they spat out the same thing?
17:18 Spencer_H: Because the proprietary drivers currently don't function.
17:19 imirkin_: yeah, just need to find the place in the trace
17:19 Spencer_H: alrighty.
17:19 imirkin_: oh, that's surprising
17:19 imirkin_: there's a trace that was made available already though
17:19 Spencer_H: Well they 'function' but they make any desktop environment unusable.
17:19 imirkin_: ah, well nouveau is unlikely to help
17:19 imirkin_: try the patch in that bug
17:19 imirkin_: it should get you 99% of the way there
17:19 imirkin_: it's just not upstreamable as-is
17:20 Spencer_H: Alright.
17:21 Spencer_H: And I might as well work on something.
17:21 imirkin_: if you have a desire to work on 3d driver features, there are a few maxwell-specific things that have been sitting around due to ... lack of my caring
17:22 Spencer_H: sure. I'd like to help. I don't know much about driver programming though. I do know C though.
17:22 imirkin_: do you know GL?
17:22 Spencer_H: I'm relatively familiar with it. Never made a big project with it though.
17:22 imirkin_: do you know how tess works?
17:23 imirkin_: (i.e. ARB_tessellation_shader)
17:23 imirkin_: https://trello.com/c/oaOt6jdd/118-gm100-tessellation
17:23 Spencer_H: In use or internally?
17:23 imirkin_: in use
17:23 Spencer_H: Yeah.
17:23 imirkin_: awesome
17:23 Spencer_H: I have no idea how it works on the inside.
17:24 imirkin_: easy -- just write the right values to the hw, and magic, it tessellates :)
17:24 Spencer_H: Alright then!
17:24 imirkin_: so i implemented tess for nouveau
17:24 imirkin_: and it works on fermi and kepler
17:24 imirkin_: however since all hw engineers do is sit around and figure out ways to make my life harder
17:25 imirkin_: they decided to change the way that tess control shader outputs are read/written
17:25 Spencer_H: Completely change it or just move it around?
17:25 imirkin_: so someone needs to trace the blob to figure out precisely how it should be done
17:25 imirkin_: and then implement that
17:25 imirkin_: (but don't worry, they also changed stuff on kepler... i just happened to have figured it out)
17:26 imirkin_: i think completely
17:26 Spencer_H: So write a gl program that uses it, and then trace it while using the proprietary driver to see what it does or...? Is there some other starting place.
17:26 imirkin_: it used to be regular "output" writes
17:26 imirkin_: but now you have to fetch some gmem address from somewhere
17:26 imirkin_: and then do other crazy things
17:26 imirkin_: i even have some traces... somewhere
17:26 imirkin_: let me see
17:26 imirkin_: http://people.freedesktop.org/~imirkin/traces/gm107/
17:27 imirkin_: you can use the 'demmt' tool in envytools to decode those
17:27 imirkin_: (demmt -l foobar.mmt.xz should work)
17:27 Spencer_H: Ok. I don't have permission to access the files though it seems. But that might just be konqueror being whiny.
17:27 imirkin_: gah
17:27 imirkin_: no, probably my bad
17:28 imirkin_: try again
17:28 imirkin_: anyways, i gtg
17:28 imirkin_: i'll bb in 30m or so
17:28 Spencer_H: Yep, works now.
17:29 imirkin_: search for START_ID when you get demmt going
17:58 imirkin: Spencer_H: did you have a look?
17:59 imirkin: fyi sanity is in reference to http://cgit.freedesktop.org/piglit/tree/tests/spec/arb_tessellation_shader/execution/sanity.shader_test
18:02 imirkin: i guess not.
18:10 imirkin: some day i'll find someone to pawn the maxwell tess stuff onto...
18:12 airlied: your future self?
18:12 imirkin: i don't envy that guy!
18:13 imirkin: https://www.youtube.com/watch?v=mS9LCR5P5wI
18:13 skeggsb: i'm dreading having to potentially one day do the maxwell sched stuff :P
18:14 skeggsb: imirkin: i'll take tess if you take that :P
18:14 imirkin: that being the vodka-mayo combo?
18:15 imirkin: i
18:15 imirkin: i'm not promising anything :p
18:15 imirkin: for now i'm focusing on getting my atomic/ssbo work upstreamable
18:15 imirkin: by which i mean... i *will* be focusing on that
18:15 imirkin: some time in jan probably
18:31 imirkin: skeggsb: i suspect i'll start focusing more on maxwell when GM20x is actually supported... the texture stuff at least...
18:32 imirkin: GTX 950's are still like $150 =/
18:32 imirkin: but... at least people will be able to test it