You are not logged in.

#1 2024-04-22 17:52:24

WaterNinja05
Member
Registered: 2023-11-15
Posts: 10

Black screen after login only on laptop display

I'm using hyprland on arch with nvidia graphics. Recently i have this issue.
I boot just fine and see the login screen on all monitors(SDDM login). But after i login i get a black screen on my laptop, but my two external displays work just fine.
Xrandr only shows my two external display, but hyprctl monitors do show all monitors including my laptop screen.
Also going into TTY it again shows on all displays including my laptop screen.

I don't know what info you might need for this, so please ask if you need something :)

Offline

#2 2024-04-22 20:47:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: Black screen after login only on laptop display

xrandr is close to worthless in a wayland session, do you have a hybrid systemd?
https://wiki.hyprland.org/Configuring/Multi-GPU/

Offline

#3 2024-04-23 08:04:17

WaterNinja05
Member
Registered: 2023-11-15
Posts: 10

Re: Black screen after login only on laptop display

Yes i have intergrated intel graphics and a nvidia gpu. But in BIOS i have set it to use only the nvidia gpu, and it worked fine last week.

Offline

#4 2024-04-23 08:14:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: Black screen after login only on laptop display

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

and the output of

for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done

You'll need https://aur.archlinux.org/packages/edid-decode-git

Offline

#5 2024-04-23 11:32:53

WaterNinja05
Member
Registered: 2023-11-15
Posts: 10

Re: Black screen after login only on laptop display

This is my journalctl
http://0x0.st/XHrz.txt

Output of the other command:

Edit (did not have edid-decode installed):

/sys/class/drm/card0
/sys/class/drm/card0/edid: No such file or directory
=================
/sys/class/drm/card0-DP-1
edid-decode (hex):

00 ff ff ff ff ff ff 00 4c 2d 7b 70 38 44 58 43
29 1e 01 03 80 30 1b 78 2a e6 35 a3 5b 4f a3 27
11 50 54 bf ef 80 81 c0 81 00 81 80 95 00 a9 c0
b3 00 71 4f 01 01 02 3a 80 18 71 38 2d 40 58 2c
45 00 dd 0c 11 00 00 1e 00 00 00 fd 00 32 4b 1e
54 12 00 0a 20 20 20 20 20 20 00 00 00 fc 00 4c
46 32 32 54 33 35 0a 20 20 20 20 20 00 00 00 ff
00 48 34 5a 4e 41 30 30 35 30 31 0a 20 20 01 f8

