Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't build nvidia-drivers [SOLVED]
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
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3250
Location: Illinois, USA

PostPosted: Sun Aug 30, 2015 6:52 pm    Post subject: Can't build nvidia-drivers [SOLVED] Reply with quote

I have an old hardware system that has GEForce 6100 on the mobo (disabled) and a separate GEForce 6200 card that has video output. it is used for MythTV with the screen mirrored on the video output plugged into an old CRT television. Nvidia-drivers 304.125 is the last version that supports this old video card. I updated the kernel to the latest stable gentoo-sources (4.0.5) and now nvidia-drivers won't build. The build log is here: https://bpaste.net/show/783877616414 I think the relevant part is this:
Quote:
>>> Running pre-merge checks for x11-drivers/nvidia-drivers-304.125
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/4.0.5-gentoo/build
* Found sources for kernel version:
* 4.0.5-gentoo
* Gentoo supports kernels which are supported by NVIDIA
* which are limited to the following kernels:
* <sys-kernel/gentoo-sources-3.18
* <sys-kernel/vanilla-sources-3.18
*
* You are free to utilize epatch_user to provide whatever
* support you feel is appropriate, but will not receive
* support as a result of those changes.
*
* Do not file a bug report about this.
* Checking for suitable kernel configuration options...


So, It seems my options are:

1. Stick with kernel 3.18.11
2. patch the kernel, which I am not qualified to do.
3. Switch to the nouveau driver which won't mirror the output


Or is #3 correct? Can I mirror the display using nouveau? My other Nvidia video systems use nouveau, it is very acceptable in every other way.

Looking for suggestions.


Last edited by Tony0945 on Mon Aug 31, 2015 11:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Sun Aug 30, 2015 7:02 pm    Post subject: Reply with quote

2. You patch the driver, not kernel. Driver patch is available here on these forums.
3. I do not see why not, xrandr should mirror it for you. I have somewhat similar setup and I use DVI splitter instead, I have two monitor+TV setup on two outputs.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3250
Location: Illinois, USA

PostPosted: Sun Aug 30, 2015 7:12 pm    Post subject: Reply with quote

Buffoon wrote:
2. You patch the driver, not kernel. Driver patch is available here on these forums.
3. I do not see why not, xrandr should mirror it for you. I have somewhat similar setup and I use DVI splitter instead, I have two monitor+TV setup on two outputs.


Thank you for your very prompt response. I can google for the patch, but I'm more intrigued by the xrandr idea. I'll research it, but meanwhile, some more hints would be very much appreciated.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Sun Aug 30, 2015 7:15 pm    Post subject: Reply with quote

Don't forget the firmware if you go KMS and nouveau, otherwise vdpau won't work.
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Sun Aug 30, 2015 8:06 pm    Post subject: Reply with quote

If you need the patch see https://forums.gentoo.org/viewtopic-t-1014974-start-25.html which should help.

Yes, with nouveau and KDE Plasma mirroring seemed to be the default behavior (Or I think you just drag the displays on top of each other in the display config portion of systemsettings5). As Buffoon said xrandr should be able to do it. It is like a swiss army knife. It can do almost anything.

https://wiki.gentoo.org/wiki/Xrandr
https://wiki.archlinux.org/index.php/Xrandr
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3250
Location: Illinois, USA

PostPosted: Sun Aug 30, 2015 10:20 pm    Post subject: Reply with quote

davidm wrote:
If you need the patch see https://forums.gentoo.org/viewtopic-t-1014974-start-25.html which should help.

Yes, with nouveau and KDE Plasma mirroring seemed to be the default behavior (Or I think you just drag the displays on top of each other in the display config portion of systemsettings5). As Buffoon said xrandr should be able to do it. It is like a swiss army knife. It can do almost anything.

https://wiki.gentoo.org/wiki/Xrandr
https://wiki.archlinux.org/index.php/Xrandr


Thanks for the links! I unmerged nvidia-drivers and rebuilt the kernel for nouveau. emerge@preserved libs is running now, rebuilding X. It all takes a long time on that old machine.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3250
Location: Illinois, USA

PostPosted: Mon Aug 31, 2015 11:51 pm    Post subject: Reply with quote

Had some trouble getting rid of nvidia and switching to nouveau, but now that that's done, it's working nice with nouveau and xrandr.

It's good to remove some proprietary code too. To top it off, it's all much simpler now.
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