FS#52734 - [nvidia-304xx] 304.134-4 and Linux 4.9 : X doesn't start.

Attached to Project: Arch Linux
Opened by hopimet (hopimet) - Friday, 27 January 2017, 17:33 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 30 January 2017, 10:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Description: Update with kernel 4.9 and driver nvidia-304xx 304.134-4 does not start and gives error message during the boot: "driver nvidia already registered aborting"

I saw a similar bug here : https://bugs.archlinux.org/task/52243 for nvidia-340xx 340.101-5 which was solved with a patch. Would it be possible to apply a patch for nvidia-304xx 304.134-4?

Additional info:
* package version(s) : nvidia-304xx 304.134-4
* config and/or log files etc.


Steps to reproduce: update kernel to 4.9 and nvidia driver to nvidia-304xx 304.134-4

Temporary solution: downgrade the kernel to 4.8 and driver to nvidia-304xx 304.134-1 (or use lts kernel with nvidia-304xx-lts 304.134-2 that works fine)
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Monday, 30 January 2017, 10:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  nvidia-304xx-304.134-5
Comment by hopimet (hopimet) - Friday, 27 January 2017, 18:08 GMT
I tried to apply the patch for the nvidia-340xx 340.101-5 but it fails with the nvidia-304xx 304.134-4 with this message:
patching file kernel/nv-drm.c
Hunk #1 FAILED at 115.
1 out of 1 hunk FAILED -- saving rejects to file kernel/nv-drm.c.rej
Failed to apply patch file
Comment by loqs (loqs) - Friday, 27 January 2017, 18:42 GMT
If you do not use the patch but try to alter the existing sources directly nvidia-304xx/src/NVIDIA-Linux-x86_64-304.134-no-compat32/kernel-dkms/nv-drm.c line 74 from
.driver_features = 0,
to
.driver_features = LEGACY,
edit:
patch from debian https://anonscm.debian.org/viewvc/pkg-nvidia/packages/nvidia-graphics-drivers-legacy-304xx/trunk/debian/module/debian/patches/drm-driver-legacy.patch?revision=7149&view=co
Comment by Johnny Nielsen (Johnny.Nielsen) - Monday, 30 January 2017, 08:48 GMT
Same bug on X86_64 architecture, with the same packages/versions.

LTS Linux works, but I suspect that may be because the most recent nvidia-304xx-lts package is at version 304.134-2

Hope to see patched packages on the repos soon. Keep up the good work :o)

Cheers :o)
Johnny :o)

Loading...