14:29Manoa: hi fellas, a small question, if I have SLI set up on GK110B is there any risk that if I load linux with nouveau there is any damage to the hardware ?
14:32gnarface: i think it just won't work
14:32gnarface: but that's a really smart question you should stick around and wait for a real answer to
14:36Manoa: ok thank :)
14:54karolherbst: Manoa: I doubt you'd be able to damage the hardware
14:55karolherbst: the SLI interconnect has to be configured/used in the driver, and we simply don't
14:55karolherbst: SLI doesn't make it magically one GPU, those are still two
14:55karolherbst: and you have to talk with both of them
14:55karolherbst: and dsitribute work inside the driver, etc...
14:56Manoa: thank :)
14:56Manoa: I wanne test wine 4 see how it doing
14:57Manoa: mybe they fixed some things and some games working good this time
16:25tavvva: Hello guys.
16:25tavvva: May I ask for help with NV44 and slow 3D ?
16:25Manoa: yhe sure whay not :)
16:27tavvva: Manoa: thx. I just installed Linux Mint (=Ubuntu) on a HW witg Geforce 7100 GS and trying openscad and glxgears. Both is very slow ... ~5 fps
16:28Manoa: did you checked glxinfo ?
16:28tavvva: and don't know what to check / change
16:28Manoa: open console and type glxinfo, look at the top and see if you can find a line that says direct rendering
16:29tavvva: not yet ... the output is quite long and don't know what to search for
16:29ajax: glxinfo | grep renderer:
16:29ajax: these days glxinfo will almost always say direct rendering is enabled
16:30ajax: because "direct" really means "running in the X client's address space", and technically llvmpipe _does_ run on the client side
16:30tavvva: direct rendering: Yes
16:32Manoa: type what ajax says :)
16:32tavvva: $ glxinfo | grep renderer
16:32tavvva: GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
16:32tavvva: GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method,
16:32tavvva: Extended renderer info (GLX_MESA_query_renderer):
16:32tavvva: OpenGL renderer string: NV44
16:32tavvva: there was nothing with colon
16:33ajax: my bad
16:33ajax: but apparently you do have nouveau enabled, so... not sure why it's that slow for you
16:34Manoa: NV44 that's fixed pipeline no ?
16:35ajax: no, nv4x have shaders
16:36Manoa: let's take a look at your Xorg log: open /var/log/Xorg.0.log and paste it somewhere like gist.github.com let's take a look at it
16:41Manoa: I see nothing wrong :x
16:41Manoa: you guys see anything wrong in the x log ?
16:44Manoa: has anything been done to the system lately ? an update ? a new software ?
16:45tavvva: nope .... it's a clean install
16:45tavvva: the glxgears FPS is dependent on the window size
16:46tavvva: when the window is small, then i get over 30 FPS
16:46tavvva: that looks like there's no acceleration at all
16:47tavvva: I guess there shouldn't be so huge difference if everything runs well
16:47Manoa: did you tried using the modesetting driver instead of nouveau DDX ?
16:47tavvva: I didn't
16:48tavvva: I haven't
16:48Manoa: wanne try it ? I advice to be carful it does have some risk ... I think
16:48Manoa: it can freeze the computer
16:49tavvva: well ... I'm not sure how to do it .... any howto?
16:49Manoa: le'ts check if you have it first
16:50Manoa: ok, first make a backup of your /etc/X11/xorg.conf, make a copy of it somewhere so you could restore it later from a console
16:51Manoa: cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup should work in a console
16:51tavvva: don't have xorg.conf .... seems there's an autodetection
16:52tavvva: should I generate one with Xorg -configure ?
16:53Manoa: I wouldn't trust that, you could give it a shot but it might just use the same nouveau driver
16:53tavvva: depends whether we want to edit the file or create new from scratch
16:54Manoa: it's no problem to create the file, you can just remove it or back ip up later
16:54tavvva: if the latter, then we can skip it I guess
16:54towo`: you don't need a xorg.conf file
16:54tavvva: ok ... let's skip the backup then :]
16:54towo`: you only need to uninstall the nouveau-ddx
16:55Manoa: uninstall ? what if this dosen't work ?
16:55towo`: then x will use mnodesetting by default
16:55towo`: Manoa, what then? reinstalling it and all is god (or bad) as before
16:56Manoa: debian .... how it's uninstall let see
16:57towo`: apt ourge xserver-xorg-video-nouveau
16:57towo`: apt purge xserver-xorg-video-nouveau
16:58Manoa: ok give it a shot let see what hapen :)
16:58Manoa: start the x server again
16:58tavvva: ok ... c.u. in a couple of seconds .... hopefully :D
17:03tavvva: still slow :/
17:05tavvva: anything else to try?
17:05Manoa: any chance that if it's not reclocking it could be 5 fps ?
17:05Manoa: I would take a look at your performance states
17:07Manoa: try this in the console: cat /sys/kernel/debug/dri/0/pstate
17:07tavvva: 20: core 350 MHz shader 350 MHz memory 666 MHz
17:07tavvva: AC: core 200 MHz shader 0 MHz memory 401 MHz
17:08Manoa: nothing with asterisk on it ?
17:08tavvva: just these two lines
17:09Manoa: it looks like you have broken performance states
17:09tavvva: I'm using the modesetting driver now
17:09Manoa: which is not surprising because your card is listed as STALLED
17:09tavvva: should I install it again?
17:09Manoa: up to you
17:10Manoa: being as it is I don't know if the performance states problem has something to do with the slow performance :x
17:10tavvva: me neither :D
17:11tavvva: and with this kernel and mint version it isn't possible to install the closed source nvidia drivers anymore ....
17:11Manoa: regardless I recommend to wait a developer to tell you if anything should be done about your performance states
17:11Manoa: it's possible they are responsible for the problem
17:11tavvva: ok ...... who to ask?
17:11Manoa: just wait they will come around
17:12Manoa: for now I see what else I can think about
17:12tavvva: ok, thanks for your time
17:12tavvva: gonna return the driver
17:18Manoa: no chance this card does 5 fps at 200 mhz is there guys ?
17:21tavvva: X-Files :]
18:07Manoa: do you have glamor or desktop compositing enabled ?
18:07Manoa: can you disable them ?
19:09tavvva: I'm back ... lemme look
19:12tavvva: Argh .... it seems compiz is installed in this version of Mint by default
19:54tavvva: glxgears is faster .... 19 FPS
19:54tavvva: openscad still 5FPS
19:55karolherbst: tavvva: mhh, what's the output of glxinfo?
19:55karolherbst: ohh, you already checked
19:56karolherbst: ajax: one issue with pre nv50 is, that we don't have a roper shader compiler
19:56karolherbst: esentially just an assembler
19:57karolherbst: imirkin started to look into nir for that, but I doubt he got to anything
19:57karolherbst: and I don't have such a GPU anyway
19:57karolherbst: tavvva: ever checked how fast that is with the nvidia driver?
19:58tavvva: karolherbst: had no chance yet ...
19:58karolherbst: tavvva: 304.137 should be the latest supported here
19:59tavvva: I would have to install an older distro to get the nvidia driver working
19:59karolherbst: and I would rather check the perf with that first
19:59karolherbst: we sure will be slower, but the question is by how much
19:59tavvva: it cannot be built with the 4.x kernel
19:59karolherbst: tavvva: what fps does glxgears report if started with vblank_mode=0?
19:59karolherbst: mhh, "2017.9.19" release date... meh
20:00tavvva: is the vblank_mode a shell/env variable?
20:01tavvva: 22.6 FPS
20:01tavvva: still poor
20:01karolherbst: 22.6 is way too slow
20:02karolherbst: LIBGL_ALWAYS_SOFTWARE=1 vblank_mode=0 glxgears
20:02karolherbst: just want to check something
20:02tavvva: I get two times more with 32-bit machine and much older card
20:02karolherbst: anything below 100 is poor
20:03karolherbst: tavvva: is it the GeFource 6200?
20:03karolherbst: or 6500?
20:04karolherbst: tavvva: ohh wait, you are using the modesetting driver?
20:04karolherbst: I think that's a terribly idea on those older cards
20:05karolherbst: or... I think you meant something else
20:06karolherbst: anyway, you really want to use xserver-xorg-video-nouveau on this gpu
20:14tavvva: sorry ... I have visitors here and cannot answer immediately
20:14tavvva: I'm not using the modesetting driver anymore
20:14tavvva: I just tested the driver and returned everything back again
20:15tavvva: karolherbst: It's NVIDIA Corporation NV44 [GeForce 7100 GS] (rev a1)
20:15karolherbst: tavvva: uff
20:16karolherbst: the 7100 is seriously slow
20:16tavvva: does it mean I cannot expect better results on this machine?
20:16karolherbst: depends, what GPU did you checked before or compared it to?
20:17tavvva: I compared to much older card on a 32-bit machine and the older card was 2 times faster
20:17tavvva: i can't believe it performs so badly
20:17karolherbst: well, depends on what thise card use
20:18karolherbst: older doesn't mean slower
20:18karolherbst: like 6800 will be faster by a huge factor compared to the 7100, even though it's 2 years older
20:19karolherbst: tavvva: I think there are essentially two issues: the clocks and the compiler
20:19karolherbst: tavvva: I expect that echo "20" into the pstate file did nothing?
20:19karolherbst: I don't think it's supported on that GPU by nouveau
20:19tavvva: what echo?
20:19tavvva: i probably missed a message
20:19karolherbst: echo "20" > pstate
20:20karolherbst: or rather
20:20karolherbst: echo "20" > /sys/kernel/debug/dri/0/pstate
20:20karolherbst: I doubt that works at all
20:20karolherbst: I'd expect a 70% speedup if that would work
20:20karolherbst: proper shader compiler might give a 2x to 3x speedup
20:20tavvva: with LIBGL_ALWAYS_SOFTWARE=1 it's faster :D
20:20karolherbst: yeah.. uses the CPU then
20:21tavvva: 24 FPS :D
20:21karolherbst: oh well
20:21karolherbst: that little
20:21tavvva: the cpu is some weak dualcore intel at 1.8GHz
20:21karolherbst: anyway, there is a lot of things one could do to speed it up on the nv44
20:21karolherbst: but... I don't have the hardware and nor the time to look into it.. sadly
20:22karolherbst: so somebody willing to write some code and reverse engineer some stuff would have to do it
20:22tavvva: could you please repeat the echo call ?
20:22karolherbst: echo "20" > /sys/kernel/debug/dri/0/pstate
20:22karolherbst: as root
20:24tavvva: 43.099 FPS
20:24karolherbst: uff, so that works? interesting
20:24karolherbst: mind doing a "cat /sys/kernel/debug/dri/0/pstate" again?
20:24tavvva: 20: core 350 MHz shader 350 MHz memory 666 MHz AC DC *
20:24tavvva: AC: core 351 MHz shader 0 MHz memory 666 MHz
20:25tavvva: openscad is usable .... >10FPS
20:25karolherbst: mhh, wondering what that shader thing is all about
20:26karolherbst: but yeah, nice that this works
20:26tavvva: does it make sense to try other values?
20:26karolherbst: tavvva: you can set it by default through booting with "nouvau.config=NvClkMode=0x20"
20:26karolherbst: tavvva: no
20:26karolherbst: there is just the 20: line
20:26karolherbst: nothing more
20:26karolherbst: those older cards usually didn't have any other perf states
20:26karolherbst: just the one
20:26karolherbst: and sometimes they boot with something slower
20:27karolherbst: writing a proper nir compiler backend for that GPU should be a fun project
20:27tavvva: will the card produce more heat now?
20:27karolherbst: just needs some C skills
20:27karolherbst: tavvva: maybe? but probably not much
20:27karolherbst: the voltage should be the same still
20:28karolherbst: I'd expect 10% higher temperature at most
20:28tavvva: ok ... I'll keep it this way then .... thanks a lot
20:28karolherbst: no worries
20:29tavvva: should I file a bug report against nouveau or other component?
20:29karolherbst: what would you expect to happen then?
20:29karolherbst: we don't enable that by default, because nouveau might mess up
20:30tavvva: a change of the default settings?
20:30tavvva: oh ok ....
20:30karolherbst: and we can't guarentee it works in 100% of all cases
20:30tavvva: I don't understand exactly what the purpose of the parameter is :]
20:30karolherbst: it increases the GPU clocks
20:30tavvva: ok .... so overclocking
20:30karolherbst: "overclocking" means going above the spec
20:31karolherbst: but we are still on the "normal" clocks
20:31karolherbst: it's more like something the nvidia driver does as well
20:31tavvva: does it mean nouveau is unable to guess the right value because you don't have enough info from the manufacturer?
20:32tavvva: and the closed source driver has this logic somewhere inside
20:32karolherbst: mhh, "guessing" is the wrong phrase. We have no documentation for the GPUs, so we have to reverse engineer what nvidia does
20:32karolherbst: and this can be different from GPU to GPU
20:32karolherbst: making it work for one GPU is more or less trivial, making it work for all GPUs is not
20:33tavvva: ok, understand
20:33tavvva: thanks a lot guys