Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] nvidia-drivers not installing on genkernel 4.4.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Thu Jun 23, 2016 8:26 am    Post subject: [SOLVED] nvidia-drivers not installing on genkernel 4.4.6 Reply with quote

Hi All,

I'm banging my head against a brick wall with this. nvidia-drivers emerge is failing.

I have the build.log here: http://pastebin.com/0f3rnyyG
And the environment log here: http://pastebin.com/fmwF9JBQ

I'm just using genkernel for now and will revert to own build later.

I have reviewed a number of posts which referred to geek-sources and/or applying patches. The first I have not tried and the second is beyond my skill set.

Any help appreciated.

Regards
Raoul
_________________
**************
Not all pain is gain.


Last edited by Raoul on Wed Jun 29, 2016 3:16 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6963
Location: Saint Amant, Acadiana

PostPosted: Thu Jun 23, 2016 11:35 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-1045052-highlight-.html
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Fri Jun 24, 2016 3:43 am    Post subject: Reply with quote

Hi Jaglover,

Thanks very much for your reply.
I tried the patches with both a 4.4 and 4.6 kernel but both without success. I used the patch in the shown in the last reply on the thread you replied with.

The patch.out is here: http://pastebin.com/PsQmE6du
And the build.log is here: http://pastebin.com/E6jEacEB

I'm not sure what I am doing wrong.

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6963
Location: Saint Amant, Acadiana

PostPosted: Fri Jun 24, 2016 10:53 am    Post subject: Reply with quote

Raoul,

the patch is for x11-drivers/nvidia-drivers-340.96-r5.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Fri Jun 24, 2016 10:49 pm    Post subject: Reply with quote

hi Jaglover,

I am trying to emerge nvidia-settings. Attempting this without any keywords it tries to install nvidia-drivers-340.93.r1 and nviidia-settings-340.58. From the text prior to the hyperlink in your poost in that other thread it implied suitability for nvidia-drivers-340.xx

I have also tried to apply ~amd64 keyword to nvidia-drivers and it installs successfully without any patch but I can then not install nvidia-settings as it downgrades drivers to 340.93.

Is there any mod I need in the patch to make it work for 340.93?

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1031
Location: Massachusetts USA

PostPosted: Sat Jun 25, 2016 12:22 am    Post subject: Reply with quote

If you build nvidia-drivers with the tools USE flag set then you do not need to emerge nviidia-settings since it is built by nvidia-drivers.
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Sun Jun 26, 2016 12:46 am    Post subject: Reply with quote

Thanks jburns, I have modified and nvidia-settings does work.
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Sun Jun 26, 2016 1:01 am    Post subject: Reply with quote

All,

I am still stuck with this issue. An upgrade updated gcc, so I have emerged libtool as per guide. I have also re-run genkernel after gcc and I am still running into issues.

nvidia-drivers (with ~amd64 keyword) installs with seemingly no issues.

I run nvidia-xconfig seemingly with success.

When I try to xterm or twm or startx it says no screens found and that it cannot insert module nvidia due to exec format error.

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6963
Location: Saint Amant, Acadiana

PostPosted: Sun Jun 26, 2016 1:07 am    Post subject: Reply with quote

exec format error - module is not compiled for running kernel.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Sun Jun 26, 2016 1:20 am    Post subject: Reply with quote

Yes. Tho I am not sure what else to do. I am running the genkernel kernel most recently compiled.
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6963
Location: Saint Amant, Acadiana

PostPosted: Sun Jun 26, 2016 2:55 am    Post subject: Reply with quote

Are you? Does uname -v print the correct time you compiled your kernel?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Wed Jun 29, 2016 3:18 am    Post subject: Reply with quote

Hi Jaglover,

I did in fact get this working with a fresh install. I unmasked both nvidia-drivers and gentoo-sources and the installation was fine. I think I stuffed something else up with the kernel.

Thanks for your help.

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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