02 03 13 b1 46 90 1f 04 13 03 12 67 03 0c 00 10
00 00 24 01 1d 00 bc 52 d0 1e 20 b8 28 55 40 dd
0c 11 00 00 1e 8c 0a d0 90 20 40 31 20 0c 40 55
00 dd 0c 11 00 00 18 8c 0a d0 8a 20 e0 2d 10 10
3e 96 00 dd 0c 11 00 00 18 01 1d 00 72 51 d0 1e
20 6e 28 55 00 dd 0c 11 00 00 1e 2a 44 80 a0 70
38 27 40 30 20 35 00 dd 0c 11 00 00 1a 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: SAM
    Model: 28795
    Serial Number: 1129858104 (0x43584438)
    Made in: week 41 of 2020
  Basic Display Parameters & Features:
    Digital display
    Maximum image size: 48 cm x 27 cm
    Gamma: 2.20
    DPMS levels: Off
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6396, 0.3574
    Green: 0.3095, 0.6386
    Blue : 0.1523, 0.0693
    White: 0.3134, 0.3291
  Established Timings I & II:
    IBM     :   720x400    70.081663 Hz   9:5     31.467 kHz     28.320000 MHz
    DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    Apple   :   640x480    66.666667 Hz   4:3     35.000 kHz     30.240000 MHz
    DMT 0x05:   640x480    72.808802 Hz   4:3     37.861 kHz     31.500000 MHz
    DMT 0x06:   640x480    75.000000 Hz   4:3     37.500 kHz     31.500000 MHz
    DMT 0x08:   800x600    56.250000 Hz   4:3     35.156 kHz     36.000000 MHz
    DMT 0x09:   800x600    60.316541 Hz   4:3     37.879 kHz     40.000000 MHz
    DMT 0x0a:   800x600    72.187572 Hz   4:3     48.077 kHz     50.000000 MHz
    DMT 0x0b:   800x600    75.000000 Hz   4:3     46.875 kHz     49.500000 MHz
    Apple   :   832x624    74.551266 Hz   4:3     49.726 kHz     57.284000 MHz
    DMT 0x10:  1024x768    60.003840 Hz   4:3     48.363 kHz     65.000000 MHz
    DMT 0x11:  1024x768    70.069359 Hz   4:3     56.476 kHz     75.000000 MHz
    DMT 0x12:  1024x768    75.028582 Hz   4:3     60.023 kHz     78.750000 MHz
    DMT 0x24:  1280x1024   75.024675 Hz   5:4     79.976 kHz    135.000000 MHz
    Apple   :  1152x870    75.061550 Hz 192:145   68.681 kHz    100.000000 MHz
  Standard Timings:
    DMT 0x55:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    DMT 0x1c:  1280x800    59.810326 Hz  16:10    49.702 kHz     83.500000 MHz
    DMT 0x23:  1280x1024   60.019740 Hz   5:4     63.981 kHz    108.000000 MHz
    DMT 0x2f:  1440x900    59.887445 Hz  16:10    55.935 kHz    106.500000 MHz
    DMT 0x53:  1600x900    60.000000 Hz  16:9     60.000 kHz    108.000000 MHz (RB)
    DMT 0x3a:  1680x1050   59.954250 Hz  16:10    65.290 kHz    146.250000 MHz
    DMT 0x15:  1152x864    75.000000 Hz   4:3     67.500 kHz    108.000000 MHz
  Detailed Timing Descriptors:
    DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (477 mm x 268 mm)
                 Hfront   88 Hsync  44 Hback  148 Hpol P
                 Vfront    4 Vsync   5 Vback   36 Vpol P
    Display Range Limits:
      Monitor ranges (GTF): 50-75 Hz V, 30-84 kHz H, max dotclock 180 MHz
    Display Product Name: 'LF22T35'
    Display Product Serial Number: 'H4ZNA00501'
  Extension blocks: 1
