Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia Drivers 545.29.06-r1 kompilieren nicht mit 6.7.3
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Thu Feb 01, 2024 10:24 am    Post subject: Nvidia Drivers 545.29.06-r1 kompilieren nicht mit 6.7.3 Reply with quote

Hello @all

Ich habe das Problem das der aktuelle nvidia-drivers nicht mit dem Kernel 6.7.3 (gentoo-sources) kompiliert, hier erstmal das build.log:
http://0x0.st/HDfd.log

Ich habe einen Bug gefunden der dieses Problem mit dem 6.8-rc1 Kernel beschreibt und dort ist auch ein Kernel Patch enthalten. Diesen kann ich aber nicht wirklich sauber beim Kernel 6.7.3 anwenden.
https://github.com/NVIDIA/open-gpu-kernel-modules/issues/594

Sollte ich deswegen einen Bug aufmachen oder kann das Problem anderweitig gelöst werden ?

Dies ist meine emerge --info:
Code:
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-13, glibc-2.38-r10, 6.7.2-gentoo-r1-Cracked.OS x86_64)
=================================================================
System uname: Linux-6.7.2-gentoo-r1-Cracked.OS-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.38
KiB Mem:    65732760 total,  45335512 free
KiB Swap:  234429436 total, 234429436 free
Timestamp of repository gentoo: Thu, 01 Feb 2024 09:48:21 +0000
Head commit of repository gentoo: b5b0faecc01cb68d40e8155021fce7feea9f3fee

Timestamp of repository steam-overlay: Wed, 31 Jan 2024 14:07:10 +0000
Head commit of repository steam-overlay: c872878fa2b1fec44985e08a3c20938221eb7ecf

sh bash 5.2_p26
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r1::gentoo
dev-build/cmake:           3.28.1-r1::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.74.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.3::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: False
    sync-git-verify-commit-signature: yes

ollis-overlay
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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"
CXXFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --with-bdeps=y --jobs=2 --load-average=1 --keep-going"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://ftp.fau.de/gentoo     https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/     https://ftp.halifax.rwth-aachen.de/gentoo/     ftp://mirror.netcologne.de/gentoo/     http://ftp.agdsn.de/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de"
MAKEOPTS="-j32 -l32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS_FLAGS="-9"
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"
SHELL="/bin/bash"
USE="X a52 aac aacplus acl acpi activities aes aio alsa amd64 ao apng appstream arj aspell avx avx2 bash-completion bluetooth bluray branding btrfs bzip2 cairo caps cdda cdr cgroup cgroups clang cleartype cli client cmake colord console corefonts cpudetection crypt cuda cups curl dbus declarative discover dri dri3 drm dts dv dvd dvdr editor efi egl emf encode evdev exif f16c faac faad fat fbcon fbsplash ffmpeg fftw firewalld flac flatpak fltk fma fma3 fma4 fontconfig foomaticdb fortran fpm fuse g-sorcery gallium games gbm gcrypt gd gdbm geoclue geolocation gif gimp git glamor gles gles2 glut glx gmp gnupg gnutls googledrive gpg gpm grub gsm gtk gui harfbuzz hunspell hwaccel i18n ibus iconv icu id3tag imagemagick inotify iproute2 iptables ipv6 iso ispell ithreads jack java javascript jbig jit jpeg jpeg2k jpg json kde kdesu kmod kms kwallet l10n ladspa lame largepages latin1 lcms lensfun lha libass libdrm libglvnd libkms libnotify librtmp libsamplerate libsoxr libtirpc libv4l libva libxml2 llvm lm-sensors lm_sensors loop-aes lz4 lzma lzo mad mail matroska mediacenter mem-scramble minizip mjpeg mktemp mmap mmx mng mouse mp3 mp4 mpc mpeg mpfr mplayer mtp multilib multimedia multitarget nautilus ncurses neon networkmanager nftables nls nptl nptlonly nscd nsplugin ntfs ntp nvenc nvme ocaml ogg openal opencl opengl opengpg openmax openmp openssl orc osmesa pae pam pango parted passwdqc passwordsave pclmul pcre pdf pdfimport perl pgo pipewire plasma playlist pm-utils png policykit popcnt postproc ppds pulseaudio python python3 q64 qml qrcode qt5 quad quicktime rar raw readline reencrypt rpm rss rtmp s3tc screencast sdl seccomp secure-delete semantic-desktop sensors sharedmem shmvideo smp smpeg sndfile sndio sound sox speex spell sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 sse4a sse5 ssl ssse3 startup-notification streaming svg svt-av1 sync-plugin-portage syslog sysprof system-png systemd systeminfo systemtap sysvipc taglib tagsoup test-rust tga theora thin threads thumbnail thunderbird tiff timezone tinfo tls tools tpm tracker trayicon truetype twolame udev udisks uefi unarj unicode unlock-notify unrar unzip upower urandom usb user-session v4l v4l2 va vaapi vdpau vorbis vpx vulkan wayland webengine webp widgets winbind wmf wxwidgets x11 x264 x265 xattr xcb xft xlib-xcb xml xorg xpm xrandr xv xvid zbus zip zlib zoo zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="canon canon630u canon_dr pixma" VIDEO_CARDS="d3d12 nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Thu Feb 01, 2024 10:29 am    Post subject: Reply with quote

