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