02:39 hakzsam: imirkin, feel free to push this branch when you have time http://cgit.freedesktop.org/~hakzsam/mesa/log/?h=nv50_pipeline_queries thanks!
09:46 imirkin_: hakzsam: thanks for fixing up those commit logs :)
09:52 hakzsam: imirkin_, and thanks for pushing those commits :)
09:52 imirkin_: hakzsam: could i convince you to fix the situation with timestamp_disjoint? iirc nine uses it...
09:52 imirkin_: i noticed as i was pushign that you got rid of the query->ready shortcut from nv50_query_ready
09:53 imirkin_: (but that probably didn't work since the query was already reset before)
09:54 hakzsam: I could try, I'm going to add it to my long todolist ;)
09:56 hakzsam: yeah, I don't think q->ready affects timestamp_disjoint since
09:56 imirkin_: but i think someone *wanted* it to ;)
09:56 imirkin_: they just failed
09:58 hakzsam: yeah, and if you tell me how to test if timestamp_disjoint works, I could try to fix it this week end;)
09:59 imirkin_: tizbac: iirc you were the one futzing with it?
10:08 hakzsam: bbl
13:59 Berra: How do I go about figuring this out? http://sprunge.us/DZPG
14:00 Berra: Computer completely freezes then dies.
14:00 imirkin_: was the link supposed to be something more than 2 empty lines?
14:00 Berra: Ah, yes. Sorry
14:00 Berra: Well... that dump was lost the...
14:01 imirkin_: how about you mention what hw you have and what the observable issue is
14:01 Berra: echoed it to the file as quickly as I could before it all died but must have not worked.
14:02 Berra: The observable issue is trying to start a Qt5 WebEngineView. HW: http://sprunge.us/JCEU
14:02 imirkin_: wow, an actual real GF100
14:02 imirkin_: two of them, even
14:03 imirkin_: i assume you work out of a nuclear power plant?
14:03 Berra: The issue is related to something "kernel pushbuf". I got them when I was younger and stupid.
14:03 imirkin_: :)
14:03 imirkin_: are you using libdrm 2.4.60?
14:04 Berra: http://sprunge.us/ihEE
14:04 Berra: libdrm-git 2.4.61.2.ga1acffd-1 sorry
14:04 Berra: No need to paste
14:04 imirkin_: hm ok
14:04 imirkin_: seems unlikely that gnurou's change would have any visible effect
14:05 Berra: Linux localhost 4.0.4-1-ARCH #1 SMP PREEMPT Mon May 18 06:43:19 CEST 2015 x86_64 GNU/Linux
14:05 imirkin_: well, i guess it's some form of new issue. doesn't sound like anything i've heard about
14:06 Berra: It would required a low level fix? Or do you think I could investigate it?
14:06 imirkin_: there *is* an outstanding issue where supertuxkart 0.9 mega fails that i haven't figured out how to investigate yet
14:06 imirkin_: and it does end up in pushbuf list corruption
14:06 imirkin_: could well be that you're hitting a similar issue
14:07 Berra: If you want a dump I will crash my computer again to get it for you
14:07 imirkin_: although in my situation that just causes stk to SIGSEGV
14:07 imirkin_: not some sort of horrid hang
14:11 flipmess: greetings
14:11 Berra: Wouldn't you know it, this time it crashed instantly without dump information..
14:11 imirkin_: doh =/
14:11 imirkin_: Berra: oh, i assume you're on some sort of recent mesa?
14:12 imirkin_: if you can tolerate the annoyance of continually crashing, you could try downgrading
14:12 Berra: mesa 10.5.5-1 mesa-libgl 10.5.5-1
14:15 Berra: So far I can only produce this crash by starting the QtWebEngineView
14:16 Berra: Was it TuxRacer..? I could try and see if it's the same?
14:16 imirkin_: supertuxkart 0.9
14:16 imirkin_: (mariokart clone)
14:16 Berra: Downloading now
14:17 imirkin_: if things work the same as for me, you should see a SIGSEGV as soon as you try to go into a level
14:17 Berra: In Arch Community Repo : )
14:17 Berra: Soon installed, we'll see.
14:18 tobijk: imirkin_: wanna rage-push my piglit cull_distance patch? :D
14:19 imirkin_: i'm not a rage-pusher
14:19 imirkin_: i'm a rage-reverter
14:19 imirkin_: hasn't had to come up in mesa yet though :)
14:20 tobijk: then do a rage-review, makes me happy as well :D
14:23 Berra: Yupp, Crash in tuxkart
14:24 Berra: [1] 1387 segmentation fault (core dumped) supertuxkart
14:25 imirkin_: k, well that's what i get too :)
14:25 imirkin_: and an error in dmesg about invalid pushbufs
14:29 Berra: Did you message get through? I got the segfault on supertuxkart
14:29 Berra: Then it hung, then crashed
14:30 imirkin_: it crashes when i try to start a level for me
14:30 Berra: Crashed when I klicked on the singleplayer icon
15:41 imirkin_: RSpliet: in future sends, probably just title it "clk/gt215" or whatever. no need for nvkm in subject.
15:43 tobijk: why do all nowadays forget the "lists" :D
15:44 RSpliet: imirkin: sure
15:44 imirkin_: RSpliet: you also appear to have messed up the lists quite badly =/
15:45 imirkin_: but seemingly list@freedesktop.org also works
15:45 imirkin_: which is a bit unexpected
15:45 tobijk: i saw that several times lately, did they change somethnig maybe and we are ust getting old?
15:46 RSpliet: I take no responsibility in messing up any mailinglist
15:46 imirkin_: in the To line of your patches
15:46 RSpliet: if git send-email does that, the ML software needs fixing
15:46 imirkin_: who else is to blame :p
15:46 imirkin_: To: Nouveau@freedesktop.org, "Mailinglist <nouveau"@lists.freedesktop.org,
15:47 RSpliet: meh, I told it --to "Nouveau Mailinglist <nouveau@lists.freedesktop.org>"
15:47 RSpliet: so unless I typo'd, which I'm not going to verify for the sake of argument...
15:47 imirkin_: hmmmmm
15:48 RSpliet: oh btw, that "the fuck" is a copy-paste from gt215. I found it slightly out of place, but I recall that comment being there before I raged through it last summer
15:48 imirkin_: don't have to propagate it :po
15:50 tobijk: magic 750MHz, ay
15:51 RSpliet: meh. anyway, your other comment on 3/9 is somewhat corrected slightly a little in 7/9. Either way, it's irrelevant for now as it mainly targets NVA0 and I explicitly acknowledge that for other cards it needs further investigation
15:51 imirkin_: RSpliet: yeah
15:52 imirkin_: you got rid of that stupid #define too, which is good
15:53 tobijk: will patch 4/9 blow up <GT200 or why is it stated in that way?
15:54 RSpliet: tobijk: untested. bails for unknown rammap length or unknown timing entry length
15:55 tobijk: ah ok
15:56 RSpliet: so quite literally what I sent out is support for NVA0 reclocking with a lot of work done for other cards too. Those cards are explicitly not supported as per patch 9
15:57 tobijk: not there (yet)
15:58 RSpliet: heh, well, feel free to reply on the ML
15:58 RSpliet: I'm off for some well-earned sleep
15:59 tobijk: :)
16:25 imirkin_: gr, everywhere i look, bugs :(
16:29 tobijk: yeah i just found my piglit tests failing in a full run, while running them on their own they pass just fine :O
16:29 imirkin_: heh
16:30 tobijk: delays things quite a bit ;-)
16:35 Gornle: Hi. I need to fix the resolution used by a linux/64 box with an NVidia 8400 card, and the nouveau driver. At the moment it's using only about 80% of the screen, and the height/width ratio is off. I *THINK* I need to add something like "video=DVI-I-1:1920x1080@xx" to the kernel boot line. But I can't find the docs for that on the wiki (so far). Is there a way from command line that I can *get* the right setting? e.g., DVI-A or DVI-I, what refresh fre
16:35 Gornle: q, etc. ?
16:36 imirkin_: Gornle: run xrandr --output DVI-I-1 --set 'scaling mode' None
16:36 imirkin_: that should disable card scaling
16:36 imirkin_: and will let the panel scale
16:37 imirkin_: without that, you're stuck on a fixed resolution/frequency no matter what you try to do
16:37 tobijk: hope we get to a point where the kernels that do these on default are common...
16:37 imirkin_: yeah, i forget when it got flipped... 4.0?
16:37 Gornle: imirkin_: Thanks. I need to install xrand (I'm working UP from a 'minimal server' install). Also, how do you know it's "DVI-I-1"? Is that a standard setting?
16:38 imirkin_: Gornle: oh, i don't. got it from your comment.
16:38 imirkin_: Gornle: just running xrandr should give you the output configuration
16:38 imirkin_: i'm assuming you're using X?
16:38 imirkin_: if not, you can inspect state with the modeset tool. but it's harder to effect changes since fbcon doesn't like it when you touch things
16:39 Gornle: imirkin_: Atm, I've got IceWM to the point it can launch, and Firefox will run. It's pretty minimal. I'd like to KEEP it as minimal as possible, but know I'll have to install 'more'. I'd rather NOT just default to "install all of KDE & X" ...
16:40 imirkin_: Gornle: well, there's not a lot of stuff in "X". but xrandr is a pretty basic tool. well worth the ~10KB of disk space
16:40 imirkin_: ouch. 56KB =/
16:40 tobijk: heh
16:41 Gornle: Sure, not a problem. :-) I do have "/usr/bin/X :0 vt7 -nolisten tcp -seat seat0 -auth /var/lib/kdm/AuthFiles/A:0-4WCHeb" running atm acccording to 'ps ax'.
16:41 imirkin_: great
16:42 Gornle: just running 'xrandr', the output atm shows: "Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024; default connected 1280x1024+0+0 0mm x 0mm; 1280x1024 77.00*"
16:42 Gornle: It's clearly not seeing the 'whole' monitor
16:42 imirkin_: oh, you're not using nouveau
16:43 imirkin_: that's vesa or vga driver
16:43 imirkin_: pastebin dmesg and xorg log
16:43 tobijk: wild guess: install xf86-video-nouveau
16:43 imirkin_: ah yes, good point ;)
16:44 imirkin_: but... if nouveau were running, vesa would mess things up *bigtime*
16:44 imirkin_: so i assume nouveau is also not running
16:44 tobijk: mhm
16:44 Gornle: the kernel module is loaded. that's different than "nouveau is running"?
16:46 tobijk: dmesg | grep nouveau
16:46 tobijk: for a quck overview
16:46 imirkin_: Gornle: pastebin the full output of dmesg, and the full xorg log file. difficult to help without that.
16:46 Gornle: Hm. `xrandr --output DVI-I-1 --set 'scaling mode' None` -> "warning: output DVI-I-1 not found; ignoring; X Error of failed request: BadRROutput (invalid Output parameter)"
16:47 Gornle: tobijk: imirkin_ ok. one sec.
16:48 Gornle: well, there's NO dmesg output containing 'nouveau' -- except for one line showing that the kernel module is loaded. that's obvioulsy the problem I need to poke at!
16:48 Gornle: ok, you got me pointed in the right direction -- off to do some reading up on it. thx!
16:48 tobijk: yeah normally you get serveral informative lines
16:49 imirkin_: do you have 'modeset=0' or 'nomodeset' somewhere?
16:49 Gornle: imirkin_: I currently have "nomodeset drm.modeset=1 nouveau.modeset=1"
16:49 imirkin_: nomodeset disables modesetting
16:49 imirkin_: remove that
16:50 Gornle: it's overridden by tge nouveau.modeset=1, according to the kernel person who said so :-/
16:50 imirkin_: (where "modesetting" is a synonym for "modern graphics subsystem", not just the modesetting aspect)
16:50 imirkin_: the kernel person who said so apparently lied
16:50 imirkin_: viciously and maliciously
16:50 Gornle: hrm. k. gonna have to reboot, I suppose.
16:50 tobijk: indeed
16:50 Gornle: back in a bit. thx.
17:01 flipmess: hi, is it possible at all with nouveau to use the vga/dp ports on an laptop with "optimus"? intel card is connected to LVDS and external ports to nvidia GK107GLM [Quadro K2000M].
17:01 imirkin_: yes, should work fine
17:02 imirkin_: flipmess: see http://nouveau.freedesktop.org/wiki/Optimus/ (esp the using outputs on discrete gpu section)
17:03 flipmess: i tried to use that... but when i do xrandr --listproviders i only get 1 provider
17:03 imirkin_: flipmess: pastebin dmesg and xorg log
17:04 flipmess: k
17:07 flipmess: http://pastebin.com/FNt7GBSe <- dmesg
17:08 flipmess: and with xorg log you mean xorg.0 .1 and .8? sry
17:08 imirkin_: probably .0
17:08 flipmess: k
17:10 flipmess: http://pastebin.com/EHyCwX9n <- xorg.0.log
17:11 imirkin_: flipmess: do you have an xorg.conf?
17:12 imirkin_: flipmess: with a Device "intel" in it?
17:12 imirkin_: yeah you do
17:12 imirkin_: (**) intel(0): Option "AccelMethod" "sna"
17:12 imirkin_: which is the default i think :)
17:12 imirkin_: get rid of that file, nouveau should appear
17:13 flipmess: k
17:13 imirkin_: er, i guess i meant Driver "intel"
17:13 flipmess: can i just rename it to config.bak?
17:14 imirkin_: sure
17:14 flipmess: k
17:14 flipmess: thx
17:14 flipmess: x server restart or reboot?
17:14 imirkin_: just X
17:15 flipmess: brb.. i hope ;)
17:16 flipmess: YES! thx a lot imirkin_
17:17 imirkin_: np
17:17 flipmess: do you mind elaborating a bit what was the problem?
17:17 imirkin_: X is the worst
17:17 imirkin_: it only auto-adds gpu's if you don't configure anything directly
17:18 imirkin_: apparently fixing this is deceivingly complicated
17:18 flipmess: thx :) now to try the outputs
17:24 flipmess: wow.. for the first time in 2 years i can use the vga port... garbled image... but image :D
17:24 imirkin_: uhm... "yay"?
17:24 flipmess: yeah!
17:25 imirkin_: what desktop environment are you using?
17:25 flipmess: i3wm no de
17:25 imirkin_: ah ok
17:25 imirkin_: for this to work you need a compositor
17:25 imirkin_: not 100% sure if xcompmgr is enough or not
17:26 imirkin_: at least... i'm fairly sure
17:26 imirkin_: [that one is necessary... def need one for offloading]
17:27 flipmess: hm... looks like i'm using compton but i'll try xcompmgr
17:27 imirkin_: compton is def good enough
17:27 flipmess: because the second screen isn't beeing updated
17:27 flipmess: ok?
17:27 imirkin_: can you check your dmesg for nouveau errors?
17:28 flipmess: no recent nouveau lines
17:31 flipmess: i don't think i can use offloading because the powermanagement is still WIP for my card
17:36 flipmess: hm.. max resolution is 1280x1024 (says xrandr). the beamer should do HD. is this what xrandr reads from the beamer?
17:37 imirkin_: pastebin xrandr output
17:38 imirkin_: offloading works fine, you just might not get amazing speeds. although GK107 you can probably reclock
17:38 imirkin_: oh yeah, you have DDR3 vram. should almsot certainly work
17:38 imirkin_: but you need to make sure nouveau loads with pstate=1
17:38 imirkin_: (e.g. by adding nouveau.pstate=1 to the kernel cmdline)
17:41 flipmess: ok
17:43 flipmess: http://pastebin.com/YAqHFukH <- xrandr output
17:43 imirkin_: ok. and what are you expecting to see?
17:44 imirkin_: 1280x800 is HD... "720p"
17:44 imirkin_: [well, 1280x720 is 720p, but you get the point]
17:45 flipmess: ah.. but it can do 1920x1080
17:45 flipmess: so i was expecting that
17:45 imirkin_: apparently not
17:46 imirkin_: at least not listed in its EDID
17:46 imirkin_: or nouveau is rejecting the mode for some reason
17:46 imirkin_: you can check in your xorg log
17:46 flipmess: k
17:51 flipmess: (II) NOUVEAU(G0): EDID vendor "SEC", prod id 42247 <- are these lines all the resolutions it got from the beamer? because there is 1920x1080
17:52 imirkin_: yeah
17:52 imirkin_: pastebin?
17:52 flipmess: kk
17:53 imirkin_: i'm guessing it's a non-reduced blanking mode or something, and it decides there's not enough bw
17:53 imirkin_: or something.
17:53 imirkin_: digital is better if it's an option :)
17:54 flipmess: only have dp on laptop and hdmi on beamer... need an adapter or something
17:54 imirkin_: many DP ports are actually DP+
17:54 flipmess: k?
17:54 imirkin_: which means you can just get a round hole/square peg adapter and get HDMI
17:54 flipmess: oh... there is ++D on the port.. ^^
17:55 imirkin_: Dual-mode DisplayPort (also known as DisplayPort++[40]) can directly output single-link HDMI and DVI signals using a simple passive adapter that adjusts from the different connector and the lower voltages used by DisplayPort
17:55 flipmess: nice.. i could probably solder it myself... haha
17:56 imirkin_: yeah, coz high-bandwidth links aren't sensitive at all to things like... crap solder
17:56 flipmess: hey.. i wouldn't "crap" solder ;)
17:56 imirkin_: i'm sure that applies to anything you get in a store
17:57 imirkin_: anyways, adapters run $5-$10
17:57 imirkin_: but paste the xorg log
17:57 imirkin_: we might be able to salvage this
17:58 flipmess: http://pastebin.com/ygw7g9BD
17:58 flipmess: thx a lot
17:58 imirkin_: rrrright
17:58 imirkin_: it has a non-reduced blanking mode for 1920x1080
17:59 flipmess: i'll have to google that
17:59 imirkin_: cvt -r 1920 1080
17:59 imirkin_: use that to do xrandr --output VGA-1-1 --newmode <stuff>
17:59 imirkin_: Modeline "1920x1080R" 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
18:00 imirkin_: xrandr --output VGA-1-1 --newmode 1920x1080R 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
18:00 imirkin_: that should work
18:00 imirkin_: and then you can flip over to it
18:00 flipmess: --addmode?
18:00 imirkin_: [and hope that your device can handle the reduced blanking mode]
18:00 imirkin_: oh, crap
18:00 imirkin_: xrandr --newmode 1920x1080R 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
18:01 imirkin_: xrandr --addmode VGA-1-1 1920x1080R
18:02 flipmess: omg
18:03 imirkin_: good times?
18:03 flipmess: beamer says resolution is 1920x1080 progressive
18:03 flipmess: there is a picture ^^
18:03 flipmess: but
18:03 flipmess: oh
18:03 flipmess: i can see part of the laptop screen
18:03 imirkin_: what if you clone your desktop
18:04 imirkin_: i.e. xrandr --output VGA-1-1 --clone LVDS2
18:04 imirkin_: er
18:04 imirkin_: i.e. xrandr --output VGA-1-1 --same-as LVDS2
18:05 flipmess: i looked at what arandr says and the screens where overlapping
18:06 flipmess: geometry is ok now.. but the colour is funny on the beamer side
18:06 flipmess: everything is beige now
18:06 imirkin_: anyways, i gtg
18:06 flipmess: k
18:06 flipmess: thx a lot again
18:06 imirkin_: might be back later. good luck
18:06 imirkin_: try cloning the screens
18:06 flipmess: thx cya
18:06 flipmess: k
18:06 flipmess: will do
18:06 imirkin_: that should give you a good baseline