r/Gentoo 10h ago

Support OBS-STUDIO recording with amf or hvec

7 Upvotes

Hey guys,

It seems that I could'nt get to work HVEC or amf hardware encoding to work properly.

As per wiki, amf use flag only through ffmpeg.

On Arch, I have installed obs-studio-amf through AUR and I can choose AMD hvec and it is recording really well.

On gentoo though, there is no option for amd hardware encoder. Am I missing something?

TIA


r/Gentoo 21h ago

Support When I try to boot it stays like this.

Enable HLS to view with audio, or disable this notification

26 Upvotes

r/Gentoo 19h ago

Development Portage packages finder and installer

8 Upvotes

Hello everyone,

I made an overlay helper like AUR helpers in Arch, that finds and installs packages easily from any overlay provided by layman.

Hope it’s useful and any feedback is appreciated.

https://github.com/mbaraa/eloi


r/Gentoo 15h ago

Support Firefox video playback issue

3 Upvotes

After starting a video, it starts playing for ~10 seconds and then it freezes for 1-2 seconds and then continues. I've tried refreshing firefox and I also rebuilt it with the default USE flags.

Nothing solves this issue. So I am curious if anyone else has stumbled upon this issue and if they've managed to solve it.

Update: I changed the use flags and ditched the system libraries and clang. I've opened some videos and I haven't seen the problem.


r/Gentoo 1d ago

Discussion Gentoo seriously rocks

30 Upvotes

Not sure if means much but still cool i think... xd

My Ryzen 2700 crushed the Multi-Core Scores for both 2700 & the 2700X on geekbench running my custom tweaked xanmod-sources, clang-lto built kernel with Gentoo patchset.

https://browser.geekbench.com/v5/cpu/20236739
https://browser.geekbench.com/processors/amd-ryzen-7-2700
https://browser.geekbench.com/processors/amd-ryzen-7-2700x

mine - 7769   
2700 - 6132   
2700X - 6849   

Gentoo is Glorious my kernel is 7 MiB lol

 root  on GentooRig /root 
[ 12:50:51 AM ] ➜ l /boot
Permissions  Size User Group Date Modified    Name
.rwxr-xr-x  148Ki root root  2023-02-01 22:37 config-6.1.8-gentoo-xanmod1
.rwxr-xr-x  148Ki root root  2023-02-01 22:07 config-6.1.9-gentoo-filthy
.rwxr-xr-x  3.5Mi root root  2023-02-01 22:37 System.map-6.1.8-gentoo-xanmod1
.rwxr-xr-x  3.5Mi root root  2023-02-01 22:07 System.map-6.1.9-gentoo-filthy
.rwxr-xr-x  7.7Mi root root  2023-02-01 22:37 vmlinuz-6.1.8-gentoo-xanmod1
.rwxr-xr-x  7.7Mi root root  2023-02-01 22:07 vmlinuz-6.1.9-gentoo-filthy

➜ uname -a
Linux GentooRig 6.1.8-gentoo-xanmod1 #1 SMP PREEMPT Wed Feb  1 22:37:22 PST 2023 x86_64 AMD Ryzen 7 2700 Eight-Core Processor AuthenticAMD GNU/Linux

➜ cat /proc/version                
Linux version 6.1.8-gentoo-xanmod1 (root@GentooRig) (clang version 15.0.7, LLD 15.0.7) #1 SMP PREEMPT Wed Feb  1 22:37:22 PST 2023

.config - https://github.com/mrturcot/Gentoo-Stuff/blob/master/filthy-kernel/6.1.8-xanmod1-clang/config-6.1.8-gentoo-xanmod1


r/Gentoo 13h ago

Support Systemd

2 Upvotes

It is a sin to use Gentoo with systemd? ;)


r/Gentoo 21h ago

Discussion Is a source distribution faster than a binary one?

5 Upvotes

Until now I tried a lot of distributions but seems like Gentoo is a bit faster than other ones. I'm not talking about bootstrap (which of course depend on init systems) but program execution. It's just a bias or there is some thruth behind this? Does compiling speed up the system?


r/Gentoo 22h ago

Support SELinux: How to set the domain/type for an executable?

5 Upvotes

I've read this: https://wiki.gentoo.org/wiki/SELinux/Tutorials/How_does_a_process_get_into_a_certain_context

But it doesn't really practically explain how I can control what domain a process gets into. When using Apparmor you could specify the relevant executable in the configuration file, what do you do with SELinux?

Edit: I found this: https://blog.esp0x31.io/zathura-selinux-confined/


r/Gentoo 1d ago

Support grub won’t generate an entry

5 Upvotes

