Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fresh install, x11-drivers/nvidia-drivers build failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
62626368616e
n00b
n00b


Joined: 23 May 2020
Posts: 30

PostPosted: Mon Aug 10, 2020 5:58 am    Post subject: Fresh install, x11-drivers/nvidia-drivers build failure Reply with quote

I have a fresh Gentoo install on my new Thinkpad P53, NVIDIA quadro T1000 GPU. The nvidia drivers are failing to emerge and I'm not sure why.

emerge --info:
https://pastebin.com/LTpC05G8

emerge --pqv:
https://pastebin.com/TXb8JC2B

build log:
https://pastebin.com/EV4Dwiv9

kernel config:
https://pastebin.com/Hf0Dhawd

ebuild environment:
https://pastebin.com/41Kwm9rq

Note that for some reason my kernel version has + appended, I'm not sure why as my tree is clean and I'm not working off of HEAD.
Any help would be appreciated, I have absolutely no idea what is going on. :(
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2751

PostPosted: Tue Aug 11, 2020 3:15 am    Post subject: Reply with quote

Seems bug #736675 was opened about this, maybe something will be figured out there. I do assume it has to do with using kernel 5.8.0 + particular configuration though (may want to try non-5.8.0).

I'd want to suspect CONFIG_SMP given kernel's asm-generic/barrier.h has a "#ifdef CONFIG_SMP" to define smp_read_barrier_depends() but it's certainly set in your configs, so likely something else going on like the header not being used :|
Back to top
View user's profile Send private message
62626368616e
n00b
n00b


Joined: 23 May 2020
Posts: 30

PostPosted: Tue Aug 11, 2020 6:17 am    Post subject: Reply with quote

Ionen wrote:
Seems bug #736675 was opened about this, maybe something will be figured out there. I do assume it has to do with using kernel 5.8.0 + particular configuration though (may want to try non-5.8.0).

I'd want to suspect CONFIG_SMP given kernel's asm-generic/barrier.h has a "#ifdef CONFIG_SMP" to define smp_read_barrier_depends() but it's certainly set in your configs, so likely something else going on like the header not being used :|


Ah yeah, that was me :) I haven't been able to resolve this on my own so I thought I would open a bug for it.

True, 5.8.0 has been out for a bit now and typically the nvidia drivers are updated by now so I didn't even consider that could be a possibility. I tried to build them on my other nvidia machine as well and also got a build failure there, albeit for different reasons.
Back to top
View user's profile Send private message
Antikapitalista
n00b
n00b


Joined: 18 Apr 2011
Posts: 25

PostPosted: Thu Aug 27, 2020 9:27 am    Post subject: Re: Fresh install, x11-drivers/nvidia-drivers build failure Reply with quote

62626368616e wrote:
Note that for some reason my kernel version has + appended, I'm not sure why as my tree is clean and I'm not working off of HEAD.

What do you mean by that? As clean as after running make clean or make mrproper or make distclean...?

Before trying anything myself... have you tried building the kernel first? If not, try building it first, then leave the tree "dirty", fraught with the generated object files after building the kernel, then try installing and building nvidia-drivers. I have found that it is not enough just to configure the kernel source tree for building external modules.

I have been installing and running xanmod-sources patched with patches from zen-sources about a day after they are released, the Nvidia proprietary driver has always been built without a glitch.

(That said, my kernel is configured and built on an AMD Ryzen 2700 to run on a wide range of additional configurations, ranging from a dual Socket F AMD Opteron 8439 SE to an AMD FX-8370.)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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