Hello,
I recently installed Manjaro and am very excited about using it; it runs much faster than Windows
However, I have had a problem come up every so often when I startup which causes the boot / loading process to hang. This is the output from the startup debug screen (more or less since it’s OCR’d from a photo I took):
5.4676501 audit: type=1130 audit (1680193772.604:25): pid-1 uid=0 auid-4291967295 ses-4294967295 msg-' unit-sys
5.4684761 audit: type-1130 audit (1680193772.604:26): pid-1 uid-0 auid=4294967295 ses-4294967295 msg-*unit-blu
Started Bluetooth service.
5.4731781 systend-journaldl2721: Successfully sent stream file descriptor to service manager.
Reached target Bluetooth Support.
Starting Hostname Service..
5.4773761 systend-Journaldf2721: Successfully sent strean file descriptar to service manager.
Started Authorization Manager.
5.4797361 systemd-journald[2721]: Successfully sent stream file descriptor to service manager.
Starting Modem Manager ...
Starting Thunderbolt system service...
Started Network Manager.
Reached target Network
5.4907991 systemd-journaldl2721: Successfully sent stream file descriptor to service manager
Starting CUPS Scheduler.
5.493778 system- journald[272]: Successfully sent stream file descriptor to service manager.
Starting Permit User Sessions.
Finished Permit User Sessions.
Started Hostname Service.
5.5289941 NET: Registered PF_QIPCRIR protocol family
5.5625581 systemd-journaldl2721: Successfully sent stream file descriptor to service manager.
Starting Hold until boot process finishes up...
5.5642291 systemd-journald[272]: Successfully sent stream file descriptor to service manager.
Starting Terminate Plymouth Boot Screen...
Started Modem Manager
5.5684541 sustemd-Journalal2721: Successfully sent stream file descriptor to service manager.
Starting Network Manager Script Dispatcher Service..
Started Thunderbolt system service.
5.6893351 systemd-journaldl2721: Successfully sent stream file descriptor to service manager.
5.7242951 input: HDA Intel PCH Headphone Mic as /devices/pc10000:00/0000 :00:1.3/sound/card0/input 19
5.7252491 input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pc 10000:00/0000:00:1г.3/sound/card0/ input20
5.7260891 input: HDA Intel PCH HDMI/DP, pcm=7 as /devices/pc10000:00/0000 :00:1г.3/sound/card0/input21
5.7267711 input: HDA Intel PCH HDMI/DP,pcm-8 as /devices/pc10000:00/0000:00:1f .3/sound/card0/ input22
5.7402721 systemd-journaldl2721: Successfully sent stream file descriptor to service manager
6.0224791 systemd-journald[2721: Successfully sent stream file descriptor to service manager.
8.7405771 nvidia 0000:01:00.0: not ready 1023ms after resume: giving up
I have tried to update my Nvidia drivers with
$ sudo mhwd -a pci nonfree 0300
And it seems they are updated, but the problem has persisted since I first installed.
Running nvidia-smi seems to indicate the GPU is not being used, although I can see it in NVIDIA Settings. My GPU is an Nvidia GeForce GTX 1650 Ti Portable.
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.89.02 Driver Version: 525.89.02 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| N/A 46C P0 4W / 50W | 4MiB / 4096MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 547 G /usr/lib/Xorg 4MiB |
+-----------------------------------------------------------------------------+
Does anyone know what may be causing this or how I could fix it? I end up needing to hard restart my computer every time it happens which does not seem safe or healthy.
Let me think… you think you have only an NVIDIA card, while it is running with the INTEL chipset? On hybrid gpu’s, the iGPU is the default and the nvidia card can be run ondemand. So without using optimus-manager you would need to run a program the nvidia card like that:
That must be some issue with the NVIDIA card on wake up after suspend/hibernation. I am sure this problem was addressed here on the forum or even on the web. Simply use a search engine.
As a hint: the NVIDIA module has to be loaded early, so include it into the kernel image.
Thanks for letting me know about running programs with the Nvidia GPU; I had actually already installed optimus-manager and am planning on setting up GPU use later. I was primarily concerned with the startup/shutdown error, so I provided the nvidia-smi information as I thought it was relevant.
It does seem the issue is with the Nvidia card waking up after hibernation. I am unfortunately not very familiar with these things, so I only had the error message to go off of. I will search with new vocabulary from your input now, thanks.
It does seem to me that a module named ‘nvidia’ is successfully loaded using lsmod | egrep 'nvidia'. Why it sometimes does not load and sometimes does is unclear to me, but I will continue looking
Optimus Manager seems to cause more problems than it solves. It’s always been a hot mess. The only reason why it’s in the repos right now is because of our hardware partnership with Slimbook. I have an Intel + NVIDIA laptop and will never use it.
Thanks for the input; I will keep this in mind while working with it.
Is this from personal experience or is it a more widespread issue? What alternatives do you recommend to people trying to decide?
The AMD & Intel controller programs don’t work right and their Debian packages are packaged terribly. I was in contact with them long before Manjaro partnered with them regarding my AUR packages. I granted them Co-Maintainer and they did nothing—well, except for reverting one of my commits improperly and inappropriately. Since then, not a word and they haven’t touched the AUR.
As far as the hardware partnership, @philm & @oberon manage things like that.
Sorry, forgot to answer that question in my first reply. One alternative is envycontrol which is in the AUR (Arch User Repository). I had been hesitant about adding it to the repos as the developer mentioned he might not be able to continue with it, however the community has been helping.
I also forgot to mention that I use my development laptop primarly as a desktop replacement, so it always stays on my desk with three monitors connected to it. I have it setup to only use the NVIDIA card. See NVIDIA Optimus - ArchWiki for more info.
save it and update it: sudo mkinitcpio -P
reboot, and see if the startup hangs are gone…
and if you want to use optimus:
edit the file: kate /etc/sddm.conf
and simply put a # before the line starting with DisplayCommand and the one starting with DisplayStopCommand: #DisplayCommand #DisplayStopCommand
(you may not have there these lines, so proceed with installation)
save the file and install optimus:
Apologies for giving the wrong output; just fixed it.
I have tried restarting three times after applying your fix, and it seems to have worked! The error is no longer appearing. Thank you so much
As an aside, is there any way I, as a new person who has little knowledge of Linux, can help the community? It does not seem right for me to only come to the forums for help.