OS is booting only with nomodeset

Sorry for my English.

I have installed endeavour os using nomodeset parameter (It would not work otherwise). Now i am forced to include nomodeset everytime i boot. I heard it’s a problem with graphics driver.

lspci output:

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device 80c3
	Flags: bus master, fast devsel, latency 0, IRQ 7
	Memory at b4400000 (64-bit, non-prefetchable) [size=4M]
	Memory at a0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 6000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel modules: i915

00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
	Subsystem: Hewlett-Packard Company Device 80c3
	Flags: fast devsel, IRQ 16
	Memory at b4918000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel modules: snd_hda_intel

Both of this is not showing "kernel driver in use: ".

lspci -k output:

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel modules: i915
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel modules: snd_hda_intel
00:04.0 Signal processing controller: Intel Corporation Haswell-ULT Thermal Subsystem (rev 0b)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device_pci_legacy
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.6 Signal processing controller: Intel Corporation 8 Series Thermal (rev 04)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
	Subsystem: Hewlett-Packard Company Device 80c3
	Kernel driver in use: r8169
	Kernel modules: r8169
0d:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
	Subsystem: Hewlett-Packard Company Device 804c
	Kernel driver in use: rtl8723be
	Kernel modules: rtl8723be

Previously I used linux mint, it had the same problem. Once I run apt update and upgrade after installation i was able to boot it without nomodeset. But after a week , when i did the update again , the problem came back.

Can anyone help?

Welcome to the forum! :smile:

Tip: when showing output, select the output text and press Ctrl-E which makes it more readable (preformatted text).

Please show the output of command

inxi -Gc0za

which will contain info about the graphics stuff.

Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Hewlett-Packard
    driver: N/A alternate: i915 arch: Gen-7.5 process: Intel 22nm built: 2013
    bus-ID: 00:02.0 chip-ID: 8086:0a16 class-ID: 0300
  Device-2: Chicony HP Truevision HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:4 chip-ID: 04f2:b50a
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.12 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: modesetting gpu: N/A display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: Unknown-1 mapped: None-1 res: 1366x768 hz: 60 size: N/A
    modes: 1366x768
  API: EGL v: 1.5 platforms: device: 0 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: swrast x11: drv: swrast inactive: wayland
  API: OpenGL v: 4.5 vendor: mesa v: 24.0.4-arch1.2 glx-v: 1.4
    direct-render: yes renderer: llvmpipe (LLVM 17.0.6 256 bits)
    device-ID: ffffffff:ffffffff memory: 3.66 GiB unified: yes
  API: Vulkan Message: No Vulkan data available.

Do you have package xf86-video-intel installed?
If yes, then uninstall it.
If not, install it.

This may sound strange, but some older Intel graphics cards might need the package or not.

I tried to boot after uninstalling xf86-video-intel. still doesn’t boot without nomodeset

Have you looked at the Arch wiki? They have lots of info about hardware and their needed settings.

Tried many things, didn’t work. Is there any alternative to nomodeset. I can play video fine , but the cpu usage spikes whenever i do it. cannot play 4k, 1080p works fine

Hardware can be tricky sometimes.

For the record, please show more info about your hardware with command

inxi -Fzac0

and if you can detect any related issues in journal
sudo journalctl -b -0
that might help.

inxi -Fzac0:


System:
  Kernel: 6.8.4-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: initrd=\af38f6834f4f465d998fa8e2baeccf4b\6.8.4-arch1-1\initrd
    nvme_load=YES nowatchdog rw
    root=UUID=fd4a6f87-698c-4bde-b81c-b4ca4ce22cdf
    systemd.machine_id=af38f6834f4f465d998fa8e2baeccf4b nomodeset
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Notebook v: Type1ProductConfigId
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 80C3 v: 96.44 serial: <superuser required>
    part-nu: V5D75PA#ACJ uuid: <superuser required> UEFI: Insyde v: F.1E
    date: 12/25/2015
