Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Sources 4.2.0 with nVidia Proprietary Video Drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Jon Wilder
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2011
Posts: 98
Location: Fresno CA

PostPosted: Mon Aug 31, 2015 5:31 pm    Post subject: Gentoo Sources 4.2.0 with nVidia Proprietary Video Drivers Reply with quote

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
View user's profile Send private message
Yvi71
n00b
n00b


Joined: 01 Sep 2015
Posts: 3
Location: Nuremberg/Germany

PostPosted: Tue Sep 01, 2015 4:25 pm    Post subject: it's a legal question.. Reply with quote

..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
View user's profile Send private message
shadywack
n00b
n00b


Joined: 30 Aug 2012
Posts: 28

PostPosted: Tue Sep 01, 2015 9:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Yvi71
n00b
n00b


Joined: 01 Sep 2015
Posts: 3
Location: Nuremberg/Germany

PostPosted: Wed Sep 02, 2015 11:54 am    Post subject: Reply with quote

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 :roll: .

shit happens...

best regards,
yves
Back to top
View user's profile Send private message
mpagano
Developer
Developer


Joined: 27 Apr 2004
Posts: 185
Location: USA

PostPosted: Wed Sep 02, 2015 5:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
shadywack
n00b
n00b


Joined: 30 Aug 2012
Posts: 28

PostPosted: Wed Sep 02, 2015 6:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
mpagano
Developer
Developer


Joined: 27 Apr 2004
Posts: 185
Location: USA

PostPosted: Wed Sep 02, 2015 7:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jon Wilder
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2011
Posts: 98
Location: Fresno CA

PostPosted: Thu Sep 03, 2015 1:24 am    Post subject: Reply with quote

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
View user's profile Send private message
tryn
Guru
Guru


Joined: 21 Dec 2002
Posts: 320
Location: 39.885° N. -88.913° W.

PostPosted: Thu Sep 03, 2015 1:53 am    Post subject: Reply with quote

Jon Wilder

I ran a
Code:
emerge --sync
around 5:00 pm and it was there then.
Back to top
View user's profile Send private message
Jon Wilder
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2011
Posts: 98
Location: Fresno CA

PostPosted: Thu Sep 03, 2015 1:55 am    Post subject: Reply with quote

tryn wrote:
Jon Wilder

I ran a
Code:
emerge --sync
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
View user's profile Send private message
Yvi71
n00b
n00b


Joined: 01 Sep 2015
Posts: 3
Location: Nuremberg/Germany

PostPosted: Thu Sep 03, 2015 7:45 am    Post subject: Reply with quote

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! 8)

best regards,
Yves
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum