Shaking screen after full system update/upgrade

Hello

I updated my system today using the sudo pacman -Syyu command.
Everything seemed to work fine, until my next reboot. After that my screen keeps shacking, or seems to be a video error. It happens when I move the mouse around. I wish I could attach more screenshot, but it only happens for fractions of seconds. I believe it is something with graphics.
Here is the two informations required.

> inxi -Fza

> journalctl -b0 -p 4

Can anyone comment on the errors in the journalctl file?

If i should provide some extra files, logs, please let me know.
Thank you in advance.

Hi @gigi88,

I’m completely unsure what could cause this behaviour. But considering:

Jän 07 09:52:50 stefan-pc bumblebeed[2247]: Module 'nvidia' is not found.

and

  Device-2: NVIDIA GK104GLM [Quadro K3100M] vendor: Dell driver: N/A

I think your suspicion that it might have something to do with the graphics drivers is probably correct.

Please provide the output for:

mhwd --list

Sorry, i forgot to add this list: :blush:
I uploaded the outcome here.

I tried over the past years to learn more about how to properly install my invidia GPU on my manjaro, and every time I tried something messed up my system so badly, that it didn´t start any more. Like example this here.
So i just cruise along hoping issues pass me (but not this time).
Maybe you can teach me how to properly do it.
Thank you in advance.

P.S. Is it so complicated with AMD to? :yum:

Firstly, it’s not complicated. Not really, IMHO. But then again, everyone goes on and on how easy and stable Mac is, but I’ve never found it to bee either of those…

But I don’t know what the process for AMD is, as I’ve never had one, so don’t know.

I can certainly try:

So the output shows all drivers available for you to install, but I don’t think they’d all work for you, because in the inxi you provided above, it mentions

  Device-2: NVIDIA GK104GLM [Quadro K3100M] vendor: Dell driver: N/A
    alternate: nouveau non-free: series: 470.xx+

The

non-free: series: 470.xx+

Kind of, sort of, gives that away, according to me.

And in your mhwd output above, it mentions it has something for it available:

    video-nvidia-470xx            2021.11.04               false            PCI

and

video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI

Keeping in mind your inxi output shows 2 CPUs:

 Intel 4th Gen Core Processor Integrated Graphics

and

NVIDIA GK104GLM [Quadro K3100M]

It’s logical to me that you have hybrid graphics, so that’s obviously the driver to install:

mhwd --install pci video-hybrid-intel-nvidia-470xx-prime

Wait for it to finish, check for and handle any errors, and reboot.

Report back.

Hope this helps!

Edit:

Knowledge (mostly) obtained from hanging around the forum a lot and from:

Oh, and logic…

2 Likes

Yes @Mirdarthos , I have hybrid GPU-s.
Forgot to mention that to. I have to pay more attention in providing information in advance on the forum. :upside_down_face:
First of all thank you very much for taking time looking into this. Your reply helps a lot. :pray:t2:
I followed the steps in your last post above and installed the hybrid driver. The terminal installation showed about ~600 MB of installation size. After finished, saw following errors.

On reboot (the System didn´t break down this time :+1:t2:) , checket for errors again, seemed fine (at least the line

Module ‘nvidia’ is not found

disappeared) . I still see on the inxi -Fza that on Device2 the DELL driver is N/A, for some reason, but alternate: nouveau, nvidia_drm shows this time.

Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Dell
    driver: i915 v: kernel arch: Gen-5.75 process: Intel 45nm built: 2010 ports:
    active: eDP-1 empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0
    chip-ID: 8086:0416 class-ID: 0300
  Device-2: NVIDIA GK104GLM [Quadro K3100M] vendor: Dell driver: N/A
    alternate: nouveau, nvidia_drm, nvidia non-free: series: 470.xx+
    status: legacy-active (EOL~2023/24) arch: Kepler code: GKxxx
    process: TSMC 28nm built: 2012-18 pcie: speed: Unknown lanes: 63 link-max:
    gen: 5 speed: 32 GT/s bus-ID: 01:00.0 chip-ID: 10de:11b6 class-ID: 0300

I cant really decide if I accomplished the required success or not, but my error check after reboot does not show any more red lines/errors regarding the NVIDIA. So I have a good feeling.

The good news is that the screen shaking disappeared, at least no issues after the NVIDIA hybrid installation reboot. :crossed_fingers:t2: :biting_lip:
Please let me know what you think.

P.S. I believe my screen lock or screensaver got messed up now. I can´t lock the screen any more…Do you thing it has anything to do with this driver update?

[stefan@stefan-pc~]$ xflock4
/bin/sh: line 1: light-locker-command: command not found
'light-locker-command --lock' exited with status 127

