You are not logged in.
I recently reinstalled my Arch installation, which was working fine before. However, after the fresh installation, I encountered an issue where Arch would go through the GRUB boot loader, but then the laptop screen would flash a few times and go black. Arch was still running smoothly in the background as I could input my credentials and perform tasks. To get display output, I had to connect my TV via HDMI, where it would show up normally (I didn't try mini display port as I don't have monitor for it).
The only way to get output Arch on the built-in screen, was to install xorg-server, xorg-xrandr, i3-wm, and xinit. By starting the xorg-server (using the command "startx" to initiate i3-wm), the display output switched from the TV to the built-in screen. However, when I attempted to switch to another terminal (tty), it caused the built-in screen to freeze and revert to using the TV as the display output.
Furthermore, I noticed that the xrandr settings were not persistent across reboots, which is not big problem as I don't intend to use Xorg anyway (I want to use Hyprland which is a wayland compostitor).
I found that adding "nomodeset" to kernel parameters in grub does make the built-in screen work normally for the tty but Xorg or even Wayland stop working.
I have laptop with hybrid gpus.
GPU#1: Integrated intel gpu
GPU#2: Nvidia geforce rtx 3070
But the laptop is switched to intel mode. (I tried to blacklist nouveau in modprobe.d but it did nothing - proprietary nvidia driver is not installed)
laptop: HP Omen 17 ck0002 (https://support.hp.com/hk-en/document/c08023455)
Offline
But the laptop is switched to intel mode. (I tried to blacklist nouveau in modprobe.d but it did nothing - proprietary nvidia driver is not installed)
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'f:1=<-' ix.io
I noticed that the xrandr settings were not persistent across reboots
Please post your Xorg logs for such boots, https://wiki.archlinux.org/title/Xorg#General
https://raw.githubusercontent.com/torva … /fbcon.rst
Check for fbcon=map, but in theory shoudl should™ be booting on the intel device (where the internal output is most likely wired)
Offline
Here is the journal:
http://ix.io/4zGw
Here is the /var/log/Xorg.0.log
https://pastebin.com/nnWeGneJ
Offline
That server ran on the intel chip and the internal display is attached there.
The HDMI output is attached to the nvidia GPU so
tried to blacklist nouveau in modprobe.d
is really not a good idea.
Jul 03 23:13:29 Neko-arch kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Jul 03 23:13:29 Neko-arch kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Jul 03 23:13:29 Neko-arch kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Jul 03 23:13:29 Neko-arch kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Jul 03 23:13:29 Neko-arch kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Jul 03 23:13:29 Neko-arch kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
Jul 03 23:13:30 Neko-arch kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
nouveau likely because the HDMI output wasn't attached, i915 is not good.
i915.enable_dc=0 i915.enable_fbc=0 i915.enable_psr=0
https://wiki.archlinux.org/title/Kernel_parameters
I recently reinstalled my Arch installation
How "recently", did you use any kernel < 6.4?
=> Try the behavior w/ the LTS one.
Offline
How "recently", did you use any kernel < 6.4?
I reinstalled it on July 03, 2023. So no, in the new installation I didn't use kernel < 6.4
Switching to LTS kernel did solve the problem, it now boot to grub and then to the login screen. Hyprland also works and with correct resolution.
Thanks for help.
Offline
You want to keep an eye on whether this is fixed w/ the next kernel(s) and otherwise file an upstream bug asap
The "i915 0000:00:02.0: [drm] Cannot find any crtc or sizes" messages are gone w/ the LTS kernel?
Offline
Yes they are gone (Or I couldn't find them)
Last edited by Yuri Takanashi (2023-07-05 15:50:19)
Offline