One year ago I managed to install Gentoo on my laptop, but now I'm stuck on Xorg during a new installation (from scratch) on a Ryzen 9950X3D with nvidia 5080 card.
Any suggestions would be very much appreciated.
I would like to use nvidia-drivers and not the nouveau.
Here is my emerge --info:
Code: Select all
emerge --info
Portage 3.0.72 (python 3.13.5-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-15, glibc-2.41-r6, 6.12.58-gentoo x86_64)
=================================================================
System uname: Linux-6.12.58-gentoo-x86_64-AMD_Ryzen_9_9950X3D_16-Core_Processor-with-glibc2.41
KiB Mem: 63298400 total, 61422084 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Mon, 08 Dec 2025 07:00:00 +0000
Head commit of repository gentoo: a6939d44b2284a01c5e65888ba3d87fbd4771dba
sh bash 5.3_p3-r3
ld GNU ld (Gentoo 2.45.1 p1) 2.45.1
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.3_p3-r3::gentoo
dev-build/autoconf: 2.72-r4::gentoo
dev-build/automake: 1.18.1::gentoo
dev-build/cmake: 4.1.2-r1::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r102::gentoo
dev-build/meson: 1.9.1::gentoo
dev-lang/perl: 5.42.0-r1::gentoo
dev-lang/python: 3.13.5_p1::gentoo, 3.14.0::gentoo
dev-lang/rust-bin: 1.89.0::gentoo
llvm-core/llvm: 20.1.8::gentoo
sys-apps/baselayout: 2.18::gentoo
sys-apps/openrc: 0.62.10::gentoo
sys-apps/sandbox: 2.46::gentoo
sys-devel/binutils: 2.45.1::gentoo
sys-devel/binutils-config: 5.6::gentoo
sys-devel/gcc: 15.2.1_p20251122::gentoo
sys-devel/gcc-config: 2.12.2::gentoo
sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.41-r6::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 3
sync-rsync-extra-opts:
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* @FREE @BINARY-REDISTRIBUTABLE @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
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=native -O2 -pipe"
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 merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://gentoo-mirror.alexxy.name/ rsync://mirror.mephi.ru/gentoo-distfiles/ https://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j 16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="bzip2"
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 acl acpi activities alsa amd64 avif bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative display-manager dist-kernel dri dts dvd dvdr elogind encode eselect-ldso exif ffmpeg-chromium firewall flac gdbm gif gpm gui iconv icu ipv6 jpeg jpegxl kde kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nvenc ogg opengl openmp oxygen-theme pam pango pcre pdf persistenced pipewire plasma png policykit ppds proprietary-codecs pulseaudio qml qt5 qt6 readline screencast sddm sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vdpau vorbis vulkan wayland webp widgets wxwidgets x264 xattr xcb xft xml xorg xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_15" 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 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl avx_vnni bmi1 bmi2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGSCode: Select all
[ 83.626]
X.Org X Server 1.21.1.20
X Protocol Version 11, Revision 0
[ 83.626] Current Operating System: Linux Ryzen3D 6.12.58-gentoo #4 SMP PREEMPT_DYNAMIC Mon Dec 8 23:45:38 MSK 2025 x86_64
[ 83.626] Kernel command line: BOOT_IMAGE=/vmlinuz-6.12.58-gentoo root=UUID=1b59fdc4-9d65-4375-9e15-9eba085eb38c ro
[ 83.626]
[ 83.626] Current version of pixman: 0.46.4
[ 83.627] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 83.627] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 83.627] (==) Log file: "/home/nervi/.local/share/xorg/Xorg.0.log", Time: Mon Dec 8 23:53:21 2025
[ 83.627] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 83.627] (==) No Layout section. Using the first Screen section.
[ 83.627] (==) No screen section available. Using defaults.
[ 83.627] (**) |-->Screen "Default Screen Section" (0)
[ 83.627] (**) | |-->Monitor "<default monitor>"
[ 83.627] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 83.627] (**) Allowing byte-swapped clients
[ 83.627] (==) Automatically adding devices
[ 83.627] (==) Automatically enabling devices
[ 83.627] (==) Automatically adding GPU devices
[ 83.627] (==) Automatically binding GPU devices
[ 83.627] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 83.627] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 83.627] Entry deleted from font path.
[ 83.627] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 83.627] Entry deleted from font path.
[ 83.627] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 83.627] Entry deleted from font path.
[ 83.627] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 83.627] Entry deleted from font path.
[ 83.627] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 83.627] Entry deleted from font path.
[ 83.627] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 83.627] Entry deleted from font path.
[ 83.627] (==) FontPath set to:
[ 83.627] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 83.627] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 83.627] (II) Module ABI versions:
[ 83.627] X.Org ANSI C Emulation: 0.4
[ 83.627] X.Org Video Driver: 25.2
[ 83.628] X.Org XInput driver : 24.4
[ 83.628] X.Org Server Extension : 10.0
[ 83.628] (++) using VT number 2
[ 83.628] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
[ 83.628] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 83.628] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:78:00.0/drm/card0
[ 83.629] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[ 83.631] (--) PCI:*(1@0:0:0) 10de:2c02:1569:f322 rev 161, Mem @ 0xd8000000/67108864, 0xf800000000/17179869184, 0xfc00000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[ 83.631] (--) PCI: (120@0:0:0) 1002:13c0:1462:7e49 rev 201, Mem @ 0xfc10000000/268435456, 0xdcc00000/2097152, 0xdd100000/524288, I/O @ 0x0000e000/256
[ 83.631] (II) LoadModule: "glx"
[ 83.631] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 83.632] (II) Module glx: vendor="X.Org Foundation"
[ 83.632] compiled for 1.21.1.20, module version = 1.0.0
[ 83.632] ABI class: X.Org Server Extension, version 10.0
[ 83.632] (==) Matched ati as autoconfigured driver 0
[ 83.632] (==) Matched nouveau as autoconfigured driver 1
[ 83.632] (==) Matched nv as autoconfigured driver 2
[ 83.632] (==) Matched modesetting as autoconfigured driver 3
[ 83.632] (==) Matched fbdev as autoconfigured driver 4
[ 83.632] (==) Matched vesa as autoconfigured driver 5
[ 83.632] (==) Assigned the driver to the xf86ConfigLayout
[ 83.632] (II) LoadModule: "ati"
[ 83.633] (WW) Warning, couldn't open module ati
[ 83.633] (EE) Failed to load module "ati" (module does not exist, 0)
[ 83.633] (II) LoadModule: "nouveau"
[ 83.633] (WW) Warning, couldn't open module nouveau
[ 83.633] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 83.633] (II) LoadModule: "nv"
[ 83.633] (WW) Warning, couldn't open module nv
[ 83.633] (EE) Failed to load module "nv" (module does not exist, 0)
[ 83.633] (II) LoadModule: "modesetting"
[ 83.633] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 83.633] (II) Module modesetting: vendor="X.Org Foundation"
[ 83.633] compiled for 1.21.1.20, module version = 1.21.1
[ 83.633] Module class: X.Org Video Driver
[ 83.633] ABI class: X.Org Video Driver, version 25.2
[ 83.633] (II) LoadModule: "fbdev"
[ 83.633] (WW) Warning, couldn't open module fbdev
[ 83.633] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 83.633] (II) LoadModule: "vesa"
[ 83.633] (WW) Warning, couldn't open module vesa
[ 83.633] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 83.633] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 83.633] (WW) Falling back to old probe method for modesetting
[ 83.634] (II) modeset(1): using default device
[ 83.634] (II) modeset(G0): using drv /dev/dri/card0
[ 83.634] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 83.634] (EE) Screen 0 deleted because of no matching config section.
[ 83.634] (II) UnloadModule: "modesetting"
[ 83.634] (EE)
Fatal server error:
[ 83.634] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 83.634] (EE)
[ 83.634] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 83.634] (EE) Please also check the log file at "/home/nervi/.local/share/xorg/Xorg.0.log" for additional information.
[ 83.634] (EE)
[ 83.635] (EE) Server terminated with error (1). Closing log file.I cannot understand were is the problem and why nvidia is not lloaded. It should be on the correct place:
Code: Select all
Ryzen3D ~ # l /usr/lib64/xorg/modules/drivers/
total 6776
drwxr-xr-x 1 root root 62 Dec 6 15:09 .
drwxr-xr-x 1 root root 232 Dec 6 15:09 ..
-rwxr-xr-x 1 root root 123408 Dec 6 15:09 modesetting_drv.so
-rwxr-xr-x 1 root root 6808080 Dec 8 22:22 nvidia_drv.so
Ryzen3D ~ # l /usr/lib64/xorg/modules/extensions/
total 13428
drwxr-xr-x 1 root root 126 Dec 8 22:22 .
drwxr-xr-x 1 root root 232 Dec 6 15:09 ..
lrwxrwxrwx 1 root root 32 Dec 8 22:22 libglxserver_nvidia.so -> libglxserver_nvidia.so.580.95.05
-rwxr-xr-x 1 root root 13462128 Dec 8 22:22 libglxserver_nvidia.so.580.95.05
-rwxr-xr-x 1 root root 281656 Dec 6 15:09 libglx.so