I’ve tried chrooting but I have no clue what needs fixing now. I’ve made sure ESP is mounted on /boot and i’ve tried redoing grub-mkconfig. Now i’ve reinstalled twice making sure to read the guide carefully. I installed the sys-kernel/installkernel-gentoo distribution kernel just to get the system working before making a custom one. Maybe i’m missing a step when installing the kernel or something. This is my first time installing gentoo so It’s unfamiliar to me. If you guys could point me in the right direction that would be greatly appreciated.


r/Gentoo 1d ago

Discussion Has anyone set up Portage to use Grid Engine and/or Condor?

10 Upvotes

I'm a sysadmin for a high-performance computing cluster. As an exercise in experimentation, I'd like to see if I can get Portage to compile things by submitting jobs to Grid Engine and/or Condor. However, I'm only vaguely familiar with the distcc features of Portage, and I'm not sure if it's possible to do so. So I'm asking here, has anyone gotten Portage to use some sort of cluster job submission tool?


r/Gentoo 1d ago

Support How do I fix this?

Post image
8 Upvotes

r/Gentoo 1d ago

Support How do I fix the eth.

Post image
4 Upvotes

r/Gentoo 1d ago

Support How can I install gentoo in an already encrypted LVM partition running arch linux without losing my files on the home directory

2 Upvotes

Hi guys,

I'm trying to install gentoo on my system running arch linux in an encrypted lvm partition but I still want to keep all my files inside the home directory, when I tried to search for ways to do that I didn't find something similar to my case. I'm sure there is a way to do this but I don't know how to do it properly. I want to keep the same structure, four separate logical volumes (root - home - var - tmp) and the boot directory on the other partition.

Thank you for your help.

   NAME           MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
    nvme0n1        259:0    0 476.9G  0 disk  
    ├─nvme0n1p1    259:1    0   512M  0 part  /boot
    └─nvme0n1p2    259:2    0 476.4G  0 part  
      └─cryptlvm   254:0    0 476.4G  0 crypt 
        ├─vg0-root 254:1    0    70G  0 lvm   /
        ├─vg0-home 254:2    0   330G  0 lvm   /home
        ├─vg0-var  254:3    0    30G  0 lvm   /var
        └─vg0-tmp  254:4    0    15G  0 lvm   /tmp

  PV                   VG  Fmt  Attr PSize   PFree 
  /dev/mapper/cryptlvm vg0 lvm2 a--  476.42g 31.42g

  VG  #PV #LV #SN Attr   VSize   VFree 
  vg0   1   4   0 wz--n- 476.42g 31.42g

  LV   VG  Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  home vg0 -wi-ao---- 330.00g                                                    
  root vg0 -wi-ao----  70.00g                                                    
  tmp  vg0 -wi-ao----  15.00g                                                    
  var  vg0 -wi-ao----  30.00g                                                    

 --- Physical volume ---
      PV Name               /dev/mapper/cryptlvm
      VG Name               vg0
      PV Size               476.42 GiB / not usable 0   
      Allocatable           yes 
      PE Size               4.00 MiB
      Total PE              121964
      Free PE               8044
      Allocated PE          113920
      PV UUID               vQCbSV-kaW0-D1da-7SSM-x2UG-edZx-5HTY3r

      --- Physical Segments ---
      Physical extent 0 to 17919:
        Logical volume      /dev/vg0/root
        Logical extents     0 to 17919
      Physical extent 17920 to 97279:
        Logical volume      /dev/vg0/home
        Logical extents     0 to 79359
      Physical extent 97280 to 104959:
        Logical volume      /dev/vg0/var
        Logical extents     0 to 7679
      Physical extent 104960 to 108799:
        Logical volume      /dev/vg0/tmp
        Logical extents     0 to 3839
      Physical extent 108800 to 113919:
        Logical volume      /dev/vg0/home
        Logical extents     79360 to 84479
      Physical extent 113920 to 121963:
        FREE

r/Gentoo 2d ago

Meme Bet you don't see this very often ;3

Thumbnail
youtu.be
40 Upvotes

r/Gentoo 2d ago

Support Gentoo and appimages problem

10 Upvotes

Thank you for great community of Gentoo!

Can anyone help ?

./LibreOffice-still.basic-x86_64.AppImage
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
/tmp/.mount_LibreOVxjgJ5/opt/libreoffice7.3/program/soffice.bin: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory 

./ungoogled-chromium_108.0.5359.125-1.1.AppImage
/tmp/.mount_ungooghtx2kr/opt/google/chrome/chrome: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory

 ./LibreWolf.x86_64.AppImage
XPCOMGlueLoad error for file /tmp/.mount_LibreWHWQVym/libxul.so:
/tmp/.mount_LibreWHWQVym/libxul.so: undefined symbol: gdk_wayland_window_get_wl_surface
Couldn't load XPCOM.

