01:39 airlied: skeggsb: same problem with 4.4-rc1 and vpn for me
01:44 airlied: skeggsb: there was a thread on lkml about it already
01:45 airlied: so hopefully somone figures it out
01:48 airlied: oh actually that is ancient email, ignore me
01:50 airlied: skeggsb: http://patchwork.ozlabs.org/patch/544307/ works
02:46 hakzsam: xexaxo, good catch! :)
05:16 xexaxo: hakzsam: yw
05:16 xexaxo: hakzsam: can you take a look at patchwork and let me know which patches we can "keep"
05:16 xexaxo: http://patchwork.freedesktop.org/project/mesa/patches/?submitter=11779&state=&q=&archive=&delegate=
05:17 xexaxo: ... I can change the rest of superseded/other
05:17 hakzsam: I'll do
05:58 xexaxo: s/rest of/rest to/
05:58 Agiofws: hello
06:02 Agiofws: nouveau segfaults with make human and does not work well when displaying the screen in bhvhacker BUT both work well with vesa drivers is there a way to install latest nouveau driver somehow in debian 8 ?
06:03 karolherbst: Agiofws: what kernel are you running?
06:03 Agiofws: the one that debian gave me let me check
06:03 Agiofws: Linux P4 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt17-1 (2015-09-26) i686 GNU/Linux
06:03 karolherbst: 3.16 :O
06:03 karolherbst: okay...
06:03 karolherbst: what gpu does lspci say you have?
06:04 karolherbst: Agiofws: if you want to test latest nouveau, you already need 4.3
06:04 Agiofws: a 5700LE geforce nvidia card which is not supported by debian 8 anymore with its legasy drives
06:04 karolherbst: I have some branches that are still 3.19 compatible though
06:04 Agiofws: what should i do ?
06:05 karolherbst: Agiofws: you mean thos FX 5xxx thing?
06:05 Agiofws: it is supported by debian 7 but i don't want to downgrade
06:05 karolherbst: by the nvidia driver you mean
06:05 Agiofws: yes thats what i mean
06:05 karolherbst: yeah, these cards are really old and nvidia drops support for older cards in newer drivers
06:05 Agiofws: legasy 173xx something debian package for wheezy
06:06 Agiofws: i even tried nvidias binary driver but it would not install
06:06 karolherbst: I currently don't know who did something the last time for those cards, there was some activity, but I don't know
06:06 karolherbst: RSpliet: do you know anything?
06:06 karolherbst: Agiofws: yeah, they fail because of kernel too new
06:07 karolherbst: Agiofws: what kernel package are you using?+#
06:07 xexaxo: karolherbst: one of the redhat guys fixed a few bugs in the mesa nv30 driver.
06:07 Agiofws: can i somehow upgrade or downgrade nouveau to get a working version for all apps not some only
06:07 xexaxo: iirc ilia also tackled a few.
06:07 karolherbst: Agiofws: ahh right, where do you get the segfault? in mesa or in the kernel?
06:07 Agiofws: kernel package?
06:07 Agiofws: in nouveau
06:07 karolherbst: Agiofws: I don't know how the package is called in debian for the kernel
06:07 Agiofws: Loading main GUI
06:07 Agiofws: Loading plugins
06:07 Agiofws: /usr/bin/makehuman: line 4: 2009 Segmentation fault python makehuman.
06:08 Agiofws: Linux P4 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt17-1 (2015-09-26) i686 GNU/Linux
06:08 karolherbst: Agiofws: ohh okay, so X is running with nouveau and it works basically
06:08 karolherbst: but sometimes you get segfaults for some applications?
06:08 Agiofws: it does but not fro the above programs
06:08 Agiofws: when vesa does
06:08 Agiofws: not sometimes on the above apps always
06:08 karolherbst: then X log, dmesg pls
06:08 Agiofws: well app.
06:08 Agiofws: ok
06:08 karolherbst: and you could do something
06:08 karolherbst: mhhh
06:09 karolherbst: I don't know where libSegfault.so is in debian
06:09 Agiofws: dmesg | pastebinit
06:09 Agiofws: http://paste.debian.net/333016/
06:09 karolherbst: Agiofws: does this file exist? /lib/i386-linux-gnu/libSegFault.so
06:10 Agiofws: no such file exists
06:11 RSpliet: karolherbst: that was Hans de Goede
06:11 karolherbst: Agiofws: and /lib32/libSegFault.so ?
06:11 karolherbst: RSpliet: ahh k
06:11 Agiofws: karolherbst, pastebinit Xorg.0.log
06:11 Agiofws: http://paste.debian.net/333017/
06:11 karolherbst: thanks
06:11 RSpliet: generally dislikes IRC
06:11 karolherbst: yeah, no worries
06:13 xexaxo: RSpliet: is that you or Hans that isn't a fan of IRC :-P
06:13 Agiofws: locate libSegFault | pastebinit
06:13 Agiofws: http://paste.debian.net/333018/ karolherbst ?
06:13 RSpliet: xexaxo: Hans
06:13 karolherbst: Agiofws: yeah well: /lib/i386-linux-gnu/libSegFault.so
06:13 karolherbst: I asked for that :p
06:14 karolherbst: okay
06:14 RSpliet: I just oppose to humour
06:14 karolherbst: LD_PRELOAD=/lib/i386-linux-gnu/libSegFault.so some command
06:14 karolherbst: Agiofws: that will give you a stacktrace on crash
06:14 Agiofws: what version of nouveau am i using and can i replace it for something else
06:14 karolherbst: there won't be much debug information by default, so you may want to install mesa debug package
06:14 Agiofws: ok
06:14 xexaxo: karolherbst, Agiofws: using old(ish) mesa ?
06:15 karolherbst: xexaxo:I guess so
06:16 Agiofws: karolherbst, http://codepad.org/UihDdIvB
06:17 xexaxo: karolherbst: you're into into the debian wagon are you ?
06:17 Agiofws: it works with the vesa driver but its quit slow
06:17 karolherbst: Agiofws: install libgl1-mesa-dri-dbg and try again pls
06:17 karolherbst: xexaxo: ohhh I used to use debian/ubuntu on servers
06:18 karolherbst: theser were some vservers mainly and too slow for gentoo
06:18 karolherbst: sooo
06:18 karolherbst: :D
06:18 xexaxo: shame... I'm looking for victims^Wvolunteers for a mesa ala LTS thingy :P
06:18 karolherbst: :D
06:19 karolherbst: Agiofws: after installing it, pls run something again the same way
06:19 karolherbst: the stack should look a bit nicer then
06:19 Agiofws: ok
06:19 Agiofws: geforce 5 series is from 2003, probably nobody cares enough to improve nouveau drivers for it
06:19 karolherbst: mhhh
06:19 karolherbst: I think there will be somebody
06:19 karolherbst: a segfault is usually easy to fix
06:19 Agiofws: image link: https://i.imgur.com/VhxPw4S.png
06:21 RSpliet: Agiofws: we're looking for volunteers :-P
06:21 RSpliet: in general, simple bugs are picked up, but focus is on newer GPUs indeed
06:21 RSpliet: given the small size of the team
06:21 RSpliet: it's all we can do
06:22 xexaxo: although this could already be fixed... (with backtrace providing info to jog peoples memory)
06:24 RSpliet: "Mesa 10.3.2"
06:24 RSpliet: yes, well, maybe just try newer software?
06:24 Agiofws: karolherbst, RSpliet http://codepad.org/NkuFwk7T
06:24 xexaxo:doesn't feel to optimistic and looks at the calendar
06:25 Agiofws: what version of nouveau am i using and is there a better version older or newer?
06:25 RSpliet: agiofws: there's no single nouveau version number
06:25 Agiofws: well its through debians 8 packaging system
06:25 xexaxo: 10.3.2 - 24 Oct 2014. Five more point releases since then.
06:25 karolherbst: stupid libsegfault doesn't pick up debug files? :/
06:26 xexaxo: latest fixes from ilia/hans made it only up-to 10.5 iirc
06:26 karolherbst: Agiofws: then run in gdb
06:26 Agiofws: image link: https://i.imgur.com/ePndshl.png
06:26 Agiofws: ^^ thats the version i am using
06:26 Agiofws: karolherbst, can you guide me through gdm ?
06:26 karolherbst: gdb
06:26 karolherbst: gdb makehuman
06:27 karolherbst: is it a bunary or some script?
06:27 karolherbst: *binary
06:27 Agiofws: /usr/bin/makehuman": not in executable format: File format not recognized
06:27 Agiofws: i think it python \
06:27 Agiofws: its*
06:27 karolherbst: try
06:27 Agiofws: so script
06:27 karolherbst: gdb python makehuman
06:27 RSpliet: Agiofws: that's the Xserver component, look at "mesa"
06:28 karolherbst: mhhh
06:28 karolherbst: wait
06:28 karolherbst: Agiofws: gdb python /usr/bin/makehuman
06:29 Agiofws: /usr/bin/makehuman" is not a core dump: File format not recognized
06:29 karolherbst: ohh right
06:29 karolherbst: Agiofws: gdb --args python /usr/bin/makehuman
06:30 Agiofws: Reading symbols from python...(no debugging symbols found)...done.
06:30 Agiofws: (gdb)
06:30 karolherbst: start
06:30 RSpliet: Agiofws: please update libgl1-mesa-dri to version 10.6 or newer
06:30 karolherbst: RSpliet: I don'T think he can that do with his debian *cough* :D
06:30 RSpliet: you can always do that
06:30 RSpliet: there's external repo's, newer releases and compile from source
06:30 Agiofws:
06:31 karolherbst: Agiofws: ohh wait
06:31 RSpliet: I don't think anyone here is interested in chasing a bug that potentially was fixed between a year from now and today
06:31 karolherbst: please upgrade to stretch
06:31 Agiofws: how ?
06:31 Agiofws: stretch?
06:31 karolherbst: debian 9
06:32 karolherbst: orr use this external repo
06:32 karolherbst: I don't know any for debian though
06:32 karolherbst: RSpliet: you know which repo that is? I know only one for ubuntu
06:32 RSpliet: karolherbst: no idea, I'm a Fedora user
06:32 RSpliet: Agiofws: or if you want to quickly test whether your problems have already been solved, can you try to reproduce on a Fedora 23 live image? That way you don't have to mess with your running installation
06:33 karolherbst: RSpliet: you know what the repository of the _newest_ debian is shipping, which isn'T release yet?
06:33 karolherbst: 10.6
06:33 karolherbst: :D
06:33 karolherbst: sid is on 11.0 though
06:34 RSpliet: karolherbst: idk, I just google and find https://packages.debian.org/search?keywords=libgl1-mesa-dri
06:34 Agiofws: i have a slow machine downloading a live image? and running off disk on a 1.5GB machine and a pentium4 ?
06:34 Agiofws: what is mesa by the way
06:34 karolherbst: mhh
06:35 karolherbst: Agiofws: there is always xubuntu :/
06:35 karolherbst: there you can at least install the xorg-edgers ppa
06:35 karolherbst: and get newest software for your gpu
06:36 RSpliet: karolherbst: it's not the goal to switch distro's, that should be unneccessary
06:36 karolherbst: Agiofws: using nouveau on debian somehow sucks, because bugs get fixed, but usually not backported, so you are like 2+ years behind the actual state
06:36 RSpliet: Agiofws: mesa is the 3d component of nouveau, does the OpenGL acceleration bits
06:36 karolherbst: RSpliet: I know, but what do you expect, that he compiles the entire software stack on his machine?
06:36 RSpliet: that's where your program crashes in
06:37 RSpliet: if you need support getting a newer version of Mesa running on your machine, I suggest you ask the Debian people (IRC: #debian?). They might know best which packages exist and are reliable
06:38 karolherbst: RSpliet: I already checked that: 10.3 for his version, 10.6 for the next version and 11.0 inside dev
06:38 RSpliet: karolherbst: there might be mountains of custom repo's out there as well that we haven't heard of, but compiled against jessie
06:38 RSpliet: people using Steam probably know ;-)
06:39 xexaxo: I doubt they use things other than bleeding edge :P
06:39 karolherbst: right
06:39 karolherbst: steam debian wiki page :D
06:39 karolherbst: lol
06:39 karolherbst: the steam wiki page suggest insalling blob dirvers
06:40 xexaxo: surprised ?
06:40 karolherbst: yes
06:41 karolherbst: I thought they cared a bit more about free softare *cough*
06:41 xexaxo: sure they do. that's why they have the non-free repo separate :P
06:42 karolherbst: Agiofws: personally I would really suggest to you to use another distribution which doesn't use _ancient_ software. So if you don't care about using debian at all I would use something else, but if you really want to use debian, we might have to find an external repository or compile mesa and some other components from source
06:43 karolherbst: xexaxo: right
06:43 karolherbst: xexaxo: but at least on the wiki page they should also mention, that you may want to try out mesa instead of the blob stuff
06:43 RSpliet: (to clarify, in graphics drivers terms, 1 year old brings you back to the middle ages, three years there still were dinosaurs walking around... development moves rapidly)
06:44 karolherbst: xexaxo: not even intel is mentioned as if intel gpus were totally useless with steam :/
06:44 xexaxo: hmm smells like Scientology :P
06:44 karolherbst: :D
06:44 Agiofws: karolherbst, i'd compile mesa on this machine
06:45 xexaxo: karolherbst: based on the reply I've got from dri-devel... I'm not too surprised "don't think those can be updated post-release...new releases would need an ack from the security team, aiui"
06:45 xexaxo: surprised = lack of updates thus any information how to handle/use mesa supported GPUs
06:46 xexaxo: Agiofws: I'd suggest getting the latest debian build scripts, rather than trying to figure everything yourself.
06:46 Agiofws: the way to go is compiling from source?
06:47 Agiofws: where and how ?
06:47 Agiofws: Package: xserver-xorg-video-nouveau on amd64 -- squeeze: 1:0.0.15+git20100329+7858345-5; squeeze-backports: 1:0.0.16+git20110411+8378443-1~bpo60+1; wheezy: 1:1.0.1-5; jessie: 1:1.0.11-1; sid: 1:1.0.11-1+b1; stretch: 1:1.0.11-1+b1
06:48 xexaxo: *not nouveau but mesa ;-)
06:48 xexaxo: https://packages.debian.org/source/sid/mesa
06:48 RSpliet: xexaxo: that might require a libdrm rebuild as well, given the coherency work that gnurou did
06:48 karolherbst: yes
06:49 Agiofws: so a shot is to compile from source?
06:49 xexaxo: RSpliet: good point. although it should also be trivial
06:49 karolherbst: Agiofws: you have to compile libdrm and mesa
06:49 RSpliet: yep :-)
06:49 xexaxo: https://packages.debian.org/sid/libdrm-nouveau2 and https://packages.debian.org/sid/mesa-vdpau-drivers-dbg
06:50 xexaxo: either fetch the source package from the right or fetch them via git.
06:50 karolherbst: xexaxo: why the vdpau thingy? :D
06:51 Agiofws: [mesa_11.0.5.orig.tar.gz] ?
06:52 xexaxo: Agiofws: + the diff
06:52 Agiofws: both diffs?
06:53 xexaxo: might need the dsc - not too sure (by debian days were 6years ago)
06:53 Agiofws: ok downloaded
06:53 karolherbst: maybe this helps? https://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html
06:54 karolherbst: ohh obsolete :/
06:54 Agiofws: image link: https://i.imgur.com/8V7I8oU.png
06:54 Agiofws: ok extracted now ?
06:54 Agiofws: compile?
06:55 Agiofws: and why cant i install the legasy 173xx driver that is for wheezy on jessie somehow convert it ? short answer: because it doesn't work any more
06:55 karolherbst: Agiofws: you would need an older kernel
06:56 jelly: and an older xorg-server perhaps?
06:56 karolherbst: I think 173 needs 2.6.7
06:56 karolherbst: ohh wait, not
06:56 karolherbst: this is the lower bound
06:57 Agiofws: i'd have to compile against an older kernel that 3.16 ?
06:57 Agiofws: than*
06:58 karolherbst: 173xx needs < 3.13
06:58 Agiofws: would i have to compile a new kernel ?
06:58 Agiofws: also ?
06:58 karolherbst: Agiofws: not if you use mesa
06:59 Agiofws: i think i'me using it
07:01 jelly: Agiofws: backporting libdrm2 2.4.65 for debian 8 seems doable, but mesa looks to be a bigger problem
07:01 karolherbst: jelly: X libraries?
07:01 jelly: wants newer llvm than what's available in debian 8
07:02 xexaxo: boohoo llvm. we don't need that :P
07:02 Agiofws: should i start compiling or not follow the instructions in http://nouveau.freedesktop.org/wiki/InstallNouveau/ ?
07:02 jelly: if llvm is optional (I don't know) Agiofws might just remove those build options
07:03 jelly: our bot (I come from #debian) said: <judd> Backporting package libgl1-mesa-dri in sid→jessie/amd64: unsatisfiable build dependencies: Build-Depends: libdrm-dev (>= 2.4.63) [!hurd-any], llvm-3.7-dev (>= 1:3.7~+rc2) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 armhf ppc64el], libclang-3.7-dev (>= 1:3.7~+rc2) [amd64 i386 armhf], libclc-dev (>= 0.2.0+git20150813) [amd64 i386 armhf].
07:04 jelly: binary-based distros are fun!
07:05 jelly: Agiofws: I'd say, as first step, build and install libdrm*deb using the procedure from /msg dpkg simple sid backport
07:06 jelly: if you manage to do that it might be worth guiding you through building mesa, either packaged or from source
07:07 jelly: how likely is it the newer drm+mesa will support NV30 better?
07:07 Agiofws: First, check for a backport on <debian-backports>. ?
07:09 xexaxo: jelly: we have 70 patches since 10.3-branchpoint. you can call 1/3 of those as bugfixes so ... yea there are some bits in there
07:09 Agiofws: is there a url for that ?
07:10 Agiofws: jelly, deb http://httpredir.debian.org/debian/ jessie-backports main ?
07:10 Agiofws: insert that in my repos?
07:14 Agiofws: jelly, apt-get -t jessie-backports install libdrm ?
07:17 xexaxo: neither libdrm nor mesa seems to be on the online jessie-backports list :\
07:18 Agiofwss: jelly, build and install libdrm*deb ?
07:19 Agiofwss: apt-get -t jessie-backports install libdrm*deb ?
07:21 Agiofwss: Download Page for libdrm-nouveau2_2.4.65-3_i386.deb on Intel x86 machines n?
07:21 Agiofwss: can i just download that deb file?
07:26 mlankhorst: sadf/4
07:26 mlankhorst: oops
07:27 Agiofwss: http://ubuntuforums.org/showthread.php?t=1046504
07:33 jelly: Agiofwss: do "/msg dpkg simple sid backport", read the procedure and follow it carefully. No, you can't just install the .deb files from sid, that will not work.
07:33 Agiofwss: i did
07:34 Agiofwss: not sure what to do i inserted a the back port line in my repository but now what ?
07:35 jelly: Agiofwss: there is no backport in jessie-backports for you, they're unavaiable. Proceed with building.
07:38 Agiofwss: jelly, whats the package name?
07:38 Agiofwss: aptitude build-dep ?
07:38 Agiofwss: libdrm*deb ?
07:39 Agiofwss: https://packages.debian.org/unstable/libgl1-mesa-dri jelly ?
07:40 Agiofwss: jelly, karolherbst aptitude build-dep libgl1-mesa-dri ?
07:45 Agiofws: image link: https://i.imgur.com/dA4sgWC.png
07:46 Agiofws: jelly, image link: https://i.imgur.com/dA4sgWC.png karolherbst can you take a look?
07:46 Agiofws: am i building mesa?
08:01 RSpliet: Agiofws: that looks like you're building old Mesa
08:01 RSpliet: (as you could've seen from it downloading a version "10.3.2-...")
08:02 RSpliet: can't help you with the debian-specific way of building new-mesa though
08:09 Agiofws: lol
08:09 Agiofws: RSpliet, are you sure?
08:10 karolherbst: Agiofws: nobody here that I am aware of uses debian
08:10 RSpliet: Agiofws: yes, that's what it says in the lines you highlighted, right?
08:10 Agiofws: probably
08:11 Agiofws: but i followed
08:11 Agiofws: First, check for a backport on <debian-backports>. If unavailable: 1) Add a deb-src line for sid (not a deb line!); ask me about <deb-src sid> 2) enable debian-backports (see <bdo>) 3) aptitude update; aptitude install build-essential; aptitude build-dep packagename; apt-get -b source packagename; 4) install the resultant debs. To change compilation options, see <package recompile>; for versions newer than sid see <uupdate>.
08:11 hakzsam: xexaxo, done
08:12 Agiofws: jeez
08:12 Agiofws: how long is it going to take to build this?
08:15 RSpliet: too long, given how it's unlikely to help you with it. If you need help with debian builds (which I think you do), ask in #debian please
08:15 RSpliet: your problem, as harsh as it sounds, is a problem with debian rather than nouveau until you can reproduce it with a new software stack (kernel, mesa, libdrm, xf86-nouveau). As much as I'd love to help you with debian related issues with getting this stack up to date, I can't because I simply don't know debian
08:15 RSpliet: I'm sorry
08:17 Agiofws: RSpliet, would this help? http://ubuntuforums.org/showthread.php?t=1046504 ?
08:17 Agiofws: or is it too ubuntu specific?
08:18 RSpliet: it doesn't seem to be too ubuntu specific
08:19 Agiofws: isn't theer a vesa 3d accel. hack or something ?
08:19 RSpliet: but it is a guide from 2011, you might run into problems if you simply try to copy-paste the solution from there
08:20 Agiofws: hmm
08:20 Agiofws: even if i do get a latest nouveau driver on debian it might not even work right?
08:20 Agiofws: card maybe too old right ?
08:21 RSpliet: possibly, but if it fails with modern software, then we can consider this a bug
08:21 RSpliet: and you gain "bug reporting" rights ;-)
08:23 karolherbst: RSpliet: do you know if the cstates and pstates are "sorted" in nvkm_clk?
08:24 RSpliet: to the best of my knowledge, pstates are always sorted in VBIOS
08:24 karolherbst: okay, and cstates?
08:24 RSpliet: that's all I know, sorry :-P
08:24 karolherbst: k
08:24 karolherbst: I just saw a vbios where the fastest cstate was at the top
08:24 karolherbst: :/
08:24 RSpliet: oh...
08:24 karolherbst: but this vbios also had only three cstates
08:24 karolherbst: and was a kepler one
08:25 RSpliet: I think kernel doesn't make an attempt at sorting pstates/cstates itself
08:25 RSpliet: yes
08:25 RSpliet: *yet
08:25 karolherbst: okay
08:25 karolherbst: I think I will rely on the states being sorted
08:25 RSpliet: oh, but is that by any chance one cstate per pstate?
08:25 Agiofws: Weren't the nvidia-legacy-173xx-driver packages removed from Jessie because they won't build on Jessie's newer version of xorg? A package won't be dropped for no good reason. Seahorse41, a little web search will tell if you if that's the reason that the nouveau driver is your only hope. You may be able to fiddle with your DPI setting in the 1920 x 1080 resolution to get bigger buttons and fonts; I know you can do that in KDE, but
08:25 Agiofws: I don't use GNOME.
08:25 karolherbst: and then we just sort them while reading out the vbios
08:25 karolherbst: RSpliet: yes
08:25 karolherbst: allthough
08:25 karolherbst: RSpliet: there were two for 0f
08:25 karolherbst: it also got the 0a cstate
08:26 karolherbst: Agiofws: it's because of the kernel
08:26 karolherbst: I told you already
08:26 karolherbst: Xorg may be another reason, but the less bigger one
08:27 Agiofws: The 173 series nvidia legacy driver was only supported up to and including the 1.14.x version of Xorg, Jessie is using the 1.16.x version of Xorg.
08:28 Agiofws: karolherbst, can i downgrade nouveau ?
08:28 Agiofws: maybe that will work?
08:28 karolherbst: Agiofws: I will tell you this bluntly: there is _no_ easy way to get either nvidia or a new nouveau running with current debian 8
08:29 karolherbst: Agiofws: why should it?
08:29 karolherbst: Agiofws: newest nouveau => best nouveau :p
08:29 karolherbst: there might be a regression, but then you would have to bisect an issue, which may be already fixed in the newest code
08:29 Agiofws: well i assume that some version of nouveau worked well with 5700le card
08:29 RSpliet: nope, sorry, that assumption is false
08:29 Agiofws: hm..
08:30 karolherbst: it may have worked with _one_ 5700le, but there is no guranetee that _all_ 5700le cards ever worked
08:30 Agiofws: maybe downgrade X to 1.14 but can i do that in jessie?
08:31 RSpliet: ask the debian people, we don't know
08:31 karolherbst: Agiofws: don't even think about that, because you also need an older kernel
08:31 karolherbst: shortly: it would be too painfull either way
08:32 karolherbst: here is _my_ recommendation: either use debian 7 or don
08:32 karolherbst: 't use debian
08:32 karolherbst: if you want to use the propritary driver
08:32 karolherbst: if you want to use nouveau: use either debian sid or another distribution
08:33 imirkin_: s/nouveau/open-source graphics stack/
08:34 karolherbst: s/open-source graphics stack/new softare/ :p
08:34 karolherbst: *software
08:34 Agiofws: if i use debian sid will nouveau work with my card?
08:35 Agiofws: :P
08:35 imirkin_: Agiofws: no clue, but what i _can_ guarantee is that no one will look at your issue unless you're using the latest
08:35 imirkin_: Agiofws: we don't have the resources to debug old issues
08:35 Agiofws: latest what?
08:35 Agiofws: h/w or s/w
08:36 imirkin_: latest whatever it is that's dying. in your case that's mesa i gather? although i have no clue... i don't think you ever supplied the relevant info.
08:36 RSpliet: Agiofws: which is why I suggested you take a look at Fedora 23 live, which has the entire open-source stack in a nice upgraded package. It's 1,3GB and can run off a USB disk
08:36 imirkin_: latest software... i'll happily look at crashes with a Riva TNT if you can find 'em
08:37 Agiofws: RSpliet, if i try it out and it works then what would the problem be?
08:37 RSpliet: Agiofws: then the problem is the old software in Debian and you can think about how to upgrade your machine accordingly
08:38 RSpliet: judging by the time you spent trying to do that, it's more complex than downloading, copying and booting a live image
08:38 RSpliet: hence that's probably your lowest-resistance route to understanding your problem
08:39 xexaxo: hakzsam: ouch. did not mean for you to tick them one by one - sorry for the hassle.
08:39 xexaxo: for the future let me know if there's a bunch that I can mass change.
08:40 hakzsam: yep, okay
08:40 RSpliet: (and yes, with upgrade your machine I mean upgrading the software)
08:41 hakzsam: xexaxo, I'll try to update the status of my patches in the future (when it's not done automatically) :)
08:43 xexaxo: thanks !
09:33 karolherbst: mhhh
09:33 karolherbst: I got a fifo: PBDMA0: 00000002 [MEMACK_TIMEOUT] ch 2 [00bf890000 glxspheres64[4561]] subc 0 mthd 001c data 00000002
09:36 karolherbst: mupuf: I see it already coming: before I get to finish those dyn reclock stuff, I will fix all the other reclocking issues as well and be done with dynr eclocking in a year
10:27 pmoreau: SPIR-V power!!!!
11:11 pmoreau: Let's compile and test this LLVM <=> SPIR-V backend…
11:13 imirkin_: just don't try to use control flow :p
11:14 pmoreau: Eh eh eh!
11:14 pmoreau: I'll start with the samples that currently work with my code
11:14 imirkin_: but if you want to add a ton of numbers, this is the backend for you!
11:14 pmoreau: This is also the backend for lazy me
11:15 pmoreau: Cause writing the SPIR-V by hand does take some time
11:15 imirkin_: hehe
11:15 imirkin_: i can imagine
11:56 imirkin_: skeggsb: ping about nv1f/nv1a clock adjustment inconsistencies
13:26 pmoreau: imirkin_: Here is what I have for splitting 64 MAD/MUL: https://phabricator.pmoreau.org/P65
13:28 imirkin_: hmmmm... i won't even ask why it does that clone bs. i assume it's coz the other half does it.
13:28 imirkin_: you need to ensure that the multiplicands are TYPE_U32/S32
13:28 pmoreau: Otherwise I bail?
13:29 imirkin_: yea
13:29 imirkin_: or write a lot more code :)
13:29 imirkin_: bailing seems easier
13:29 pmoreau: :-D
13:29 pmoreau: Yup!
13:33 pmoreau: As for the clone, I don't know. Maybe it is needed to increment a ref counter for the source, to detect unused variables or other kind of optimisation?
13:42 pmoreau: Should I check as well that the added value is TYPE_U64/S64?
13:43 imirkin_: welllll... that's sorta implied
13:43 imirkin_: you could assert it
13:43 imirkin_: otoh, perhaps it's ok to allow 32 x 32 -> 64
13:44 imirkin_: or 32x32 + 32 -> 64
13:44 imirkin_: that seems reasonable...
13:44 imirkin_: not like that's excruciatingly difficult to implement either
13:44 imirkin_: albeit a tad annoying for S64
13:45 imirkin_: since you have to sign-extend the low 32
13:45 imirkin_: so... don't allow it for S32
13:45 pmoreau: For S64 rather
13:45 pmoreau: ?
13:46 imirkin_: well, if the addend is S32
13:46 imirkin_: then you'd have to sign-extend it for S64
13:46 imirkin_: so that's annoying
13:46 imirkin_: so don't allow the addend to be S32
13:46 imirkin_: i dobut such code would ever be generated though
13:47 pmoreau: Putting 0 for the high part of the addend wouldn't work
13:47 pmoreau: I understand
13:48 imirkin_: :)
13:49 pmoreau: I doubt OP_MUL takes three operands, right?
13:49 pmoreau: O:-)
13:49 imirkin_: highly unlikely
13:49 pmoreau: Might need to fix that in my patch
14:13 mlankhorst: /4
14:14 mlankhorst: meh
14:23 Agiofws: hello
14:29 Agiofws: does anyone in here have a 5700LE nvidia gfx card?
14:30 imirkin_: unlikely.... that's a fairly gpu generation and very specific model of it.
14:32 karolherbst: Agiofws: I thought we had already discuessed that: if you have problems with nouveau, test newest software and report back, then we can debug the issue with you
14:32 RSpliet: karolherbst: maybe he's reporting back... as tempting as it may be, don't jump to conclusions ;-)
14:32 karolherbst: yeah sorry
14:32 imirkin_: fairly old*
14:33 karolherbst: Agiofws: I don't want to annoy you with the idea of not using debian, but it would spare you a _lot_ of pain if you don't want to recompile your entire software stack. You could also just switch to debian sid, which is quite easy to do, but there might be bugs and package updates may be broken temporarily
14:34 karolherbst: Agiofws: as somebody already suggested here: you could try out a live system
14:34 karolherbst: with newest software
14:34 karolherbst: and if nouveau works there, you know that upgrading software might help
14:35 Agiofws: sid is wheezy ?
14:36 imirkin_: Agiofws: someone who seemed to know about debian suggested that the only way to get the latest mesa packages on debian as to install debian-testing or debian-unstable
14:36 imirkin_: Agiofws: alternatively pick a different distribution
14:36 imirkin_: one that's not quite so user-hostile
14:37 Agiofws: i am on jessie i think thats unstable no?
14:37 imirkin_: Agiofws: cool, what version of mesa do you have installed?
14:38 karolherbst: Agiofws: no, sid is the current dev stuff
14:38 karolherbst: bleeding edge stuff
14:38 karolherbst: newest software
14:38 karolherbst: newer then debian 9
14:38 RSpliet: jessie, ironically, is stable
14:38 karolherbst: imirkin_: he has 10.3.2
14:38 karolherbst: Agiofws: or did you upgrade anything in the meantime?
14:39 karolherbst: imirkin_: it is like that: current debian 10.3.2, next debian: 10.6.8, sid: 11.0.5
14:39 Agiofws: i tried to but in the end i was compiling the same mesa as the installed one so i stopped compilation
14:40 Agiofws: ok maybe i have to upgrade to sid
14:40 imirkin_: Agiofws: ok, well however you achieve it, you're unlikely to get a ton of help on any mesa issues until you install try it with mesa 11.0.x
14:40 Agiofws: ok
14:41 imirkin_: Agiofws: i believe pmoreau has a livecd with some pretty latest stuff on it... https://nouveau.pmoreau.org/ ... or you could try a plain fedora or arch livecd. dunno how difficult it is to get your software going though.
14:42 RSpliet: imirkin_, Agiofws: that doesn't include an i386 iso, so I'm afraid that's not very helpful
14:42 imirkin_: oh hah
14:43 RSpliet: but at least Fedora still has a 32-bit live image... for now
15:15 skeggsb: imirkin_: can you elaborate?
15:15 imirkin_: skeggsb: a nv1f user reported weirdness
15:16 imirkin_: i went looking at code
15:16 imirkin_: comparing xf86-video-nv with what's in nouveau
15:16 imirkin_: and i noticed that both we and the nv code have weirdo clock computation logic for nv1a/nv1f, different from the other chips
15:16 imirkin_: however our code is different than the xf86-video-nv logic
15:16 imirkin_: in the nv1f case, we don't divide by 1000, in the nv1a case we miss a >> 8 in the middle of the computation
15:17 imirkin_: also our logic in arb.c seems like a fraction of the complexity of the xf86-video-nv arb calculation code
15:17 skeggsb: hrm, i don't know that code very well, i didn't write it.. i had somewhat assumed that we inherited it all from nv
15:18 imirkin_: well, the nv code is a HUGE unreadable mess
15:18 imirkin_: but it does appear that our code is in fact inherited from it
15:18 imirkin_: since we use the same bizarro datastructures
15:18 imirkin_: and the same bizarro names
15:18 imirkin_: but... the functions don't handle as many various cases
15:20 skeggsb: yeah, those are quite different from a quick glance
15:21 imirkin_: i'd be semi-in favor of just copying those functions over wholesale
15:21 skeggsb: oh, hmm, those differences (in arb) look like it's just because ours only has the !video_enable case
15:21 skeggsb: (and cleaned up)
15:21 imirkin_: yeah, that could be
15:22 imirkin_: whereas nv1a/nv1f set video_enable=0
15:22 imirkin_: er you mean ours only has the video_enable case?
15:22 skeggsb: well, the nv4 version at least only has the !enable case
15:23 imirkin_: nv10UpdateArbitrationSettings sets enable_video to 1
15:23 imirkin_: so it's only disabled for nv4 and nforce
15:23 imirkin_: [in the nv code]
15:23 skeggsb: yeah, i wasn't looking there yet :P
15:23 imirkin_: ah heh
15:23 imirkin_: well, enable_video is completely gone in the nouveau code
15:25 imirkin_: nv10_calc_arb also seems to skip the while(!found) loop
15:27 skeggsb: it probably does just make sense to steal it wholesale from nv...
15:27 skeggsb: especially if it helps
15:27 imirkin_: well i haven't the faintest clue if it helps
15:27 imirkin_: i just went looking and it looked different
15:28 imirkin_: but the thing that immediately strikes me as odd is take a look at
15:28 imirkin_: nouveau_hw_get_clock
15:28 imirkin_: and compare that to the MClk calculation in nForceUpdateArbitrationSettings
15:28 imirkin_: for nv1f: MClk = READ_LONG(5, 0x4C) / 1000
15:28 imirkin_: for nv1a: uMClkPostDiv = (READ_LONG(3, 0x6C) >> 8) & 0xf
15:29 imirkin_: we appear to miss that entirely
15:31 skeggsb: the nv1a thing is definitely a bug - i think ;)
15:32 skeggsb: the nv1f one could be explained if we use different units for clock
15:32 imirkin_: but then nv1a would have the wrong units too
15:32 skeggsb: right
15:32 imirkin_: ;)
15:33 imirkin_: that's basically where i ended up the other night
15:33 imirkin_: didn't peer further into this units thing
15:33 imirkin_: i assume you don't have a nv1f available && working?
15:33 skeggsb: thankfully, no
15:33 imirkin_: lol
15:33 imirkin_: otherwise you'd be tempted to check it out?
15:34 skeggsb: i'd feel more guilty for not checking it out :P
15:34 imirkin_: heheh
15:40 imirkin_: skeggsb: looking at the various calc functions, they seem to have the same number of 1000's... dunno
15:40 imirkin_: skeggsb: so i think the units are the same as in the nv code
15:41 imirkin_: e.g.
15:41 imirkin_: fill_lat = mclks * 1000 * 1000 / mclk_freq /* minimum mclk latency */
15:41 imirkin_: + nvclks * 1000 * 1000 / nvclk_freq /* nvclk latency */
15:41 imirkin_: + pclks * 1000 * 1000 / pclk_freq; /* pclk latency */
15:41 imirkin_: vs
15:41 imirkin_: us_pipe_min = us_m_min + us_n + us_p;
15:41 imirkin_: us_m_min = mclks * 1000*1000 / mclk_freq; /* Minimum Mclk latency in us */
23:51 exidux: imirkin_, : i will see if i an get the patch for the nv1f running, later in time.