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