r_gentoo | Unsorted

Telegram-канал r_gentoo - /r/Gentoo

-

@r_channels

Subscribe to a channel

/r/Gentoo

Nvidia fail
https://redd.it/1bd5ze3
@r_gentoo

Читать полностью…

/r/Gentoo

Help cant boot tried everyting, More in comment.
https://redd.it/1bczysz
@r_gentoo

Читать полностью…

/r/Gentoo

Gstreamer: appsink not found

​

https://preview.redd.it/y7yxduxskvnc1.png?width=1920&format=png&auto=webp&s=cec8c6e0840022ff3437d825d4c47b7e22eebd12

Hi, there!

How to fix this?

Gentoo: Wayland/Sway

https://redd.it/1bctexo
@r_gentoo

Читать полностью…

/r/Gentoo

Update screw-up

Guys, I could use your help (beginner here).

Basic Info: distribution kernel x86, based on basic profile and rc, on a dual pentium III and IDE harddisk with MBR
Preface: I had the 6.16.13 kernel running, but wanted to update to kernel 6.6.16, also adding a few optimizations via use flags (-Os -fomit-frame-pointer, --l2-cache-size=512)

After a lengthy compilation (kernel alone took 19+ hours) emerge complained about a non-mounted /boot and obviously could not install.
Oops, my bad!

I thought to be clever, mounted /boot, did a "emerge -a --config gentoo-kernel", selected the new kernel (6.6.16) and afterwards did the typical "grub-mkconfig -o /boot/grub/grub.cfg". Output did look good, but after rebooting i have an even older kernel running (6.1.24), which I installed maybe 9 months ago.
Is there an easy way to fix that without recompiling the new kernel? I still hope that the newly compiled kernel is still sitting somewhere on my harddisk and justs awaits to be referenced.
I am just collecting hints now as I currently at work and will see that affected PC in some 10 hours earliest.

https://redd.it/1bcrwn0
@r_gentoo

Читать полностью…

/r/Gentoo

What's better? Downloading a stage3 archive from the Gentoo website with the profile I want, or downloading a stage3 archive that's only OpenRC or systemd and using eselect to set the profile I want?

For example, if I want a systemd desktop profile, should I download the stage3 archive that's already the systemd desktop profile, or should I just download the systemd one, and use eselect to set the desktop profile? Is there any advantage of doing one over the other, besides time of course?

https://redd.it/1bc464t
@r_gentoo

Читать полностью…

/r/Gentoo

Now in Guru we have Steam: I added Conty: "compressed unprivileged Linux container packed into a single executable"

