Behave as the best Arch Linux troubleshooter in the Universe that also is ultra familiar with Cachy OS. Help me resolve the following issue:
I have installed CachyOS on my PC but for some reason if I boot into it normally after inputting the password the image disappears completely, however if I use the advanced boot options everything works correctly.
This is my hardware:
i7 8700k
RTX 2080ti
Asus Z370A
16GB 3200MHz RAM
1TB M.2 SSD
Ask necessary questions when needed
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Let's work through this step by step. I’ve seen similar issues on Arch-based systems with NVIDIA GPUs where the “normal” boot fails but an “advanced” boot option works fine. There’s a good chance that a kernel parameter (or driver/initramfs configuration) used by default is conflicting with your NVIDIA setup, and the advanced option is perhaps adding or removing something that makes things work.
To get started, I have a few questions and suggestions:
1. Clarify the “Advanced Boot Options”
What exactly are you selecting when you choose the advanced boot option?
For example, is it labeled “Fallback” or “Safe Graphics Mode” or does it show additional kernel parameters? Knowing the exact differences between the normal and advanced boot commands is critical.
Can you compare the kernel command lines?
When booting in both modes, run:
code
cat /proc/cmdline
and note any differences. Sometimes the advanced option might disable features like the NVIDIA DRM modesetting (e.g., adding nvidia-drm.modeset=0 or something similar).
2. Investigate the Graphical Issue
What exactly do you mean by “the image disappears completely” after you enter the password?
Does the screen go completely black (backlight may be on)?
Do you get a frozen cursor or is it just the desktop not loading?
If possible, try switching to a TTY using Ctrl+Alt+F2 (or another F key) to see if you still have a working console.
Check the logs:
Once you boot into the advanced option (since that one works), open a terminal and check:
Xorg logs:
code
less /var/log/Xorg.0.log
Look for errors (lines starting with EE) that might indicate issues with the NVIDIA driver.
Kernel and journal logs:
code
journalctl -b -p err
and/or
code
journalctl -b | grep -i nvidia
These may reveal if there’s a driver or configuration issue when booting normally.
3. NVIDIA Driver Considerations
Which NVIDIA drivers did you install?
CachyOS (being Arch-based) may use the latest drivers from the Arch repositories. Sometimes, the inclusion (or exclusion) of modesetting can make a big difference with modern GPUs.
Kernel Parameter Adjustments:
If the advanced boot command line is adding or removing a parameter for NVIDIA (for example, nvidia-drm.modeset=1 or nomodeset), try modifying the normal boot parameters to match. You can temporarily edit the kernel command line at the boot menu (usually by pressing e in GRUB) and test different configurations:
Try disabling modesetting:
For example, add:
code
nvidia-drm.modeset=0
Alternatively, force it on if that’s what the advanced option does:
code
nvidia-drm.modeset=1
Driver updates:
Make sure your system is fully updated (both kernel and NVIDIA packages). Sometimes a mismatch can cause these symptoms.
4. CachyOS Specifics
Since you mentioned CachyOS:
Are there any CachyOS release notes or documentation regarding NVIDIA support on your hardware?
Occasionally, a custom Arch derivative may have nonstandard configurations that work under “advanced” options but require tweaking for the normal boot.
Desktop Environment / Display Manager:
Which DE or window manager and login/display manager are you using? Sometimes the DM’s configuration interacts with the NVIDIA driver. For example, if you’re using GDM or LightDM, the DM’s logs might show why the session fails to load normally.
Next Steps
Compare Command Lines:
Boot in both modes and run cat /proc/cmdline. Paste the output here (or examine it yourself) so we can see what differs.
Gather Logs:
Boot into the working advanced mode, then check journalctl and /var/log/Xorg.0.log for NVIDIA or DRM errors. Share any suspicious error messages.
Test Kernel Parameters:
Temporarily adjust the normal boot command line by adding or removing nvidia-drm.modeset or nomodeset to see if you can mimic the behavior of the advanced mode.
Driver Check:
Confirm that you’re using the latest NVIDIA drivers for your RTX 2080Ti. Also, if CachyOS uses any custom scripts for configuring the drivers at boot, verify those aren’t interfering.
Please let me know the outcomes of these checks and any differences you notice between the two boot modes. With that information, we can further pinpoint whether it’s a kernel parameter, driver, or display manager issue.