=== JanC is now known as Guest73457 === JanC_ is now known as JanC [07:13] where does nvidia dkms determine if a kernel is supported or not (to build)? [07:51] tjaalton, maybe https://www.kernel.org/ [07:52] huh? I mean the dkms build [07:53] I assumed you mean how nvidia decides which kernel is still important [07:53] it checks the linux-headers package [07:53] it simply tries to build it [07:53] and conditionally applies patches based on the kernel version [07:54] ERROR (dkms apport): kernel package linux-headers-4.13.0-NNNN is not supported [07:54] I haven't encountered this yet [07:54] tseliot is off this week, he'd have the answer [07:55] okay [07:55] never ran into this using the ppa or mainline packages [07:58] it comes from dkms itself [08:09] so it refuses to build if the kernel is from a ppa. wonderful [08:44] tjaalton, is this acually the nvidia module failing? "apport" confuses me here [08:44] yes [08:44] it's a ppa kernel based on 4.13+drm-next [08:45] so I'll fix nvidia to build against it and show what I got :P [08:45] hmm, I am using the canonical-kernel-team ppa packages here [08:45] the apport error just confused me [08:45] might be that they handled special [08:45] all it means is that it won't file a bug because it's an unofficial kernel, which is correct [08:45] what I didn't see was the build error [08:46] which nvidia version? [08:46] the latest [08:46] so 384.90? [08:46] yep [08:47] if you are changing the drm stack it could be a legit failure though [08:47] yep [08:47] I know it is [08:47] nvidia doesnt build on 4.14 [08:47] ok [08:48] right, I'll fix that [08:48] actually it's drm-intel-next-queued, which has drom from 4.14 and then some [08:48] *Drm [08:48] uh [08:48] *drm [08:48] I guess you have to figure this out yourself then [08:48] sure [08:49] there are some hacky 4.14 patches around [08:49] mamarley, hi, btw not a fan that you already copied 384.90 [08:50] I was running it and didn't had issues though [09:14] at which point are the dkms patches applied? [09:24] the PATCH lines in dkms.conf are all commented out [09:25] tjaalton, there are no patches required up to 4.13.x [09:25] ah [09:25] and 4.14 is not supported [09:25] you will have to add one [09:25] why keep the old crap there to confuse random people? :) [09:26] for reference/ as how to ;) [09:29] ok then [10:02] ricotz: Sorry, I thought you had already looked at it when I uploaded it without the ARM binary on Friday. [10:42] mamarley, I see, I just confirmed that I read your message [11:30] wasn't too hard to make nvidia build against 4.13+dinq [11:31] but now I need to provide something with the kernel to check against, since it's not really 4.13 nor 4.14 [11:31] or, fix conftest.sh [11:35] tjaalton, what is the goal here? [11:35] why aren't you just using 4.14+ [11:35] because I canm't [11:36] -m [11:36] you'll hear about it in a few weeks [11:37] backporting the drm stack like in the good old days... [16:17] alright, I have a diff to the source that adds a couple of new tests to conftest.sh, works with funny kernels and doesn't rely on version.h [17:10] mamarley: this seems to build at least, I have no hw to test https://pastebin.com/YFcVb8ZF [17:40] tjaalton: I think you highlighted the wrong person there; I'm not sure what this is about. === JanC_ is now known as JanC [18:57] mamarley: you don't upload new versions to the ppa? [18:58] tjaalton: I do, but I hadn't previously been attempting to install the driver on 4.14. [18:58] ah [18:59] I usually hold off until -rc5 or -rc6 or so before installing the RC kernel, since in the past damage has been done to people's filesystems by installing early RCs. [19:01] i'll have test feedback tomorrow [19:02] Thanks for the patch though! [19:02] It definitely looks more complicated than anything I would have been able to come up with myself. [19:03] had to do it this way so that it builds with drm-intel-next [19:03] and also mainlines [19:04] I imagine if it needs that to build against drm-intel-next, it will probably also need it for 4.15 later on down the road. [19:05] no i mean can't do simple version comparison [19:06] drm-intel-next is (currently) 4.13 [19:12] Ah, OK, sorry, I misunderstood. [20:36] tjaalton, I don't think this will work with the real 4.14, I expected there to be GPL issues [20:41] tjaalton, what is happening with the legacy drivers in "a few weeks"?