Sorry cannot post links - Reddit will mark this post as spam :(

Also Conty contains Wine and other games related stuff - so without polluting the Gentoo we can play games. Based on Arch - so now we can install and use Arch software in isolated container.

https://redd.it/1bbuw90
@r_gentoo

Читать полностью…

/r/Gentoo

Virtualization Server

I'm currently running a ESXi on an 1st gen amd ryzen as a home server running a few linux VMs and OPNSense.

But, now that free esxi has come to an end, I'm thinking of going either qemu+kvm+cockpit or xen+xo on gentoo as the host.

Also considering maybe musl+llvm if going xen.

What do the folks here think?

What could be the pitfalls here?

What would be the recommended USE flags to be enabled that doesn't seem obvious?

https://redd.it/1bbmsou
@r_gentoo

Читать полностью…

/r/Gentoo

Kernel: enabled IA-32 (for old games through Wine) and got Firefox frozing on start

Strange, how is that related? CPU is not busy, firefox and firefox-bin, but safe mode works.

My full kernel config here, without IA-32 and other automatically enabled flags https://gitlab.com/vitaly-zdanevich-configs/linux-kernel-thinkpad-t430/-/blob/amd/.config

https://redd.it/1bb9k3n
@r_gentoo

Читать полностью…

/r/Gentoo

How to print Portage build environment ?

I seem to remember that there was some trick to it. like "emerge --printenv", but that doesn't work and manpage doesn't list anything familiar.

I need to get hold of some PKG_CONFIG environment variables that are present during the build... 🙄

https://redd.it/1bb9rzb
@r_gentoo

Читать полностью…

/r/Gentoo

Scroll in tty

Is there any way to scroll scroll in tty with a shortcut or with mouse(gpm is working) without using software like less?

https://redd.it/1bb79jx
@r_gentoo

Читать полностью…

/r/Gentoo

Musl performance in 2024.

I was just wondering what people think about the current performance of Musl. I read all the time that speed should not be a deciding factor to use it, but I just ran some basic benchmark on what I use a lot, image conversion with imagemagick and libraw, and Musl was consistently 15% faster. Are we seeing an overall performance improvement on newer versions, or is my use case not ideal for this kind of comparison?

https://redd.it/1bap3pe
@r_gentoo

Читать полностью…

/r/Gentoo

Do people do the secure boot steps?

I am curious whether a majority of people are doing the secure boot portion of the handbook.

https://redd.it/1ba0ylz
@r_gentoo

Читать полностью…

/r/Gentoo

Issue binary package signature check when pambask mktemp enabled

Hi,

I would like to try binary package on my (old) home server.

I'm using from a while mktemp pam module in order to create private temporary directories (/tmp/.private/${USERNAME}) that are not world writable/readable.

Enabling binary package signature, portage/gnupg tries to create temporary files inside the /tmp/.private/root directory using a non-root user, causing the issue.

Has anybody already experienced this issue?

ciao

​

​

​

https://redd.it/1b8p99s
@r_gentoo

Читать полностью…

/r/Gentoo

How to write ebuilds for npm packages? Cannot find nether documentation nor an example :(

I want to create an ebuild for https://github.com/mozilla/web-ext

Thank you.

https://redd.it/1b8ig3k
@r_gentoo

Читать полностью…

/r/Gentoo

Non root Xorg - Cannot take control of tty1

Just looking for some help, ive probably missed something simple

Did an install a couple of months ago on a VM and everything went smoothly. Greeter would show, could log in, system ran perfectly. For this one i left X as root since it was on a VM.


Decided to give it a go on bare metal and have gone through the install process again this time following the guide for SDDM and Non root Xorg

1. adding elogind to boot level
2. edit /etc/sddm.conf.d/override.conf

​

General
DisplayServer=x11-user

However when i try to sddm i get the following:

>Failed to start X Cannot take control of tty1: Permission Denied (root)

Am i supposed to create the x11-user or is this automatically created when x11 gets installed?

Am i missing a rule for Policykit that allows access to tty?

Or am i supposed to add x11-user to a tty, video groups?

​

https://redd.it/1b8ehdi
@r_gentoo

Читать полностью…

/r/Gentoo

Deleted package.accept.keywords dictionary


SORRY IT'S DELETE MY PACKAGE.ACCEPT_KEYWORDS DIRECTORY

Hello everyone I am a Gentoo linux user wanted to get
the latest kernel package 6.7.7 for that i have deleted package.accept.keywords directory and created the package.accept.keywords file with echo sys-kernel/gentoo-kernel ~amd64 but it is not working.

The directory have my unmaked packages configuration are saved but after deleting it I have done emerge --autounmask=y --autounmask-write {package}

Please tell me if I had done anything wrong to my portage directory and please also tell how I can get the latest kernel

Thanks and sorry for my bad english

https://redd.it/1bd0tgw
@r_gentoo

Читать полностью…

/r/Gentoo

Can Gentoo be more power efficient than Arch?

I switched to Arch about a year ago and have been loving it, however I'm finding that I'd like to have an even deeper understanding of how the underlying Linux systems work. The idea of self-compilation and USES flags also entices me.

Has anyone here observed a measurable power power draw difference on a laptop when using optimized compilations on Gentoo compared to what us binary bois are running? I have measured a minimum draw of 5.4W on my Framework 16, and if it's possible Gentoo can get that even lower during a no-load/idle scenario, then I would be very interested.

https://redd.it/1bcxzim
@r_gentoo

Читать полностью…

/r/Gentoo

beginners GUI interface for portage

I finally convinced my gf to use linux! I'm a gentoo user and know how to work with it so I was going to pre install a just works desktop environment on a general build for her. She's not comfortable using the commane line yet tho, so I was looking for some GUI interface for portage that can work as an app store until she's realy to use the command line full time.

https://redd.it/1bcs4ef
@r_gentoo

Читать полностью…

/r/Gentoo

How to solve GPG verification failure for binaries

I was having lots of trouble emerging binaries and I would get a GPG verification error. I looked online and after a long while found this command to run:

getuto

After running this command my GPG verification error went away and it generated temporary keys for GPG verification. I hope this helps somebody out there! I have an old slow laptop so binaries are very important to me. Have a nice day everyone and thanks to the Gentoo community for the help!

https://redd.it/1bc7tbm
@r_gentoo

Читать полностью…

/r/Gentoo

How to use Bang! notation on the Duckduckgo browser to search Gentoo-specific things :)
https://redd.it/1bbxalw
@r_gentoo

Читать полностью…

/r/Gentoo

Switch from bspwm to Hyprland

Hello everyone,

I want to switch from bspwm to Hyprland and want to remove bspwm with all of its dependencies can anyone tell me to remove a package with all of its dependencies

https://redd.it/1bbue36
@r_gentoo

Читать полностью…

/r/Gentoo

Grub doesn't show up after update

Hello there,
It's my first time asking for help so let me know if you need more Information and what Information to help me better.

After one update (before merged-usr), my grub doesn't show up to boot into my System.
It just reboot after a black screen where grub should be.
I already tried to install grub again and to rebuild grub.
I didn't changed fstab or something.
With supergrub (with usb boot) it still can detect the current grub information to boot into it.
But my grub on disk doesn't show up

https://redd.it/1bb9aqq
@r_gentoo

Читать полностью…

/r/Gentoo

gnome glib gobject-introspection + multilib - how-to ?

I have a problem with dev-libs/glib-2.80.0
I need it in both 32 and 64-bit version with USE="introspection" and with such combo it fails to compile.
It turns out that it wants to have gobject-intrspection in both, 32 and 64-bit flavor.

I have also gobject-introspection-9999, but it only compiles for native arrch ( no multilib).

I have tried to convert it to multilib, but then it also fails, during configuration, saying that it can't use my Python.h, which belings to dev-lang/python, when trying to compile 32-bit version. This seems to be some header for c<->pythn or somesuch bindings and 32-bit version of configure script doesn't like it.

Has anyone managed to compile gobject-introspection in multilib mode= for 32/64 version ?

I tried searching for some overlay that might have it, but came out empty...🙄

https://redd.it/1bbbdnl
@r_gentoo

Читать полностью…

/r/Gentoo

Installed Gentoo on a separate machine, but is it worth keeping?

I've tried to install Gentoo a couple of days ago as a little project and saw that it's relatively simple (if following the handbook), although, compiling is a issue for me, considering the subpar i5-3320m that I had to use to compile the kernel and later KDE.

So my question is, is it worth the effort? I'm fine with things like systemd, fine with not having as much control, but is performance really that drastic compared to something like Arch?

https://redd.it/1bb8w7i
@r_gentoo

Читать полностью…

/r/Gentoo

Can't boot

I am trying to install on a mdadm raid0 array with Luks for the root partition. /boot is on it's own partition.

I get about as far as basic.target during boot on systemd and then it fails while waiting on the attached scsi drives.

Is there a good guide for getting this to work?

https://redd.it/1bauuqq
@r_gentoo

Читать полностью…

/r/Gentoo

How do I set up makeopts

How to set the MAKEOPTS of Gentoo make.conf Sometimes it works with -j24, but sometimes it fails with -j2.

I'm not a native English speaker.

https://redd.it/1bafmy3
@r_gentoo

Читать полностью…

/r/Gentoo

Oh my... What am I doing wrong?

After my post from the other day I've gotten nowhere. 3 attempts in a VM 2 on a real desktop. First time on the desktop, I didn't format the boot partition properly (wouldn't work with efi the way I set it up). Now the partitions are correct. I actually started the desktop unit a 3rd time but something wasn't working right from the get go. So I just shut it off.

I'm going to give it a rest this weekend. I've got other things to do this weekend. I'll probably bring it back up Sunday evening.

I know the @world stuff loads a lot quicker on the desktop than in a VM.

I installed this once before many years ago. I'm just doing stupid stuff during the install.

I'm installing it through ArcoLinux. It's nice, I've got a terminal open and the handbook opened in the browser right next to it.

This last time, I decided to go with systemd instead of openrc. I'm going to go with openrc I think next time I try it.

I'm going to get it. I'm not going to stop until I get a desktop environment running on it. 😃

https://redd.it/1b9dma4
@r_gentoo

Читать полностью…

/r/Gentoo

pkgdev commit -a 'Add TEST': "pkgdev commit: error: no known syncer support: 'git@git.gentoo.org:repo/proj/guru.git'"

Hi, trying to use this to push to Guru, but there is no such error in man, wiki, google :(

https://redd.it/1b8n2pm
@r_gentoo

Читать полностью…

/r/Gentoo

Pipewire not working properly (doesn't pick up microphone)

Hello everyone! I defeated the challange of installing Gentoo, what a ride it was! Now I got mostly everything set up properly, but I have an issue that I cannot make Pipewire work normally. Firstly, it doesn't start at boot, and I need to run gentoo-pipewire-launcher, which afterwards spawns 2 Pipewire processes:
ps aux | grep "pipewire"

root 2900 0.0 0.0 30276 6792 ? S<l 18:50 0:00 /usr/bin/pipewire

root 2902 0.0 0.0 26500 8224 ? S<l 18:50 0:00 /usr/bin/pipewire -c pipewire-pulse.conf

&#x200B;

But my sound doesn't work, and I need to run alsactl init, which makes my speakers work, but not microphone. Usually I use pavucontrol to set this up, but when I launch it, and when I open it, there are no sound cards to set and the configuration tab shows "No cards available for configuration." I installed Gentoo with the gentoo-bin kernel in the handbook, my USE flags are: USE="amd64 X wayland xwayland qt5 qt6 pipewire sound-server vaapi vulkan network dbus jack server builtin pulseaudio elogind -systemd -gnome -daemon alsa".


I am, however, able to still slightly change my microphone settings with alsamixer. If I press F5 to show all devices, it opens up the capture column with separate front left and front right channels, and that's exactly what I do, even though I cannot separate them by large enough gap. I tried to emerge pipewire, pulse-audio with the -daemon flag, and wireplumber. Also, when I emerged pipewire, it didn't have any configuration files at /etc, but there are examples in /usr/share/pipewire. Do I need to use them?

https://redd.it/1b884cx
@r_gentoo

Читать полностью…

/r/Gentoo

Pipewire not working properly (doesn't pick up microphone)

Hello everyone! I defeated the challange of installing Gentoo, what a ride it was! Now I got mostly everything set up properly, but I have an issue that I cannot make Pipewire work normally. Firstly, it doesn't start at boot, and I need to run gentoo-pipewire-launcher, which afterwards spawns 2 Pipewire processes:
ps aux | grep "pipewire"

root 2900 0.0 0.0 30276 6792 ? S<l 18:50 0:00 /usr/bin/pipewire

root 2902 0.0 0.0 26500 8224 ? S<l 18:50 0:00 /usr/bin/pipewire -c pipewire-pulse.conf

&#x200B;

But my sound doesn't work, and I need to run alsactl init, which makes my speakers work, but not microphone. Usually I use pavucontrol to set this up, but when I launch it, and when I open it, there are no sound cards to set and the configuration tab shows "No cards available for configuration." I installed Gentoo with the gentoo-bin kernel in the handbook, my USE flags are: USE="amd64 X wayland xwayland qt5 qt6 pipewire sound-server vaapi vulkan network dbus jack server builtin pulseaudio elogind -systemd -gnome -daemon alsa".


I am, however, able to still slightly change my microphone settings with alsamixer. If I press F5 to show all devices, it opens up the capture column with separate front left and front right channels, and that's exactly what I do, even though I cannot separate them by large enough gap. I tried to emerge pipewire, pulse-audio with the -daemon flag, and wireplumber. Also, when I emerged pipewire, it didn't have any configuration files at /etc, but there are examples in /usr/share/pipewire. Do I need to use them?

https://redd.it/1b884d0
@r_gentoo

Читать полностью…
Subscribe to a channel