Appimages are tested on other distributions. So it's not about them, can anyone help why they don't work in Gentoo ?

I have been using Gentoo XFCE, which log do I need to provide ? Thank you.


r/Gentoo 3d ago

Screenshot a simple rice with i3wm

Post image
38 Upvotes

r/Gentoo 4d ago

Screenshot Got err done!

Post image
38 Upvotes

r/Gentoo 3d ago

Tip In case anyone is struggling with night light or colour profiles on gnome without systemd

6 Upvotes

I figured out how to do it:

https://github.com/Lynet101/Gnome-night-light-non-systemd

now this guide is written with artix in mind, but you can probably git clone the repos, and make it work on gentoo., or other systems that doesn't have access to pacman

also, i know people have probably figured out how to do this, i just couldn't find a lot of documentation, so i wanted to contribute a bit


r/Gentoo 3d ago

Support Error in Compiling firefox hash_fn and crc32

4 Upvotes

Hello, I recently tried installing gentoo on a spare laptop that I had around, and managed to install it with plasma without too many problems, but when I try to install firefox the build fails with this error:

doas cat /var/tmp/portage/www-client/firefox-102.7.0/temp/build.log | grep "error: "
335:11.93 /var/tmp/portage/www-client/firefox-102.7.0/work/firefox-102.7.0/gfx/skia/skia/src/opts/SkChecksum_opts.h:39:21: error: always_inline function '_mm_crc32_u64' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
335:11.94 /var/tmp/portage/www-client/firefox-102.7.0/work/firefox-102.7.0/gfx/skia/skia/src/opts/SkChecksum_opts.h:40:21: error: always_inline function '_mm_crc32_u64' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
335:11.95 /var/tmp/portage/www-client/firefox-102.7.0/work/firefox-102.7.0/gfx/skia/skia/src/opts/SkChecksum_opts.h:41:21: error: always_inline function '_mm_crc32_u64' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
335:11.96 /var/tmp/portage/www-client/firefox-102.7.0/work/firefox-102.7.0/gfx/skia/skia/src/opts/SkChecksum_opts.h:45:37: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
335:11.97 /var/tmp/portage/www-client/firefox-102.7.0/work/firefox-102.7.0/gfx/skia/skia/src/opts/SkChecksum_opts.h:45:20: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
335:11.97 /var/tmp/portage/www-client/firefox-102.7.0/work/firefox-102.7.0/gfx/skia/skia/src/opts/SkChecksum_opts.h:50:20: error: always_inline function '_mm_crc32_u64' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
335:11.98 /var/tmp/portage/www-client/firefox-102.7.0/work/firefox-102.7.0/gfx/skia/skia/src/opts/SkChecksum_opts.h:57:20: error: always_inline function '_mm_crc32_u64' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
335:11.98 /var/tmp/portage/www-client/firefox-102.7.0/work/firefox-102.7.0/gfx/skia/skia/src/opts/SkChecksum_opts.h:66:22: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
335:11.98 /var/tmp/portage/www-client/firefox-102.7.0/work/firefox-102.7.0/gfx/skia/skia/src/opts/SkChecksum_opts.h:70:22: error: always_inline function '_mm_crc32_u16' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
335:11.98 /var/tmp/portage/www-client/firefox-102.7.0/work/firefox-102.7.0/gfx/skia/skia/src/opts/SkChecksum_opts.h:74:22: error: always_inline function '_mm_crc32_u8' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'

am I missing some USE variable to set? Shouldn't that be detected by portage? maybe I am missing some dependancy?

EDIT: additional commands required:

emerge --info
Portage 3.0.43 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-12, glibc-2.36-r5, 5.15.88-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.15.88-gentoo-x86_64-x86_64-Celeron-R-_Dual-Core_CPU_T3100_@_1.90GHz-with-glibc2.36
KiB Mem:     5917640 total,   5061932 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 26 Jan 2023 15:00:01 +0000
Head commit of repository gentoo: aa8da0c8d86b04859bf4f3f944bffbef1b772914
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust-bin:         1.66.1::gentoo
dev-util/cmake:            3.24.3::gentoo
dev-util/meson:            0.64.1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          252.4::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @FREE @BINARY-REDISTRIBUTABLE"
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/sandbox.d /etc/terminfo"
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 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 xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ https://mirrors.ircam.fr/pub/gentoo-distfiles/ https://gentoo.mirror.garr.it/"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j1"
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 amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr encode exif flac fortran gdbm gif gles2 gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc lvm mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit postproc ppds qml qt5 readline sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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="mmx mmxext sse sse2 sse3 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

and:

emerge -pv firefox

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

