Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What controls the VIDEO_CARDS choices?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 783

PostPosted: Mon Mar 11, 2024 1:44 am    Post subject: What controls the VIDEO_CARDS choices? Reply with quote

I'm trying to get Xorg running, but I don't seem to have any possibility available for the VIDEO_CARD variable:


Code:
[ebuild   R    ] x11-base/xorg-drivers-21.1-r2::gentoo  INPUT_DEVICES="libinput (-elographics) -evdev (-joystick) -synaptics (-vmmouse) (-void) (-wacom)" VIDEO_CARDS="-amdgpu (-ast) (-dummy) (-fbdev) -freedreno (-geode) (-i915) (-intel) (-mga) (-nouveau) (-nvidia) (-omap) (-qxl) (-r128) -radeon -radeonsi (-siliconmotion) -tegra -vc4 (-vesa) (-via) (-virtualbox) (-vmware)" 0 KiB



What decides what choices are available?

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
shadowless
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2022
Posts: 101

PostPosted: Mon Mar 11, 2024 4:21 am    Post subject: Reply with quote

You have a few chocies available there, but none of the available are set. The gentoo ARM profile has most of them masked.

What kind of system are you setting up here? Does it have a discrete gpu?
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 783

PostPosted: Mon Mar 11, 2024 12:17 pm    Post subject: Reply with quote

It's a Solidrun Honeycomb LX.

I put an NVidia video card in its PCI slot.

Code:
0001:01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 730] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: NVIDIA Corporation GF108 [GeForce GT 730]
        Flags: bus master, fast devsel, latency 0
        Memory at a040000000 (32-bit, non-prefetchable) [size=16M]
        Memory at a400000000 (64-bit, prefetchable) [size=128M]
        Memory at a408000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 10000 [size=128]
        Expansion ROM at a041000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>


Here's the system specs

https://www.solid-run.com/arm-servers-networking-platforms/honeycomb-lx2

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54572
Location: 56N 3W

PostPosted: Mon Mar 11, 2024 12:35 pm    Post subject: Reply with quote

Progman3K,

Do you feel lucky?

