10:50 chlunde: https://paste.fedoraproject.org/paste/4lsH8KX-HV5PoiHt2PjoSw -- is it a bug that base=base@entry=0 ?
10:55 chlunde: similar to (gdb) print nv->scratch.map
10:55 chlunde: $2 = (uint8_t *) 0x7f661b400000 <Address 0x7f661b400000 out of bounds>
10:55 chlunde: similar to https://bugs.freedesktop.org/show_bug.cgi?id=99396
12:22 imirkin: chlunde: is clutter doing something multi-threaded?
12:26 chlunde: imirkin: I don't know, looks like gnome-shell has multiple threads, at least there are under /proc/$(pidof gnome-shell)/task/
12:26 imirkin: yeah, but i mean multiple threads that call into nouveau simultaneously?
12:27 chlunde: imirkin: I don't know gnome-shell/clutter at all, I've just gotten complaints about crashes lately
12:28 imirkin: chlunde: what changed? :)
12:29 chlunde: imirkin: RHEL 7.3 -> 7.4, GNOME 3.22 + new mesa and X drivers (and kernel?)
12:29 chlunde: so, everything
12:29 imirkin: oh goodie
12:29 imirkin: should instead make a list of what *didn't* change - that'd be faster
12:30 imirkin: anyways... it's funny you found that older issue filed away
12:30 chlunde: It's related to alt-tab and nouveau, it hasn't happened on intel drivers AFAIK
12:30 imirkin: i have only a vague, if any, recollection of it
12:30 imirkin: which at the very least means that it doesn't come up a lot
12:31 chlunde: well, at least one person has this issue a few times every day
12:31 imirkin: well, (a) just coz it works on driver A and not B doesn't mean it's not the application's fault, and (b) intel has a multi-person full-time team dedicated to the 3d driver, while nouveau has a 0-person team dedicated to the 3d driver
12:31 chlunde: https://bugzilla.redhat.com/buglist.cgi?quicksearch=nouveau_scratch_data&list_id=7831940
12:31 imirkin: well, i meant reported in the nouveau bugtracker
12:31 imirkin: but i believe you
12:32 chlunde: imirkin: I'm not trying to complain to you, I just wanted some tips. Maybe the RH bugzilla is best.. :)
12:32 imirkin: just wanted to set expectations
12:32 imirkin: that said, we do try our best :)
12:33 imirkin: what version of mesa is this with?
12:33 imirkin: oh wait
12:33 imirkin: i fixed a bug
12:33 chlunde: 17.0.1-6.20170307.el7
12:33 imirkin: this sounds familiar all of a sudden
12:33 imirkin: oooh, that's old
12:34 imirkin: let me see if i can find my patch
12:35 imirkin: ah no. that was a fix for a thing that came in during the 17.2 development cycle
12:36 imirkin: either way, i definitely have no {interest,ability,time} to support versions of code that aren't close to top-of-tree, or at least latest released version
12:36 imirkin: feel free to pursue this issue with RH
12:37 imirkin: 17.2 was just released, so i'd test that.
12:37 chlunde: OK, thanks!
12:38 imirkin: if it still happens with latest, we can debug it together
15:37 vgtd: imirkin: could you please take a look into the bug you fixed with a "hackpatch"? https://bugs.freedesktop.org/show_bug.cgi?id=102349#c6 Would be great to see the fix in the next mesa release :)
15:39 imirkin_: vgtd: can you make an apitrace that i can reproduce the issue with?
15:39 imirkin_: vgtd: i have no idea why the second issue came up
15:40 imirkin_: and i need to understand it before i can make a proper patch
15:40 imirkin_: i recommend making a trace with the patched driver, and then seeing if replaying it with unpatched driver will cause it to crash in the same way
15:40 vgtd: the second issue is there for years. the first issue is the issue that is been probably in mesa
15:41 imirkin_: "second issue" meaning what led to writing "hackpatch2"
15:41 imirkin_: as opposed to the original hackpatch
15:42 vgtd: with "second issue" i mean the recktangles that appear from one corner of the screen and stretch over the screen. this is a known nouveau issue for long time. The issue you could fix in mesa was something "new". i tought fixing one after the other would make more sense :)
15:43 imirkin_: yeah
15:43 imirkin_: i just mean the second crash you ran into doesn't make sense to me
15:43 imirkin_: so if you can make a trace that reproduces the crash
15:44 imirkin_: then i'll be able to reproduce it
15:44 imirkin_: [since i have no interest in installing plasmashell on my computer]
15:44 vgtd: the second crash? the racktangles did not provide a crash. the are just annoying
15:44 imirkin_: first crash: https://bugs.freedesktop.org/show_bug.cgi?id=102349#c0
15:45 imirkin_: second crash: https://bugs.freedesktop.org/show_bug.cgi?id=102349#c2
15:46 vgtd: they differ? becuase both was gone with the patch you made
15:46 imirkin_: with the second patch.
15:47 imirkin_: which has 2 separate fixes in it
15:47 vgtd: with patch1 + "In the nv30_clear path. Can you throw push->user_priv = &nv30->bufctx; Somewhere towards the top of nv30_clear (before it calls nv30_state_validate)"
15:47 imirkin_: right.
15:47 imirkin_: which is == hackpatch2
15:49 vgtd: yes, thats also what i understood. but to make it clrear i still wrote that patch1 + "In the nv30_clear path. Can you throw push->user_priv = &nv30->bufctx; Somewhere towards the top of nv30_clear (before it calls nv30_state_validate)" fixed the segfault issue
15:51 imirkin_: right, i get that.
15:51 imirkin_: each one is fixing a separate issue.
15:52 vgtd: ok. the issue can be then seen as fixed
15:52 vgtd: because the reported issue is gone with the second patch
16:05 imirkin_: i really don't understand what you're trying to say or argue
16:06 imirkin_: but if you're interested in seeing a fix being made for the 2 separate issues that are fixed by hackpatch2, then i'd recommend doing the thing i asked -- namely an apitrace i can use to repro the issues locally.
16:12 vgtd: hm, i also get the feeling that i was not that clear. I try again. <@imirkin_> first crash: https://bugs.freedesktop.org/show_bug.cgi?id=102349#c0 and <@imirkin_> second crash: https://bugs.freedesktop.org/show_bug.cgi?id=102349#c2 are both gone with hackpatch2. that fixed the reported issue, right?
16:14 imirkin_: fixed is a strong word to use
16:14 imirkin_: hacked around - yes.
16:16 vgtd: you named it hackpatch, yes. i dont know what it did there. just tried the patch as required and worked. Thats not all required?
16:16 imirkin_: it's required to understand wtf is going on
16:16 imirkin_: without that, no real patch can be made
16:18 vgtd: ok. so with the patch applied i have to apitrace plashashell, not other things, right?
16:18 imirkin_: correct
16:18 imirkin_: this will generate a trace
16:18 imirkin_: then double-check that replaying the trace *without* the patch applied causes the retrace to crash
16:19 imirkin_: if it doesn't, this will be much harder to debug =/
16:19 vgtd: https://github.com/apitrace/apitrace/blob/master/docs/USAGE.markdown - what should i trace? gl? or something else?
16:29 imirkin_: apitrace trace plasmashell
16:38 vgtd: thanks. i would take the trace as soon as possible :)
17:24 karolherbst: Lyude: could you do something for us? Go to the CCDS in Boston and pretty please for using their Volta GPU
17:31 Lyude: karolherbst: huh?
17:32 karolherbst: Lyude: well obviously we want to have an mmiotrace and the vbios, before they start doing their super long calculations
17:33 Lyude: karolherbst: hehe, I'm not sure I'd be able to get access to one of them though unless you know how :P
17:35 karolherbst: well, I just figure if somebody has a chance of succeeding, then it has to be you :p
17:37 tobijk: karolherbst: we can found the nouveau institute of graphics and try to get a hand on the volta with that (its as likely :D)
17:37 karolherbst: :D
17:37 karolherbst: good idea
17:37 karolherbst: we need a better name though
17:38 tobijk: ok, i'M open for proposals :-)
17:38 karolherbst: niog doesn't sound that nice, think about if we even held a niogc, that wouldn't work
17:43 tobijk: reverse eng. inst. of challenging hardware (reich)
17:43 karolherbst: nound starting with u which stands for something good
17:44 karolherbst: *noun
17:44 karolherbst: something wiht "ultra" is always good
17:44 tobijk: :D
17:45 karolherbst: now, I need another word with u
17:45 karolherbst: something which goes with ... u.. for ...
17:46 karolherbst: don't want to use university
17:46 karolherbst: tobijk: currently I have something like this: "neuronal observatory university for visual enhancements and ultragraphics" but I need more bs bingo words and better ones
17:47 tobijk: hehe
17:48 tobijk: make it u=unit
17:50 karolherbst: I would prefer a word where you don't _really_ need a building to really exist though
17:50 karolherbst: something like "foundation" would be perfect, but we have no f
17:53 suhas: hello
17:53 tobijk: hi
17:54 suhas: problem while installing nvidia driver on debian9
17:54 Lyude: karolherbst: also, what is the CCDS?
17:54 karolherbst: Lyude: Center for Clinical Data Science
17:54 tobijk: suhas: we only deal with nouveau here (the opens source nvidia driver)
17:54 suhas: okay
17:55 suhas: then tell me is nouveau supports nvidia graphics card??
17:55 tobijk: suhas: nouveau provides drivers for nvidia cards, we dont support any of them
17:56 tobijk: meaning, it may run or not, but we will not guarantee it will
17:56 karolherbst: just like every software
17:56 suhas: my laptop is having nvidia graphic card
17:57 suhas: then how can i use it with the help of nouveau?
17:58 tobijk: suhas: idepends on the notebook, is it the only graphics card, is it one of two (mostly intel, nvidia)
17:59 Lyude: karolherbst: ahhhhh, I have no idea if I'll be able to. but i'm seeing if I can find the right people to poke anyway :P
18:00 suhas: i am struggling since 10-12 days
18:00 suhas: when i install nvidia driver on debian
18:01 tobijk: suhas: well that is not a topic for this channel
18:01 suhas: then it shows nouveau kernel and nvidia kernel having some conflicts
18:01 suhas: anyways
18:01 tobijk: nouveau comes bundled with most linux distributions
18:01 suhas: thanks :)
18:02 karolherbst: Lyude: nice :)
18:04 suhas: is there any way so that i can use nvidia using nouveau??
18:04 suhas: please please help me!!
18:05 tobijk: suhas: install a distribution with nouveau included and there you go
18:05 tobijk: (if nouveau works for your hardware)
18:05 suhas: actually i am new here
18:06 suhas: my configuration is i5 7th gen processor 8 gb ram
18:06 suhas: 2 gb nvidia graphics
18:07 suhas: debian9 operating system
18:08 tobijk: suhas: if you havent broken your system while playing with the nvidia driver, running a program with DRI_PRIME=1 in front of it should be enough to run it on the nvidia card
18:10 tobijk: suhas: look at https://nouveau.freedesktop.org/wiki/Optimus/ for more information for now
18:11 suhas: okay..thank you so much!