04:31 aelevadoan: hello
04:31 aelevadoan: I want to buy a computer
04:31 aelevadoan: and I would like to check its compatible with nouveau
04:32 aelevadoan: MSI GS Serie GS60 FANTASMA PRO 3K
04:54 karolherbst: aelevadoan: what do you mean with "compatible"
05:10 aelevadoan: karolherbst: if the NVIDIA GeForce GTX 870M is compatible I mean
05:57 karolherbst: mhh, there seems to be a real issue with DRI_PRIME currently. I get in some games a lot of flickering with old frames, the apitrace is clean of course
07:47 imirkin: aelevadoan: that's probably a maxwell card, which is not particularly well supported.
07:48 imirkin: aelevadoan: your best bet is to get a laptop with just an intel gpu, that will avoid you a lot of headaches
07:53 Yoshimo: imirkin: don't you dare using the bad m-word
07:54 imirkin: what you gonna do 'bout it? :p
08:00 aelevadoan: imirkin: it has a Intel Haswell Quad Core i7-4710HQ (2.5GHz - 3.5GHz) del procesador
08:00 aelevadoan: imirkin: or are you talking about something else?
08:01 imirkin: aelevadoan: that will generally have a GPU inside of it
08:01 aelevadoan: But it is intel, right?
08:01 aelevadoan: or do you know that that model has something else?
08:01 imirkin: aelevadoan: right now the latest released are the 5th generation ones
08:01 imirkin: intel cpu's only ever have intel gpu's embedded in them
08:01 aelevadoan: imirkin: this is the computer http://www.notebookcheck.org/Analisis-completo-del-MSI-GS60-Ghost-Pro-3K-Edition-2PEWi716SR21.119335.0.html
08:02 mjg59: imirkin: The quad cores don't tend to have GPUs
08:02 imirkin: i believe all recent intel cpu's have a gpu embedded with the exception of xeons (server chips)
08:02 imirkin: however some manufacturers turn that off
08:02 imirkin: mjg59: mine does
08:02 imirkin: desktop cpu, core i7-47xx
08:02 imirkin: or 49xx
08:02 imirkin: i forget
08:02 mjg59: imirkin: Heh. And checking ark, so does the one aelevadoan is talking about
08:03 mjg59: So yeah ignore me
08:04 imirkin: mjg59: i think the xeon's don't. and also ILK desktop chips didn't have the GPUs (like the comp i'm presently on, core i7-920)
08:05 aelevadoan: Im not really familiar with all these terms youre using
08:14 karolherbst: imirkin: sure about the gpu?
08:14 imirkin: karolherbst: which?
08:14 karolherbst: mhh, the cpu has indeed a gpu
08:15 imirkin: oh fun, actually the GTX 870M appears to be a GK104M
08:15 karolherbst: at least the cpu has Vt-d
08:15 karolherbst: yeah
08:15 karolherbst: its kepler
08:15 imirkin: then it's considerably more likely to be supported
08:15 karolherbst: but there are also models like this with 9xxM
08:17 karolherbst: okay, its the 870M one
08:17 karolherbst: was't quite sure and saw the link too late
08:18 karolherbst: aelevadoan: with a little bit luck you should be able to use the native drivers inside a vm on the gpu (at least this would be something I would try out)
08:19 karolherbst: imirkin: usually the 770m card seems to work pretty good, didn't find much with issues
08:19 karolherbst: tested like 30 games now
08:20 imirkin: karolherbst: so just talos?
08:20 karolherbst: and ss3
08:20 imirkin: which use the same engine
08:20 karolherbst: allthough I didn't saw green walls there
08:20 karolherbst: yeah
08:20 imirkin: [right?]
08:20 karolherbst: but the same flickering
08:20 karolherbst: talos is newer though
08:21 karolherbst: by some time
08:21 karolherbst: mhh
08:21 karolherbst: it was branched out from the serious sam 4 development
08:23 karolherbst: I never looked that up, but the game menus look exactly the same and also the detailed grahic settings are there, will look up how close they are exactly
08:28 aelevadoan: karolherbst: i dont understand what you're saying
08:28 aelevadoan: A friend told me to look if that specific nvidia card works
08:28 aelevadoan: if its compatible with noveau
08:29 aelevadoan: to put parabola
08:29 imirkin: aelevadoan: unfortunately it's difficult to tell from just a laptop description
08:29 imirkin: aelevadoan: marketing names don't always map deterministically to actual chips used
08:29 imirkin: aelevadoan: however based on what i see right now in pci.ids, the GTX 870M is a GK104, which in general, is reasonably well supported by nouveau
08:30 imirkin: aelevadoan: however a lot of people with GK106's have had issues with VBIOSes initializing the GPUs in weird ways that cause nouveau not to be able to bring up acceleration
08:30 imirkin: aelevadoan: so there's no real way to tell ahead of time if it'll work or not
08:30 aelevadoan: hmm
08:31 karolherbst: imirkin: do you know if anybody with a 780M tried nouveau?
08:31 aelevadoan: well, there might be laptop models that are more checked already
08:31 aelevadoan: known for being more compatible
08:31 imirkin: karolherbst: i know someone with a 780 Ti who tried nouveau.
08:31 karolherbst: its GK110 sadly
08:31 imirkin: GK110B actually :)
08:31 imirkin: reports as nvf1 instead of nvf0
08:32 karolherbst: there are many GK104 out there :O
08:32 aelevadoan: imirkin: and if it wasnt well supported, what could I do?
08:32 imirkin: aelevadoan: cry crocodile tears
08:32 karolherbst: imirkin: how close would be something like the 660 Ti to 690 tot he mobile one?
08:32 karolherbst: *to
08:33 imirkin: karolherbst: based on the model number? no implied proximity.
08:33 aelevadoan: imirkin: I mean, I can use the nvidia card with other drivers=
08:33 imirkin: the model numbers have *nothing* to do with *anything*
08:33 aelevadoan: ?
08:33 karolherbst: they are all GK104-something
08:33 imirkin: aelevadoan: oh yeah, the blob drivers tend to work great
08:33 aelevadoan: imirkin: what are blob drivers?
08:33 imirkin: aelevadoan: however you have to jump through a lot of hoops for optimus setups
08:33 imirkin: aelevadoan: nvidia proprietary drivers
08:33 aelevadoan: ah ok
08:34 aelevadoan: and bumblebee is for graphic drivers?
08:34 imirkin: yes.
08:34 imirkin: but not for nouveau :)
08:34 imirkin: it's for blob drivers
08:34 imirkin: that don't play nice with the rest of the system
08:34 karolherbst: you could use it for open drivers though, but DRI_PRIME is the better solution ;)
08:34 aelevadoan: whats the difference between bumblebee and nouveau=
08:34 aelevadoan: ?
08:34 karolherbst: bumblebee is a piece of software which brings up a second X server
08:34 aelevadoan: hmm, I really am amateur in this
08:34 imirkin: like the difference between an apple and an orange :p
08:35 karolherbst: and powers on/off the gpu
08:35 aelevadoan: can I use blob drivers in parabola, for example?
08:35 imirkin: what's parabola?
08:35 karolherbst: bumblebee can use primusrun or vgl to transport then the drawn stuff from the second X server (used with nvidia card) to your primary one (used with intel card)
08:35 aelevadoan: a linux distribution
08:35 karolherbst: it should work on every distribution
08:35 imirkin: can you? dunno. i know i certainly could manage.
08:36 karolherbst: mhh
08:36 karolherbst: parabola is like libre stuff
08:36 karolherbst: don't think they ship blob drivers
08:36 imirkin: so step 1 would be "install a non-messed-up kernel" :)
08:36 karolherbst: yeah
08:37 karolherbst: mhh
08:37 karolherbst: they have bbswitch but no bumblebee
08:37 karolherbst: uhhh
08:37 karolherbst: 3.12 is current kernel version?
08:38 karolherbst: mhhh
08:38 imirkin: at least it's not 3.2 :p
08:38 karolherbst: ahh no, it was a strange header package
08:38 karolherbst: no, they use 4.1.1 already
08:38 karolherbst: aelevadoan: you should check what wifi, ethernet, bluetooth and audio chip this laptop uses
08:39 karolherbst: and if they need closed firmware blobs
08:39 karolherbst: otherwise you may should use another distribution
08:40 imirkin: or another laptop :)
08:41 karolherbst: I only need firmware for my intel wifi, but they are also closed, aren't they?
08:41 imirkin: aelevadoan: your best bet though, is to not have a second gpu at all. just use the intel gpu that's built into the chip and move on. should be good enough for light gaming.
08:41 imirkin: you won't get much better perf out of nouveau anyways
08:41 aelevadoan: its not for gaming
08:41 karolherbst: imirkin: I think he has over goals than light gaming with a 870M ;)
08:41 karolherbst: :O
08:41 karolherbst: but then why?
08:42 karolherbst: I would suggest an intel iris based one, if gpu power is not that important, but if its really important, then a laptop without a secon gpu, yes
08:42 karolherbst: which are hard to come by for stupid reasons
09:15 karolherbst: imirkin: whitcher 2 has nice graphical glitches
09:16 karolherbst: already in the game menu, so trace should be short
09:25 imirkin: you guys are finding bugs faster than i can solve them
09:26 imirkin: karolherbst: try to work this one out yourself, see how far you get :)
09:26 karolherbst: trace is strange
09:26 karolherbst: opens liek 10 windows
09:26 karolherbst: but no content
09:26 imirkin: yeah, wine can do that
09:26 karolherbst: its native
09:26 imirkin: or maybe it's that stupid wrapper
09:27 karolherbst: it uses EON
09:27 karolherbst: or neon?
09:27 imirkin: eon :)
09:27 karolherbst: don't know how its called
09:27 karolherbst: k
09:27 karolherbst: eon
09:27 imirkin: neon is the arm sse thing
09:27 karolherbst: right
09:28 karolherbst: yeah, a run with glitch and without crash :)
09:28 karolherbst: and 300MB trace
09:28 karolherbst: the last one was over 2 GB
09:29 karolherbst: mhh
09:30 karolherbst: this is totally strange
09:31 karolherbst: "apitrace: warning: glMapBufferRange: MAP_COHERENT_BIT unsupported (https://github.com/apitrace/apitrace/issues/232)"
09:31 karolherbst: "apitrace: warning: glBufferStorage: MAP_NOTIFY_EXPLICIT_BIT_VMWX set w/o MAP_PERSISTENT_BIT"
09:31 imirkin: MESA_EXTENSION_OVERRIDE=-GL_ARB_buffer_storage
09:31 karolherbst: k
09:31 imirkin: [when recording the trace]
09:32 karolherbst: game won't start now
09:32 imirkin: there's no way it _requires_ buffer storage
09:32 karolherbst: mhh
09:32 karolherbst: maybe I should set it to opengl 2.1 mode
09:33 karolherbst: I set it to 3.2 before I guess
09:33 imirkin: buffer storage is GL 4.4
09:34 karolherbst: nope, crash log
09:34 imirkin: what about with intel?
09:34 karolherbst: https://gist.github.com/karolherbst/dc9fef7f9b714249e621
09:34 karolherbst: also crash
09:35 imirkin: all seems happy...
09:37 karolherbst: there is a SIGSEGV inside the game
09:37 karolherbst: trace doesn't look helpful
09:38 imirkin: well, i guess they could silently be requiring buffer storage
09:38 imirkin: although that'd be a little weird.
09:38 karolherbst: required is nvidia 331.38 or later or gflrx 14.4 or later
09:40 karolherbst: I could do a screenshot though
09:42 karolherbst: imirkin: https://i.imgur.com/QofTwUb.png?1
09:43 imirkin: does it work with intel?
09:44 imirkin: at the top of nvc0_vbo.c try setting vb_dirty = 1 and cb_dirty = 1
09:44 imirkin: er
09:44 imirkin: i mean nvc0_vbo.c:nvc0_draw_vbo
09:47 karolherbst: it should look like this: https://i.imgur.com/rjW1m8h.png?1
09:47 karolherbst: it actually does sometimes on nouveau
09:50 karolherbst: imirkin: how should I set them?
09:51 imirkin: uhm... with an equal sign?
09:51 karolherbst: ahh found cb_dirty
09:51 karolherbst: but ther eis no vb_dirty?
09:51 imirkin: vbo_dirty maybe?
09:51 karolherbst: nvc0->cb_dirty = 1 ?
09:53 imirkin: ya
09:53 imirkin: and vbo_dirty = 1
09:53 karolherbst: yeah, compiling
09:56 karolherbst: mhh "error: ‘struct nvc0_context’ has no member named ‘vbo_dirty’"
09:56 imirkin: base.vbo_dirty?
09:57 karolherbst: ahh base
09:57 karolherbst: yeah
09:57 imirkin: look at how it's set elsewhere
10:08 karolherbst: allthough the game seems to run more stable, it does not fix the issue
10:09 karolherbst: ingame is heavy glitching
10:11 imirkin: =/
10:12 karolherbst: screenshots aren't catching the issue really
10:12 karolherbst: http://www.filebin.ca/28HiNotNjuI1/out.mp4
10:15 karolherbst: new X server is very fun
10:16 imirkin: makes you long for the xdmcp days of yore?
10:16 karolherbst: closing tab in chromium crashes X
10:16 karolherbst: fun
10:16 karolherbst: not everytime though
10:18 karolherbst: but the video is also much fun
10:20 imirkin: karolherbst: ok yeah, so we're clearly not flushing vertex buffers enough
10:21 imirkin: but... i dunno how to flush them more :)
10:21 imirkin: vbo_dirty is best i can do
10:26 karolherbst: imirkin: new benchmark, seems pretty nice overall
10:27 karolherbst: GTX 650 is doing great
11:00 karolherbst: ....
12:13 karolherbst: imirkin: should I open a bug report for witcher2?
12:13 imirkin: karolherbst: yes
12:14 imirkin: karolherbst: although... hrm
12:14 imirkin: there's no repro
12:14 imirkin: but you can log it anwyays
12:14 karolherbst: yeah, just in case somebody search for it
12:17 karolherbst: I could try if it works with softpipe though :/
12:17 karolherbst: but I have to buy stuff before, so maybe I give it a try later
12:18 karolherbst: imirkin: https://bugs.freedesktop.org/show_bug.cgi?id=91310 If I forgot something feel free to add it
12:41 karolherbst: ohh forgot the mime type
12:43 karolherbst: imirkin: by the way: would it be a "valid" way to help nouveau by family sharing the steam library? :D
12:44 imirkin: don't they ban you for that?
12:44 karolherbst: don't know
12:45 karolherbst: don't think they would ban me though
12:45 karolherbst: I don't know how the legal situation is, but well
12:47 karolherbst: mhh "Steam Family Sharing allows friends and family members to play one another's games while earning their own Steam achievements and saving their own game progress to the Steam cloud. "
12:48 karolherbst: "friends" is a dangerous term here
12:49 karolherbst: imirkin: but do you know the limitations of family sharing?
12:50 imirkin: ope
12:50 imirkin: nope*
12:50 karolherbst: its ulikely you get banned because of this: one player per library online, shared library requires internet conection, max 5 accounts and max 10 devices
12:50 karolherbst: so if I am online with my library, somebody of the nouveau team can't access it anyway
12:51 karolherbst: maybe I find something or I just ask them :D
12:51 karolherbst: steam doesn't seem that bad with open source development anyway
12:51 karolherbst: *valve
12:51 Karlton: karolherbst: it might be illegal depending on what the license/eula says
12:51 karolherbst: not all games will be shared because of this anyway
12:51 imirkin: well, valve provides access to valve games for mesa developers
12:51 imirkin: so i have all valve games
12:52 karolherbst: ahh
12:52 imirkin: but... it's not that many of them
12:52 imirkin: and seems like the croteam engine is the on that has trouble with nouveau, but they have no such program
12:52 karolherbst: whch games are croteam?
12:52 imirkin: maybe they have some tech demos available
12:52 imirkin: serious sam, talos
12:52 karolherbst: I see
12:53 karolherbst: there is a talos demo I think
12:53 karolherbst: yeah
12:53 karolherbst: pretty sure
12:53 karolherbst: I played the demo before buying the game
12:53 imirkin: hmmm
12:53 imirkin: i'll take a look
12:54 karolherbst: 330710 is the steam id
12:54 karolherbst: mhh
12:54 karolherbst: its also for the main game
12:54 karolherbst: ahh "Download Demo"
12:55 karolherbst: but does it make a hughe difference if you can also get apitraces?
12:55 imirkin: indeed yeah
12:56 imirkin: welllll
12:56 imirkin: it gives me the opportunity to create my own traces
12:56 karolherbst: ... so my crash only happens from chromium if I somehow change a tab
12:56 karolherbst: I see
12:56 karolherbst: I think this would make sense for talos a lot anyway
12:56 karolherbst: because they have such a detailed graphic settings menu
12:56 karolherbst: it might be easy to optimize for a special use case
12:57 karolherbst: or setting
12:57 imirkin: yea
12:58 karolherbst: to be honest I never saw something like that before in other games, so you might be suprised :D
12:58 imirkin: i'll be surprised by anything, i don't really play games
12:58 imirkin: last game i played a lot was probably diablo2
12:58 karolherbst: :D
12:58 imirkin: which was what... ~2000?
12:59 Yoshimo: diablo 3 looks a lot better ;)
12:59 karolherbst: :D
12:59 imirkin: looks better != better
12:59 karolherbst: sadly I missed diablo 2 somehow
12:59 imirkin: i think some of the best games were for NES
12:59 karolherbst: maybe if I would be 3 or 4 years older I would have played it a lot too
12:59 imirkin: simple, good story, etc
12:59 imirkin: now they focus on fancy effects
12:59 karolherbst: NES :)
12:59 imirkin: instead of good gameplay
13:00 karolherbst: the new divinity is pretty good
13:00 karolherbst: pretty improved RPG gameplay
13:00 imirkin: and a game like 'the 7th guest' (for pc) would be entirely unreleasable today (it was a puzzle game)
13:00 karolherbst: could be the start of a new RPG breakthrough
13:01 karolherbst: but its true, there are hardly any innovative games today
13:03 Yoshimo: that becomes harder over time karol
13:03 karolherbst: why should it?
13:04 karolherbst: you could have said it 2000 years ago
13:05 karolherbst: just because we don't know what is possible at all, doesn't mean its getting harder to "invent" new stuff
13:05 karolherbst: there are always games which new stuff, but they aren't as hyped as the usual games
13:06 karolherbst: there is a lot you could not do 20 years ago
13:06 karolherbst: for example look at what dwarf fortress does
13:06 karolherbst: it may look like a game 30 years ago
13:06 karolherbst: but 30 years ago it wasn't possible because of needed cpu power
14:55 karolherbst: this is insane now, never had such an unstable X server and I don't know why :(
14:58 imirkin: should probably try tracking down where the crashes go
15:00 karolherbst: https://gist.github.com/karolherbst/73c3177ffb41d6ba3c4f
15:00 karolherbst: doesn't help me much
15:00 karolherbst: I rebuilt with debug symbols now
15:01 karolherbst: also I may have a new bug for you :p
15:04 imirkin: AddClientOnOpenFD -- i wonder what that does
15:05 karolherbst: its more interesting why killpg is called inside it
15:05 karolherbst: or is it already part of the error handler?
15:05 imirkin: probably
15:33 karolherbst: wow, staring metro redux stuff with GL 4.1 override is strange :D
15:34 karolherbst: imirkin: are you doing stuff for tesselation shaders?
15:35 imirkin: tess is ~done
15:35 imirkin: metro redux just uses subroutines though
15:35 karolherbst: I see
15:35 karolherbst: because it requires 4.1
15:36 karolherbst: ahh no, it only required 4.0
15:36 karolherbst: my mistake
15:36 karolherbst: mhh
15:36 karolherbst: what required 4.1
15:36 imirkin: not really
15:36 karolherbst: ahh mhh
15:36 imirkin: bioshock
15:36 karolherbst: yeah
15:36 karolherbst: right
15:37 imirkin: anyways, there's a branch in my tree that should give you legit 4.1 support
15:37 karolherbst: which one?
15:37 imirkin: although tess on kepler has even more issues than on fermi
15:37 imirkin: https://github.com/imirkin/mesa/commits/gl4-integration-3
15:37 imirkin: i should probably redo it
15:38 karolherbst: would like to test some more advance stuff out
15:38 karolherbst: like metro redux and bioshock :)
15:38 karolherbst: but not today I guess
15:40 karolherbst: I think I will start with metro redux though and try to fetch the patches for subroutine first then
15:45 karolherbst: imirkin: airlied/arb_shader_subroutine' is all the subroutine stuff?
15:46 imirkin: yeah. but with my branch you don't have to do any of the override bs
15:46 imirkin: you just get GL 4.1 reported
15:47 karolherbst: I don't know how to do it now, because of portage
15:48 imirkin: ok, well do whatever you like :)
15:48 imirkin: metro redux should just need the subroutines thing
15:48 imirkin: i suspect that bioshock infinite needs ARB_viewport_array
15:48 imirkin: which is part of GL 4.1
15:48 imirkin: and maybe a handful of other things
15:57 karolherbst: ok, thanks, will try it out tomorrow and report back if I find any issues
18:30 psaisanas: Hi, is there any reason why the nouveau driver in newer kernels is not able to find the DCB block from the OpenFirmware device tree in recent kernels?
18:33 psaisanas: Previous vanilla kernel i compiled and seemed to work fine was 3.18.16. However, i tried compiling vanilla 4.1.2, and cant detect the dcb block, (which i presume is the "BIT signature found message").
21:11 imirkin: psaisanas: some patches went in to update the way firmware was read out, and it's entirely possible that the OF one got messed up as a result
21:13 imirkin: psaisanas: commit ad4a362635353f7ceb66f4038269770fee1025fa upstream
21:14 imirkin: hmmm... looks like before we memcpy'd the result, while we don't anymore
21:15 imirkin: i dunno how long of_get_property results "last"
21:25 psaisanas: Thanks! I have tried to force it to use the OF dev tree method of reading the DCB by passing the NvBIOS parameter to the module, but to no avail.
21:29 psaisanas: But interestingly enough, when using a standard x86 bios image loading and loading it via file by passing the NvBIOS parameter it sees the DCB. Obviously just for an experiment.
22:06 mogorva: what does this assertion mean: 'main/teximage.c:1320: init_teximage_fields_ms: Assertion `img->_BaseFormat != -1' failed.'
22:06 mogorva: i'm trying to reproduce bug #91310 on NV92, but the game fails to start due to that assertion