Ich habe dasselbe Problem eben erlebt.

Die build.log ist irrsinnig lang, da bin ich erleichtert, daß du sie schon eingeladen hast.

Nun bin ich auch sehr gespannt, ob eine Lösung in Aussicht steht.

Liebe Grüße
ManfredB
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Thu Feb 01, 2024 10:34 am    Post subject: Reply with quote

Was ich gerade noch entdeckt habe:

Im /boot-Verzeichnis fehlt initramfs.

Ich habe die gentoo-sources mit genkernel --install all versehen.

Nun ist da noch ein weiteres Problem.

Gruß
ManfredB
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Thu Feb 01, 2024 10:39 am    Post subject: Reply with quote

https://bugs.gentoo.org/923456

Hier gibt es schon einen Bug im Bugtracker dazu.
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Thu Feb 01, 2024 10:46 am    Post subject: Reply with quote

Vielen Dank für den Hinweis.

Nun ist für mich klar geworden, daß einen Schritt zu schnell vollzogen habe.
Die letzten gentoo-sources haben noch gut funktioniert, aber der Nachfolger scheitert.

Ich nehme das erst einmal hin, denn wir befinden uns in unstable, das sagt ja schon einiges. :D

Irgendwie wirkt das wie ein Streit zwischen Bruder und Schwester. :wink:

Liebe Grüße
ManfredB
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Thu Feb 01, 2024 10:57 am    Post subject: Reply with quote

Kurzer Nachtrag;

Weil ich dieses unstable mit dem merkwürdigen Fehlen von initramfs nicht mehr neu starten könnte,
habe ich mir von einem anderen unstable einfach den vorherigen Kernel, l/lib/modules und /usr/src
herüberkopiert und bin problemlos wieder auf dem Desktop gelandet.

Nun warte ich einfach ab, bis eine Lösung kommt.
Alle anderen unstable-Systeme werde ich vorläufig in Ruhe lassen.

Liebe Grüße und einen angenehmen Tag
von
ManfredB
Back to top
View user's profile Send private message
platinumviper
l33t
l33t


Joined: 12 Feb 2004
Posts: 648
Location: Munich, Germany

PostPosted: Thu Feb 01, 2024 1:39 pm    Post subject: Reply with quote

Das liegt am sinnlosen rumgemurkse in den Gentoo-Sourcen. Mit dem Original-Kernel gibt es das Problem nicht.
_________________
No money back garantee. In case of problems, don't call us, we call you.
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Thu Feb 01, 2024 1:46 pm    Post subject: Reply with quote

