Laptop monitor not working but external one does

okay please set your system now in this way that we configure and start wit the intel-parameter set to 1.
remember to update as exlained and do a reboot. before please post the output of

for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done

and the output of

ls /sys/class/backlight/ 

there is also the “intel-media-driver” package. install it if it’s not installed yet.

Okay.

DP-1: disconnected
DP-2: disconnected
HDMI-A-1: connected
HDMI-A-2: disconnected
eDP-1: connected
intel_backlight

I’ve installed intel-media-driver package as well.

okay next step, please make sur that you update your system to the newest avaiable. check that your update is up to date.
please post the output of

inxi --admin --verbosity=7 --filter --no-host --width

if you’re ready. this is helpful also to others to know that this one is the status we are dealing with

Here you go.

System:
  Kernel: 5.15.55-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=0262f6df-2fea-4f21-88fe-529a32d7884a rw i915.modeset=1
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.6 tk: Qt v: 5.15.5 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Plaisio s SA product: Flynote Xi v: N/A
    serial: <superuser required>
  Mobo: NA model: NA serial: <superuser required> UEFI: American Megatrends
    v: E.S142C.E0_25.D4.047.rom date: 07/28/2021
Battery:
  ID-1: BAT0 charge: 38.0 Wh (100.0%) condition: 38.0/38.0 Wh (100.0%)
    volts: 7.6 min: N/A model: Broadwell Battery type: Unknown serial: <filter>
    status: full
Memory:
  RAM: total: 3.74 GiB used: 800.7 MiB (20.9%)
  RAM Report:
    missing: Required tool dmidecode not installed. Check --recommends
