View previous topic :: View next topic |
Author |
Message |
Jon Wilder Tux's lil' helper

Joined: 04 Apr 2011 Posts: 98 Location: Fresno CA
|
Posted: Mon Aug 31, 2015 5:31 pm Post subject: Gentoo Sources 4.2.0 with nVidia Proprietary Video Drivers |
|
|
Just FYI for those who are running the ~ tree with x11-drivers/nvidia-drivers proprietary binary blob...this driver is not yet compatible with the recently released 4.2.0 Gentoo sources. There is an incompatibility with the nvidia.ko module and Gentoo sources 4.2.0. In attempting to update to the 4.2.0 kernel, I received an incompatibility error with this module.
In reading this article -
https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers#Kernel_compatibility
I learned that any new kernel release which changes the ABI drivers requires any drivers which use these ABI's to be changed accordingly. For open source drivers, especially ones distributed with the kernel, this isn't usually an issue and can be fixed quite easily since the drivers are open source. But with proprietary drivers, it's up to the hardware manufacturer to implement this change in their driver code, and when they decide to do that is anyone's guess.
To locally mask Gentoo Sources 4.2.0, I added this file entry to the /etc/portage/package.mask directory -
Code: |
echo ">=sys-kernel/gentoo-sources-4.2.0" > /etc/portage/package.mask/gentoo-sources
|
Once nVidia releases a driver update, you should be able to build it into the kernel with no issues.
I have tested Gentoo 4.2.0 on a different platform using an ATI Radeon onboard GPU (does not use in kernel proprietary drivers) and it seems to work fine with no issues. |
|
Back to top |
|
 |
Yvi71 n00b

Joined: 01 Sep 2015 Posts: 3 Location: Nuremberg/Germany
|
Posted: Tue Sep 01, 2015 4:25 pm Post subject: it's a legal question.. |
|
|
..one could also apply this patch : http://lkml.iu.edu/hypermail/linux/kernel/1508.0/02260.html
but i wonder if this could be a legal problem...somehow ???
At least this would be a way to test 4.2 with nvidia - drivers - if someone really really wants to.
best regards,
yves |
|
Back to top |
|
 |
shadywack n00b

Joined: 30 Aug 2012 Posts: 28
|
Posted: Tue Sep 01, 2015 9:01 pm Post subject: |
|
|
Haven't found anywhere that the new 355.11 driver has been tested. I'm curious to know if nVidia has already fixed or worked around this in the latest release. |
|
Back to top |
|
 |
Yvi71 n00b

Joined: 01 Sep 2015 Posts: 3 Location: Nuremberg/Germany
|
Posted: Wed Sep 02, 2015 11:54 am Post subject: |
|
|
shadywack wrote: | Haven't found anywhere that the new 355.11 driver has been tested. I'm curious to know if nVidia has already fixed or worked around this in the latest release. |
Nvidia won't have to. the problem was/is (as you can see if you follow the posted link to the patch) in the kernel sources, as a symbol was exported accidentically as gpl only during a refactoring. The patch is already accepted for kernel 4.3 .
shit happens...
best regards,
yves |
|
Back to top |
|
 |
mpagano Developer


Joined: 27 Apr 2004 Posts: 185 Location: USA
|
Posted: Wed Sep 02, 2015 5:07 pm Post subject: |
|
|
Hello.
gentoo-sources-4.2.0-r1 has been committed with this patch and should hit the mirrors in a few hours. |
|
Back to top |
|
 |
shadywack n00b

Joined: 30 Aug 2012 Posts: 28
|
Posted: Wed Sep 02, 2015 6:07 pm Post subject: |
|
|
mpagano wrote: | Hello.
gentoo-sources-4.2.0-r1 has been committed with this patch and should hit the mirrors in a few hours. |
Awesome thanks for the info man
[edit]
It's not in the bugzilla, so I'll just confirm here it fixes the bug. |
|
Back to top |
|
 |
mpagano Developer


Joined: 27 Apr 2004 Posts: 185 Location: USA
|
Posted: Wed Sep 02, 2015 7:06 pm Post subject: |
|
|
shadywack wrote: | mpagano wrote: | Hello.
gentoo-sources-4.2.0-r1 has been committed with this patch and should hit the mirrors in a few hours. |
Awesome thanks for the info man |
You're welcome.
Quote: |
[edit]
It's not in the bugzilla, so I'll just confirm here it fixes the bug. |
https://bugs.gentoo.org/show_bug.cgi?id=559276 |
|
Back to top |
|
 |
Jon Wilder Tux's lil' helper

Joined: 04 Apr 2011 Posts: 98 Location: Fresno CA
|
Posted: Thu Sep 03, 2015 1:24 am Post subject: |
|
|
Was the -r1 appended to the end in the tree? On my system it's still coming up as gentoo-sources-4.2.0. |
|
Back to top |
|
 |
tryn Guru


Joined: 21 Dec 2002 Posts: 320 Location: 39.885° N. -88.913° W.
|
Posted: Thu Sep 03, 2015 1:53 am Post subject: |
|
|
Jon Wilder
I ran a around 5:00 pm and it was there then. |
|
Back to top |
|
 |
Jon Wilder Tux's lil' helper

Joined: 04 Apr 2011 Posts: 98 Location: Fresno CA
|
Posted: Thu Sep 03, 2015 1:55 am Post subject: |
|
|
tryn wrote: | Jon Wilder
I ran a around 5:00 pm and it was there then. |
Ah yes of course. I have a server that uses a cron job to sync the tree once a day at midnight every night and /usr/portage on my client machines are mounted to /usr/portage on my server via NFS. I'll just wait till midnight on the next sync so as to not oversync. |
|
Back to top |
|
 |
Yvi71 n00b

Joined: 01 Sep 2015 Posts: 3 Location: Nuremberg/Germany
|
Posted: Thu Sep 03, 2015 7:45 am Post subject: |
|
|
mpagano wrote: | Hello.
gentoo-sources-4.2.0-r1 has been committed with this patch and should hit the mirrors in a few hours. |
Thank you very much!! Keep up the good work!
best regards,
Yves |
|
Back to top |
|
 |
|