Zum Glück habe ich gentoo-sources nur auf meinem PC.
Auf keinen Fall auf meinem Acer Nitro 5 und Acer Aspire.

Pause: unstable mit gentoo-sources!!!

Gruß
ManfredB
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4556
Location: Germany

PostPosted: Thu Feb 01, 2024 2:57 pm    Post subject: Nvidia Drivers 545.29.06-r1 kompilieren nicht mit 6.7.3 Reply with quote

platinumviper wrote:
Das liegt am sinnlosen rumgemurkse in den Gentoo-Sourcen. Mit dem Original-Kernel gibt es das Problem nicht.

Sorry, aber das ist schlicht und einfach nicht wahr. Das Problem gibt es auch mit dem vanilla Kernel, siehe zb im https://bugs.gentoo.org/923456#c7

/Edit,
oder auch direkt im https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/include/linux/mmzone.h?h=v6.7.3&id=3a01daace71b521563c38bbbf874e14c3e58adb7
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Thu Feb 01, 2024 9:00 pm    Post subject: Reply with quote

Hi,

platinumviper wrote:
Das liegt am sinnlosen rumgemurkse in den Gentoo-Sourcen. Mit dem Original-Kernel gibt es das Problem nicht.


wenn man das dazu nimmt:

Code:
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'


