nvidia-graphics-drivers-304 304.137-0ubuntu2 ADT test failure with linux 4.15.0-1.2 [error: implicit declaration of function ‘init_timer’]

Bug #1737750 reported by Seth Forshee on 2017-12-12
70
This bug affects 13 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-304 (Ubuntu)
Medium
Seth Forshee
nvidia-graphics-drivers-340 (Ubuntu)
Undecided
Unassigned
Seth Forshee (sforshee) wrote :
tags: added: kernel-adt-failure
Seth Forshee (sforshee) wrote :
Changed in nvidia-graphics-drivers-304 (Ubuntu):
assignee: nobody → Seth Forshee (sforshee)
importance: Undecided → Medium
status: New → In Progress
Seth Forshee (sforshee) wrote :

Note that I've compile tested the attached fix but don't have hardware to do run-time testing.

tags: added: patch
Unit 193 (unit193) wrote :

I can confirm Seth's findings, as well as the fact it functions.

nvidia-304, 304.137, 4.15.0-10-generic, x86_64: installed

[ 40.440] (II) NVIDIA dlloader X Driver 304.137 Thu Sep 14 13:52:41 PDT 2017
[ 40.440] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 40.440] (II) NOUVEAU driver Date: Fri Apr 21 14:41:17 2017 -0400

00:0d.0 VGA compatible controller: NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) (prog-if 00 [VGA controller])
 Kernel driver in use: nvidia

Thanks for the patch!

Seth Forshee (sforshee) wrote :

It's been suggested that this driver should be removed as it's not longer maintained (bug 1748000), so I'm not sure what the fate of this patch will be.

matt r. (triplr) wrote :

it is maintained by nvidia, i submitted a report to them .

how do I install the patch and where, driver kernel etc ?
i have compiled kernels, but not a patch as of yet

i have the hardware.

matt r. (triplr) wrote :

build reject for this patch in the driver

matt r. (triplr) wrote :

thank you google and duck duck gogo, i found the patch instructions here

https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/4/

Ricardo Almeida (ric-almeida) wrote :

Could a ppa be created for the easy distribution of the patched version?

Bill Miller (wbmilleriii) wrote :

I'd love to have it too. It controlled the heating on my laptop better than any other version.

jfrantzius (jfrantzius) wrote :

Could some friendly soul provide instructions on how to apply the patch from comment #2 ?

Or are there any chances it will be applied in a way that the proprietary driver manager will find the (patched) 304.137 driver again?

(the alleged patch on if-not-true-then-false seems to be something entirely different. I downloaded the patched driver there, and it fails with same 3 error messages)

summary: nvidia-graphics-drivers-304 304.137-0ubuntu2 ADT test failure with linux
- 4.15.0-1.2
+ 4.15.0-1.2 [error: implicit declaration of function ‘init_timer’]
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Confirmed
Andy Dufresne (adufray) wrote :

@jfrantzius and others, I wrote a quick blog post to document the steps required to apply Seth's wonderful patch:

https://adufray.com/blog/2018/06/02/nvidia-304-127-on-bionic

Hope that helps.

Thank you for your efforts, Seth! It is a shame this patch and package will not longer be included in the PPA; it seems they've marked the other bug as Won't Fix. This driver version is the latest available for my aging GeForce 7300 GT.

Bill Miller (wbmilleriii) wrote :

I really appreciate your doing this. I am trying it right now and the patch process just stops. I looked at the combined patch file and it seems to end with an unterminated left parenthesis. Does the file end prematurely?

Bill Miller (wbmilleriii) wrote :

And, the build process failed with Unable to build the NVIDIA kernel module. Sigh.

Andy Dufresne (adufray) wrote :

When you say the patch process just stops, does it print out any kind of message? The patch should end with this line, which is just contextual information:

 static int nv_drm_load(

Bill Miller (wbmilleriii) wrote :

With offline help from @audfray I got this to work. Really appreciate the help.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers