00:36koz_: When I try to build nouveau from git, I get this: http://paste.rel4tion.org/111
00:36koz_: I'm really confused - I have no idea what I'm doing wrong, because AFAIK, that directory doesn't contain a Makefile.
00:59pmoreau: koz_: Is `lib/modules/4.4.0-rc1-g81051f9/build` the folder containing the kernel source code?
01:00koz_: pmoreau: That dir only has one file in it.
01:00koz_: I'm looking into what the hell happened with that - I suspect I did something wrong in the kernel build.
01:00pmoreau: Where do you have the kernel source code?
01:02pmoreau: Try to run from the `drm` folder in Nouveau Git: `LINUX_DIR=/path/to/kernel/code make`
01:03koz_: pmoreau: Alrighty, I'll try.
01:36koz_: karolherbst: I apparently suck at building kernels. Gonna harass my distro maintainers for a build of 4.3.
01:37karolherbst: koz_: good :D
01:38karolherbst: koz_: usually the dev trees should have it already
01:38koz_: Hopefully the patch will get my card reclocking.
01:38koz_: Well, fully-reclocking.
02:54Tom^: imirkin: well if you tell me how to get it i can probably do it for you. :p
02:54Tom^: or karolherbst
03:03pmoreau: Tom^: To get your card's VBIOS?
03:04pmoreau: You should be able to use `nvagetbios > vbios.rom` to get it (as root of course)
03:05pmoreau: If it complains, you can try instead `nvagetbios -s PRAMIN > vbios.rom` or `nvagetbios -s PROM > vbios.rom`, depending on the one which failed
03:06Tom^: gonna watch some gold rush, drink a cup of coffe and eat a cinnamon bun then il do it. :p
03:07pmoreau: Since none of them is here, you can take your time. ;-)
03:07pmoreau: (Well, even if they were here. ;-D )
03:08karolherbst: pmoreau: well I prever the vbios.rom file through debugfs ;)
03:10karolherbst: pmoreau: just because this is what nouveau sees and it doesn't require envytools installed, though we also want nvapeek 101000 so this is kind of useless anyway :D
03:10karolherbst: Tom^: if you get the vbios, please also do nvapeek 101000
03:11karolherbst: this values is sometimes usefull for calculation some timings? or something else
03:11Tom^: karolherbst: ok il try.
03:11pmoreau: How do you get it through debugfs? Can't seem to find it…
03:12pmoreau: Ha, in the dri folder
03:12karolherbst: pmoreau: yeah
03:12pmoreau: Just need to find the correct number
03:12karolherbst: pmoreau: well, that's usually easy
03:13pmoreau: Seems to be the same mapping as otherwise used, cool
03:15karolherbst: what card does Tom^ have?
03:15karolherbst: now it makes sense :D
03:16karolherbst: I still need to learn the real name => IRC names mapping
03:16karolherbst: it is a gk110 card, isn't it?
03:17Tom^: NVF1 (GK110B)
03:18karolherbst: I hope it's the same issue some others encountered, because for that I would have a fix already, but maybe something funky is going on with the gk110 cards, we will see
03:19karolherbst: Tom^: but I guess dmesg showed something like "voltage failed: -22"?
03:19Tom^: ¯\_(ツ)_/¯ i havent used nouveau in over a year.
03:20Tom^: i just saw imirkin highlighting me about 780ti vbios :p
03:20karolherbst: ohhh okay
03:21karolherbst: Tom^: maybe it just works for you though :/ some keplers have a pain in the ass voltage table in their vbios
03:51Tom^: karolherbst: any particular kernel or other version of software you want me to fetch it on?
03:57karolherbst: doesn't matter
04:46Tom^: karolherbst: nop sorry, either my ram or usb stick is about to die. building envytools on the liveiso yields I/O errors and a unresponsive system. and dont have the time to install linux on a proper hdd now
04:48pmoreau: Tom^: These images [here](https://nouveau.pmoreau.org/) should have envytools included.
04:48Tom^: hm ok
05:04Tom^: pmoreau: yea that worked, only method that didnt complain tho was -s PROM . where should i upload these for you then. dropbox? and you want the .rom's that nvagetbios complained on too or just the successful one?
05:05pmoreau: The successful one only :-) (Except if karolherbst says otherwise)
05:05pmoreau: Upload it anywhere, I'll add it to our VBIOS repo.
05:06pmoreau: (I'll also need the result of `nvapeek 101000` please)
05:06Tom^: oh right forgot that one xD . brb.
05:14Tom^: pmoreau: 00101000: 8040689a
05:14Tom^: and https://www.dropbox.com/s/22liacwxst4xzpl/vbiosprom.rom?dl=0
05:21ata2001: Hello! Sorry for this dumb question, but can i have OpenGl 4 with NVE7?
05:22karolherbst: ata2001: yes
05:22pmoreau: IIRC, you should be able to have OpenGL 4.1 on Kepler with a recent Mesa (prboably 11.0+)
05:23karolherbst: mine glxinfo: https://gist.github.com/karolherbst/1ed69e1ead35202c135b
05:23karolherbst: I have a nve6
05:24karolherbst: ata2001: did you checked glxinfo on your system or are you asking because you might get such a gpu?
05:25ata2001: My glxinfo says, i have 2.1 "OpenGL version string: 2.1 Mesa 11.0.5"
05:25karolherbst: ata2001: istall this dxtn library
05:26karolherbst: or how this is called
05:26karolherbst: ata2001: does "glxinfo | grep s3tc" output anything?
05:26karolherbst: like GL_EXT_texture_compression_s3tc
05:26imirkin: ata2001: don't forget --enable-texture-float when building mesa
05:26pmoreau: libtxc_dxtn on Arch
05:27ata2001: GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
05:27karolherbst: ata2001: and OpenGL renderer string: Gallium 0.4 on NVE7?
05:27karolherbst: in glxinfo
05:28imirkin: s3tc is not required for any GL version, fyi
05:28ata2001: OpenGL renderer string: Gallium 0.4 on NVE7
05:28imirkin: although many games do implicitly depend on it
05:28karolherbst: imirkin: I thought it is for 3.0?
05:28pmoreau: karolherbst: Did you manage to download Tom^ VBIOS? Nothing happens when I click on the download button…
05:28imirkin: karolherbst: you were mistaken.
05:28Tom^: pmoreau: uhm should i upload it somewhere else then? :P
05:29imirkin: the reason why people see GL 2.1 on otherwise GL3+ driver/hw combos is that they're missing --enable-float-texture when building mesa
05:29imirkin: ARB_texture_float is, in fact, part of GL 3.0
05:29pmoreau: Tom^: Could be an issue on my end. If he manages to download it, then everything's fine.
05:29karolherbst: imirkin: ohh okay, I thoguht s3tc is required too
05:29karolherbst: ata2001: then check "glxinfo | grep ARB_texture_float"
05:29imirkin: it's clearly not there... heh.
05:30karolherbst: I want to be sure
05:30imirkin: pmoreau: worksforme
05:30karolherbst: experience told me, that even if it has to be there, sometimes it's not
05:30karolherbst: yeah works for me too
05:30pmoreau: Then I let you add it to the VBIOS repo. :-)
05:30Tom^: pmoreau: http://s000.tinyupload.com/index.php?file_id=51684184658217937529 ( only for you <3 )
05:31karolherbst: meh imirkin is right :P
05:31imirkin: who knew :p
05:31pmoreau: Tom^: Thanks! :-D
05:31Tom^: also i have no idea if that site is trustable but i googled . "adfree file hosting" :P
05:31karolherbst: isn't every site implicitly "adfree" usually? :D
05:32karolherbst: once I was browsing without addblocker.... never again
05:32karolherbst: meh, this vbios just looks too ordinary
05:32karolherbst: except the clocks are a bit funny
05:32karolherbst: and voltage step -12500
05:33karolherbst: but I thought the kernel module handles that already
05:33karolherbst: otherwise a lot more would have complained already
05:33karolherbst: pmoreau: check the PM_Mode table
05:33karolherbst: the domain => clocks mapping is a bit odd in nvbios
05:33karolherbst: memclk freq = 988 MHz at 0f?
05:33karolherbst: and vdec freq = 3500 MHz
05:34karolherbst: these should be swapped I assume
05:34pmoreau: I'll do
05:34karolherbst: Tom^: could you test with upstream nouveau or my branch with 4.3?
05:35karolherbst: it should work afaik, but maybe there is something funky
05:35Tom^: do you have an .iso ready for booting with that? :P
05:35karolherbst: 4.3 kernel?
05:35karolherbst: you can compile nouveau out of tree and install the module :)
05:36karolherbst: imirkin: I am pretty sure it was just the 0ed voltage table header issue he got
05:37karolherbst: the vbios looks okayish to me except this domain clock mapping
05:37Tom^: karolherbst: well im not so sure i can, only OS atm on this desktop is NSA10. sort of made it into my gaming station and left linux on the t60p :p
05:38karolherbst: :D I see
05:38Tom^: so yea, i fetched the vbios from a "live iso" on a usb stick.
05:38karolherbst: pmoreau: what nouveau version does the live iso have?
05:38pmoreau: Let's see what the description on the webpage says… :-)
05:38karolherbst: Tom^: thin is, pre 4.4 nouveua will mess up the nvidia card at 0d and 0f pstate
05:39pmoreau: karolherbst: Nouveau module (branch master from Ben Skeggs' repo): commit 4b7af6c
05:39karolherbst: pmoreau: mhhhh
05:39karolherbst: we would really need the newet stuff for kepler cards :/
05:40karolherbst: ohh wait
05:40karolherbst: I think this is new enough
05:40karolherbst: the pwm fix is also there
05:40karolherbst: okay nice
05:40karolherbst: Tom^: seems like the live iso is good
05:40karolherbst: Tom^: just boot with nouveau.pstate=1
05:41Tom^: and then? set it to 0d or 0f ?
05:41Tom^: or you want the vbios after
05:41karolherbst: first try 0a
05:41karolherbst: I do care more about the core clock
05:41karolherbst: it should change while going to 0a
05:42karolherbst: Tom^: do you know why we wanted to check the 780 ti at all? :D
05:42Tom^: not the slightest.
05:43karolherbst: Tom^: the phoroix guy did some benchmark on the 780 ti with recent nouveau, but his core clock doesn't change at all, so we tried to find out if that's gk110 specifc or just his card
05:43karolherbst: maybe all gk110 cards are messy
05:44pmoreau: Tom^: The second link worked better (though I had some ads :-D)
05:44pmoreau: karolherbst: Pushed the VBIOS to the repo
05:45karolherbst: first nvf1 vbios
05:45ata2001: karolherbst: I have this USE flag(Gentoo) enabled, do i need to disable it? bindist: Disable patent-encumbered ARB_texture_float, EXT_texture_shared_exponent, and EXT_packed_float extensions.
05:45karolherbst: pmoreau: by the way: I was able to use those vbios files from the website
05:45karolherbst: ata2001: disable bindist
05:45karolherbst: for everything
05:45imirkin: ata2001: yes, you have to disable it if you want those extensions, and GL 4.1 on your GPU.
05:45karolherbst: except you give the package to others
05:45pmoreau: karolherbst: Which website?
05:46karolherbst: pmoreau: https://www.techpowerup.com/vgabios/index.php
05:46karolherbst: it's quite easy, they just have a stupid header in the first 0x550 bits or something
05:46karolherbst: after you remove them, you are good to go
05:47ata2001: karolherbst: Thank you! Free softwares have very helpful community.
05:47karolherbst: pmoreau: if you compare their vbios files with one of the from the repo you see it
05:47Tom^: ok there we go right now booted on 4.3.0-rc5-lts+ and pstate set to 0a
05:47karolherbst: Tom^: check in pstate if the core clock is right
05:48pmoreau: I could try to play with the Titan X VBIOS to get it correctly parsed by NVBIOS, but… that's way to far away on my todo list.
05:48Tom^: "0a: core 324-692 MHz memory 1620 MHz AC DC *"
05:48karolherbst: Tom^: last line
05:48Tom^: core is 691 MHz
05:49karolherbst: last line is the current stuff
05:49karolherbst: mhh looks good
05:49karolherbst: now you can try 0d
05:49karolherbst: it may hang your machine though :D
05:49Tom^: clk: failed to raise voltage: -22 and clk: error setting pstate 2: -22
05:50karolherbst: but memory is okay?
05:50Tom^: core still the same but memory at 6999 MHz
05:50karolherbst: the memory clock
05:50karolherbst: looks good then
05:50karolherbst: I mean, yeah well, good enough
05:50karolherbst: will check it
05:50imirkin: karolherbst: do you know why it fails to raise voltage?
05:51karolherbst: imirkin: yes
05:51karolherbst: imirkin: the voltage map entry wants 1225000uv
05:51karolherbst: but: -- Mode GPIO, Base voltage 825000 µV, voltage step -12500 µV, acceptable range [825000, 1212500] µV --
05:51imirkin: sad :(
05:52karolherbst: Tom^: do you want to clock to 0f
05:52karolherbst: and run vblank_mode=1 glxgears
05:53Tom^: if i want to? hell yes.
05:53karolherbst: pmoreau: is glxspheres on the livecd
05:53pmoreau: karolherbst: I doubt that
05:54pmoreau: I will add it and start generating a new one
05:54karolherbst: Tom^: everything below 20k fps is disappointing :D
05:54pmoreau: karolherbst: Anything else that could be useful to add?
05:54Tom^: hm Error: couldn't get an RGB, Double-buffered visual
05:55karolherbst: Tom^: then plain glxinfo
05:55karolherbst: pmoreau: mhhh, benchmarks, but no big ones
05:55karolherbst: pmoreau: maybe gputest?
05:55Tom^: Error: couldn't find RGB GLX visual or fbconfig
05:55karolherbst: it needs around 32MB
05:56kubast2: http://askubuntu.com/questions/475972/error-couldnt-find-rgb-glx-visual-or-fbconfig-ubuntu-12-04 ubuntu live cd?
05:56karolherbst: mhh LIBGL_DEBUG=verbose glxinfo
05:56Tom^: haha no this is pmoreau livecd
05:57Tom^: startx launched openbox and it has firefox, xterm etc :p
05:57Tom^: karolherbst: same thing
05:57karolherbst: Tom^: did LIBGL_DEBUG=verbose print anything usefull?
05:57karolherbst: it should print more though
05:57Tom^: nop error with visual fbconfig :p
05:58pmoreau: Tom^: Hum… I'll need to investigate that. :-/
06:01pmoreau: Tom^: Could you upload the Xorg.log somewhere please?
06:01imirkin: Tom^: pastebin your xorg log?
06:01Tom^: was just skimming it through :p
06:05Tom^: libnettle.so.4 is missing it seems
06:05pmoreau: AIGLX error: dlopen of /usr/lib/xorg/modules/dri/nouveau_dri.so failed (libnettle.so.4: cannot open shared object file: No such file or directory)
06:05imirkin: bad pmoreau
06:05imirkin: pmoreau: i'd also drop xf86-video-vesa into your distro... just in case :)
06:06imirkin: nice to have that hanging around when debugging graphics things
06:06pmoreau: Why is it looking for libnettle.so.4 and not for libnettle.so.6?!
06:07imirkin: because you used arch
06:07Tom^: did you compile something towards the old one? before libnettle got upped to .6 ?
06:07pmoreau: imirkin: And? :p It correctly uses libnettle.so.6 on my laptop running Arch
06:08imirkin: i bet you're not cross-compiling
06:08imirkin: and so it's building against whatever's on the build system
06:08imirkin: rather than against whatever should be in the target environment
06:08pmoreau: Could be there has been some packages which failed to compile without notifying me…
06:09Tom^: or did you compile xf86-video-nouvau before updating libnettle ?
06:09pmoreau: imirkin: The system also has libnettle.so.6 since it also uses Arch and is up-to-date
06:11Tom^: pmoreau: symlinking libnettle makes X complain about missing libLLVM-3.6.so too
06:11Tom^: your distro is giving me flashbacks of dll hell.
06:12pmoreau: It should be using LLVM 3.7
06:19Tom^: pmoreau: if i were to assume your xf86-video-nouveau got built/packaged before you upped libnettle and libllvm
06:20pmoreau: Tom^: That might be a correct assumption, as currently it only rebuilds packages which got new commits…
06:20karolherbst: Tom^: on my system only curl, gnutls and libarchive needs nettle
06:21pmoreau: And given that xf86-video-nouveau's activity is quite low, that might be what happened
06:21karolherbst: ehhm /usr/lib/xorg/modules/dri/nouveau_dri.so is mesa
06:21karolherbst: not the ddx
06:25pmoreau: Got to get a lunch before it's dinner time
06:26pmoreau: I started a recompilation of all git packages, but it stucked on libdrm tests…
06:26imirkin: Tom^: thanks for testing :)
06:26Tom^: happy to help :p
06:27pmoreau: Tom^: You increased the pool of testers for that iso by almost an order of magnitude!
06:51karolherbst: imirkin: mhh, when nouveau was loaded before X starts, it is less messy to remove the module later when something happens :/
06:51karolherbst: I think the X server does something differently, when the module gets loaded later
09:53karolherbst: fun times: https://gist.github.com/karolherbst/c1f4bcd9a081dcf93ca1
09:54karolherbst: gpu is off, but in use :/
09:55karolherbst: and then this: pci_pm_runtime_suspend(): nouveau_pmops_runtime_suspend+0x0/0xd0 [nouveau] returns -16
09:59karolherbst: I think I know what happens
09:59karolherbst: userspace already closed all fds, but the kernel module is still waiting for the gpu to unmess itself (cause of fifo errors or whatever)
10:00karolherbst: runpm has a use count of 0, because there is nothing using the gpu
10:00karolherbst: now the gpu is turned off and nouveau loops somewhere waiting for the gpu
10:45kisak: hi, I happened to notice the 840M is double listed on the decoder ring http://nouveau.freedesktop.org/wiki/CodeNames/ , is that accurate?
10:46kisak: NV117 and NV 118
10:46glennk: marketing names can map to several different chips
10:47kisak: -_- that's not nice
10:48kisak: in any case, thanks for the factoid
13:11pmoreau: Tom^: It had some fails on building Mesa due to not properly detecting LLVM, and some fails on building the kernel due to the dependency cycles between lnet and libcfs.
13:11pmoreau: Tom^: First issue has been fixed (and I enabled OpenCL support in Mesa while I was at it), and the second one is being fixed.
13:12pmoreau: So, hopefully the new ISO (probably ready in ~1h I guess) should work.
13:12Tom^: il test it when its ready for prime time
13:12Tom^: see if i get those 20k fps in glxgears ;)
13:12pmoreau: Eh eh eh !
13:13pmoreau: And it should have glxspheres as well now
13:13pmoreau: I'll test it before pinging you (if I haven't gone to sleep in the mean time :-D)
13:15xae: hi, just wondering, how is nouveau with nvidia gtx 850m (maxwell)? i've read that maxwell isn't very well supported at all yet with nouveau due to nvidia being asshats
13:15imirkin: xae: which maxwell is this... GM108?
13:16imirkin: xae: if so, it should be moderately supported with a simple kernel patch. but i'm waiting for GM20x to become usable before spending any serious time fixing the 3d driver for maxwell issues.
13:17xae: gm10* so first gen maxwell as far as im aware
13:17xae: The GM10x GPUs are also used in the GeForce 800M series and the Quadro Kxxx series.
13:17xae: according to wikipedia ^
13:18imirkin: yeah, unfortunately nvidia likes to mix it up
13:18xae: anyway i can check specifically which it is?
13:18imirkin: lspci -nn -d 10de:
13:21xae: imirkin: GM107M
13:21imirkin: ok, so that should be supported out of the box
13:21imirkin: on kernel 4.1+
13:21xae: :D good news
13:21imirkin: however like i said, accel def has some issues
13:21imirkin: also i was lazy and didn't finish tess on it, so ... no tess.
13:21xae: this is my first time having used nvidia in all my years of linux and it's proving somewhat.... irritating
13:22imirkin: also no reclocking, so it'll be slower than the intel gpu you have inside
13:22imirkin: [not to mention buggier]
13:22xae: what's the consensus with the nouveau prime vs bumblebee?
13:22imirkin: you can't mix bumblebee and nouveau unless you *really* know what you're doing
13:22imirkin: nouveau will auto-suspend the gpu though
13:23imirkin: (which is why you can't mix it with bumblebee... don't want them fighting)
13:23imirkin: it's possible though... karolherbst does it afaik. you can ask him the specifics.
13:23xae: i'll do that and have a play around with it later, going afk soon
13:52dcomp: can bumblebee do prime offload?
13:59imirkin: iirc bumblebee has some crazy second X server thing... prime is just a plain thing that just works. you don't use "bumblebee" to get it... in fact, removing bumblebee is the best course of action if you're looking to use open drivers.
14:07Tom^: isnt bumblebee just a glorified script that launches X offscreen on the nvidia gpu and then uses prime to pipe it back ?
14:11karolherbst: imirkin: what do I do :O
14:12imirkin: Tom^: not prime... its own thing. also it has a kernel module to facilitate turning gpu on and off in laptops.
14:12imirkin: karolherbst: bumblebee + nouveau
14:12karolherbst: ohh right
14:13karolherbst: imirkin: the only thing I noticed is, that you can turn on the gpu through bbswitch while nouveau turned it off
14:13karolherbst: this messes things up big time
14:13karolherbst: but other than that
14:13karolherbst: no problem
14:13karolherbst: I think bumblebee actually removes the nouveau module too
14:14karolherbst: but nvidia can't handly it
14:14karolherbst: xae: basically you can have bumblebeed running and bsswitch loaded while nouveau is loaded
14:15karolherbst: but you shouldn't run anything through bumblebee as long as the gpu wasn't turned off after nouveau was unloaded
14:15karolherbst: if I want to run something on the nvdia driver I do this: unload nouveau, echo OFF > bbswtich, optirun something
14:16Tom^: imirkin: right thought of primus.
14:17karolherbst: imirkin: also I get this error when the card is turned of the second time through bbswitch: nouveau 0000:01:00.0: unknown chipset (ffffffff)
14:17karolherbst: so nouveau won't load at all when the gpu is off
14:17imirkin: not entirely sure what primus is... just a wrapper that sets DRI_PRIME=1?
14:17karolherbst: works the first time though
14:17karolherbst: imirkin: primusrun?
14:18karolherbst: primusrun is in-application texture copies from one glx context (nvidia X server) to another glx context (intel X server)
14:19karolherbst: bascially it implements the libGl.so ABI and provides the entire symbols and intercepts every gl(x) call
14:19pmoreau: Damn, the ISO jumped to 930M… :-( I really need to investigate that.
14:21karolherbst: imirkin: like on every glxSwapBuffers call the nvidia X server window content is read and inserted into a intel gl context via a texture, which get's displayed
14:22Tom^: pmoreau: is that a bad thing? :p
14:22karolherbst: pm -Os :p
14:23pmoreau: Tom^: Yeah! It's way to heavy! The first ISO created were at least 700M
14:23pmoreau: Maybe even more around 500M
14:45karolherbst: imirkin: I am getting a bit paranoid: what if in other situations nouveau also doesn't get some IRQs and that's why nouveau _thinks_ the gpu is messed but, but it's really not?
15:07pmoreau: Tom^: The latest ISO is working, if you want to give it another try. :-)
15:19Tom^: pmoreau: sure works
15:21karolherbst: Tom^: nice :)
15:21karolherbst: now 0f and vblank_mode=1 glxgears :D
15:21karolherbst: pmoreau: did you add glxspheres too?
15:21imirkin: his cstate doesn't change right?
15:21pmoreau: karolherbst: I did :-)
15:21karolherbst: imirkin: it did
15:22karolherbst: imirkin: not for the highest one
15:22imirkin: i thought the voltage table was insufficient
15:22karolherbst: imirkin: but that's because request voltage >= highest voltage
15:22karolherbst: not >=
15:22imirkin: perhaps we should just switch to a cstate with a voltage table entry?
15:22karolherbst: imirkin: dunno
15:23Tom^: karolherbst: http://i.imgur.com/jjPVO10.png
15:23imirkin: the api doesn't really facilitate that
15:23Tom^: karolherbst: that is with vblank_mode=0 :p
15:23karolherbst: Tom^: meh, as fast as mine
15:23karolherbst: Tom^: cat pstate
15:23karolherbst: it should still ahve the 07 core clock, right?
15:24Tom^: well i cat'ed 0a first to get 691 :p
15:24Tom^: so according to the pstate output i doubled the 07 core clock
15:24karolherbst: imirkin: https://github.com/karolherbst/nouveau/commit/4fbc9434ba85e2e01ef8bcfd0cf8764f2967a881
15:24karolherbst: Tom^: ohh okay
15:25imirkin: karolherbst: yeah i remember those patches
15:26karolherbst: okay, I will go to bed for now. Tom^ we can take one fo my branches tomorow and manucally select a core clock
15:26karolherbst: pmoreau: is git and stuff on the live cd? :p
15:26Tom^: i have pacman at my hand so i can just get those np
15:27pmoreau: karolherbst: I think Git should be installed
15:27pmoreau: Yep, it is
17:52orbea: what would I need to get at least opengl 3.1 using nouveau and a GeForce GTX 780 Ti? Im at OpenGl 3.0 and Mesa 11.0.5 now.
17:54sarnex: orbea: are you looking at the core profile?
17:54orbea: Uhh, no? Could you elaborate?
17:55sarnex: as far as i know the compatibility context is generally seen as a mistake and can't have new features added
17:55sarnex: someone who knows more feel free to jump in
17:55sarnex: orbea: can you pastebin glxinfo
17:57sarnex: orbea: did you remove anything from the output?
17:57orbea: sorry, didn't paste right
18:00orbea: better http://dpaste.com/3K7W2FP
18:08sarnex: orbea: OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.0.5
18:08sarnex: if a game is saying you have 3.0 then it's using the compat profile and i dont think there are any changes to support more extensions with that profile
18:10orbea: OpenGL version string: 3.0 Mesa 11.0.5
18:12orbea: annoying cause my older cards had a compat profile of 3.3...
18:13koz_: I'm trying to build nouveau from the branch karol gave me, but I get this error: http://paste.rel4tion.org/112
18:15sarnex: orbea: are you sure? mine is 3.0 on radeonsi. 4.1 is new to nouveau so maybe that was the core context before it jumped to 4.1
18:16orbea: sarnex: maybe im misremembering
18:16orbea: its been a while
18:24koz_: imirkin: I'm trying to build nouveau from the branch karol gave me, but I get this error: http://paste.rel4tion.org/112
18:24koz_: Did I miss something?
18:36Tom^: sarnex: you might just need to build mesa from git.
18:36sarnex: Tom^: i use mesa git on gentoo
18:36Tom^: because i for sure remember it reporting higher then 3.0 on my 780ti
18:37sarnex: really? the compatibility profile?
18:37imirkin: you won't get higher than 3.0 out of mesa for compat profiles
18:37Tom^: are you sure?
18:37Tom^: i recall i did before mesa 11 was out when i compiled it from git. hm
18:37sarnex: that likely the core profile
18:43Tom^: yeh perhaps
18:46koz_: I'm trying to build nouveau from source, but I get this error: http://paste.rel4tion.org/112
18:46koz_: Could anyone please give me a clue as to what on earth I'm missing?
19:29imirkin: koz_: just comment it out
20:43koz_: I'm building nouveau from source (this branch: https://github.com/karolherbst/nouveau/tree/koz_) against the 4.3 kernel, and I get this error: http://paste.rel4tion.org/114 .
20:45imirkin: koz_: revert the commit that says "drm-next bla bla bla"
20:46koz_: imirkin: I only cloned --depth 1.
20:46koz_: So do I need to do the whole clone and then backtrack a commit?
20:46imirkin: why would you do that?
20:47koz_: At karol's suggestion.
20:47koz_: You were here when he made it IIRC.
20:47imirkin: ah. well, i've never actually checked anything out with --depth 1, so i dunno how that works
20:47imirkin: but if it's what i think it is, it's just a totally useless checkout that you can do absolutely nothing with
20:47koz_: Well, I'll reclone, revert and try again.
20:48imirkin: koz_: ftr, this is the commit you want to revert: https://github.com/karolherbst/nouveau/commit/d55c3200d876032f6149c83045eea96c05472dc9
20:48imirkin: you could grab that as a patch (stick .patch to the end of that url) and apply it in reverse (patch -R)
20:49koz_: imirkin: I'm checking the history, and I don't see any DRM-next commit.
20:50imirkin: did you not see the link above?
20:52koz_: Ah, I see
20:52koz_: OK, gonna try that now.
20:55koz_: How do I apply patches in reverse? I have the patch file in the nouveau directory, but I'm not sure how to call patch -R properly.
20:58imirkin: patch -p1 -R < foo.patch
20:58koz_: Ah, thanks.
21:05koz_: Didn't work. Still same core clock problem. :(
21:06imirkin: well hold on... are you sure that you loaded the right thing?
21:06imirkin: i assume it built :)
21:06koz_: I did this: cd drm
21:06koz_: Then make
21:06imirkin: can you provide a dmesg? i think it should be apparent
21:06koz_: Then sudo make install.
21:06imirkin: what did that do?
21:06imirkin: i can't imagine anything good =/
21:07koz_: Let me check exactly.
21:07imirkin: anyways... the idea is that running make builds a new nouveau.ko module
21:07imirkin: you can then either load it yourself instead of the one that came with your kernel, or replace your system one with it
21:07koz_: I assumed sudo make install did the latter.
21:07koz_: I can show you the messages it gave me.
21:07imirkin: pastebin dmesg
21:08imirkin: actually.... that might not make it apparent
21:08koz_: Well, do you want it anyway?
21:09imirkin: sure :)
21:09koz_: How would I normally replace my system nouveau with this one?
21:10imirkin: locate the existing nouveau.ko and replace it with the new one (in drm/nouveau/nouveau.ko)
21:10imirkin: if your modules are loaded from a initrd, you need to also update your initrd
21:10imirkin: i know little of such things though... i like to keep it simple
21:11koz_: imirkin: dmesg: http://paste.rel4tion.org/116
21:11koz_: Near as I can tell, sudo make install did exactly this.
21:12imirkin: Initialized nouveau 1.3.0 -- hmmm... didn't we bump it up to 1.3.1?
21:13koz_: Where in the source would I find this?
21:14imirkin: trying to remember ;)
21:14koz_: No rush. :)
21:16imirkin: can't find it... i'm tired
21:16imirkin: well, you need to make sure that the actual built module is loaded. you need to be able to do something like that ;)
21:16imirkin: good luck
21:17koz_: Well, the install recipe in the Makefile does this: $(MAKE) -C $(LINUXDIR) $(KBUILD_OPTS) modules_install
21:17koz_: That, as far as I know, is exactly the whole 'replace kernel module' thing.
21:29koz_: Nope, it's definitely that one. I checked.
21:31imirkin: ok cool
21:31imirkin: and the module gets loaded from your fs, not an initrd?
21:32imirkin: ok cool
21:35koz_: imirkin: OK, this is odd - you said the version was 1.3? The package for my distro looks like this: xf86-video-nouveau-1.0.11-3
21:35koz_: Is it just me or is this *really* behind?
21:35imirkin: that's the DDX
21:35imirkin: i was talking about the version printed in the kernel
21:36imirkin: which isn't connected to anything at all, really
21:36imirkin: aha found it, actually. yeah 1.3.0 is the latest... i thought we had bumped it since then but i guess not.
21:36imirkin: it's used by userspace to know what abi is available
21:37koz_: OK, so I'm not insane. :P
21:37imirkin: DDX = device-dependent X driver
21:38koz_: So should I assume that my reclocking problem lies with something else?
21:38imirkin: dunno, check with karol
21:39koz_: imirkin: Will do. Thanks for all your help!
21:39koz_: Do we have a messaging bot or something here?
21:40imirkin: not sure what that is
21:40imirkin: so i guess "no"
21:41imirkin: this channel is logged though
21:41imirkin: and there's this cool new thing called "email" -- check it out :)
21:41koz_: Fair enough.
21:42koz_: Alrighty, I'll contact karol and ask.
23:45jdb: Hello everyone. I'm checking out the feature matrix for Nouveau and had a quick question. It says that SLI is currently a Todo item, but does Nouveau support multi-card setups that aren't in SLI? For example, if I have two identical NV124 cards, with one and two DVI connections respectively, is it possible for me to run that as one X screen, or would I need to seat all the connections to just one of the cards
23:46jdb: (Oh that line-broke automatically at a bad place. I didn't mean the passive-aggressive post-question-mark, I swear).
23:57jdb: Hm I should clarify, I meant more "Should I expect that to work out of the box, or will I have to go down the Zaphod/Xinerama path?"