CPU:
  Info: model: Intel Pentium J3710 bits: 64 type: MCP arch: Airmont
    built: 2015-17 process: Intel 14nm family: 6 model-id: 0x4C (76) stepping: 4
    microcode: 0x411
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 224 KiB
    desc: d-4x24 KiB; i-4x32 KiB L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 649 high: 1159 min/max: 480/2640 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 480 2: 480 3: 1159
    4: 480 bogomips: 12805
  Flags: 3dnowprefetch acpi aes aperfmperf apic arat arch_perfmon bts
    clflush cmov constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept
    erms est flexpriority fpu fxsr ht ibpb ibrs ida lahf_lm lm mca mce
    md_clear mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe
    pclmulqdq pdcm pebs pge pni popcnt pse pse36 pti rdrand rdtscp rep_good
    sep smep ss sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow
    tsc tsc_adjust tsc_deadline_timer tsc_known_freq tsc_reliable vme vmx vnmi
    vpid xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Not affected
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx
    Integrated Graphics
    driver: i915 v: kernel arch: Gen8 process: Intel 14nm built: 2014-15
    ports: active: HDMI-A-1 off: eDP-1 empty: DP-1,DP-2,HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:22b1 class-ID: 0300
  Device-2: Sonix HD WebCam type: USB driver: uvcvideo bus-ID: 1-2.1:5
    chip-ID: 174f:2411 class-ID: 0e02
  Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-size: <missing: xdpyinfo>
  Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: primary model: Dell U2415
    serial: <filter> built: 2019 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 518x324mm (20.39x12.76") diag: 611mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 720x400
  Monitor-2: eDP-1 note: disabled model: Panasonic VVX14P048M00
    serial: <filter> built: 2015 res: 1920x1200 dpi: 267 gamma: 1.2
    size: 285x190mm (11.22x7.48") diag: 343mm (13.5") ratio: 3:2 modes: N/A
  OpenGL: renderer: Mesa Intel HD Graphics 405 (BSW) v: 4.6 Mesa 22.1.3
    direct render: Yes
Audio:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series
    High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 1-1:2 chip-ID: 062a:9539
    class-ID: 0300
  Device-2: MosArt USB Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound Server-1: ALSA v: k5.15.55-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: no
  Sound Server-4: PipeWire v: 0.3.55 running: no
Network:
  Message: No PCI device data found.
  IF-ID-1: wlp0s20u5i2 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Realtek 802.11n WLAN Adapter type: USB driver: btusb,rtl8xxxu
    bus-ID: 1-5:4 chip-ID: 0bda:b720 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: not found
    rfk-block: hardware: no software: no address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 115.25 GiB used: 6.15 GiB (5.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/mmcblk0 maj-min: 179:0 model: SCA128 size: 115.25 GiB
    block-size: physical: 512 B logical: 512 B type: SSD serial: <filter>
    rev: 0x8 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 49.26 GiB size: 48.19 GiB (97.82%) used: 6.15 GiB (12.8%)
    fs: ext4 dev: /dev/mmcblk0p4 maj-min: 179:4 label: N/A
    uuid: 0262f6df-2fea-4f21-88fe-529a32d7884a
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.6 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/mmcblk0p2 maj-min: 179:2 label: N/A
    uuid: 5ebba3e9-a9a7-4e0a-b366-22ecf70e06a2
Unmounted:
  ID-1: /dev/mmcblk0p1 maj-min: 179:1 size: 117 MiB fs: vfat label: NO_LABEL
    uuid: 1E74-E280
  ID-2: /dev/mmcblk0p3 maj-min: 179:3 size: 57.27 GiB fs: ntfs label: N/A
    uuid: CAD6BB85D6BB7075
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 7 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:2 info: MosArt USB Audio Device type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 12 Mb/s power: 100mA chip-ID: 062a:9539 class-ID: 0300
  Hub-2: 1-2:3 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s power: 100mA chip-ID: 058f:6254 class-ID: 0900
  Device-1: 1-2.1:5 info: Sonix HD WebCam type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 174f:2411
    class-ID: 0e02
  Device-2: 1-2.2:6 info: SIGMACHIP Usb Mouse type: Mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
    power: 98mA chip-ID: 1c4f:0034 class-ID: 0301
  Device-3: 1-5:4 info: Realtek 802.11n WLAN Adapter type: Bluetooth
    driver: btusb,rtl8xxxu interfaces: 3 rev: 2.1 speed: 480 Mb/s power: 500mA
    chip-ID: 0bda:b720 class-ID: e001 serial: <filter>
  Hub-3: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 149 Uptime: 6m wakeups: 1 Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: N/A Packages: pacman: 611 lib: 161
  Shell: Bash v: 5.1.16 running-in: konsole inxi: 3.3.19

well as we can see there is a curious message

eDP-1 empty

please search also while i do the same. never saw that before

As I can see from other threads for example this one .

https://forums.linuxmint.com/viewtopic.php?t=376894

In that log eDP-1 is empty however his monitor is working so I think that might not be something to search for? However I can see that in my log

Monitor-2: eDP-1 note: disabled and in other guy’s log Monitor-2: eDP-1 mapped.

GRUB_CMDLINE_LINUX_DEFAULT="i915.modeset=1 video=eDP-1:e udev.log_priority=3"

and again

sudo update-grub
sudo mkinitcpio -P

this should force to enable (video=…:e) it straight from the startup. any changes after reboot ?

No lucky. Still the same. Even in the log everything is the same.

okay let’s try something else and check the behaviour with wayland instead.
install the “plasma-wayland-session” and reboot. at the login-screen check the left-bottom of the display. there you can choose wayland or x11. switch to wayland and see if there’s a change under wayland.

I’ve installed plasma-wayland-session but in KDE it seems buggy as @brahma said.

Whenever I select Wayland and login it goes black screen with one line in terminal and only keeps restarting to login screen.

okay so turn back to x11. i’m running out of ideas, your monitor eDP1 is shutdown and i wonder why it is not activated.
are there any bios-settings that could interfere ?

Okay. A little progress. I’ve activate the monitor with the following link:

https://forums.linuxmint.com/viewtopic.php?f=59&t=343706&p=1978463&hilit=GWTN141+4#p1978463

I’ve created EDID bin from the local and move to edid/firmware and added to boot. AND STILL monitor is black. I cannot believe this.

Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx
    Integrated Graphics
    driver: i915 v: kernel arch: Gen8 process: Intel 14nm built: 2014-15
    ports: active: HDMI-A-1,eDP-1 empty: DP-1,DP-2,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:22b1 class-ID: 0300
  Device-2: Sonix HD WebCam type: USB driver: uvcvideo bus-ID: 1-2.1:5
    chip-ID: 174f:2411 class-ID: 0e02
  Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    gpu: i915 tty: 80x24
  Monitor-1: HDMI-A-1 model: Dell U2415 serial: <filter> built: 2019
    res: 1920x1200 dpi: 94 gamma: 1.2 size: 518x324mm (20.39x12.76")
    diag: 611mm (24.1") ratio: 16:10 modes: max: 1920x1200 min: 720x400
  Monitor-2: eDP-1 model: Linux FHD serial: <filter> built: 2012
    res: 1920x1080 dpi: 98 gamma: 1.2 size: 500x281mm (19.69x11.06")
    diag: 574mm (22.6") ratio: 16:9 modes: 1920x1080
  Message: GL data unavailable in console. Try -G --display

hey a step forward is a step closer to the finish-line. but in fact your system is really scary.

but again, do you have a bios you can enter and check and what is the actual setting of

cat /etc/default/grub | egrep -i "GRUB_CMDLINE_LINUX_DEFAULT="

I’ve played with couple of things in BIOS but no luck. I can change something if you want.

GRUB_CMDLINE_LINUX_DEFAULT="i915.modeset=1 video=eDP-1:e drm.edid_firmware=eDP-1:edid/1920x1080.bin udev.log_priority=3"

just to check out, what happens if you set the parameter

i915.modeset=0

to zero. don’t forget to update grub and please try it now with i915.modeset=0

With i915.modeset=0 Laptop screen is printing booting messages and get stuck at Starting Hostname Service and not working sddm. So maybe modeset=0 is good mode but how to run the system?

i think we’re getting closer. let me think a little bit. what happens if you boot to the point were it gets stuck and you change via ALT-F to a different text-console ? is there a text console that you can login ?

Yes there is.

okay so it’s just that sddm is stuck. you are on plasma, give me some minutes please.

okay boot till you’re stuck, change to a console, login and try this from text-console

kquitapp5 plasmashell && kstart5 plasmashell > /dev/null 2>&1

then you have to change with ALT-F1 to the graphical console