01:22pmoreau: imirkin: Nice! Do you have some links on how to setup the environment for it? I'll try to run it frequently on my laptop, until the desktop computer is setup.
03:28ilios: Is there any initialization process needed for updating GPU PGRAPH mmio?
03:29ilios: I'm trying to flush instruction cache using MMIO. I have found two flush-related MMIO from rnndb/graph/gf100_pgraph folder.
03:29ilios: But it seems that instruction cache flushing doesn't work.
03:30ilios: I have overwritten flush-related MMIO bit using nva_wr32 function from envytools.
03:31ilios: I have no idea why it doesn't work. Is there any suggestion for me?
03:33ilios: I'm working on GTX480 (GF100).
03:34ilios: I have tried to trigger 4 registers through MMIO.
03:35ilios: 1. (FLUSH_TRIGGER) 0x419000 = 0x400000 + 0x18000 + 0x1000 = PGRAPH offset + GPC_BROADCAST offset + CCACHE offset
03:36ilios: 2. (CODE_FLUSH_TRIGGER, CBUF_FLUSH_TRIGGER) 0x419EA4 = 0x400000 + 0x18000 + 0x1800+0x600+0xa4= PGRAPH offset + GPC_BROADCAST offset + TPC_ALL offset + MP offset + CCACHE_CTRL offset
03:36ilios: and so on..
08:33karolherbst: I will boot my windows partition today, anybody want me to check anything there?
08:34karolherbst: mupuf_: I will maybe take a look into reading out the voltage :) have to install some userspace tools first, but maybe we are lucky
08:35mupuf_: how could we be lucky? :s
08:35mupuf_: I tried a lot of ways of getting the power reading out of the blon
08:35mupuf_: and I failed miserably
08:35karolherbst: nah, I meant we know where the pwm stuff is
08:35karolherbst: and maybe there is a working tool displaying the gpu voltage
08:35mupuf_: oh, sorry, voltage!
08:35mupuf_: yes, definitely!
08:35karolherbst: and maybe we get a stable pwm -> voltage function
08:36mupuf_: wait, you think the pwm->voltage function is wrong?
08:36mupuf_: I highly doubt it
08:36karolherbst: don't know
08:36karolherbst: currently I write your value +5 into it
08:36karolherbst: otherwise it isn't stable enough
08:36mupuf_: the voltage mapping table is misunderstoof
08:37karolherbst: yeah I know
08:37mupuf_: and min/max values are ... we have no fucking idea what they are
08:37karolherbst: the value is lower than the blob ones anyway
08:37karolherbst: yeah, I will try to play around onw indows a bit
08:37karolherbst: some OC tools or whatever
08:37mupuf_: and the names are likely wrong too
08:37mupuf_: right, you are lucky that hakzsam ported envytools to windows!
08:38karolherbst: nice :(
08:38karolherbst: mingw or msvc?
08:38karolherbst: please don't say cygwin D:
08:39karolherbst: mupuf_: anyway I could verify your stuff at least
08:40karolherbst: but first I need to cook while windows is doing its stuff, maybe I can also eat before touching it :D
08:41mupuf_: karolherbst: pretty sure he used cygwin, but as long as you recompile libpciaccess, you are good to go
08:41karolherbst: mhh cygwin :/
08:41mupuf_: there are no binary packages anyway
08:41mupuf_: so, use whatever you want
08:42karolherbst: yeha well, cygwin is POSIX emulation
08:42mupuf_: hopefully, there are no ifdef cygwin
08:42karolherbst: mingw is targeting WIN32, these are two different things
08:42mupuf_: I doubt that you can do away with cygwin though, because some tools depend on fork and other posix stuff that windows lacks
08:43karolherbst: I think under cygwin __unix__ is also defined or something
08:44karolherbst: mupuf_: well there are other APIs in WIN32 for that, sure
08:45mupuf_: anyway, just fucking install cygwin :D It is self-contained anyway
08:45karolherbst: I think I already have it installed :D
08:46karolherbst: cygwin just comes with inherent problems like messing up the filesystem under special circumstances :/
09:06hakzsam: mupuf_, envytools worked fine with cygwin but I didn't check since a long time :)
09:12xexaxo: <grammar nazi> since [reference point in the past], for [period of time] </grammar nazi>
09:37hakzsam:doesn't know why he did this bad mistake because he knows that grammar rule....
09:40RSpliet: well, since it was not a published piece of work, I don't think there's anything you should feel embarrassed for
09:40RSpliet: (those words are about as diverse in meaning as "fuck" :-D )
10:06mupuf_: ah ah
11:02imirkin_: pmoreau: it's not *quite* ready to be used yet, i guess. i'm going to try to get it all squared away this weekend.
11:03pmoreau: Ack :-)
11:03imirkin_: pmoreau: but in principle it works!
11:04pmoreau: That's really nice! And a good first step!
11:05joujoumen: hello, is there a way to get IB_GET and IB_PUT i.e read and write pointers of ring buffer for specific hw contexts , maybe after some id?
11:35joujoumen: static int nouveau_graph_chid_from_grctx(struct drm_device *dev)
12:09Wildefyr: hey I tried asking this question on #nvidia but got no response: I've complied my kernel and the nvidia blob, and the nvidia blobs are under /lib/modules/$kernelversion but, when grub exits, the machine boots without issue, but the display is stuck on the last screen grub displayed: what am I missing?
12:10imirkin_: Wildefyr: this channel is about the open-source driver. #nvidia is the right place for your question. or their support forums.
12:10pmoreau: Wildefyr: Did you forget to blacklist Nouveau?
12:10Wildefyr: no shit, but people here have been helpful before
12:11Wildefyr: no, the nouveau driver isn't compiled for that kernel I am booting into
12:13pmoreau: Well, dunno then. I haven't been compiling the blob for a couple of years now.
12:13towo`: Wildefyr, i have nit seen any question from you in #nvidia
12:13Wildefyr: I asked it early in the morning towo`
12:14Wildefyr: admittedly no one hardcore idles anymore it seems
12:14pmoreau: Hm, maybe one more thing: did you pick the correct version for your card? For Tesla you need 340.xx for example, as later version drop support for it
12:15Wildefyr: yeah I've got a 970, using the latest that isn't the beta
15:22imirkin_: 1355: message: shader compiler issue 1: type: 1, local: 0, inst: 229, bytes: 2096
15:23imirkin_: nice. that should be good enough for shader-db
15:23pmoreau: Hopefully, only a 0x10000 offset to take care of, and… maybe it will run
15:26pmoreau: The kernel is trying to run at +0x10000 from the location where it should, triggering a PAGE_FAULT and cuda write error
15:27imirkin_: oops :)
15:27pmoreau: So, maybe if I solve that, it could work
15:27pmoreau: Or maybe not! :D
15:48pmoreau: pi = 3.141590
15:49pmoreau: Ok, well, I had to hack a bit around, but… :-) :-) :-)
15:49imirkin_: pmoreau: file a patent!
15:49imirkin_: pi is exactly three!
15:50pmoreau: Noooooooooooooo… so many lied told… :-(
15:50imirkin_: pmoreau: https://www.youtube.com/watch?v=V98soOyQWKY
15:51pmoreau: So, there is something fishy: g already points to the good position, and adding the pointer to the global buffer only shifts it away…
15:52pmoreau: Cool video! :-D
16:09pmoreau: Ok, the 0x10 offset is needed when accessing s
16:10pmoreau: So reading input parameters from shared does work
16:11pmoreau: i need to change the pointer returned to access global, to be relative to something, rather than absolute
16:34pmoreau: So the pointer is the offset between the vspace_map and the address of global, which makes sense
16:54mooch: Hey guys. I'm back.
16:55mooch: I've got more features in my RIVA 128 emulation.
16:55mooch: However, the drivers for win9x still fail their sanity checks.
16:55mooch: It seems to have something to do with the real mode access mechanism
16:55mooch: Same thing goes for the RIVA TNT.
16:55mooch: So, I once again need help
16:56mooch: I am willing to provide the code for my emulation
16:57mooch: Of course, this is slightly modified for RIVA TNT emulation, but still.
17:04RSpliet: mooch: I'm afraid you'd have to come with more specific questions than this
17:04RSpliet: nouveau is already understaffed, you might have trouble finding interested individuals for this ;-)
17:04mooch: Well, I would just like to know what might be wrong with my RMA emulation.
17:04mooch: Well, I do eventually plan to use your drivers as a testcase. ;)
17:05RSpliet: if there was something "just" wrong, I take it you already found it :-P
17:05RSpliet: oh, you might be a bit disappointed to hear the Riva 128 is not supported by nouveau then...
17:05mooch: I know.
17:05mooch: The Riva TNT is tho.
17:05mooch: And I emulate that too!
17:08RSpliet: (sorry, it's an interesting project! I'm not the best man to help you out though. just warning you might not get a response any time soon)
18:16sarnex: hi i am looking to buy a cheap nouveau-supported gpu for gallium nine. does anyone have any recommendations?
18:17imirkin_: for the purpose of testing, or the purpose of playing?
18:17sarnex: just testing
18:18imirkin_: just get the cheapest gpu available then
18:18imirkin_: note that nv50 and nvc0 are separate drivers
18:18imirkin_: nvc0 is fermi+, i.e. geforce 400+
18:18sarnex: so most people use nvc0 then?
18:18imirkin_: feel free to ask here if you want to double-check
18:18sarnex: i mean compared to nv50
18:19imirkin_: most people use whatever driver happens to be the right one for their hw ;)
18:19sarnex: lol i mean do most nouveau users have nvc0
18:19imirkin_: i wouldn't be surprised if there were more tesla users now that nvidia has dropped support for it in their latest drivers
18:19imirkin_: tbh i'm not aware of any usage stats, sorry
18:20sarnex: ok i guess ill sort by lowest price for fermi+
18:20imirkin_: ebay is probably your best bet if you want cheap
18:22imirkin_: e.g. http://www.ebay.com/itm/EVGA-GeForce-GT430-1-GB-GDDR3-VIDEO-GRAPHICS-CARD-01G-P3-1430-LR-/151866415052
18:22imirkin_: that's not much cheaper than what you'd get on newegg though
18:23imirkin_: e.g. http://www.newegg.com/Product/Product.aspx?Item=N82E16814127829
18:24sarnex: wow that newegg one is newer and cheaper
18:24imirkin_: or http://www.newegg.com/Product/Product.aspx?Item=N82E16814133457
18:24imirkin_: nah, it's the same
18:24imirkin_: those are all GF108's
18:24imirkin_: the number is higher, but it's the same card
18:24sarnex: oh amd does that now too
18:24imirkin_: there's no reclocking on fermi either
18:24imirkin_: so you'll be stuck with a pretty slow gpu
18:25sarnex: does that only effect speed
18:25sarnex: would i need to shell out the big bucks for reclocking
18:25imirkin_: if you're willing to splurge, might get something like http://www.newegg.com/Product/Product.aspx?Item=N82E16814500381
18:26imirkin_: which is a GK208... should be able to clock up
18:26imirkin_: not going to break any speed barriers, but def a lot faster than the stupid GF108 without reclocking
18:26gryffus: yeah, with GF 440 i can get reclocking status from /sys/class/drm/card0/device/pstate , but i can't set it, only get...
18:27sarnex: that's because nvidia doesnt contribute to linux so you have to literally RE it right
18:27sarnex: or is it just nobody worked on it
18:27imirkin_: it requires RE
18:27imirkin_: roy's looking at fermi
18:27imirkin_: but it's still a ways away, i wouldn't hold my breath
18:28sarnex: yeah ill buy http://www.newegg.com/Product/Product.aspx?Item=N82E16814500381
18:29imirkin_: fanless too :)
18:29sarnex: yeah i have another garbage r600 card for testing
18:29sarnex: so with this ill have 3 gpus in my system
18:30imirkin_: it's an x8 card too... dunno if it's an x8 connector, but it only does 8 lanes
18:30sarnex: it shouldnt hit the bandwidth i dont think
18:30sarnex: bandwidth limit i mean
18:30sarnex: i think only x4 and x1 you see drops
18:31sarnex: maybe with new expensive cards you do
18:38sarnex: ok i bought it, im in the club now
18:38sarnex: thanks imirkin_
18:40imirkin_: np. hope it's not a *total* waste of $50
18:49imirkin_: sarnex: did i break something recently?
18:50sarnex: dont think so, we just get users who have issues i cant reproduce
18:50imirkin_: (or long ago :) )
18:50sarnex: i card r600 and radeonsi cards, and ilo laptop
18:50sarnex: so with this card i can test everything
18:50imirkin_: well, each gen might have diff bugs
18:51imirkin_: but this should at least get you closer
18:58sarnex: imirkin_: prime should work with that card right
18:58imirkin_: i'm using it in fact :)
18:58sarnex: ok excellent
18:58imirkin_: intel/hsw as main screen
18:59sarnex: another stupid question, i am on gentoo so i configure my own kernel, do i need to set any specific options for nvidia cards
19:00imirkin_: you need nouveau
19:00imirkin_: nothing more
19:00imirkin_: if you want reclocking, add pstate=1 to your module options
19:00sarnex: ok cool
19:00imirkin_: (e.g. boot with nouveau.pstate=1 or add the equivalent to your modprobe.conf)
19:00sarnex: does that make it run at 100 clock rate for 2d too? or only when 3d starts
19:01imirkin_: add nouveau to your VIDEO_CARDS in make.conf
19:01sarnex: yep im building the nouveau flag packages now
19:01imirkin_: nothing particularly crazy
19:01sarnex: im at college so i guess i dont have to care about energy
19:05pmoreau: Yeah! add.cl is passing as well
19:16pmoreau: div.cl and mod.cl are also working
19:17pmoreau: mul.cl segfaults while generating the prog / optimising, but debugging that will wait for tomorrow
19:25imirkin: pmoreau: cool. now you need the if :)
19:25pmoreau: imirkin: :p
19:25pmoreau: But true
19:26pmoreau: I think I'll take care of threads/blocks id before the if
19:27pmoreau: I guess that should be using system values, right?
19:28imirkin: or driver consts
19:29pmoreau: I'll check what the blob does
19:31imirkin: at the nv50 ir level, probably sysvals
19:31imirkin: but might have to get it out of the driver consts thing, dunno
19:33pmoreau: Well, it will be this week-end task :-)
19:33pmoreau: Before the real begins with flow control… :D
19:33pmoreau: s/real/real fun
19:34pmoreau: Anyway, I'm off. See you!
19:37imirkin: see ya
21:44user4245: I need help! :D
21:44user4245: If someone avaible i would appreciate!
21:45user4245: I just installed fedora, so nouveau running. I have a GTX970, and i think i have not the nouveau driver adapted for my GPU.
21:45imirkin: with a GTX 970 (GM20x) you'll only get modesetting, no acceleration
21:45user4245: HOw to know wich nouveau driver is installed, first ?
21:46user4245: I do not play games on linux.
21:46imirkin: what problem do you have?
21:46user4245: Only skype, office, browsing, communication.
21:46user4245: Well, my screen's resolution don't fit
21:46imirkin: pastebin dmesg and Xorg.0.log
21:46user4245: it's 1080p now, but my screen is 2580 x 1080
21:46imirkin: is it hooked up over HDMI?
21:47imirkin: try DVI or DP
21:47imirkin: HDMI is artificially limited to 165MHz pixel clocks in nouveau
21:48imirkin: there are some patches you could apply, but i'm guessing compiling your own kernel isn't something in your skillset
21:49user4245: and Xorg:
21:50imirkin: don't worry about it
21:50user4245: unknown command?
21:50imirkin: if you want the higher resolution, use a DVI or DP cable
21:55user4245: ok trie
21:55user4245: I did put the HDMI on a tinier screen
21:55user4245: good resolution.
21:56user4245: To be shure, what should i type to get the codename of the nouveau driver i'm using?
21:56imirkin: not sure what you're looking for...
21:56mooch: oh wow, this grammar is horrendous.
21:57imirkin: there is no single "nouveau driver" whose version you might retrieve
21:57user4245: mooch: sorry i'm french! :p
21:58user4245: OK cool
21:58user4245: i have the right chipset
21:58user4245: all i need is a DP cable
21:59user4245: does nouveau work with dual sreen? (one with HDMI and the other (biggest) with DisplayCable?)
21:59imirkin: yeah, should be fine
21:59imirkin: up to 4 screens for your GPU
22:01imirkin: of course if you use a GL-based compositor, things will probably feel quite slow
22:01imirkin: esp on larger displays
22:03imirkin: note that DP-MST does not yet work with nouveau, so you can't daisy-chain DP monitors (or use a DP hub)
22:06user4245: ok imirkin i'll buy the DP cable now
22:06user4245: what is daisy-chain DP monitors?
22:07imirkin: user4245: enchainé
22:07imirkin: user4245: if you're able to build your own kernel, i can also point you to some patches that should make HDMI work
22:07imirkin: user4245: it's not a hardware problem, but rather a nouveau one.