ist es eindeutig kein "Gemurkse" am Kernel sondern eher von NVidia :-(. Die haben es eben immer noch nicht "gelernt"...

MfG. Stefan
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1924
Location: Schweiz

PostPosted: Fri Feb 02, 2024 7:28 am    Post subject: Reply with quote

bbgermany wrote:
Hi,

platinumviper wrote:
Das liegt am sinnlosen rumgemurkse in den Gentoo-Sourcen. Mit dem Original-Kernel gibt es das Problem nicht.


wenn man das dazu nimmt:

Code:
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'


ist es eindeutig kein "Gemurkse" am Kernel sondern eher von NVidia :-(. Die haben es eben immer noch nicht "gelernt"...

MfG. Stefan

Und mit den AMD/Intel-Treibern gibt es auch noch ein Paradebeispiel wie es von Nvidia richtig gemacht werden könnte, die Treiber werden vom Hersteller gepflegt und sind trotzdem im Kernel.
Auch lustig/peinlich (wie man es nehmen will) sind die Ausreden von Nvidia warum sie es anders machen. Je nach Wetterlage heißt es sie hätten noch fremden Code im Treiber (den sie nicht veröffentlichen dürfen) und abreiten daran diesen durch eigenen zu ersetzen oder die Entwicklung außerhalb des Kernels würde es ihnen ermöglichen das vergleichsweise beste Ergebnis abzuliefern... :roll:
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Fri Feb 02, 2024 8:46 am    Post subject: Reply with quote

Hallo zusammen!

Neue Erfahrung: eben habe ich gentoo-unstable aktualisiert. gentoo-sources 6.7.3 wurden installiert.

Danach: eselect kernel list
eselect kernel set 2
genkernel --install all

Was ich danach immer wieder gemacht habe:
emerge --ask depclean
emerge --ask @module-rebuild

Letzteres emerge --ask @module-rebuild musste ich heute nicht mehr tun.
Grund: ich schaue kurz nach /lib/modules und sehe sehr überrascht, daß bereits /video integriert ist.

So habe ich es bisher nie erlebt.
Umso mehr freut es mich, daß nicht wieder nvidia-drivers bei der Installation scheitert.

Fazit: Sehr gut diese neue Lösung.

Gruß
ManfredB
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Fri Feb 02, 2024 9:25 am    Post subject: Reply with quote

Frage;
Interpretiere ich genkernel-Prozess richtig?: genkernel braucht lange, um modules zusammenzusuchen,
u.a. auch /lib/modules/video (Inhalt: nvidia)

Damit ist das Problem mit den nvidia-drivers gelöst - so meine Ansicht.

Nur bei einer NeuInstallation gibt es dieses Problem noch.

Gruß
ManfredB
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Fri Feb 02, 2024 10:13 am    Post subject: Reply with quote

Übrigens:

Bei einer Neuinstallation von gentoo (egal ob stable oder unstable) würde ich zuvor von einem schon bestehenden System
/boot /lib/modules und /usr/src herüberkopieren.

Grund: wenn gekernel so sorgfältig die Module zusammenstellt, dann würde auch in diesem Fall
emerge --ask @module-rebuild nicht mehr notwendig sein - so meine Überzeugung.

OB es wirklich funktioniert, stelle ich mal dahin. Eines Tages werde ich es testen.

Oder habe ich in der Vergangenheit nicht genügend nachgeschaut und daher bei einem Update von gentoo-sources und genkernel
emerge --ask @module-rebuild völlig überflüssig getan? ich bin mir weder in der einen wie in der anderen Frage völlig unsicher.....

Liebe Grüße
ManfredB
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Fri Feb 02, 2024 1:35 pm    Post subject: Reply with quote

Neuigkeit:

Auf meinem Acer Nitro 5 Notebook habe ich eben gentoo-kernel-bin aktualisieren müssen: 6.7.3.
Hier kommt auch immer emerge --ask --depclean und emerge --ask @module-rebuild.

Code:

emerge --ask @module-rebuild

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 4.04 s (backtrack: 0/20).

[ebuild   R    ] x11-drivers/nvidia-drivers-545.29.06-r1

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-545.29.06-r1::gentoo
>>> Installing (1 of 1) x11-drivers/nvidia-drivers-545.29.06-r1::gentoo
>>> Completed (1 of 1) x11-drivers/nvidia-drivers-545.29.06-r1::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 2.71, 0.85, 0.38


Hier hat es also einwandfrei geklappt.
Ich war vorher noch etwas unruhig, ob es hier möglicherweise auch den Fehler gibt.
Aber nun bin ich komplett erleichtert, daß es ohne Einschränkung erfolgreich beendet ist.

Liebe Grüße
ManfredB
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4556
Location: Germany

PostPosted: Fri Feb 02, 2024 9:56 pm    Post subject: Reply with quote

@ManfredB,
bei gentoo-kernel und gentoo-kernel-bin sollte vermutlich auch das dist-kernel useflag gut funktionieren, siehe zb via
Code:
equery uses nvidia-drivers
dist-kernel      : Enable subslot rebuilds on Distribution Kernel upgrades
Setze das am besten global für alle Pakete (in der make.conf), dann kannst dir den @module-rebuild sparen.
Back to top
View user's profile Send private message
platinumviper
l33t
l33t


Joined: 12 Feb 2004
Posts: 648
Location: Munich, Germany

PostPosted: Fri Feb 02, 2024 10:11 pm    Post subject: Reply with quote

Dass Nvidia die Treiber außerhalb des Kernels pflegt, ist natürlich Mist. Es gibt aber leider keine brauchbare Alternative zu CUDA.
Auf meinen fünf Rechnern mit Nvidia-Karten und Original-Kernel (per git aktuell gehalten), kompiliert nvidia-drivers-545.29.06-r1 fehlerfrei. Wenn es mit den gentoo-sources nicht klappt, liegt es offensichtlich an den Patches. Wenn die Patches gut und sinnvoll sind, warum wurden sie nicht eingereicht und in den Kernel integriert? 6.7.3 ist stable, da muss nichts gepatcht werden.
Code:
uname -a
Linux jupiter 6.7.3 #1 SMP Thu Feb  1 14:30:56 CET 2024 x86_64 AMD Ryzen 9 3900X 12-Core Processor AuthenticAMD GNU/Linux

Code:
eix nvidia-drivers
[I] x11-drivers/nvidia-drivers
     Verfügbare Versionen:   {M}390.157(0/390) 470.223.02(0/470) 525.147.05(0/525) [M]~535.43.24(0/vulkan) 535.146.02(0/535){xpak:10} 535.154.05(0/535) (~)545.29.06-r1(0/545){xpak:8} **550.40.07(0/550) {+X dist-kernel kernel-open +modules modules-compress modules-sign persistenced +static-libs +strip +tools wayland ABI_X86="32 64"}
     Installierte Versionen: 545.29.06-r1(0/545){xpak:8}(16:09:11 02.02.2024)(X modules static-libs strip tools -dist-kernel -kernel-open -modules-compress -modules-sign -persistenced -wayland ABI_X86="32 64")
     Startseite:             https://www.nvidia.com/download/index.aspx
     Beschreibung:           NVIDIA Accelerated Graphics Driver

_________________
No money back garantee. In case of problems, don't call us, we call you.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4556
Location: Germany

PostPosted: Fri Feb 02, 2024 10:34 pm    Post subject: Reply with quote

Gelöscht,
weil war ein versehentlicher Doppelpost.


Last edited by Josef.95 on Sat Feb 03, 2024 12:56 am; edited 1 time in total
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4556
Location: Germany

PostPosted: Fri Feb 02, 2024 10:35 pm    Post subject: Reply with quote

Gelöscht,
weil war ein versehentlicher Doppelpost.


Last edited by Josef.95 on Sat Feb 03, 2024 12:57 am; edited 1 time in total
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4556
Location: Germany

PostPosted: Fri Feb 02, 2024 10:37 pm    Post subject: Reply with quote

@platinumviper,
ja, sollte jetzt funktionieren - gestern gab es einen "workaround-fix" bei den nvidia-drivers Paketen, siehe https://bugs.gentoo.org/923456#c23

(und nochmal - es gibt hier kein Problem mit den gentoo-sources :)
Back to top
View user's profile Send private message
platinumviper
l33t
l33t


Joined: 12 Feb 2004
Posts: 648
Location: Munich, Germany

PostPosted: Sat Feb 03, 2024 12:32 am    Post subject: Reply with quote

@Josef.95: ging bei mir gestern Mittag auch schon, aber egal, ich verwende die gentoo-sources ja ohnehin nicht.

Hatte völlig verdrängt, dass es auch einen Open-Source-Treiber gibt (USE-Flag "kernel-open"), der funktioniert auch. Bisher habe ich keine Probleme bemerkt, die Geschwindigkeit ist bei meinen Stable-Diffusion Benchmark-Bildern deutlich höher. Version 550.40.07 läuft jetzt auch mit Kernel 6.8.0-rc2.
_________________
No money back garantee. In case of problems, don't call us, we call you.


Last edited by platinumviper on Mon Feb 12, 2024 1:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Mon Feb 05, 2024 8:40 pm    Post subject: Reply with quote

Hallo zusammen!

Ich habe heute nachmittag begonnen, gentoo-unstable mit gentoo-sources zu installieren.

Das System ist noch ganz am Anfang:
gentoo-sources sind installiert, genkernel --install all
Danach grub-mkconfig -o /boot/grub/grub.cfg
Das Ergebnis in den BootManager von PCLinuxOS übertragen.

Ich wollte nämlich versuchen, ob es auf level 3 gelingt, mit der Installation fortzufahren.
Vorher natürlich noch nvidia-drivers (mit Erfolg) installiert.
root- und user-Passwort.

Leider muss ich wieder in der chroot-Umgebung weitermachen - aber erst morgen wieder.
Denn Internet war nicht zu erreichen - obwohl auf dem PC Kabel-Internet ist.
Aber networkmanager war noch nicht installiert.

Dass diesmal der nvidia-driver ohne Probleme installiert werden konnte, war schon toll!!!

Liebe Grüße
ManfredB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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