Thanks for your answer,
If I inspect the EDID of the laptop screen, it’s Maximum Horizontal Frequency(max_Hfreq) is less than my screen needs. I have edited it with wxedid
app.
Here is the cvt 2560 1440 165:
# 2560x1440 164.90 Hz (CVT) hsync: 261.86 kHz; pclk: 938.50 MHz
Modeline "2560x1440_165.00" 938.50 2560 2792 3072 3584 1440 1443 1448 1588 -hsync +vsync
It requres 261.86 kHz but edid only supports max to 255 kHz, maybe this is the problem.
I have tried with 2560x1440@144hz on edid and applied this stages but it doesn’t work:
Also when I installed nvidia-driver from Debian repos and applied your xrandr command, I can use dual screens but both are at 40hz. So external monitor’s hertz is wrong too but it seems 144hz on display settings.
I don’t know if there is a solution to make it work besides that waiting for new kernel driver which fixes this…
So I removed the nvidia-driver package and installed from .run file again, now using 144hz on external monitor but no internal monitor.
By the way it works perfectly on Windows with dual screen with intel drivers.
Edit: Here is my eDP-1 EDID Config:
ef@monster-pardus:~$ cat /sys/devices/pci0000\:00/0000\:00\:02.0/drm/card0/card0-eDP-1/edid | edid-decode
edid-decode (hex):
00 ff ff ff ff ff ff 00 09 e5 74 09 00 00 00 00
1b 1e 01 04 a5 22 13 78 07 01 25 a5 53 4b a0 27
0e 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 40 3f 00 af a0 a0 28 50 30 20
36 00 58 c2 10 00 00 18 00 00 00 fd 00 30 a5 f4
f4 43 01 0a 20 20 20 20 20 20 00 00 00 fe 00 42
4f 45 20 43 51 0a 20 20 20 20 20 20 00 00 00 fe
00 4e 45 31 35 36 51 48 4d 2d 4e 59 32 0a 01 26
70 13 79 00 00 03 01 14 e5 04 01 84 ff 09 ae 00
2f 00 1f 00 9f 05 27 00 02 00 05 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 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 18 90
----------------
Block 0, Base EDID:
EDID Structure Version & Revision: 1.4
Vendor & Product Identification:
Manufacturer: BOE
Model: 2420
Made in: week 27 of 2020
Basic Display Parameters & Features:
Digital display
Bits per primary color channel: 8
DisplayPort interface
Maximum image size: 34 cm x 19 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 is continuous frequency
Color Characteristics:
Red : 0.6445, 0.3242
Green: 0.2929, 0.6259
Blue : 0.1523, 0.0566
White: 0.3134, 0.3291
Established Timings I & II: none
Standard Timings: none
Detailed Timing Descriptors:
DTD 1: 2560x1440 40.002 Hz 16:9 59.203 kHz 161.920 MHz (344 mm x 194 mm)
Hfront 48 Hsync 32 Hback 95 Hpol N
Vfront 3 Vsync 6 Vback 31 Vpol N
Display Range Limits:
Monitor ranges (Bare Limits): 48-165 Hz V, 244-244 kHz H, max dotclock 670 MHz
Alphanumeric Data String: 'BOE CQ'
Alphanumeric Data String: 'NE156QHM-NY2'
Extension blocks: 1
Checksum: 0x26
----------------
Block 1, DisplayID Extension Block:
Version: 1.3
Extension Count: 0
Display Product Type: Extension Section
Video Timing Modes Type 1 - Detailed Timings Data Block:
DTD: 2560x1440 165.003 Hz 16:9 244.205 kHz 667.900 MHz (aspect 16:9, no 3D stereo, preferred)
Hfront 48 Hsync 32 Hback 95 Hpol N
Vfront 3 Vsync 6 Vback 31 Vpol N
Checksum: 0x18
Checksum: 0x90