02:01 mhelvens: Hi all. Is there a way to monitor GPU-memory usage with nouveau? (I know there are ways to do it with the binary nvidia drivers, but that's of no use right now. I'm trying to see if nouveau is leaking GPU-memory.)
04:39 mlankhorst: gnurou: I can't currently accept patches, have to ask someone else :-)
06:58 gnurou: mlankhorst: understood, thanks! :P
10:45 bigl: can anyone help me with getting nouveau with a mx400 . I get a black screen using debian jessie. when I shutdown the x server I can see the mouse for a second, so it's partially working. any help
10:46 imirkin_: does the console work?
10:46 imirkin_: also, is this a NV11 or NV17?
10:46 bigl: NV 18 i believe
10:47 imirkin_: k
10:47 bigl: console works
10:47 imirkin_: are you perhaps trying to use gnome?
10:47 bigl: just when i startx I get black screen
10:47 bigl: well, I can't even get gdm3 started
10:47 imirkin_: right, and gdm3 uses gnome-shell, which uses shaders
10:47 imirkin_: which won't work on a NV18
10:47 bigl: I have xfce4 installed but I can't even change setting to log into that
10:48 bigl: ok, is there a way to startx making sure it starts xfce4 off the bat
10:48 bigl: ??
10:48 imirkin_: yeah of course
10:48 bigl: normally I change this setting in gdm3. or perhaps I just should install lightdm
10:48 imirkin_: startx executes what... .xinitrc? i forget
10:48 bigl: do you know what the command is?
10:49 bigl: ok. what if I just install a new dm. will light dm work with this nouveau driver?
10:50 imirkin_: not sure tbh
10:50 imirkin_: gdm2 should work fine :)
11:08 joi: bigl: iirc echo "exec startxfce" > .xinitrc; startx
11:10 joi: ...or startxfce4
11:12 jrayhawk: /window 68
11:12 jrayhawk: whoops
11:37 bigl: got the nouveua driver working. its was the gdm3 issues
11:37 bigl: installed lightdm and all works fine.
11:37 bigl: thanks for the help
11:43 imirkin_: skeggsb: btw, it seems like that cursor fix helped the one guy with PDISP errors. (didn't fix the underlying issue though, but at least no weirdo PDISP error messages all the time)
11:43 imirkin_: skeggsb: probably good to send that out cc'd to stable...
12:00 avph_: imirkin_: that guy with PDISP errors is me :), I think it was the same commit that I bissected that causes the PFIFO read fault errors
12:01 imirkin_: avph_: there were 2 guys :p
12:01 imirkin_: avph_: oh, but you were the one who tested?
12:01 imirkin_: [the cursor thing]
12:02 avph_: yup
12:02 imirkin_: are you sure that original bisect is also where you get the read fault? that seems... surprising
12:03 imirkin_: well ben's usually not around on the weekends, and he lives in the future, so it's already sat (early) morning for him
12:04 imirkin_: but you should confirm that in the bug report
12:04 avph_: imirkin_: not very sure... I'll try to confirm it by doing some tests
12:04 imirkin_: cool. you can patch in the cursor fix to avoid the stupid PDISP errors
12:05 imirkin_: basically just patch the thing in on every bisect step
12:05 imirkin_: a tad annoying, but not too bad compared to the annoyance of actually bisecting
12:05 avph_: ah k was just going to ask that :p
12:05 imirkin_: thanks for spending time to improve nouveau btw :)
12:07 avph_: well i like my hardware to function well :)
12:11 imirkin_: at this point most people would say "screw this shit" and switch to the blob
12:13 avph_: freedom is important. I cant seem to find this cursor-thing in v3.16...
12:13 imirkin_: hrmph, might be in a slightly diff place
12:13 imirkin_: and/or phrased differently
12:14 imirkin_: let's see....
12:17 imirkin_: nv50_crtc_cursor_show_hide -- doesn't look at the nv_crtc at all
12:17 imirkin_: so just do
12:17 imirkin_: if (show && nv_crtc->base.enabled)
12:18 imirkin_: avph_: --^
12:54 avph_: imirkin_: if (show && nv_crtc->base.enabled)
12:55 avph_: i dont get any PDISP errors in v3.16 but crashes occur but with message: nouveau E[ PFIFO][0000:01:00.0] SCHED_ERROR [ UNK06 ] repeated a lot
12:56 imirkin_: avph_: ok... so keep going on the bisect i guess?
12:57 avph_: imirkin_: is that the same type of error as the PFIFO read fault?
12:57 imirkin_: so... it's easy to get confused
12:57 imirkin_: because these are complex bits of hardware
12:57 imirkin_: the [PFIFO] at the front is a reflection of which engine reports the fault
12:57 imirkin_: however it's not necessarily an indication of which engine causes the fault to occur in the first place
12:58 imirkin_: PFIFO is a fairly innocuous engine whose job in life is to fetch commands and pass them on to other engines
12:58 salamanderrake: is there a status page for nouveau opengl 4 integration or is that dependent/part of the mesa side of things?
12:58 imirkin_: however in kepler it does gain a few smarts, like being able to copy things
12:58 imirkin_: salamanderrake: https://github.com/imirkin/mesa/commits/gl4-integration
12:59 imirkin_: salamanderrake: i need to rebase it though... haven't had the time to do it.
12:59 salamanderrake: cool thanks
12:59 imirkin_: salamanderrake: that gets you GL 4.1
12:59 imirkin_: 4.2 will take actual work
13:00 salamanderrake: oh really, that much of a difference between them?
13:00 avph_: hmm actually there might be the same read fault error, but my dmesg is just flood with this other message
13:00 imirkin_: salamanderrake: there's plenty of new features in each GL version
13:00 salamanderrake: I don't even want to ask about 4.3/4/5 then do I??
13:00 imirkin_: salamanderrake: GL4.2 introduces atomic counters and shader images. those 2 will require a bunch of plumbing in gallium, as well as a bunch of stuff in the driver
13:01 imirkin_: (esp for kepler+ which has gone all bindless wrt images)
13:01 imirkin_: 4.3 brings ssbo and compute shaders
13:01 salamanderrake: what does 4.4/5 bring?
13:01 imirkin_: 4.4 will require a ton of core mesa work for ARB_enhacned_layouts
13:02 salamanderrake: I wonder how bad its going to be for vulkan
13:02 imirkin_: 4.5's main big feature is already merged, the rest will be fairly small
13:02 imirkin_: (but it builds on a lot of the earlier versions' features)
13:02 imirkin_: salamanderrake: you may be interested in http://people.freedesktop.org/~imirkin/glxinfo/glxinfo.html
13:03 salamanderrake: oh cool thanks.
13:03 imirkin_: [hm... i should probably flip the mesa version into a dropdown... separate buttons made sense when there were 2 of them]
13:04 salamanderrake: do you have to rebase against your master or does mesa have an official master branch?
13:04 imirkin_: mesa has an official master branch...
13:05 imirkin_: but my gl4-integration needs to be rebased against mesa's master branch as well as some new tess stuff
13:05 imirkin_: and i need to re-resolve all the conflicts which will be a bit annoying, which is mainly why i've been putting it off
13:06 imirkin_: avph_: sorry, i don't have a ton more information about the causes of the errors you're seeing
13:06 imirkin_: avph_: perhaps you can catch ben when he's around (skeggsb) -- he'll have a lot clearer explanations of what each error means (if not its cause)
13:08 avph_: imirkin_: strangly using another desktop environmet for same game gives different error /still crahses). now there are PLTCG and PGRAPH errors
13:08 imirkin_: oooh, ltcg, our favourite
13:08 imirkin_: a bunch of fixes went into ... some kernel for that
13:09 avph_: imirkin_: should i just bisect then?
13:09 imirkin_: unfortunately nouveau is a mess in terms of things working then breaking then working
13:10 imirkin_: this can make bisects frustrating
13:10 imirkin_: if you can identify a specific breakage, that might be bisectable
13:13 avph_: I see, but it didnt crash in the version that I bissected (somewhere 3.15) and it crashes in v3.16 so I'll just try...
13:15 imirkin_: so bisect between that and 3.16 then
13:16 imirkin_: 3.17 is where the ltcg cleanups/changes came in btw
13:16 imirkin_: f38fdb6a376ead and its parent
13:21 avph_: k strangly v3.16 works now, for some unknown reason... I'll keep trying later versions
13:22 imirkin_: these are all timing errors
13:22 imirkin_: some buffer gets moved out of vram at the wrong moment
13:22 imirkin_: or... something
13:24 avph_: I think they where different issues also (in later kernel it is insta crash, in v3.16 it varies)
13:26 Karlton: did anyone else get a pm from backstrom88?
13:27 imirkin_: just you
13:27 imirkin_: is he a deposed nigerian prince looking for help transferring funds out of his country?
13:28 koz_: imirkin_: No. Just a Christian crazy.
13:28 koz_: Not sure which is worse, actually.
13:28 Karlton: I hope it was just a bot
13:29 Karlton: he sent me this: "esus said that there is hellfire that people go to forever if they say no to him and his work on the cross as a payment for their sin. Search this in google "Jesus is savior" and click on how to be saved"
13:30 imirkin_: a while ago searching for "word of god" would turn up some rather disturbing results
13:38 Karlton: never thought I would run into a christian evangelist on #nouveau :/
13:38 tobijk: huh?
13:39 Karlton: tobijk: backstorm88, he sent me creepy messages xD
13:40 tobijk: :O
15:10 xexaxo: imirkin_: be prepated to hear a lovely tail about "std::tr1::unordered_set" :-)
15:10 imirkin_: tale, presumably?
15:11 xexaxo: but I want a tail... it's so much cooler
15:12 xexaxo: it's roughly like - we want to use the unmaintained stlport over gnustl because...
15:12 imirkin_: it's unmaintained?
15:13 tobijk: :/
15:13 xexaxo: last time I've looked (some 3+ months ago). if things have changed google is not pulling/rebasing
15:14 imirkin_: i just meant it as a continuation to your statement :)
15:14 tobijk: i just started to like it... :D
15:15 xexaxo: ... because google doesn't like GNU projects being part of Android, and it's not the default STL implementation. Although it's still available :)
15:17 tobijk: yeah we can savely ignore google, that little company ;-)
18:57 openglNewbie: hello :)
19:00 openglNewbie: i'm getting a error with my x11 lib and I wonder if someone know about it or how it works :p
19:20 openglNewbie: oh!!! i found the libraries i was missing haha :D
19:20 openglNewbie: all these ppls in here and no one talks
19:21 openglNewbie: it scares me :(
19:56 imirkin: everyone's watching you
19:56 imirkin: recording all your moves
19:56 openglNewbie: yeah looks like htat
19:57 Karlton: ";.;"
19:57 imirkin: if you're still having trouble, post logs
19:57 openglNewbie: so... i wasnt figuring out what libraries to linik :/ but i already did it
19:58 openglNewbie: i tought it was a problem with my x11 lib but it wasnt
19:58 imirkin: ah, so the watching method worked ;)
19:58 openglNewbie: xP
19:58 openglNewbie: but i came here to try to get help to update my x11 lib since i didnt find anything about it on the internet
19:59 imirkin: sounds more like a distro issue i guess?
19:59 openglNewbie: well you guys write programs too?
19:59 imirkin: no, we just watch
20:00 imirkin: [others write programs]
20:00 imirkin: getting something to build the first time can be a bit frustrating
20:00 imirkin: esp with GL where there's a ton of indirection
20:01 openglNewbie: are you being sarcastic?
20:01 imirkin: the first part, yes. the second part, no.
20:01 openglNewbie: yeah i'm trying to do it right now
20:02 openglNewbie: everytime i use new functions i need to include more and more linked libraries...
20:02 imirkin: heh
20:02 imirkin: try to limit the list of libraries you use
20:02 imirkin: then you can just build against those libraries and be done with it
20:04 openglNewbie: yeah... maybe i'm too lazy for linux :(
20:04 openglNewbie: or i dont have time idk...
20:04 openglNewbie: but still fun to go arround the internet try to fix my computer by myself
20:08 imirkin: even more fun to write the software to make it work in the first place :)
20:08 openglNewbie: yeahhh
20:08 openglNewbie: btw
20:09 openglNewbie: do you know a good website to learn open gl?
20:09 openglNewbie: or evena book?
20:09 imirkin: heh
20:09 openglNewbie: but make for linux environment... not windows
20:09 imirkin: there's different levels of knowledge
20:09 openglNewbie: i dont like windows xP
20:09 openglNewbie: basic
20:10 imirkin: for example, i'm fairly knowledgeable about the OpenGL API, what everything does, etc
20:10 imirkin: otoh, i have *no clue* how to use that knowledge to do anything visually interesting
20:10 openglNewbie: hmmmm
20:10 imirkin: i think if you search for 'opengl tutorial', you'll probably find some decent things
20:12 openglNewbie: i found like 2 websites but they all teach for windows users... using MS VIsual Studio...
20:12 openglNewbie: well i can try google opengl tutorials for linux xP
20:12 Karlton: most opengl libs are portable
20:13 Karlton: so the code should be the same for GNU/Linux
20:13 imirkin: here's a very basic one: https://www.opengl.org/wiki/Tutorial1:_Creating_a_Cross_Platform_OpenGL_3.2_Context_in_SDL_%28C_/_SDL%29
20:14 buhman: imirkin: heh
20:15 openglNewbie: $(sdl-config --cflags --libs)
20:15 openglNewbie: that thing looks for all the libraries i need?
20:16 openglNewbie: nahh
20:16 openglNewbie: its just a library xP
20:21 openglNewbie: oh i found wikibooks
20:22 openglNewbie: it looks cool
20:22 openglNewbie: and it says all libraries i need to link!!!!