Sorry, yesterday was chaotic and I couldn’t really be here. (It was a friend’s wedding, so that kind of took priority.)

I highly doubt it. But this :point_down:

Tells me that for some reason I cannot fathom, that the screen locker has been uninstalled. But light-locker-command contains it, it looks like, and is available in the AUR:

$ pamac search light-locker-command
light-locker-shim-slock                                                                                                                                                                                                                            1-1  AUR
Use light-locker-command as it was slock, useful for xflock4

_Although, since Xfce IS the original DE for Manjaro, I don’t know why it wouldn’t be in the repositories. Except if it was replaced by something else, and removed from the repositories. Which is quite the possibility, but I’m not at all sure, as I use KDE and not Xfce. Nevertheless, if you want to give it a shot, you can install it with:

pamac build light-locker-shim-slock

Also, you could have a look here:

https://wiki.archlinux.org/title/Xfce

Specifically under the Lock the screen section.

But, as I said, I use KDE, not Xfce so you’re on your own.


This isn`t right. Please provide the output for:

mhwd --listinstalled

…and

pamac search bumblebee

I’m removing the Solution mark for now, as we’re still busy, and you can add it again later when you’re sorted.

Don´t worry about it! Important things first. It doesn’t have to be replied on the day…I appreciate your help very much. :pray:

My new mhwd --listinstalled and the pamac search bumblebee

Regarding light locker. the pamac build light-locker-shim-slock helped, I can lock now the screen with xflock4.

I see here you do seem to have bumblebee installed:

bumblebee                                                                                                                                          [Installed] 3.2.1-23             community 
    NVIDIA Optimus support for Linux through Primus/VirtualGL

…but, this output in your error logs

Jän 07 12:50:53 stefan-pc systemd[1]: bumblebeed.service: Failed with result 'exit-code'.

Shows something’s amiss, somewhere…and this:

Jän 07 12:50:53 stefan-pc bumblebeed[652]: Module 'nvidia' is not found.

…also from your error log, shows the Nvidia driver isn’t loading. Which is consistent with this:

…but not this from your output:

video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI

But, I also see you have this:

           video-linux            2018.05.04                true            PCI

…and this:

     video-modesetting            2020.01.13                true            PCI

…installed, while I don’t:

$ mhwd --listinstalled
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-nvidia            2021.12.18               false            PCI


Warning: No installed USB configs!

So, I think need to remove bumblebee, if you don’t use it.

pamac remove bumblebee

Once again note: I have never used bumblebee, so don’t know if there are any additional steps.

I also think, think you need to remove your drivers:

mhwd --remove pci video-linux

DO NOT REBOOT

mhwd --remove pci video-hybrid-intel-nvidia-470xx-prime

DO NOT REBOOT

mhwd --remove pci video-modesetting

DO NOT REBOOT

After everything is uninstalled, lets install the correct drivers again:

mhwd --install video-hybrid-intel-nvidia-470xx-prime

And then you can reboot and see if it works. If it doesn’t, I think I’ll have to call in reinforcements.

Either way, report back with the output of:

inxi --admin --verbosity=7 --filter --no-host --width

…and

mhwd --listinstalled

…please.

For som reason the remove is not working

[stefan@stefan-pc~]$ pamac remove bumblebee
Preparing...
Checking dependencies...
Error: Failed to prepare transaction:
could not satisfy dependencies:
- removing bumblebee breaks dependency 'bumblebee' required by lib32-primus

[stefan@stefan-pc~]$ mhwd --remove video-linux
Error: invalid use of option: -r/--remove

Usage: mhwd [OPTIONS] <config(s)>

  --pci					list only pci devices and driver configs
  --usb					list only usb devices and driver configs
  -h/--help				show help
  -v/--version				show version of mhwd
  -f/--force				force reinstallation
  -d/--detail				show detailed info for -l/-li/-lh
  -l/--list				list available configs for devices
  -la/--listall				list all driver configs
  -li/--listinstalled			list installed driver configs
  -lh/--listhardware			list hardware information
  -i/--install <usb/pci> <config(s)>	install driver config(s)
  -ic/--installcustom <usb/pci> <path>	install custom config(s)
  -r/--remove <usb/pci> <config(s)>	remove driver config(s)
  -a/--auto <usb/pci> <free/nonfree> <classid>	auto install configs for classid
  --pmcachedir <path>			set package manager cache path
  --pmconfig <path>			set package manager config
  --pmroot <path>			set package manager root

I have updated the commands. I made a mistake. I don’t know why it always escapes me, but this always happens.

Seems to have something to do with primus:

$ pamac search lib32-primus
[...]
lib32-primus                                                                                                                                                                                                                        20151110-5     multilib
Faster OpenGL offloading for Bumblebee (32-bit)

So it seems if you want to remove bumblebee, you need to first remove lib32-primus:

pamac remove lib32-primus

That’s all I have for you. I’ve got to be off, so I hope you manage!

Hi @Mirdarthos

Well I did my best. Here you can find my reinstallation process and below the outcome of the
commands inxi -v7azy mhwd --listinstalled and the journalctl -p 3 -xb..

Unfortunately for GPU2 the N/A is still there:

Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Dell
    driver: i915 v: kernel arch: Gen-5.75 process: Intel 45nm built: 2010 ports:
    active: HDMI-A-1,eDP-1 empty: DP-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0416
    class-ID: 0300
  Device-2: NVIDIA GK104GLM [Quadro K3100M] vendor: Dell driver: N/A
    alternate: nouveau, nvidia_drm, nvidia non-free: series: 470.xx+
    status: legacy-active (EOL~2023/24) arch: Kepler code: GKxxx
    process: TSMC 28nm built: 2012-18 pcie: speed: Unknown lanes: 63 link-max:
    gen: 5 speed: 32 GT/s bus-ID: 01:00.0 chip-ID: 10de:11b6 class-ID: 0300

Tell me what you think. :face_with_diagonal_mouth:

Should I consider a complete wipe of my hard drive and install everything from scratch?

There’s nothing like figuring out the problem. It’s one of t he best feelings for me.

That said, sometimes, it’s just easier and quicker. So it depends on you. I’ve done it with Manjaro, once.

It’s nice to have a fresh, good start to everything. Butt, hehehe yes I said butt, if you do decide to go that route, then make a conscious decision not to let things slide, as you said before.

Keep your system updated according to the guidelines:

…it’ll save you many headaches!

And always remember, Linux, and thus Manjaro, is much, much, much more hands-on, sleeves-up, involved, get-inside-and-get-dirty, D.I.Y. than Windows or Chrome OS.

1 Like

Hi @Mirdarthos

No, I don´t like wiping everything, only in bad cases.
Thank you for you support! I will keep an eye on updating smart.
Sincerely
@gigi88

Hi @Mirdarthos
I need to get back to you on this.
I just noticed in the re-installation that , here might have something went wrong. What do you think?
The removal of bumblebee doesn´t seem right:

[stefan@stefan-pc~]$ pamac remove bumblebee
Preparing...
Checking dependencies...
Error: Failed to prepare transaction:
could not satisfy dependencies: - removing bumblebee breaks dependency 'bumblebee' required by primus

Shoud i try the steps again?

pamac remove lib32-primus
pamac remove bumblebee
mhwd --remove pci video-linux
mhwd --remove pci video-hybrid-intel-nvidia-470xx-prime
mhwd --remove pci video-modesetting
mhwd --install video-hybrid-intel-nvidia-470xx-prime

Try removing bumblebee with any dependencies:

pamac remove --orphans bumblebee

Note: I am not completely sure of steps at this point, it’s all just educated guesswork. So, there is a chance of things breaking. It wouldn’t be on purpose, though.

:wave: @Mirdarthos
I believe it looks much better now. I had a feeling that the removal of bumblebee was not successfull, just forget to mention it in my post to you.

So I followed the steps again.

pamac remove lib32-primus

NO REBOOT

pamac remove --orphans bumblebee
NO REBOOT

mhwd --remove pci video-linux
NO REBOOT

mhwd --remove pci video-hybrid-intel-nvidia-470xx-prime
NO REBOOT
mhwd --remove pci video-modesetting
NO REBOOT
REINSTALLING THE DRIVER
mhwd --install pci video-hybrid-intel-nvidia-470xx-prime

REBOOT

Take a look at my new inxi -v7azy after reboot.

Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Dell
    driver: i915 v: kernel arch: Gen-5.75 process: Intel 45nm built: 2010 ports:
    active: HDMI-A-1,eDP-1 empty: DP-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0416
    class-ID: 0300
  Device-2: NVIDIA GK104GLM [Quadro K3100M] vendor: Dell driver: nvidia
    v: 470.161.03 alternate: nouveau,nvidia_drm non-free: series: 470.xx+
    status: legacy-active (EOL~2023/24) arch: Kepler code: GKxxx
    process: TSMC 28nm built: 2012-18 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:11b6

For the second device

>   Device-2: NVIDIA GK104GLM [Quadro K3100M] vendor: Dell driver: nvidia
>     v: 470.161.03 alternate: nouveau,nvidia_drm non-free: series: 470.xx

And the outcome of mhwd --listinstalled

is

[stefan@stefan-pc~]$ mhwd --listinstalled
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

right. What do you think?
If it is OK, give me a :+1: because I would post this as a SOLUTION. :fist_right: :fist_left:
Thank you again.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.