/srv/irclogs.ubuntu.com/2017/09/26/#ubuntu-x.txt

=== JanC is now known as Guest73457
=== JanC_ is now known as JanC
tjaaltonwhere does nvidia dkms determine if a kernel is supported or not (to build)?07:13
ricotztjaalton, maybe https://www.kernel.org/07:51
tjaaltonhuh? I mean the dkms build07:52
ricotzI assumed you mean how nvidia decides which kernel is still important07:53
tjaaltonit checks the linux-headers package07:53
ricotzit simply tries to build it07:53
ricotzand conditionally applies patches based on the kernel version07:53
tjaaltonERROR (dkms apport): kernel package linux-headers-4.13.0-NNNN is not supported07:54
ricotzI haven't encountered this yet07:54
tjaaltontseliot is off this week, he'd have the answer07:54
tjaaltonokay07:55
ricotznever ran into this using the ppa or mainline packages07:55
tjaaltonit comes from dkms itself07:58
tjaaltonso it refuses to build if the kernel is from a ppa. wonderful08:09
ricotztjaalton, is this acually the nvidia module failing? "apport" confuses me here08:44
tjaaltonyes08:44
tjaaltonit's a ppa kernel based on 4.13+drm-next08:44
tjaaltonso I'll fix nvidia to build against it and show what I got :P08:45
ricotzhmm, I am using the canonical-kernel-team ppa packages here08:45
tjaaltonthe apport error just confused me08:45
ricotzmight be that they handled special08:45
tjaaltonall it means is that it won't file a bug because it's an unofficial kernel, which is correct08:45
tjaaltonwhat I didn't see was the build error08:45
ricotzwhich nvidia version?08:46
tjaaltonthe latest08:46
ricotzso 384.90?08:46
tjaaltonyep08:46
ricotzif you are changing the drm stack it could be a legit failure though08:47
tjaaltonyep08:47
tjaaltonI know it is08:47
ricotznvidia doesnt build on 4.1408:47
ricotzok08:47
tjaaltonright, I'll fix that08:48
tjaaltonactually it's drm-intel-next-queued, which has drom from 4.14 and then some08:48
tjaalton*Drm08:48
tjaaltonuh08:48
tjaalton*drm08:48
ricotzI guess you have to figure this out yourself then08:48
tjaaltonsure08:48
ricotzthere are some hacky 4.14 patches around08:49
ricotzmamarley, hi, btw not a fan that you already copied 384.9008:49
ricotzI was running it and didn't had issues though08:50
tjaaltonat which point are the dkms patches applied?09:14
tjaaltonthe PATCH lines in dkms.conf are all commented out09:24
ricotztjaalton, there are no patches required up to 4.13.x09:25
tjaaltonah09:25
ricotzand 4.14 is not supported09:25
ricotzyou will have to add one09:25
tjaaltonwhy keep the old crap there to confuse random people? :)09:25
ricotzfor reference/ as how to ;)09:26
tjaaltonok then09:29
mamarleyricotz: Sorry, I thought you had already looked at it when I uploaded it without the ARM binary on Friday.10:02
ricotzmamarley, I see, I just confirmed that I read your message10:42
tjaaltonwasn't too hard to make nvidia build against 4.13+dinq11:30
tjaaltonbut now I need to provide something with the kernel to check against, since it's not really 4.13 nor 4.1411:31
tjaaltonor, fix conftest.sh11:31
ricotztjaalton, what is the goal here?11:35
ricotzwhy aren't you just using 4.14+11:35
tjaaltonbecause I canm't11:35
tjaalton-m11:36
tjaaltonyou'll hear about it in a few weeks11:36
ricotzbackporting the drm stack like in the good old days...11:37
tjaaltonalright, 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.h16:17
tjaaltonmamarley: this seems to build at least, I have no hw to test https://pastebin.com/YFcVb8ZF17:10
mamarleytjaalton: I think you highlighted the wrong person there; I'm not sure what this is about.17:40
=== JanC_ is now known as JanC
tjaaltonmamarley: you don't upload new versions to the ppa?18:57
mamarleytjaalton: I do, but I hadn't previously been attempting to install the driver on 4.14.18:58
tjaaltonah18:58
mamarleyI 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.18:59
tjaaltoni'll have test feedback tomorrow19:01
mamarleyThanks for the patch though!19:02
mamarleyIt definitely looks more complicated than anything I would have been able to come up with myself.19:02
tjaaltonhad to do it this way so that it builds with drm-intel-next19:03
tjaaltonand also mainlines19:03
mamarleyI 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:04
tjaaltonno i mean can't do simple version comparison19:05
tjaaltondrm-intel-next is (currently) 4.1319:06
mamarleyAh, OK, sorry, I misunderstood.19:12
ricotztjaalton, I don't think this will work with the real 4.14, I expected there to be GPL issues20:36
ricotztjaalton, what is happening with the legacy drivers in "a few weeks"?20:41

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!