Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-drivers-440.64 fail to buiild against kernel 5.6
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
Hammett
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 170
Location: Barcelona, Catalonia

PostPosted: Mon Mar 30, 2020 6:43 pm    Post subject: nvidia-drivers-440.64 fail to buiild against kernel 5.6 Reply with quote

Hi all,

I am unable to build nvidia-drivers-440.64 (which is supposed to have support for kernel 5.6).

emerge --info '=x11-drivers/nvidia-drivers-440.64::gentoo'
Code:

Portage 2.3.89 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-9.3.0, glibc-2.30-r6, 5.5.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.5.10-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-gentoo-2.6
KiB Mem:    16351036 total,  10436268 free
KiB Swap:    5241852 total,   5241852 free
Head commit of repository gentoo: 3b60aa70800f92530a13c4e285aaa699d26ed156

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.7::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://gitweb.gentoo.org/repo/gentoo.git/
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ROKO__
    location: /var/lib/layman/ROKO__
    masters: gentoo
    priority: 50

erayd
    location: /var/lib/layman/erayd
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver2 -O2 -pipe -fomit-frame-pointer -fgraphite-identity -floop-nest-optimize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver2 -O2 -pipe -fomit-frame-pointer -fgraphite-identity -floop-nest-optimize"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.evowise.com/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 berkdb bzip2 cli crypt dbus dri elogind eselect-ldso evdev fortran gdbm iconv jpeg lame libglvnd libnotify libtirpc mp3 multilib ncurses nls nptl nvidia opengl openmp pam pcre png policykit readline seccomp smp split-usr ssl symlink tcpd threads tiff truetype udev unicode xml zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu" INPUT_DEVICES="evdev wacom" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_6 python3_7" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


emerge -pqv '=x11-drivers/nvidia-drivers-440.64::gentoo'
Code:
[ebuild   R   ] x11-drivers/nvidia-drivers-440.64  USE="X driver gtk3 kms libglvnd multilib tools uvm -acpi -compat -static-libs -wayland" ABI_X86="32 (64) (-x32)"


Let me know what else is needed

Thank you

Kidn regards,
_________________
I don't fear the people. I fear the demon inside them.
Back to top
View user's profile Send private message
fedeliallalinea
Moderator
Moderator


Joined: 08 Mar 2003
Posts: 26077
Location: here

PostPosted: Mon Mar 30, 2020 6:46 pm    Post subject: Reply with quote

See http://rglinuxtech.com/?p=2717
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ionen
Veteran
Veteran


Joined: 06 Dec 2018
Posts: 1831

PostPosted: Mon Mar 30, 2020 6:47 pm    Post subject: Re: nvidia-drivers-440.64 fail to buiild against kernel 5.6 Reply with quote

Hammett wrote:
(which is supposed to have support for kernel 5.6).
It doesn't, it has support for an early 5.6-rc before the kernel broke it further.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


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

PostPosted: Tue Mar 31, 2020 12:56 am    Post subject: Reply with quote

See https://gitlab.com/snippets/1945940for kernel 5.6 patch.
Back to top
View user's profile Send private message
marziods
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2009
Posts: 136
Location: <Roma>par lavor | Udine | Friul | Italie

PostPosted: Mon Apr 06, 2020 4:53 pm    Post subject: Reply with quote

HI,
I solved with a patch (according with https://wiki.gentoo.org/wiki//etc/portage/patches)

first I create the appropriate directory and downloaded the patch:
Code:
mkdir -p /etc/portage/patches/x11-drivers/nvidia-drivers-440.64
wget -O /etc/portage/patches/x11-drivers/nvidia-drivers-440.64/nvidia-drivers.patch https://gitlab.com/snippets/1945940/raw


then i step into the ebuild dir and run:
Code:
$ cd $(portageq get_repo_path / gentoo)x11-drivers/nvidia-drivers
$ ebuild nvidia-drivers-440.64 clean prepare


and then

Code:
#emerge nvidia-drivers


thats all... and just for now it works well
_________________
linux user #493115
Back to top
View user's profile Send private message
mpoletiek
n00b
n00b


Joined: 18 Dec 2019
Posts: 4

PostPosted: Mon Apr 06, 2020 10:49 pm    Post subject: Reply with quote

marziods wrote:
HI,
I solved with a patch (according with https://wiki.gentoo.org/wiki//etc/portage/patches)

first I create the appropriate directory and downloaded the patch:
Code:
mkdir -p /etc/portage/patches/x11-drivers/nvidia-drivers-440.64
wget -O /etc/portage/patches/x11-drivers/nvidia-drivers-440.64/nvidia-drivers.patch https://gitlab.com/snippets/1945940/raw


then i step into the ebuild dir and run:
Code:
$ cd $(portageq get_repo_path / gentoo)x11-drivers/nvidia-drivers
$ ebuild nvidia-drivers-440.64 clean prepare


and then

Code:
#emerge nvidia-drivers


thats all... and just for now it works well



This worked for me as well. Thanks!
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 218

PostPosted: Tue Apr 07, 2020 11:52 am    Post subject: Reply with quote

Thank You all :)
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