#My arch Linux plasma desktop is really slow
271 messages · Page 1 of 1 (latest)
What do you mean slow?
Like every action is really laggy
Mouse movement and anything to do with just using it
Did you install your Nvidia drivers?
Really stuttery it feels like
Not too sure but I don't think so
How do I do that??
You just install sudo pacman -S nvidia-open-dkms
And rebuild the initramfs with sudo mkinitcpio -P
After that I assume I restart the system right?
Yes.
Got an error "specified kernal image does not exist: '/boot/vmlinuz-linux' "
When executing the second commmand
Show me a screenshot.
Is it a laptop?
Okay, show me the output of ls -al /boot/
Oh, show the output of lsblk
I put it on my sda because my nvme0 is broken just so you know my windows 11 is also on my sda just fyi
No boot partition!!
Output of cat /etc/fstab
The swap is there but no boot.
??? Im so lost sda 5 is supposed to be efi if I'm not mistaken and sda 6 file system and obviously sda 7 swap
Show the fstab cat /etc/fstab
This is impossible. I'm puzzled by this; the fstab is empty.
Yea😭😭
Trust me this isn't something that happens to me rarely I always have the most random and unexplained issues🥲
Don't know how it's empty at all it should have at least 1 thing there no??
Output of lsblk -f
Don't mind the name of the nvme🥲
Let fix this.
You used grub, right?
Yes
Mount the boot partition sudo mount /dev/sda5 /mnt/boot
Okay, just do sudo mount /dev/sda5 /mnt
Okay done I got no response in return.
Okay, that look good.
Done
Run sudo mount /dev/sda6 /mnt
And run sudo mkdir -vp /mnt/boot
After that run sudo mount /dev/sda5 /mnt/boot
Don't know how I'm not a superuser even though I should be
Run them with sudo.
The last 2 commands worked
Show me.
You didn't the first one.
Is it hard to follow instructions?
Run umount -R /mnt
No that is my fault I thought I used sudo with the first one my bad.
Did it
Okay, run sudo mount /dev/sda6 /mnt
Done
Run sudo mkdir -vp /mnt/boot
✅
And after that run sudo mount /dev/sda5 /mnt/boot
Run lsblk
Run sudo genfstab -U /mnt > /mnt/etc/fstab
Okay, it didn't work so lets do it manually.
Alright
Run lsblk -f
Copy the UUID's to here.
All of them?
sda5, sda6, sda7.
Run this one see if it works genfstab -U /mnt | sudo tee /mnt/etc/fstab > /dev/null
That command worked
Okay, output of cat /etc/fstab
A746-9496
418760ac-2742-4996-95fc-accfc9d69734
Ea87915c-7b0a-495e-8700-e2dbca4a898a
These are the uids
Uids*
Uuids
Run this cat /etc/fstab | curl -F 'file=@-' https://0x0.st and share the link.
What is your text editor?
Yes
You have kate?
Yea
Okay, edit that file sudo kate /etc/fstab and put in it this
# /dev/sda6
UUID=418760ac-2741-4996-95fc-accfc9d69734 / ext4 rw,relatime 0 1
# /dev/sda5
UUID=A746-9496 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/sda7
UUID=ea87915c-7b0a-495e-8700-e2dbca4a898a none swap defaults 0 0
Just install nano sudo pacman -S nano and use that instead of kate
Nano is already installed
Okay, just sudo nano /etc/fstab
Remove everything in there first
Then put this
# /dev/sda6
UUID=418760ac-2741-4996-95fc-accfc9d69734 / ext4 rw,relatime 0 1
# /dev/sda5
UUID=A746-9496 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/sda7
UUID=ea87915c-7b0a-495e-8700-e2dbca4a898a none swap defaults 0 0
That might take me a while so be patient with me the PC is too laggy to be using discord on so I'm using my phone
Make sure you don't miss anything.
No new lines after the UUID's
Also forgot the vfat and boot but the uuids and the other things below it belong on one line?
No, it's your phone that is making them look that. No new lines.
Need space in here
Show me a better pic
Okay, run cat /etc/fstab
Okay run sudo mkinitcpio -P
Do you have a USB with the Arch Linux iso?
Okay, that is just in case.
Reboot.
Boot the usb I assume?
No, just boot normally.
Ohh okayy
Let's if it's fix or not.
Yeah, that is why i asked about the usb iso.
Plug the USB;
And boot From it.
The first one always the first one.
Okay, lsblk
Okay, mount the partitions mount /dev/sda6 /mnt
After that run mkdir -vp /mnt/boot
Done
Also how do I make the font bigger rq
setfont -d
Did the font command work?
Yea
Okay, now run genfstab -U /mnt > /mnt/etc/fstab
Done
Okay, chroot arch-chroot /mnt
Done
Output of cat /etc/fstab
Okay, looks good.
Run pacman -S linux linux-firmware
Done
Hey have you tried any other desktop environment
Are they alright ?
Or is the slowdown system wide regardless of the desktop environment
Run grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --recheck
And show the output
Okay, run grub-mkconfig -o /boot/grub/grub.cfg
Done
okay, run mkinitcpio -P
Done
Show the output.
Ok show the output of ls -al /boot/
Exit run exit and umount -R /mnt
Done
Then boot normally??
Yes.
Install sudo pacman nvidia-utils nvidia-open-dkms
Nothing don't I have to do sudo pacman -S and then the nvidia
It says no operation specified
Yeah;
sudo pacman -S nvidia-utils nvidia-open-dkms
After run sudo mkinitcpio -P
Reboot.
Okay, edit sudo nano /etc/modprobe.d/blacklist-nouveau.conf and add to it
blacklist nouveau
options nouveau modeset=0
New lines?
Looks good, save it and sudo mkinitcpio -P
After this reboot?
Yes
Done no second monitor still
Could you check you monitor setting in the settings.
Check again.
Just my main just checked
Show me the monitor settings.
And I've checked on my monitor it's set to the right port as well so it is on display port and not on hdmi
Okay, Edit the grub config sudo nano /etc/default/grub and add this nvidia-drm.modeset=1 in this GRUB_CMDLINE_LINUX_DEFAULT
Do I put a space here?
nvidia-drm.modeset=1 add it after quiet "loglevel=3 quiet nvidia-drm.modeset=1"
No it's there my typing cursor is just on it
Ok save the file and run sudo grub-mkconfig -o /boot/grub/grub.cfg
No errors?
Nope
reboot
It's fine.
Run nvidia-smi
Install nvidia sudo pacman -S nvidia
And run sudo mkinitcpio -P
Reboot after that.
Run with sudo
Alr working now
It's sudo mkinitcpio -P
Works now
The monitor works,
Yes
Good.
You should close this. @tacit quail