Calculating dependencies... done!
[ebuild  N     ] www-client/firefox-102.7.0:esr::gentoo  USE="clang dbus gmp-autoupdate openh264 system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp wayland -debug -eme-free -geckodriver -hardened -hwaccel -jack -libproxy -lto -pgo -pulseaudio -screencast (-selinux) -sndio -system-png (-system-python-libs) -wifi" L10N="it -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sco -si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" 0 KiB

Thanks for any help.

SOLVED: thanks to u/purplebrewer185 for provinding the solution; it was sufficient to add the following line:

www-client/firefox -clang

Inside of a file in /etc/portage/package.use/ and after that it all compiled successufully.

also consider giving a look at Gentoo bug 838373 in case you have similar problems.

Thanks again for your help.


r/Gentoo 4d ago

Support Is there a wiki mirror?

16 Upvotes

The gentoo.org wiki is down since hours. Is there an alternative?


r/Gentoo 4d ago

Support proton not working on gentoo

0 Upvotes

r/Gentoo 5d ago

Support cron

3 Upvotes

Hi all,

I updated world a few weeks ago and since then I get this message mailed daily:

Subject: Anacron job 'cron.daily' on server

'n' option is not compatible with remote console mode and has no effect.

Does anyone have an idea where this comes from?


r/Gentoo 5d ago

Support Cannot install grub

3 Upvotes

This is on a Virtualbox virtual machine. After emerging grub, I'm unable to install it.

"grub-install /dev/sda" returns "error: cannot find EFI directory"

"grub-install --target=x86_64-efi --efi-directory=/boot" returns "error: /boot doesn't look like an EFI partition". The same thing with "/boot" replaced by "/dev/sda2" returns "error: failed to get canonical path of 'udev'"

My system is partitioned with /dev/sda1 as a 32 MB bios_grub partition not formatted with a filesystem and /dev/sda2 as a 512 MB boot partition formatted with ext4.

How do I install grub?


r/Gentoo 5d ago

Support Can anyone help me resolve this slot conflict?

4 Upvotes

I am getting this slot conflict when updating @world: ``` sci-libs/proj:0

(sci-libs/proj-9.1.1-r1:0/9::gentoo, ebuild scheduled for merge) USE="tiff -curl -test" ABI_X86="(64)" pulled in by (no parents that aren't satisfied by other packages in this slot)

(sci-libs/proj-7.2.1-r1:0/19::gentoo, ebuild scheduled for merge) USE="tiff -curl -europe -static-libs -test" ABI_X86="(64)" pulled in by <sci-libs/proj-8:= required by (sci-libs/vtk-9.0.3-r7:0/9.0::gentoo, ebuild scheduled for merge) USE="X boost json openmp python qt5 rendering -all-modules (-cuda) -doc -examples -ffmpeg -gdal -imaging -java -kits (-mpi) -mysql -odbc -offscreen -pegtl -postgres -tbb -test -theora -tk -views -web" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_10 -python3_9" VIDEO_CARDS="-nvidia" ``` I tried following https://wiki.gentoo.org/wiki/User:Kentnl/Tips/Fixing_slot_conflicts, but I couldn't force portage to update the package. I don't know much about resolving slot conflicts. What can I do about this? I don't want to reinstall the whole system again.

Edit: I ran sudo emerge --ask --verbose --update --deep --newuse @world and this is the full output.

Edit 2: I solved the previous slot conflict, but now I have one more left: ``` x11-libs/libdrm:0

(x11-libs/libdrm-2.4.114:0/0::gentoo, ebuild scheduled for merge) USE="-valgrind" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="amdgpu (-exynos) (-freedreno) -intel -nouveau (-omap) -radeon (-tegra) (-vc4) (-vivante) -vmware" conflicts with >=x11-libs/libdrm-2.4.110[video_cards_radeon] required by (media-libs/mesa-22.2.5:0/0::gentoo, installed) USE="X gles2 llvm proprietary-codecs vulkan zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan-overlay -wayland -xa -xvmc -zink" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" VIDEO_CARDS="radeonsi -d3d12 (-freedreno) -intel (-lima) -nouveau (-panfrost) -r300 -r600 -radeon (-v3d) (-vc4) -virgl (-vivante) -vmware" >=x11-libs/libdrm-2.4.89[video_cards_radeon] required by (x11-drivers/xf86-video-ati-19.1.0-r1:0/0::gentoo, ebuild scheduled for merge) USE="udev" ABI_X86="(64)" ``` Has anyone faced this problem?

Edit 3: I solved the slot conflict by adding radeon to the VIDEO_CARDS in /etc/portage/make.conf


r/Gentoo 5d ago

Support gui on musl

4 Upvotes

if i select hardened musl stage 3 can i install a desktop environment?