View previous topic :: View next topic |
Author |
Message |
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Mon May 20, 2024 7:53 pm Post subject: |
|
|
NeddySeagoon
god news PINGTOO help me fix libinput
now I have 3 xterm and a clock and mouse and keyboard
https://bpa.st/3RFQ
/Borje |
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1223 Location: Richmond Hill, Canada
|
Posted: Mon May 20, 2024 8:10 pm Post subject: |
|
|
No worries, we all human and get tired easy.
Code: | AFK: /usr/lib64/xorg/modules/input/libinput_drv.so
MD5-DIGEST: /usr/share/X11/xorg.conf.d/40-libinput.conf |
FYI,
AFK is qcheck way of saying the file is missing
MD5-DIGEST is qcheck way of saying the file was modified, different from the default installation. |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Mon May 20, 2024 8:27 pm Post subject: |
|
|
NeddySeagoon
yes I rebuild it x11-drivers/xf86-input-libinput again
and test again
same result 21 out of 21
/Borje |
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1223 Location: Richmond Hill, Canada
|
Posted: Mon May 20, 2024 8:39 pm Post subject: |
|
|
borje2,
Just for your information,
since your got "same result 21 out of 21" this is a indication the /usr/share/X11/xorg.conf.d/40-libinput.conf been restore to default content. Your previous modification are lost.
This is just a caution note, so you will not get confused later on in case thing doing unexpectly.
Good luck with debugging SDDM, I don't use it so I cannot provide much input at this point. |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Mon May 20, 2024 8:53 pm Post subject: |
|
|
pingtoo
Thanks again very much for your help
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Tue May 21, 2024 7:33 am Post subject: |
|
|
NeddySeagoon
Good Morning
could this qcheck be usefull to find the problem?
I type qcheck in root and get a long list
I look into the list
AFK is a way of saying the file is missing
found 6 times
and MD5-DIGEST 86 times
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Tue May 21, 2024 10:50 am Post subject: |
|
|
NeddySeagoon
This is what I mean:
AFK
Checking dev-build/autoconf ...
AFK: /usr/share/autoconf-2.71/info/dir.bz2
* 90 out of 91 files are good
Checking media-libs/libcanberra ...
AFK: /etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module
* 70 out of 71 files are good
AFK: /usr/src/linux-6.6.30-gentoo-dist/arch/x86/boot/uki.efi
MD5-DIGEST: /usr/src/linux-6.6.30-gentoo-dist/arch/x86/boot/initrd
* 27689 out of 27696 files are good
Checking x11-themes/adwaita-icon-theme ...
AFK: /usr/share/icons/Adwaita/.icon-theme.cache
* 941 out of 942 files are good
Checking sys-apps/dbus ...
AFK: /etc/X11/xinit/xinitrc.d/80-dbus
* 115 out of 116 files are good
Checking x11-themes/adwaita-icon-theme ...
AFK: /usr/share/icons/Adwaita/.icon-theme.cache
* 941 out of 942 files are good
could this be use full for diagnostics??
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Wed May 22, 2024 5:47 am Post subject: |
|
|
NeddySeagoon
I have not done anything yet I waiting for instructions from you because I do more harm than good if I try to do something
I hope you haven't give up on me
/Borje |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5063 Location: Bavaria
|
Posted: Wed May 22, 2024 12:22 pm Post subject: |
|
|
Neddy would never give up on anyone ... but also has private obligations (we all don't get paid but do it as a hobby; the only reward we get is a thank you - or not).
What I recommend to anyone new to Gentoo: Install a working system first and only then optimize it step by step. If you make several changes at once, you won't know what the cause of problems is.
I can promise you that you will get a great KDE system if you first follow the instructions and do NOT install anything else. You only need two steps:
1. the basic installation according to these instructions (in my opinion you have already done this correctly and should be able to do it again):
https://wiki.gentoo.org/wiki/User:Pietinger/Draft/Quick_Installation_OpenRC_for_an_UEFI_System
2. the installation of X.11 and Kde/plasma, as I have already described (*1).
Do NOT set any use-flags ... Do not emerge "gentoo-sources"; you will need ONLY our binary Gentoo distribution kernel (as described in the installation instructions) ... Do not try to install any DE or WM (like "dwm") because if can misconfigure sdddm (look into: https://wiki.gentoo.org/wiki/Dwm ) ... Do not change any configuration files (unless it says so in the instructions) ... do not change any X.11 configuration files for now (you don't need a monitor configuration; for the keyboard you probably need "se" and not "sv"; don't change it anyway for now; we'll do it later IF everything is stable).
The only thing you should add to /etc/portage/make.conf (*2) is:
a) VIDEO_CARDS="intel"
b) MAKEOPTS="-j2"
<--- DONT TAKE "-j24" as I have ... "-j2" IS CORRECT for you.
c) What is in the installation instructions (GRUB_PLATFORMS="efi-64")
- NOTHING ELSE - LATER you can set ONE use-flag AFTER THE OTHER (*3)
The only settings in /etc/portage/package.use is
a) What is in the installation instructions: (echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpu-flags)
Only IF you are able to login with your user account (== NOT with "root") INTO SDDM and get Kde/plasma THEN install more applications you want (libreoffice, ...)
*1) Again:
a) Check profile and set to plasma (change X !):
Code: | # eselect profile list
# eselect profile set X
# emerge -uNDv @world |
b) Emerge X.11 and kde/plasma (be sure you have already VIDEO_CARDS in your make.conf):
Code: | # emerge -vD xorg-server plasma-meta kdecore-meta
# rc-update add elogind boot
# rc-update add display-manager default
# nano -w /etc/conf.d/display-manager
=> DISPLAYMANAGER="sddm"
# reboot |
IF you now get a black screen THEN we are NOW at the point where I asked you WHERE you have connected your monitor: To the mainboard OR directly to the nvidia card ... unfortunately this question was not answered (either).
LATER we do this:
Code: | # 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" "se"
# reboot |
*2) I have also a kde-Plasma system and my make.conf disables more use-flags than setting new ones (because I love a minimal system and I know what I am doing) - DONT TAKE IT - IT IS ONLY AN EXAMPLE:
Code: | COMMON_FLAGS="-march=raptorlake -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
LC_MESSAGES=C
ACCEPT_LICENSE="* -@EULA"
MAKEOPTS="-j24"
L10N="de"
GRUB_PLATFORMS="efi-64"
VIDEO_CARDS="intel"
USE="-accessibility -bluetooth -gstreamer -gtk -gtk3 -haptic -initramfs -ipv6 -lvm -modemmanager -networkmanager -phonon -ppp -pulseaudio -screencast -semantic-desktop -thin -thumbnail -wext -wifi -wireless "
USE="$USE jumbo-build lm-sensors matroska openexr opus theora threads vaapi vpx webp xvmc" |
*3) You should check what happens when setting a new use-flag before doing so with: USE="testthisnewflag" emerge -uNDvp @world
This shows what portage WOULD change ... only if this check is okay you should edit your make.conf and add it to your use-flags-line. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Wed May 22, 2024 1:22 pm Post subject: |
|
|
Thanks Peter
I will look into your suggestions
I am not complete new with gentoo I have had it as a user for more than 10 years
and update it regularly and with my last update it was in February then I lost my graphics and it had been quite long time sins last update and I notes that my profile which was 17 something was depreciated and new was 23.
So I tried to do a new installation followed wiki quick install guide I notes a lot of change from my previous installation long time back everything works fine in instruction it only fail with grub installation but in that description they have 4 partitions 1 for efi and 1 for boot
and it seems to be the problems with gentoo-source I really like source where I am more flexible to make changes
so now I promised Neddy not to change anything without let him know I guess he is busy with something else so if he didn't give up with me he will probably be back
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Wed May 22, 2024 1:32 pm Post subject: |
|
|
Peter
I am sorry I missed some message before
My connection to monitor is to the motherboard
/Borje |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5063 Location: Bavaria
|
Posted: Wed May 22, 2024 1:43 pm Post subject: |
|
|
borje2 wrote: | I am not complete new with gentoo I have had it as a user for more than 10 years
and update it regularly and with my last update it was in February then I lost my graphics and it had been quite long time sins last update and I notes that my profile which was 17 something was depreciated and new was 23.
So I tried to do a new installation followed wiki quick install guide I notes a lot of change from my previous installation long time back everything works fine in instruction it only fail with grub installation but in that description they have 4 partitions 1 for efi and 1 for boot
and it seems to be the problems with gentoo-source I really like source where I am more flexible to make changes [...] |
Yes, I understand it to be more flexible with "gentoo-sources" ... I had never used in my live our dist-kernel (or genkernel) because since 2005 I am configuring my kernel manually. But this is nothing I can suggest to new users ... because you will need some knwoledge ... AND ... experience ... but I made a description for this:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration
I am even using the newest kernel version:
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Kernel_Version_6.9
and yes: I dont have installkernel, nor grub because I boot directly via UEFI:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Boot_kernel_via_UEFI
And these I can also NOT suggest to new Gentoo users ... it would be to much ...
Yes, we had some changes in the past:
a) from evdev to libinput
b) from 4 partitions to 3
c) from profile 17 to 23
d) from mountpoint /boot to /efi ( https://forums.gentoo.org/viewtopic-t-1165115-highlight-.html )
As I told you before: systems with two graphics card (yes, the GPU of the CPU is also one) are not easy: It depends WHERE you have connected your monitor AND what settings you have in your BIOS for it ... Neddy is an expert for this (and also for everything else). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5063 Location: Bavaria
|
Posted: Wed May 22, 2024 1:44 pm Post subject: |
|
|
borje2 wrote: | My connection to monitor is to the motherboard |
This is good ... so I guess you will not get a black screen. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Wed May 22, 2024 3:16 pm Post subject: |
|
|
Peter
I get black screen when I start display-manager (sddm)
and a blinking spot at left hand at top
that was what I mean with black screen
/Borje |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5063 Location: Bavaria
|
Posted: Wed May 22, 2024 5:16 pm Post subject: |
|
|
borje2 wrote: | I get black screen when I start display-manager (sddm) |
... maybe because SDDM is trying to start the dwm ... (but I'm not a dwm expert) ... that's why I wanted a clean new installation ... of course you can try to delete everything from dwm manually ... if you know what (I don't) ... _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Wed May 22, 2024 5:30 pm Post subject: |
|
|
Peter
I think we have going forward and when Neddy have time we maybe make it
/Borje |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Wed May 22, 2024 6:07 pm Post subject: |
|
|
borje2,
All those
Code: | AFK: /usr/src/linux-6.6.30-gentoo-dist/arch/x86/boot/uki.efi
MD5-DIGEST: /usr/src/linux-6.6.30-gentoo-dist/arch/x86/boot/initrd
* 27689 out of 27696 files are good
Checking x11-themes/adwaita-icon-theme ...
AFK: /usr/share/icons/Adwaita/.icon-theme.cache
* 941 out of 942 files are good
... | errors bother me. Its as if something bad happened to your install but we will probably never discover what.
I don't know how to recover either because we don know that the rest of your install is good.
Boot into memtest86 or memtest86+ and run 3 or 4 cycles. It a good test of your RAM subsystem.
If it passes, good. If it fails, we need to know the failures.
When all is well, do a clean install. Then run the test that produced all those errors above on the clean install.
There must be none. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Wed May 22, 2024 6:24 pm Post subject: |
|
|
NeddySeagoon
nice to see you again
I have started memtest now
clean installation what do you mean with that?
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Wed May 22, 2024 7:43 pm Post subject: |
|
|
NeddySeagoon
4 memtest no error
I miss sys-kernel/linux-firmware I have install it
http://0x0.st/XZ-8.txt
/borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Wed May 22, 2024 8:21 pm Post subject: |
|
|
Neddy
did you mean I shall make a complete new installation?
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Thu May 23, 2024 4:44 am Post subject: |
|
|
Peter
I am sorry I missed an other message from you sent 01:43 pm may 22
thanks for that info but I am not sure how gentoo is proceeding
it seems to be trouble when you following the wiki instruction
well I start using linux long ago
I start with turbolinux which I don't think exist any more
the I use mandrake for same time
I try even slackware but I was not happy with that dist
gentoo seems to be the one for me but now with all changes it seems to be difficult to use
maybe I getting too old
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Thu May 23, 2024 6:17 am Post subject: |
|
|
Peter
I try a new installation after your quick install guide
I cannot install grub
grub-install --efi-directory=/efi
error /efi dosn't look like EFI partition
/etc/fstab
/dev/sda1 /efi vfat noauto, noatime 1 2
/dev/sda3 / ext4 noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/cdrom /mnt/cdrom noauto,ro 0 0
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Thu May 23, 2024 6:53 am Post subject: |
|
|
Peter
after I reboot and arch-chroot
I could install grub with no error
but grub-mkconfig -o /boot/grub/grub.cfg
fail no kernel found
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Thu May 23, 2024 7:22 am Post subject: |
|
|
Peter
I have forgot my local setting
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Thu May 23, 2024 8:04 am Post subject: |
|
|
This I found in grub.cfg
https://bpa.st/ORGA
/Borje |
|
Back to top |
|
|
|