#Plymouth never gets seen

150 messages · Page 1 of 1 (latest)

surreal swan
#

Both L4D2 and Steam crash when someone attempts to join a local server I host

#

@oblique ore

oblique ore
# surreal swan <@1121362940403126302>

Clear custom configs if there is any

mv ~/.steam/steam/steamapps/common/Left\ 4\ Dead\ 2/left4dead2/cfg/autoexec.cfg{,.bak}
mv ~/.steam/steam/steamapps/common/Left\ 4\ Dead\ 2/left4dead2/cfg/listenserver.cfg{,.bak}

Disable overlay (Steam → Settings → In-Game → disable).
And run steam like STEAM_FORCE_IP=192.168.40.241 steam and record the console.

surreal swan
oblique ore
surreal swan
#

I had this Arch install for 4 days

#

Still new to Arch as my first-ish distro

oblique ore
surreal swan
#

I know etc is configs, but then there's configs not in that folder and never know where to find em

oblique ore
surreal swan
#

One thing I never figured out os how to stop my monitors turning off and on during boot, since I never end up seeing my plymouth boot animation

#

I have an old video from a couple moths ago when I was experimenting with it, but it's the exact same off and on issue

surreal swan
oblique ore
surreal swan
oblique ore
# surreal swan grub

Edit the grub config file in /etc/default/grub and add to the line GRUB_CMDLINE_LINUX_DEFAULT this nvidia-drm.modeset=1

#

After that show me the output of cat /etc/default/grub

surreal swan
#

Do I make the config, or do I add more?

oblique ore
# surreal swan

Looks good, now run sudo mkinitcpio -P after that run sudo grub-mkconfig -o /boot/grub/grub.cfg

surreal swan
oblique ore
surreal swan
oblique ore
# surreal swan

Edit that file /etc/mkinitcpio.conf and add to the HOOKS like after kms plymouth

oblique ore
surreal swan
oblique ore
# surreal swan

Add also splash to the grub config file after quiet and re-run sudo grub-mkconfig -o /boot/grub/grub.cfg

surreal swan
#

then remake the config?

oblique ore
surreal swan
#

I use the KDE settings for that, will that work?

#

It did it on my laptop before

oblique ore
surreal swan
#

How do I find theme folders and install them manually?

oblique ore
surreal swan
#

/usr/share/plymouth/themes/breeze/breeze.plymouth

#

That's the one I'm doing

#

Found it after some digging

oblique ore
surreal swan
oblique ore
#

Show the output if there is any.

surreal swan
#

==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: '6.18.2-arch2-1'
-> Running build hook: [base]
-> Running build hook: [systemd]
-> Running build hook: [autodetect]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [plymouth]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [sd-vconsole]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful

oblique ore
surreal swan
oblique ore
surreal swan
oblique ore
surreal swan
# oblique ore Reboot.

It still does that weird wiping thing, and I only see it for a quarter of a second, then screen turns off, then turns back on for the login screen

surreal swan
oblique ore
oblique ore
surreal swan
#

I'm gonna change this thread and make a new one for L4D2 since this is the new topic

oblique ore
surreal swan
#

Plymouth never gets seen

surreal swan
# oblique ore Re-run ```sh sudo plymouth-set-default-theme -R breeze sudo plymouth-set-boot-th...

==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: '6.18.2-arch2-1'
-> Running build hook: [base]
-> Running build hook: [systemd]
-> Running build hook: [autodetect]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [plymouth]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [sd-vconsole]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
sudo: plymouth-set-boot-theme: command not found
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: '6.18.2-arch2-1'
-> Running build hook: [base]
-> Running build hook: [systemd]
-> Running build hook: [autodetect]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [plymouth]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [sd-vconsole]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful

#

Only one "command not found"

oblique ore
surreal swan
oblique ore
surreal swan
#

sudo plymouth-set-boot-theme --drm

#

sudo: plymouth-set-boot-theme: command not found

oblique ore
surreal swan
#

HKC OVERSEAS LIMITED 24E4

#

That's for all three of my monitors

#

DP-2 is my main one

oblique ore
#

And reboot

oblique ore
surreal swan
oblique ore
# surreal swan No change

Edit /etc/mkinitcpio.conf and add to the MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) and run sudo mkinitcpio -P
After that run sudo plymouth-set-default-theme -R spinner to make simple.

oblique ore
surreal swan
oblique ore
oblique ore
# surreal swan

Edit the grub config and add to cmdline video=DP-1:d video=DP-3:d

surreal swan
#

DP-2 is my middle, DP-3 is the one grub shows up on first boot, and DP-1 is my right monitor

oblique ore
surreal swan
surreal swan
oblique ore
surreal swan
oblique ore
surreal swan
oblique ore
# surreal swan

Okay, good. Re-run sudo grub-mkconfig -o /boot/grub/grub.cfg

#

and reboot

surreal swan
#

Other issue still present

surreal swan
#

Wait, no

oblique ore
surreal swan
#

I'm stuck with one monitor

#

Should I undo the change?

oblique ore
surreal swan
#

My PC also locks up for a second or two every few seconds

oblique ore
surreal swan
#

Also, while we're on this topic

#

How to fix this, or suppress it?

surreal swan
oblique ore
surreal swan
oblique ore
# surreal swan

In the grub config add printk.devkmsg=0 and remake the config, and reboot to check.

oblique ore
surreal swan
oblique ore
surreal swan
oblique ore
# surreal swan Yes

Okay.

On NVIDIA + multiple monitors, Plymouth is essentially incompatible. For 3 monitors, you can’t realistically have a working early boot splash.

surreal swan
#

The monitors turn off their backlight and everything whenever it does that and takes time to load the image

oblique ore
surreal swan
oblique ore
surreal swan
oblique ore
#

And rerun sudo mkinitcpio -P

surreal swan
oblique ore
surreal swan
#

Do I reboot using KDE instead or the terminal like I was doing to make it instant?

surreal swan
oblique ore
#

Show me the cmdline.

surreal swan
oblique ore
surreal swan
oblique ore
surreal swan
oblique ore
oblique ore
# surreal swan Sure

Make a systemd service for it. Edit /etc/systemd/system/unbind-usb.service and add to it

[Unit]
Description=Unbind USB devices before shutdown
DefaultDependencies=no
Before=shutdown.target reboot.target halt.target

[Service]
Type=oneshot
ExecStart=/bin/true
ExecStop=/bin/sh -c 'for d in /sys/bus/usb/devices/*/driver; do echo -n > "$d/unbind" 2>/dev/null; done'

[Install]
WantedBy=multi-user.target

Save the file and enable it sudo systemctl enable unbind-usb.service
Reboot.

oblique ore
surreal swan
#

I disabled the script since I think it caused another issue, and undoing it did not fix it

oblique ore