View previous topic :: View next topic |
Author |
Message |
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Fri Aug 02, 2024 1:04 am Post subject: [SOLVED]Xorg, or maybe kernel, not loading the GPU driver |
|
|
Hello, I'm kinda new to Gentoo and Linux in general. I have been trying to fix this issue for 2-3 days, but couldn't. I already tried changing various amdgpu related settings in the kernel, adding amdgpu to xorg.conf and make.conf.
When I run modprobe I get this: Code: | ERROR: could not insert 'amdgpu' : Exec format error |
The Xorg log:
Code: |
[ 514.151]
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[ 514.151] Current Operating System: Linux livecd 6.6.38-gentoo #2 SMP PREEMPT_DYNAMIC Wed Jul 31 02:57:24 +05 2024 x86_64
[ 514.151] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.6.38-gentoo root=/dev/nvme0n1p3 ro root=/dev/nvme0n1p3
[ 514.151]
[ 514.151] Current version of pixman: 0.43.4
[ 514.151] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 514.151] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 514.152] (==) Log file: "/home/higao/.local/share/xorg/Xorg.0.log", Time: Fri Aug 2 05:02:25 2024
[ 514.152] (==) Using config file: "/etc/X11/xorg.conf"
[ 514.152] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 514.152] (==) No Layout section. Using the first Screen section.
[ 514.152] (==) No screen section available. Using defaults.
[ 514.152] (**) |-->Screen "Default Screen Section" (0)
[ 514.152] (**) | |-->Monitor "<default monitor>"
[ 514.152] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 514.152] (**) | |-->Device "amdgpu"
[ 514.152] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 514.152] (**) Allowing byte-swapped clients
[ 514.152] (==) Automatically adding devices
[ 514.152] (==) Automatically enabling devices
[ 514.152] (==) Automatically adding GPU devices
[ 514.152] (==) Automatically binding GPU devices
[ 514.152] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 514.152] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 514.152] Entry deleted from font path.
[ 514.152] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 514.152] Entry deleted from font path.
[ 514.152] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 514.152] Entry deleted from font path.
[ 514.152] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 514.152] Entry deleted from font path.
[ 514.152] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 514.152] Entry deleted from font path.
[ 514.152] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 514.152] Entry deleted from font path.
[ 514.152] (==) FontPath set to:
[ 514.152] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 514.152] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 514.152] (II) Module ABI versions:
[ 514.152] X.Org ANSI C Emulation: 0.4
[ 514.152] X.Org Video Driver: 25.2
[ 514.152] X.Org XInput driver : 24.4
[ 514.152] X.Org Server Extension : 10.0
[ 514.153] (++) using VT number 1
[ 514.153] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 514.154] (--) PCI:*(3@0:0:0) 1002:73df:1da2:445e rev 193, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xdfa00000/1048576, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[ 514.154] (II) LoadModule: "glx"
[ 514.154] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 514.155] (II) Module glx: vendor="X.Org Foundation"
[ 514.155] compiled for 1.21.1.13, module version = 1.0.0
[ 514.155] ABI class: X.Org Server Extension, version 10.0
[ 514.155] (II) LoadModule: "amdgpu"
[ 514.155] (II) Loading /usr/lib64/xorg/modules/drivers/amdgpu_drv.so
[ 514.157] (II) Module amdgpu: vendor="X.Org Foundation"
[ 514.157] compiled for 1.21.1.13, module version = 23.0.0
[ 514.157] Module class: X.Org Video Driver
[ 514.157] ABI class: X.Org Video Driver, version 25.2
[ 514.157] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 514.157] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[ 514.157] (EE) AMDGPU(0): [drm] Failed to open DRM device for pci:0000:03:00.0: No such file or directory
[ 514.157] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 514.157] (EE) Screen 0 deleted because of no matching config section.
[ 514.157] (II) UnloadModule: "amdgpu"
[ 514.157] (EE) Device(s) detected, but none match those in the config file.
[ 514.157] (EE)
Fatal server error:
[ 514.157] (EE) no screens found(EE)
[ 514.157] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 514.157] (EE) Please also check the log file at "/home/higao/.local/share/xorg/Xorg.0.log" for additional information.
[ 514.157] (EE)
[ 514.157] (EE) Server terminated with error (1). Closing log file.
|
And the lshw output:
Code: |
# lshw -c display
*-display UNCLAIMED
description: VGA compatible controller
product: Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:03:00.0
version: c1
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller cap_list
configuration: latency=0
resources: memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:e000(size=256) memory:dfa00000-dfafffff memory:c0000-dffff
*-graphics
product: EFI VGA
physical id: 2
logical name: /dev/fb0
capabilities: fb
configuration: depth=32 resolution=1024,768
|
Any help would be appreciated, thanks in advance.
Last edited by fgsfds on Sun Aug 04, 2024 11:15 pm; edited 1 time in total |
|
Back to top |
|
|
gorg86 Guru
Joined: 20 May 2011 Posts: 308
|
Posted: Fri Aug 02, 2024 6:42 am Post subject: |
|
|
How do you compile your kernel and modules? This error appears when the module version doesn't match the Kernel. |
|
Back to top |
|
|
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Fri Aug 02, 2024 9:15 am Post subject: |
|
|
I compile them by running commands from the handbook - make, make module_install and then make install. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
|
Back to top |
|
|
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Fri Aug 02, 2024 2:51 pm Post subject: |
|
|
Hello, pietinger.
I've changed my kernel config from scratch following the tutorials and when I run make I get the following errors:
Code: | make[2]: *** [scripts/Makefile.build:480: drivers] Error 2
make[1]: *** [/usr/src/linux-6.6.38-gentoo/Makefile:1921: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
|
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
|
Back to top |
|
|
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Fri Aug 02, 2024 7:59 pm Post subject: |
|
|
I can't paste the kernel config file because it's "not readable", although I can open it with nano. Maybe I'm trying to get a paste of a wrong file. The config file should be located in the boot directory, right?
At least I got the other pastes.
emerge --info: https://bpa.st/YPSA
dmesg: https://bpa.st/GF2Q
lspci -nnk: https://bpa.st/NXVQ |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
Posted: Fri Aug 02, 2024 8:18 pm Post subject: |
|
|
fgsfds wrote: | I can't paste the kernel config file because it's "not readable", although I can open it with nano. Maybe I'm trying to get a paste of a wrong file. The config file should be located in the boot directory, right? |
No, I have meant your .config you have in your /usr/src/linux (and you have copied to /root also).
You have given me the systemlog after you have booted with our LiveCD ... WHY ? To see a problem we need your current systemlog after booting into your Gentoo installation.
Code: | [ 0.000000] Linux version 6.6.38-gentoo (root@livecd) |
This is strange:
Code: | $ emerge --info
--- Invalid atom in /etc/portage/package.mask/vanilla-kernel: >sys-kernel/vanilla-kernel
--- Invalid atom in /etc/portage/package.mask/vanilla-kernel: >=sys-kernel/vanilla-kernel |
For later: Change this:
Code: | MAKEOPTS="-j8"
VIDEO_CARDS="amdgpu radeonsi nvidia" |
to ->
Code: | MAKEOPTS="-j4"
VIDEO_CARDS="amdgpu radeonsi" |
Maybe it would be easier to help you, if you would describe what you have done to install Gentoo on your system ... an example for such a log is here:
https://wiki.gentoo.org/wiki/User:Pietinger/temp/delete_me
Internal note:
Code: | 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev c1)
Subsystem: Sapphire Technology Limited Radeon RX 6700 XT GAMING OC 12G [Sapphire PULSE] [1da2:445e]
Kernel modules: amdgpu |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Fri Aug 02, 2024 8:56 pm Post subject: |
|
|
Quote: | No, I have meant your .config you have in your /usr/src/linux (and you have copied to /root also). |
Strange, I do not have a kernel .config there, nor in my /root. I also have a lot of linux-6.6.38-gentoo directories inside of each linux-6.6.38-gentoo that has an exact copy of files and directories of /usr/src/linux. I do not think that this is normal.
Quote: | You have given me the systemlog after you have booted with our LiveCD ... WHY ? To see a problem we need your current systemlog after booting into your Gentoo installation. |
It is my current systemlog, it changed it's name to @livecd after I unplugged the usb with live gentoo on it.
Quote: | This is strange: Code: | $ emerge --info
--- Invalid atom in /etc/portage/package.mask/vanilla-kernel: >sys-kernel/vanilla-kernel
--- Invalid atom in /etc/portage/package.mask/vanilla-kernel: >=sys-kernel/vanilla-kernel |
|
I masked the sys-kernel/vanilla-kernel-version-something because when I run Code: | #emerge --ask --verbose --update --deep --newuse @world | it also emerges the vanilla kernel.
Quote: | For later: Change this: Code: | MAKEOPTS="-j8"
VIDEO_CARDS="amdgpu radeonsi nvidia" |
|
I have nvidia there because I tried my nvidia gpu to see if xorg will work with it. It didn't work and resolution was incorrect.
Ok, will do. Do I have to make a file or just post it here? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
Posted: Fri Aug 02, 2024 9:20 pm Post subject: |
|
|
fgsfds wrote: | It is my current systemlog, it changed it's name to @livecd after I unplugged the usb with live gentoo on it. |
First of all: Can you boot into your system at all?
If not - and you boot with the GentooCD (USB-stick) - do you know how to get into your system ?
If not, here is a description: https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo#Pause_during_Installation
fgsfds wrote: | Strange, I do not have a kernel .config there, nor in my /root. I also have a lot of linux-6.6.38-gentoo directories inside of each linux-6.6.38-gentoo that has an exact copy of files and directories of /usr/src/linux. I do not think that this is normal. |
Maybe it's time to ask if you tried to install a manually configured kernel right away, or if you installed our Gentoo dist-kernel first ... or you have tried the vanilla-sources ? You probably won't be happy with the vanilla sources for now. But we will see that in the /var/lib/portage/world file.
fgsfds wrote: | Ok, will do. Do I have to make a file or just post it here? |
Just post it here ... and before you could give us these in the mean time:
Boot into your installed system and provide us the output of:
* grep -r --exclude=linux* "" /etc/portage
* emerge -uUDvp @world
* emerge -cp
* ls -l /usr/src
* ls -l /boot
* blkid
* lsblk
* and the content of /var/lib/portage/world _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Fri Aug 02, 2024 10:24 pm Post subject: |
|
|
Quote: | First of all: Can you boot into your system at all? |
Yeah, boots into tty just fine.
Quote: | Maybe it's time to ask if you tried to install a manually configured kernel right away, or if you installed our Gentoo dist-kernel first ... or you have tried the vanilla-sources ? You probably won't be happy with the vanilla sources for now. But we will see that in the /var/lib/portage/world file. |
I tried installing manually configured one, but now, when I went through the handbook, I've noticed that I emerged gentoo-kernel after gentoo-sources. Probably because I scrolled up at some point on accident and wrote a line from distribution kernels section. And I also tried emerging the vanilla kernel, but then stopped because I thought that what I was doing is stupid and unmerged it. I definitely screwed something up... Perhaps I should reinstall the kernel and configuring it from scratch.
grep -r --exclude=linux* "" /etc/portage: https://bpa.st/RGRA
emerge -uUDvp @world: https://bpa.st/KITQ
emerge -cp: No such file found.
ls -l /usr/src: https://bpa.st/FRJA
ls -l /boot: https://bpa.st/W43Q
blkid: https://bpa.st/P2OA
lsblk: https://bpa.st/UKGA
/var/lib/portage/world: https://bpa.st/YGGA |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
Posted: Fri Aug 02, 2024 11:02 pm Post subject: |
|
|
Okay ... this is not as bad as I thought ... I suggest that you install first our Gentoo dist-kernel before you try to do a manual kernel configuration
sys-kernel/gentoo-sources is used for a manual configuration ... I would like to install sys-kernel/gentoo-kernel-bin with you ... but before I have a question:
Do you want OpenRC or systemd ? (Your current profile says OpenRC)
I ask because I would like to know if you really want systemd-boot ... and why not grub ?
Before we start I would like to see also the output of "efibootmgr"
And a next question: Do you want really an UKI at the beginning (I would recommend to do this later with more experience) ?
Also: Some Use-flags will be set automatically through your profile ... you dont need "X" if you use a desktop-profile:
USE="X gtk3 dist-kernel dbus kernel-install boot -gnome -dvd -cdr"
Because you have allowed every LICENSE you dont need to allow specific licenses; so when we do installing our new kernel (later) we dont need the echo commands, as shown in this example:
https://wiki.gentoo.org/wiki/User:Pietinger/Draft/Quick_Installation_OpenRC_for_an_UEFI_System#Kernel
In the meantime you can:
a) delete /etc/portage/package.mask completely (there is no vanilla-sources in your world-file anymore)
b) delete everything in /etc/portage/package.use - except 00cpu-flags ... but edit this file and delete everything but the first line (this you need: */* CPU_FLAGS_X86: aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3)
c) Correct your setting in make.conf as explained (VIDEO_CARDS, MAKEOPTS) => AND THEN give us again:
* emerge -uUDvp @world
* emerge -cp
Later we do:
c) "emerge -c gentoo-sources"; delete everything in /usr/src (rm -rf /usr/src/*); delete old kernels in boot WITHOUT deleting /boot/EFI (rm /boot/*)
d)
Code: | # echo "sys-kernel/installkernel dracut" >> /etc/portage/package.use/installkernel
# emerge --ask sys-kernel/installkernel sys-kernel/gentoo-kernel-bin |
... and maybe ... depending on your answer to my question for the bootmanager ->
Code: | # echo 'GRUB_PLATFORMS="efi-64"' >> /etc/portage/make.conf
# emerge --ask sys-boot/grub
# grub-install --efi-directory=/efi
# grub-mkconfig -o /boot/grub/grub.cfg |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Sat Aug 03, 2024 11:28 am Post subject: |
|
|
Quote: | Do you want OpenRC or systemd ? |
OpenRC ig.
Quote: | I ask because I would like to know if you really want systemd-boot ... and why not grub ? |
I already use grub. Systemd-boot didn't work for me.
Quote: | Do you want really an UKI at the begining? |
No, I don't think I need it.
Quote: | you dont need "X" if you use a desktop-profile |
ik, added it there just in case.
efibootmgr: https://bpa.st/AXBA
emerge -uUDvp @world: https://bpa.st/KTIA
emerge -cp(didn't get a paste, had to rewrite it here): Code: | Packages installed: 701
Packages in world: 26
Packages in system: 49
Required packages: 699
Number to remove: 2 |
Packages it wants to remove are media--fonts/liberation-fonts and x11-drivers/xf86-video-intel. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
Posted: Sat Aug 03, 2024 1:06 pm Post subject: |
|
|
First of all: Please do not work with sudo. Log in as root, or do a "su -". (reason for this: It can make troubles with the used environment)
Your emerge -cp is fine ... later we see here more to remove ...
Although you don't have an entry for a vanilla-kernel in /var/lib/portage/world, the world-update has a problem because of a vanilla kernel:
Code: | sys-kernel/installkernel:0
(sys-kernel/installkernel-44:0/0::gentoo, ebuild scheduled for merge) USE="-dracut -efistub -grub -refind -systemd -systemd-boot -ugrd -uki -ukify" ABI_X86="(64)" conflicts with
>=sys-kernel/installkernel-14[dracut(-)] required by (sys-kernel/vanilla-kernel-6.10.2:6.10.2/6.10.2::gentoo, ebuild scheduled for merge) USE="initramfs strip -debug -hardened -modules-sign -savedconfig -secureboot -test -verify-sig" ABI_X86="(64)" |
It is because your /etc/portage/package.accept_keywords/installkernel Delete this file also !
Please check the output of:
emerge -cpv sys-kernel/gentoo-sources
emerge -cpv sys-kernel/installkernel
emerge -cpv x11-base/xorg-drivers
emerge -cpv x11-drivers/xf86-video-amdgpu
Does it say it is not possible to remove it - or would it possible ? If portage allows you to remove them, then please do it with "emerge -c ...."
Before I want to delete /usr/src and /boot I would like to see your /etc/fstab and the output of "mount"
I have seen your efiboomgr and which kernel was booted.
Please give me now (again):
* grep -r --exclude=linux* --exclude-dir=savedconfig "" /etc/portage
* emerge -uUDvp @world _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Sat Aug 03, 2024 2:04 pm Post subject: |
|
|
The only package it allows me to remove is sys-kernel/istallkernel. xf86-video-amdgpu depends on xorg-drivers, which depends on xorg-server and gentoo-sources depends on virtual/linux-sources-3-r8. Do I remove them with their dependencies?
My fstab: https://bpa.st/VCNA
mount: https://bpa.st/ALCQ
grep -r --exclude=linux* --exclude-dir=savedconfig "" /etc/portage: https://bpa.st/ABNQ
emerge -uUDvp @world: https://bpa.st/CKAQ |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
Posted: Sat Aug 03, 2024 3:21 pm Post subject: |
|
|
Lets start ...
1. There is a typo ... Delete this file: /etc/portage/pakage.use
2. You mount your ESP to /boot instead of /efi ... this is outdated ... and I would like to correct it in the course of our cleanup work.
See:
* https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#UEFI_systems
* https://forums.gentoo.org/viewtopic-t-1165115-highlight-.html
Do:
3. Add "dracut" to your USE= in make.conf (better than an external file) and delete some other options:
Code: | USE="gtk3 dbus dracut -gnome -dvd -cdr" |
4. DO
Code: | emerge --deselect gentoo-sources
emerge --deselect grub
emerge --deselect installkernel
emerge --deselect mesa-progs
emerge --deselect xdm
emerge --deselect xorg-apps
emerge --deselect xorg-drivers
emerge --deselect xorg-server
emerge --deselect xf86-video-amdgpu
emerge --deselect x11-terms/st
emerge --deselect x11-wm/dwm
emerge --deselect xfce4-meta |
(dont worry - we will not delete them)
5. delete /boot and /usr/src completely
Code: | rm -rf /usr/src/*
rm -rf /boot/* |
6. Unmount /boot and mount your ESP to /efi
Code: | umount /boot
mount /dev/nvme0n1p1 /efi |
7. Install dist-kernel, installkernel and grub
Code: | emerge installkernel gentoo-kernel-bin grub
grub-install --efi-directory=/efi
grub-mkconfig -o /boot/grub/grub.cfg |
Does the last command show adding ONE kernel ?
8. If yes, edit this line in your /etc/fstab:
Code: | /dev/nvme0n1p1 /efi vfat umask=0077 0 2 |
BEFORE you do a reboot now, please give me NOW the output of "efiboomgr" and (again) "emerge -uUDvp @world"
Dont reboot - please wait.
Later we do more _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
Posted: Sat Aug 03, 2024 3:54 pm Post subject: |
|
|
In the meantime you can do something more:
Please decide which DE or WM you want use ?
Do you want a display manager to start your DE or WM - which one ? - or do you want start it manually ?
(Please note: xdm is part of xorg-apps ... so, no need to emerge it extra)
Delete everything in here (if you have this directory): /etc/X11/xorg.conf.d/
Please give me the output of "rc-update" and "emerge -pvD xorg-server"
- Dont reboot - please wait - _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Sat Aug 03, 2024 5:31 pm Post subject: |
|
|
I'm such an idiot... I ... removed /usr ...Is there a way to fix this..? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
Posted: Sat Aug 03, 2024 5:55 pm Post subject: |
|
|
fgsfds wrote: | [...] Is there a way to fix this..? |
Only with booting the GentooCD and downloading a stage3 and extracting this stage ... what is nearly a new installation.
For the future;
-You dont need xorg-drivers ... just only xorg-server
- If you want a DE (gnome or kde) select the correct profile (which enables automatically every necessary Use-flag) and dont install any display-manager; it will be all installed automatically; see my installation steps for KDE:
Code: | # emerge xorg-server
# cd /etc/X11
# mkdir xorg.conf.d
# cd xorg.conf.d
# cp /usr/share/X11/xorg.conf.d/40-libinput.conf .
# nano -w 40-libinput.conf
! Add to keyboard section => Option "xkb_layout" "de"
# emerge -vD plasma-meta kdecore-meta
# nano -w /etc/conf.d/display-manager
! Change => DISPLAYMANAGER="sddm"
# rc-update add elogind boot
# rc-update add display-manager default |
(that gives you a minimal KDE system; of course I have installed later more ) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Sat Aug 03, 2024 8:08 pm Post subject: |
|
|
I get an error when emerging gentoo-kernel-bin..
The log: https://bpa.st/OLHQ
Do I really need to install it? It didn't took that long to compile the sources first time I was installing Gentoo. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
Posted: Sat Aug 03, 2024 8:49 pm Post subject: |
|
|
fgsfds wrote: | I get an error when emerging gentoo-kernel-bin. |
How did you get /usr back? An expert could tell us exactly what happened here (unfortunately I'm not).
Perhaps it makes sense to start again from the beginning.
fgsfds wrote: | Do I really need to install it? It didn't took that long to compile the sources first time I was installing Gentoo. |
Don't worry ... there is a big difference between gentoo-kernel-bin and gentoo-kernel ... gentoo-kernel-bin is pre-compiled and installed very fast _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Sat Aug 03, 2024 9:01 pm Post subject: |
|
|
Quote: | How did you get /usr back? |
I didn't get it back, started from the beginning.
So... what do I do now? Should I make a topic on "Installing Gentoo"? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
|
Back to top |
|
|
fgsfds n00b
Joined: 01 Aug 2024 Posts: 27
|
Posted: Sun Aug 04, 2024 3:39 pm Post subject: |
|
|
Should've asked before emerging gentoo-kernel-bin - I still have to delete /boot and /usr/src completely?Also, I have already mounted my esp to /efi. |
|
Back to top |
|
|
|