nvidia-drivers/nvidia-drivers-550.54.14.ebuild:
        amd64? ( ${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run )
        arm64? ( ${NV_URI}Linux-aarch64/${PV}/NVIDIA-Linux-aarch64-${PV}.run )
        $(printf "${NV_URI}%s/%s-${PV}.tar.bz2 " \
                nvidia-{installer,modprobe,persistenced,settings,xconfig}{,})
        ${NV_URI}NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${PV}.tar.xz


It also has
Code:
KEYWORDS="-* ~amd64 ~arm64"
which means known broken everywhere except amd64 and arm64

so there is an evil binary blob for you but its hard masked
Code:
VIDEO_CARDS=(-nvidia)

Feel free to test it though and file a bug to remove the mask if it works.

The nouveau driver has
Code:
KEYWORDS="amd64 ~arm64 ~loong ppc ppc64 ~riscv x86"
which implies that its been build on arm64 at least.
Again, its hard masked. so the same process applies.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22578

PostPosted: Mon Mar 11, 2024 3:33 pm    Post subject: Re: What controls the VIDEO_CARDS choices? Reply with quote

Progman3K wrote:
Code:
[ebuild   R    ] x11-base/xorg-drivers-21.1-r2::gentoo  INPUT_DEVICES="libinput (-elographics) -evdev (-joystick) -synaptics (-vmmouse) (-void) (-wacom)" VIDEO_CARDS="-amdgpu (-ast) (-dummy) (-fbdev) -freedreno (-geode) (-i915) (-intel) (-mga) (-nouveau) (-nvidia) (-omap) (-qxl) (-r128) -radeon -radeonsi (-siliconmotion) -tegra -vc4 (-vesa) (-via) (-virtualbox) (-vmware)" 0 KiB
What decides what choices are available?
Per man emerge, that looks like those USE flags were masked. Based on context, that is likely done by your profile, probably because someone expected the flags to be broken on your chosen CPU architecture, in which case enabling them would lead to guaranteed failure, so the flags are masked to prevent that failure. If you show emerge --info, someone can inspect the active configuration for your specific profile to confirm or refute that. Discussion in this thread suggests you are using an arm profile. Are you using arm, or arm64? As I read the mask files, your output is expected on arm, and unexpected on arm64.
Code:
$ git grep nouveau -- '*use.mask'
profiles/arch/arm/use.mask:104:video_cards_nouveau
profiles/arch/arm64/use.mask:123:-video_cards_nouveau
As I read the product page you linked, I think that board could use arm64.
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 783

PostPosted: Tue Mar 12, 2024 2:11 am    Post subject: Reply with quote

Thank you, Hu, Neddy, Shadowless.

emerge --info
Code:
Portage 3.0.61 (python 3.11.8-final-0, default/linux/arm64/17.0/desktop/plasma/systemd/merged-usr, gcc-13, glibc-2.38-r10, 5.10.35-00078-g735b8ebfa4d4 aarch64)
=================================================================
System uname: Linux-5.10.35-00078-g735b8ebfa4d4-aarch64-with-glibc2.38
KiB Mem:    63592152 total,  56051916 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Sun, 10 Mar 2024 17:30:01 +0000
Head commit of repository gentoo: afd646becf2fc6736d41c2a6fb0156f3c44fdc78
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.27.9::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-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.3-r1::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::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-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/arm64/binpackages/17.0/arm64

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="*"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-mtune=cortex-a72 -O2 -pipe"
CHOST="aarch64-unknown-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="-mtune=cortex-a72 -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="-mtune=cortex-a72 -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 multilib-strict network-sandbox news parallel-fetch 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="-mtune=cortex-a72 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j16"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa arm64 avahi bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvdr encode exif flac fortran fuse gdbm gif gpm grub gtk gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" 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_ARM="edsp vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v8" 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" INPUT_DEVICES="libinput" KERNEL="linux" 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" VIDEO_CARDS="nouveau" 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, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


So yes, it is arm64.
Being able to try the nouveau or nvidia drivers, is that simply a question of adding them in
/etc/portage/package.accept_keywords/keywords ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54572
Location: 56N 3W

PostPosted: Tue Mar 12, 2024 2:43 pm    Post subject: Reply with quote

Progman3K,

From your profile, both (-nouveau) (-nvidia) are masked. That's what the () means.
Code:
VIDEO_CARDS="-amdgpu (-ast) (-dummy) (-fbdev) -freedreno (-geode) (-i915) (-intel) (-mga) (-nouveau) (-nvidia) (-omap) (-qxl) (-r128) -radeon -radeonsi (-siliconmotion) -tegra -vc4 (-vesa) (-via) (-virtualbox) (-vmware)"


The first step is to fix the masks, so you have control

That' two entries in /etc/portage/profile/use.mask
Code:
-video_cards_nouveau
-video_cards_nvidia


That should get you
Code:
VIDEO_CARDS="-amdgpu (-ast) (-dummy) (-fbdev) -freedreno (-geode) (-i915) (-intel) (-mga) -nouveau -nvidia (-omap) (-qxl) (-r128) -radeon -radeonsi (-siliconmotion) -tegra -vc4 (-vesa) (-via) (-virtualbox) (-vmware)"
notice that the () have gone now.

Add one or the other to VIDEO_CARDS in make.conf.

Both are keyworded ~arm64, so you will need package.accept_keywords entries for them too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 783

PostPosted: Tue Mar 12, 2024 11:04 pm    Post subject: Reply with quote

Hmm,

Thank you for the teachings. I think I understand a tiny bit more how portage works, now. It truly is amazing.

Sadly though, it appears there is a last hurdle to clear.

I am running the kernel I obtained from solidrun, with a Gentoo userspace.
Code:
Linux hammer 5.10.35-00078-g735b8ebfa4d4 #1 SMP PREEMPT Thu Jan 4 17:29:49 UTC 2024 aarch64 GNU/Linux


I've tried to boot a gentoo-sources kernel, so I can enable/disable things myself, but to do this, I'd have to apply a bunch of patches, and it's not clear to me exactly how to do all that, yet. Simply configuring the sources from the solidrun kernel's config doesn't seem to yield a kernel that can mount the ssd.

The upshot is that the running kernel doesn't seem to support graphics...
Code:
[   122.866]
X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
[   122.866] Current Operating System: Linux hammer 5.10.35-00078-g735b8ebfa4d4 #1 SMP PREEMPT Thu Jan 4 17:29:49 UTC 2024 aarch64
[   122.866] Kernel command line: console=ttyAMA0,115200 earlycon=pl011,mmio32,0x21c0000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf root=PARTUUID=eb5175f3-e261-744f-8d80-66ab1ea0ce67 rw rootwait
[   122.866]
[   122.866] Current version of pixman: 0.43.2
[   122.866]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   122.866] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   122.866] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 12 18:28:40 2024
[   122.868] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   122.868] (==) No Layout section.  Using the first Screen section.
[   122.868] (==) No screen section available. Using defaults.
[   122.868] (**) |-->Screen "Default Screen Section" (0)
[   122.868] (**) |   |-->Monitor "<default monitor>"
[   122.868] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   122.868] (==) Automatically adding devices
[   122.868] (==) Automatically enabling devices
[   122.869] (==) Automatically adding GPU devices
[   122.869] (==) Automatically binding GPU devices
[   122.869] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   122.869] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   122.869]    Entry deleted from font path.
[   122.869] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   122.869]    Entry deleted from font path.
[   122.869] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   122.869]    Entry deleted from font path.
[   122.869] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   122.869]    Entry deleted from font path.
[   122.869] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   122.869]    Entry deleted from font path.
[   122.869] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   122.869]    Entry deleted from font path.
[   122.869] (==) FontPath set to:

[   122.869] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   122.869] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[   122.869] (II) Module ABI versions:
[   122.869]    X.Org ANSI C Emulation: 0.4
[   122.869]    X.Org Video Driver: 25.2
[   122.869]    X.Org XInput driver : 24.4
[   122.869]    X.Org Server Extension : 10.0
[   122.871] (--) using VT number 2

[   122.871] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   122.873] (--) PCI:*(1@1:0:0) 10de:0f02:10de:0000 rev 161, Mem @ 0xa040000000/16777216, 0xa400000000/134217728, 0xa408000000/33554432, I/O @ 0x00010000/128, BIOS @ 0x????????/524288
[   122.873] (II) LoadModule: "glx"
[   122.875] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   122.881] (II) Module glx: vendor="X.Org Foundation"
[   122.881]    compiled for 1.21.1.11, module version = 1.0.0
[   122.881]    ABI class: X.Org Server Extension, version 10.0
[   122.881] (==) Matched nouveau as autoconfigured driver 0
[   122.881] (==) Matched nv as autoconfigured driver 1
[   122.881] (==) Matched modesetting as autoconfigured driver 2
[   122.881] (==) Matched fbdev as autoconfigured driver 3
[   122.881] (==) Assigned the driver to the xf86ConfigLayout
[   122.881] (II) LoadModule: "nouveau"
[   122.881] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[   122.883] (II) Module nouveau: vendor="X.Org Foundation"
[   122.883]    compiled for 1.21.1.11, module version = 1.0.17
[   122.883]    Module class: X.Org Video Driver
[   122.883]    ABI class: X.Org Video Driver, version 25.2
[   122.883] (II) LoadModule: "nv"
[   122.883] (WW) Warning, couldn't open module nv
[   122.883] (EE) Failed to load module "nv" (module does not exist, 0)
[   122.883] (II) LoadModule: "modesetting"
[   122.883] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   122.888] (II) Module modesetting: vendor="X.Org Foundation"
[   122.888]    compiled for 1.21.1.11, module version = 1.21.1
[   122.888]    Module class: X.Org Video Driver
[   122.888]    ABI class: X.Org Video Driver, version 25.2
[   122.888] (II) LoadModule: "fbdev"
[   122.889] (WW) Warning, couldn't open module fbdev
[   122.889] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   122.889] (II) NOUVEAU driver
[   122.889] (II) NOUVEAU driver for NVIDIA chipset families :
[   122.889]    RIVA TNT            (NV04)
[   122.889]    RIVA TNT2           (NV05)
[   122.889]    GeForce 256         (NV10)
[   122.889]    GeForce 2           (NV11, NV15)
[   122.889]    GeForce 4MX         (NV17, NV18)
[   122.889]    GeForce 3           (NV20)
[   122.889]    GeForce 4Ti         (NV25, NV28)
[   122.889]    GeForce FX          (NV3x)
[   122.889]    GeForce 6           (NV4x)
[   122.889]    GeForce 7           (G7x)
[   122.889]    GeForce 8           (G8x)
[   122.889]    GeForce 9           (G9x)
[   122.889]    GeForce GTX 2xx/3xx (GT2xx)
[   122.889]    GeForce GTX 4xx/5xx (GFxxx)
[   122.889]    GeForce GTX 6xx/7xx (GKxxx)
[   122.889]    GeForce GTX 9xx     (GMxxx)
[   122.889]    GeForce GTX 10xx    (GPxxx)
[   122.889] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   123.457] (EE) [drm] Failed to open DRM device for pci:0001:01:00.0: -19
[   123.457] (EE) open /dev/dri/card0: No such file or directory
[   123.457] (WW) Falling back to old probe method for modesetting
[   123.457] (EE) open /dev/dri/card0: No such file or directory
[   123.458] (EE) Screen 0 deleted because of no matching config section.
[   123.458] (II) UnloadModule: "modesetting"
[   123.458] (EE) Device(s) detected, but none match those in the config file.
[   123.458] (EE)
Fatal server error:
[   123.458] (EE) no screens found(EE)
[   123.458] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[   123.458] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   123.458] (EE)
[   123.458] (EE) Server terminated with error (1). Closing log file.