Checksum: 0xf8

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Video Data Block:
    VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (native)
    VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz
    VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    VIC  19:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz
    VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz
    VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 1.0.0.0
    Maximum TMDS clock: 180 MHz
  Detailed Timing Descriptors:
    DTD 2:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz (477 mm x 268 mm)
                 Hfront  440 Hsync  40 Hback  220 Hpol P
                 Vfront    5 Vsync   5 Vback   20 Vpol P
    DTD 3:   720x576    50.000000 Hz   5:4     31.250 kHz     27.000000 MHz (477 mm x 268 mm)
                 Hfront   12 Hsync  64 Hback   68 Hpol N
                 Vfront    5 Vsync   5 Vback   39 Vpol N
    DTD 4:   720x480    59.940060 Hz   3:2     31.469 kHz     27.000000 MHz (477 mm x 268 mm)
                 Hfront   16 Hsync  62 Hback   60 Hpol N
                 Vfront    9 Vsync   6 Vback   30 Vpol N
    DTD 5:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz (477 mm x 268 mm)
                 Hfront  110 Hsync  40 Hback  220 Hpol P
                 Vfront    5 Vsync   5 Vback   20 Vpol P
    DTD 6:  1920x1080   74.972503 Hz  16:9     83.894 kHz    174.500000 MHz (477 mm x 268 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   31 Vpol N
Checksum: 0x00  Unused space in Extension Block: 18 bytes
=================
/sys/class/drm/card0-DP-2
EDID of '/sys/class/drm/card0-DP-2/edid' was empty.
=================
/sys/class/drm/card0-eDP-1
edid-decode (hex):

00 ff ff ff ff ff ff 00 09 e5 7d 0b 00 00 00 00
1c 20 01 04 a5 24 14 78 07 ee 95 a3 54 4c 99 26
0f 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 b8 68 00 c6 a0 a0 b4 50 30 20
36 00 63 c8 10 00 00 1a 00 00 00 fd 0c 3c f0 86
86 6b 01 0a 20 20 20 20 20 20 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02
00 0d 36 ff 0a 3c 96 3c 14 31 96 00 00 00 01 f7

70 20 79 02 00 22 00 14 b5 5c 10 84 ff 09 c5 00
2f 00 1f 00 9f 05 b3 00 02 00 05 00 25 01 09 b5
5c 10 b5 5c 10 3c f0 80 81 00 13 72 1a 00 00 03
01 3c f0 00 00 53 51 53 51 f0 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 6c 90

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
    Manufacturer: BOE
    Model: 2941
    Made in: week 28 of 2022
  Basic Display Parameters & Features:
    Digital display
    Bits per primary color channel: 8
    DisplayPort interface
    Maximum image size: 36 cm x 20 cm
    Gamma: 2.20
    Supported color formats: RGB 4:4:4
    Default (sRGB) color space is primary color space
    First detailed timing includes the native pixel format and preferred refresh rate
    Display supports continuous frequencies
  Color Characteristics:
    Red  : 0.6396, 0.3300
    Green: 0.2998, 0.5996
    Blue : 0.1503, 0.0595
    White: 0.3134, 0.3291
  Established Timings I & II: none
  Standard Timings: none
  Detailed Timing Descriptors:
    DTD 1:  2560x1440   60.000537 Hz  16:9     97.201 kHz    268.080000 MHz (355 mm x 200 mm)
                 Hfront   48 Hsync  32 Hback  118 Hpol P
                 Vfront    3 Vsync   6 Vback  171 Vpol N
    Display Range Limits:
      Monitor ranges (Range Limits Only): 60-240 Hz V, 389-389 kHz H, max dotclock 1070 MHz
    Empty Descriptor
    Manufacturer-Specified Display Descriptor (0x02): 00 02 00 0d 36 ff 0a 3c 96 3c 14 31 96 00 00 00 '....6..<.<.1....'
  Extension blocks: 1
Checksum: 0xf7

----------------

Block 1, DisplayID Extension Block:
  Version: 2.0
  Extension Count: 0
  Display Product Primary Use Case: None of the listed primary use cases; generic display
  Video Timing Modes Type 7 - Detailed Timings Data Block:
    DTD:  2560x1440  239.999910 Hz  16:9    388.800 kHz   1072.310000 MHz (aspect 16:9, no 3D stereo, preferred)
               Hfront   48 Hsync  32 Hback  118 Hpol N
               Vfront    3 Vsync   6 Vback  171 Vpol N
  Dynamic Video Timing Range Limits Data Block:
    Minimum Pixel Clock: 1072310 kHz
    Maximum Pixel Clock: 1072310 kHz
    Minimum Vertical Refresh Rate: 60 Hz
    Maximum Vertical Refresh Rate: 240 Hz
    Seamless Dynamic Video Timing Support: Yes
  CTA-861 DisplayID Data Block:
  Vendor-Specific Data Block (AMD), OUI 00-00-1A:
    Version: 3.1
    Minimum Refresh Rate: 60 Hz
    Maximum Refresh Rate: 240 Hz
    Flags 1.x: 0x00
    Flags 2.x: 0x00
    Maximum luminance: 83 (301.833 cd/m^2)
    Minimum luminance: 81 (0.305 cd/m^2)
    Unknown: 0x53 0x51
  Checksum: 0x6c
Checksum: 0x90
=================
/sys/class/drm/card0-HDMI-A-1
edid-decode (hex):

00 ff ff ff ff ff ff 00 1e 6d d2 5b ee ae 1c 00
09 21 01 03 80 3c 22 78 ea 8c b5 af 4f 43 ab 26
0e 50 54 21 08 00 d1 c0 61 40 01 01 01 01 01 01
01 01 01 01 01 01 e9 e8 00 a0 a0 a0 53 50 30 20
35 00 b9 88 21 00 00 1a 00 00 00 fd 00 30 90 1e
e6 3c 00 0a 20 20 20 20 20 20 00 00 00 fc 00 4c
47 20 55 4c 54 52 41 47 45 41 52 0a 00 00 00 ff
00 33 30 39 4d 41 58 53 47 38 56 39 30 0a 01 23

02 03 4c f1 23 09 07 07 4d 10 04 03 01 1f 13 12
3f 5d 5e 5f 60 61 6d 03 0c 00 10 00 b8 3c 20 00
60 01 02 03 67 d8 5d c4 01 78 80 03 e3 0f 00 18
6d 1a 00 00 02 05 30 90 00 04 61 4f 61 4f e2 00
6a e3 05 c0 00 e6 06 05 01 61 61 4f 6f c2 00 a0
a0 a0 55 50 30 20 35 00 b9 88 21 00 00 1a 56 5e
00 a0 a0 a0 29 50 30 20 35 00 b9 88 21 00 00 1a
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e7

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: GSM
    Model: 23506
    Serial Number: 1879790 (0x001caeee)
    Made in: week 9 of 2023
  Basic Display Parameters & Features:
    Digital display
    Maximum image size: 60 cm x 34 cm
    Gamma: 2.20
    DPMS levels: Standby Suspend Off
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6855, 0.3085
    Green: 0.2646, 0.6679
    Blue : 0.1503, 0.0576
    White: 0.3134, 0.3291
  Established Timings I & II:
    DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    DMT 0x09:   800x600    60.316541 Hz   4:3     37.879 kHz     40.000000 MHz
    DMT 0x10:  1024x768    60.003840 Hz   4:3     48.363 kHz     65.000000 MHz
  Standard Timings:
    DMT 0x52:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
    DMT 0x10:  1024x768    60.003840 Hz   4:3     48.363 kHz     65.000000 MHz
  Detailed Timing Descriptors:
    DTD 1:  2560x1440  143.932737 Hz  16:9    219.210 kHz    596.250000 MHz (697 mm x 392 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   75 Vpol N
    Display Range Limits:
      Monitor ranges (GTF): 48-144 Hz V, 30-230 kHz H, max dotclock 600 MHz
    Display Product Name: 'LG ULTRAGEAR'
    Display Product Serial Number: '309MAXSG8V90'
  Extension blocks: 1
Checksum: 0x23

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Audio Data Block:
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Video Data Block:
    VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
    VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz
    VIC   1:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz
    VIC  19:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz
    VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz
    VIC  63:  1920x1080  120.000000 Hz  16:9    135.000 kHz    297.000000 MHz
    VIC  93:  3840x2160   24.000000 Hz  16:9     54.000 kHz    297.000000 MHz
    VIC  94:  3840x2160   25.000000 Hz  16:9     56.250 kHz    297.000000 MHz
    VIC  95:  3840x2160   30.000000 Hz  16:9     67.500 kHz    297.000000 MHz
    VIC  96:  3840x2160   50.000000 Hz  16:9    112.500 kHz    594.000000 MHz
    VIC  97:  3840x2160   60.000000 Hz  16:9    135.000 kHz    594.000000 MHz
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 1.0.0.0
    Supports_AI
    DC_36bit
    DC_30bit
    DC_Y444
    Maximum TMDS clock: 300 MHz
    Extended HDMI video details:
      HDMI VICs:
        HDMI VIC 1:  3840x2160   30.000000 Hz  16:9     67.500 kHz    297.000000 MHz
        HDMI VIC 2:  3840x2160   25.000000 Hz  16:9     56.250 kHz    297.000000 MHz
        HDMI VIC 3:  3840x2160   24.000000 Hz  16:9     54.000 kHz    297.000000 MHz
  Vendor-Specific Data Block (HDMI Forum), OUI C4-5D-D8:
    Version: 1
    Maximum TMDS Character Rate: 600 MHz
    SCDC Present
    Supports 12-bits/component Deep Color 4:2:0 Pixel Encoding
    Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding
  YCbCr 4:2:0 Capability Map Data Block:
    VIC  96:  3840x2160   50.000000 Hz  16:9    112.500 kHz    594.000000 MHz
    VIC  97:  3840x2160   60.000000 Hz  16:9    135.000 kHz    594.000000 MHz
  Vendor-Specific Data Block (AMD), OUI 00-00-1A:
    Version: 2.5
    Minimum Refresh Rate: 48 Hz
    Maximum Refresh Rate: 144 Hz
    Flags 1.x: 0x00
    Flags 2.x: 0x04
    Maximum luminance: 97 (408.759 cd/m^2)
    Minimum luminance: 79 (0.392 cd/m^2)
    Maximum luminance (without local dimming): 97 (408.759 cd/m^2)
    Minimum luminance (without local dimming): 79 (0.392 cd/m^2)
  Video Capability Data Block:
    YCbCr quantization: No Data
    RGB quantization: Selectable (via AVI Q)
    PT scan behavior: Always Underscanned
    IT scan behavior: Always Underscanned
    CE scan behavior: Always Underscanned
  Colorimetry Data Block:
    BT2020YCC
    BT2020RGB
  HDR Static Metadata Data Block:
    Electro optical transfer functions:
      Traditional gamma - SDR luminance range
      SMPTE ST2084
    Supported static metadata descriptors:
      Static metadata type 1
    Desired content max luminance: 97 (408.759 cd/m^2)
    Desired content max frame-average luminance: 97 (408.759 cd/m^2)
    Desired content min luminance: 79 (0.392 cd/m^2)
  Detailed Timing Descriptors:
    DTD 2:  2560x1440  119.997589 Hz  16:9    182.996 kHz    497.750000 MHz (697 mm x 392 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   77 Vpol N
    DTD 3:  2560x1440   59.950550 Hz  16:9     88.787 kHz    241.500000 MHz (697 mm x 392 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   33 Vpol N
Checksum: 0xe7  Unused space in Extension Block: 15 bytes
================= 

Last edited by WaterNinja05 (2024-04-23 12:09:37)

Offline

#6 2024-04-23 16:20:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: Black screen after login only on laptop display

You're only running on the nvidia chip and there're three outputs attached and detected, the internal display,  a samsung monitor on DP-1 and and "LG ULTRAGEAR" on HDMI-A-1

https://wiki.archlinux.org/title/Hyprla … resolution
What does

hyprctl monitors

report and what dos your hyprland.conf look like?

Offline

#7 2024-04-23 17:02:51

WaterNinja05
Member
Registered: 2023-11-15
Posts: 10

Re: Black screen after login only on laptop display

Hyprctl monitors gives:

Monitor DP-1 (ID 0):
	1920x1080@74.97300 at 2560x0
	description: Samsung Electric Company LF22T35 H4ZNA00501 (DP-1)
	make: Samsung Electric Company
	model: LF22T35
	serial: H4ZNA00501
	active workspace: 4 (4)
	special workspace: 0 ()
	reserved: 0 22 0 33
	scale: 1.00
	transform: 3
	focused: yes
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

Monitor HDMI-A-1 (ID 1):
	2560x1440@143.93300 at 0x0
	description: LG Electronics LG ULTRAGEAR 309MAXSG8V90 (HDMI-A-1)
	make: LG Electronics
	model: LG ULTRAGEAR
	serial: 309MAXSG8V90
	active workspace: 3 (3)
	special workspace: 0 ()
	reserved: 0 22 0 33
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

Monitor eDP-1 (ID 2):
	2560x1440@60.00100 at 3640x0
	description: (null) (null) (eDP-1)
	make: 
	model: 
	serial: 
	active workspace: 7 (7)
	special workspace: 0 ()
	reserved: 0 0 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

And this is my hyprland.conf:

# Setup monitors
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-2,2560x1440@240,3640x0,1
monitor=eDP-1,2560x1440@240,3640x0,1
monitor=HDMI-A-1,highrr,0x0,1
monitor=DP-2,highrr,2560x0,1,transform,3
monitor=DP-1,highrr,2560x0,1,transform,3
#monitor=,preferred,auto,1
# Dual monitor example on G15 Strix
# eDP-1 is the built in monitor while DP-1 is external
# Both monitors here are at 1440 and 165Hz
# DP-1 is on the left and  eDP-1 is on the right
#monitor=DP-1,2560x1440@165,0x0,1
#monitor=eDP-1,2560x1440@165,2560x0,1

# See https://wiki.hyprland.org/Configuring/Keywords/ for more

# Execute your favorite apps at launch
exec-once = ~/.config/hypr/xdg-portal-hyprland
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = swww-daemon -q
exec = waybar
exec-once = mako
exec-once = blueman-applet
exec-once = nm-applet --indicator
exec-once = wl-paste --watch cliphist store
exec = ~/.config/HyprV/hyprv_util setbg

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 1

    touchpad {
        natural_scroll = yes
	scroll_factor = 0.75
	disable_while_typing = false
    }

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 5
    gaps_out = 10
    border_size = 4

    col.active_border = rgba(dcf2f1ee) rgba(7fc7d9ee) 45deg
    #col.active_border=rgb(c2eeff)
    col.inactive_border = rgba(365486aa) rgba(0f1035aa) 45deg
    
    layout = dwindle
}

misc {
    disable_hyprland_logo = yes
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 10
    
    blur {
        enabled = true
        size = 7
        passes = 4
        new_optimizations = true
    }

    blurls = lockscreen

    dim_inactive = false
    dim_strength = 0.2
    

    drop_shadow = yes
    shadow_range = 25
    shadow_render_power = 50
    col.shadow = rgba(3a3a3aee)
}

animations {
    enabled = yes

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
    bezier = myBezier, 0.10, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier, slide
    animation = windowsOut, 1, 7, myBezier, slide
    animation = border, 1, 10, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = yes # you probably want this
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    new_is_master = true
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = on
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device:epic mouse V1 {
    sensitivity = -0.5
}
xwayland {
  force_zero_scaling = true
}

# Workspace rules
workspace = 1,monitor:HDMI-A-1
workspace = 4,monitor:DP-2,monitor:DP-1
workspace = 2,monitor:HDMI-A-1
workspace = 5,monitor:DP-2,monitor:DP-1
workspace = 3,monitor:HDMI-A-1
workspace = 6,monitor:DP-2,monitor:DP-1

# Example windowrule v1
#windowrule = float, ^(kitty)$
windowrule = float,^(pavucontrol)$
windowrule = float,^(blueman-manager)$
windowrule = float,^(nm-connection-editor)$
windowrule = float,^(chromium)$
windowrule = float,^(thunar)$
windowrule = float, title:^(btop)$
windowrule = float, title:^(update-sys)$
windowrule = workspace 5,title:^(GTK Settings - captain)$

# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# rules below would make the specific app transparent
windowrulev2 = opacity 0.8 0.8,class:^(kitty)$
windowrulev2 = animation popin,class:^(kitty)$,title:^(update-sys)$
windowrulev2 = animation popin,class:^(thunar)$
windowrulev2 = opacity 0.8 0.8,class:^(thunar)$
windowrulev2 = opacity 0.8 0.8,class:^(VSCodium)$
windowrulev2 = animation popin,class:^(chromium)$
windowrulev2 = move cursor -3% -105%,class:^(wofi)$
windowrulev2 = noanim,class:^(wofi)$
windowrulev2 = opacity 0.8 0.6,class:^(wofi)$

bindl=,switch:on:Lid Switch,exec,hyperctl keyword monitor "eDP-2, 2560x1440, 3640x0, 1"
bindl=,switch:off:Lid Switch,exec,hyperctl keyword monitor "eDP-2, disable"

# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, kitty  #open the terminal
bind = $mainMod, F4, killactive, # close the active window
bind = $mainMod, L, exec, swaylock # Lock the screen
bind = $mainMod, M, exec, wlogout --protocol layer-shell # show the logout window
bind = $mainMod SHIFT, M, exit, # Exit Hyprland all together no (force quit Hyprland)
bind = $mainMod, E, exec, thunar # Show the graphical file browser
bind = $mainMod, V, togglefloating, # Allow a window to float
bind = $mainMod, SPACE, exec, wofi # Show the graphical app launcher
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, S, exec, grim -g "$(slurp)" - | swappy -f - # take a screenshot
bind = ALT, V, exec, cliphist list | wofi -dmenu | cliphist decode | wl-copy # open clipboard manager
bind = $mainMod, T, exec, ~/.config/HyprV/hyprv_util vswitch # switch HyprV version
bind = SUPER, C, exec, [workspace 5 silent] /home/waterninja05/captain.sh

# Move focus with mainMod + arrow keys
bind = $mainMod SHIFT, h, movefocus, l
bind = $mainMod SHIFT, l, movefocus, r
bind = $mainMod SHIFT, k, movefocus, u
bind = $mainMod SHIFT, j, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
source = ~/.config/hypr/media-binds.conf
source = ~/.config/hypr/env_var.conf
source = ~/.config/hypr/env_var_nvidia.conf

env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1

# XDG environment Variables
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland

# different env variables for wayland support
env = GDK_BACKEND,wayland,x11
env = QT_QPA_PLATFORM,wayland,xcb
env = SDL_VIDEODRIVER,x11
env = CLUTTER_BACKEND,wayland

Offline

#8 2024-04-23 17:19:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: Black screen after login only on laptop display

hyprctl lists the output at 60HZ but you configured it (and a spurious eDP-2) for 240Hz
I'm also not sure whether the partial position parameter is ok, try to run the output wt 60Hz resp. w/o configured refresh rate and set it to 3640x0 and maybe comment the eDP-2 thing.

Offline

#9 2024-04-23 17:26:43

WaterNinja05
Member
Registered: 2023-11-15
Posts: 10

Re: Black screen after login only on laptop display

Still nothing.
Also i cannot even put windows on the screen, my cursor stops at every boundary of my external screens. It looks like it is disabled for some reason

Offline

#10 2024-04-23 17:33:53

WaterNinja05
Member
Registered: 2023-11-15
Posts: 10

Re: Black screen after login only on laptop display

I also now commented out the lid switch binding, which was using eDP-2.
But still a black screen on my laptop

Edit:
I do notice that in hyprctl monitors the laptop screen doesn't have the same numbers at reserved.
both external monitors have: 0 22 0 33, but my laptop screen has: 0 0 0 0.

Last edited by WaterNinja05 (2024-04-23 17:36:40)

Offline

#11 2024-04-23 21:12:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: Black screen after login only on laptop display

What if you disable one or both of the other two monitors and set the eDP to 0x0 and at 60Hz?

Offline

#12 2024-04-24 13:13:22

WaterNinja05
Member
Registered: 2023-11-15
Posts: 10

Re: Black screen after login only on laptop display

So turns out when i don't have any external monitors connected it does use my laptop screen, but how do i use all my screens even if there are more screens attached?

Offline

#13 2024-04-24 13:25:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: Black screen after login only on laptop display

Do you get away w/ the eDP and *either* of the external outptus (both, but not at the same time)?
Does it work if you mirror/overlap all outputs (ie. put them at 0x0)?
Does it work w/ a sway/weston/openbox session?

Offline

#14 2024-04-24 13:49:31

WaterNinja05
Member
Registered: 2023-11-15
Posts: 10

Re: Black screen after login only on laptop display

I cannot test it right now, i can later or tomorrow i think

Offline

Board footer

Powered by FluxBB