CPU:
  Info: model: Intel Core i5-4210U bits: 64 type: MT MCP arch: Haswell
    gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
    family: 6 model-id: 0x45 (69) stepping: 1 microcode: 0x26
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 1475 high: 1701 min/max: 800/2700 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 1701 2: 1700 3: 800
    4: 1700 bogomips: 19208
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Hewlett-Packard
    driver: N/A alternate: i915 arch: Gen-7.5 process: Intel 22nm built: 2013
    bus-ID: 00:02.0 chip-ID: 8086:0a16 class-ID: 0300
  Device-2: Chicony HP Truevision HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:4 chip-ID: 04f2:b50a
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.12 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: modesetting gpu: N/A display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: Unknown-1 mapped: None-1 res: 1366x768 hz: 60 size: N/A
    modes: 1366x768
  API: EGL v: 1.5 platforms: device: 0 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: swrast x11: drv: swrast inactive: wayland
  API: OpenGL v: 4.5 vendor: mesa v: 24.0.4-arch1.2 glx-v: 1.4
    direct-render: yes renderer: llvmpipe (LLVM 17.0.6 256 bits)
    device-ID: ffffffff:ffffffff memory: 3.66 GiB unified: yes
  API: Vulkan Message: No Vulkan data available.
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Hewlett-Packard driver: N/A
    alternate: snd_hda_intel bus-ID: 00:03.0 chip-ID: 8086:0a0c class-ID: 0403
  Device-2: Intel 8 Series HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9c20
    class-ID: 0403
  API: ALSA v: k6.8.4-arch1-1 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 4000
    bus-ID: 07:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: enp7s0 state: down mac: <filter>
  Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtl8723be v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 0d:00.0 chip-ID: 10ec:b723
    class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:3 chip-ID: 0bda:b006
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
    lmp-v: 6 status: discoverable: yes pairing: yes class-ID: 6c010c
Drives:
  Local Storage: total: 931.51 GiB used: 6.91 GiB (0.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS541010A9E680
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: A7L0 scheme: GPT
Partition:
  ID-1: / raw-size: 191.27 GiB size: 187.21 GiB (97.88%) used: 6.8 GiB (3.6%)
    fs: ext4 dev: /dev/sda5 maj-min: 8:5
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 3.73 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda4 maj-min: 8:4
Sensors:
  System Temperatures: cpu: 68.0 C pch: 61.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 4 GiB available: 3.75 GiB used: 1.68 GiB (44.7%)
  Processes: 180 Power: uptime: 23m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 1.49 GiB services: power-profiles-daemon,
    upowerd, xfce4-power-manager Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 844 libs: 239 tools: yay Compilers: gcc: 13.2.1
    Shell: Bash v: 5.2.26 running-in: xfce4-terminal inxi: 3.3.33

FYI I get this error before the boot gets stopped,
snd_hda_intel 0000:00:03.0: error -ENODEV: HSW/BDW HD-audio HDMI/DP requires binding with gfx driver

Looks like the GPU driver is not starting properly.
Maybe the lightdm display manager is causing trouble?
Can you change it to sddm?

still not fixed.

I’m starting to be out of ideas, sorry.
Hopefully someone more familiar with your machine could chime in.

But one more idea could be to update the motherboard BIOS/firmware if such is available anymore.

And you can add the modeset parameter to your kernel parameters, then you don’t need to add it on every boot.

how can i permanently add this parameters?

I agree with @manuel , there’s a lot of info on the arch wiki that you could work through. Sometimes it’s easier to do the difficult thing.

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

If you are using grub, add the parameter into file /etc/default/grub, variable GRUB_CMDLINE_LINUX_DEFAULT.
Then run: sudo grub-mkconfig -o /boot/grub/grub.cfg

If systemd-boot, add it to file /etc/kernel/cmdline in just one line, and run reinstall-kernels.

And reboot.

My reservation about modeset is due to the Arch wiki on Intel graphics:

The Intel kernel module should load fine automatically on system boot.

If it does not happen, then:

  • Make sure you do not have nomodeset as a kernel parameter, since Intel requires kernel mode-setting.

One problem I’ve had is the firmware not being available. I had to download the firmware as mentioned on the wiki. I’m using a discrete Intel GPU, so this may be different from an integrated GPU.

1 Like

By the way, right after that text the wiki says:

Also, check that you have not disabled Intel by using any modprobe blacklisting within /etc/modprobe.d/ or /usr/lib/modprobe.d/.

That would good to check too.

1 Like