I can't use the nvidia driver either, as it appears to require finding the kernel's .config file to install itself.
Back to top
View user's profile Send private message
shadowless
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2022
Posts: 101

PostPosted: Wed Mar 13, 2024 7:34 am    Post subject: Reply with quote

Progman3K wrote:
Simply configuring the sources from the solidrun kernel's config doesn't seem to yield a kernel that can mount the ssd

So if you fix this, then you have a config to test the nvidia drivers with? It might be as simple as borrowing the kernel commandline from the running kernel there. at least the..
Code:
root=PARTUUID=eb5175f3-e261-744f-8d80-66ab1ea0ce67 rw rootwait

Also make sure you have the correct filesystem support enabled in that kernel config
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 783

PostPosted: Wed Mar 13, 2024 10:40 am    Post subject: Reply with quote

I've tried setting the following in the 6.7.9 gentoo-sources config:

Code:
CONFIG_CMDLINE="console=ttyAMA0,115200 earlycon=pl011,mmio32,0x21c0000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf root=PARTUUID=eb5175f3-e261-744f-8d80-66ab1ea0ce67 rw rootwait"


Once the kernel is built, I copy onto the partition where syslinux can find it as GImage.gz (Gentoo Image).

The bootloader does find it.

I can select it, and it does boot, but it ends up stalled at the end, before mounting the root partition. If only that step would complete, then there would be nothing stopping me from setting up the video-card parameters and finally getting a gui.

Its console is connected via serial, so I do have the complete boot log:

https://pastebin.com/QY1UKH3s
Back to top
View user's profile Send private message
shadowless
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2022
Posts: 101

PostPosted: Wed Mar 13, 2024 11:17 am    Post subject: Reply with quote

I think I misunderstood what you meant by
Quote:
Simply configuring the sources from the solidrun kernel's config doesn't seem to yield a kernel that can mount the ssd.

I thought you were editing the config for the solidrun kernel as in this maybe https://github.com/SolidRun/linux-stable

It's fairly old, but it may contain the patches you need. They do have newer branches too. I can't speak for the stability of any of these though - I don't own one of these boards. Maybe contact the company's support and ask them about it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM 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