resolution of 2nd monitor connected to laptop

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
Frau_Blücher
Level 1
Level 1
Posts: 11
Joined: Mon Jun 05, 2023 4:05 pm

resolution of 2nd monitor connected to laptop

Post by Frau_Blücher »

Hello everyone,

Apologies in advance as I know this had been the topic of a few threads on the forum.

Code: Select all

System:
  Kernel: 5.15.0-101-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.4.12
    tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: eMachines product: eMachines E725 v: V3.04 serial: <superuser required>
  Mobo: eMachines model: eMachines E725 v: V3.04 serial: <superuser required> BIOS: eMachines
    v: 3.04 date: 12/16/2009
CPU:
  Info: dual core model: Pentium T4400 bits: 64 type: MCP arch: Core Yorkfield rev: A cache:
    L1: 128 KiB L2: 1024 KiB
  Speed (MHz): avg: 1197 min/max: 1200/2200 cores: 1: 1197 2: 1197 bogomips: 8777
  Flags: ht lm nx pae sse sse2 sse3 ssse3
Graphics:
  Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Acer Incorporated ALI driver: i915
    v: kernel ports: active: LVDS-1,VGA-1 empty: DP-1 bus-ID: 00:02.0 chip-ID: 8086:2a42
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting unloaded: fbdev,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2390x768 s-dpi: 96
  Monitor-1: LVDS-1 pos: primary,right model: AU Optronics res: 1366x768 dpi: 101
    diag: 394mm (15.5")
  Monitor-2: VGA-1 pos: primary,left res: 1024x768 size: N/A
  OpenGL: renderer: Mesa Mobile Intel GM45 Express (CTG) v: 2.1 Mesa 23.2.1-1ubuntu3.1~22.04.2
    direct render: Yes
Audio:
  Device-1: Intel 82801I HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:293e
  Sound Server-1: ALSA v: k5.15.0-101-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Broadcom BCM4312 802.11b/g LP-PHY
    vendor: Foxconn T77H106.00 Wireless Half-size Mini PCIe Card driver: wl v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 14e4:4315
  IF: wlp4s0 state: up mac: <filter>
  Device-2: Qualcomm Atheros AR8132 Fast Ethernet vendor: Acer Incorporated ALI driver: atl1c
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 1000 bus-ID: 05:00.0 chip-ID: 1969:1062
  IF: enp5s0 state: down mac: <filter>
Drives:
  Local Storage: total: 2.05 TiB used: 487.53 GiB (23.3%)
  ID-1: /dev/sda vendor: Western Digital model: WD2500BEVT-22A23T0 size: 232.89 GiB
    speed: 3.0 Gb/s serial: <filter>
  ID-2: /dev/sdb type: USB vendor: Western Digital model: WD My Passport 259D size: 1.82 TiB
    speed: 3.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 227.68 GiB used: 24.97 GiB (11.0%) fs: ext4 dev: /dev/sda3
  ID-2: /boot/efi size: 512 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/sda2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 780 KiB (0.0%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: 55.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: apt: 2232
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com vanessa main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 196 Uptime: 2h 27m Memory: 2.83 GiB used: 974.1 MiB (33.6%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 5.4.12 inxi: 3.3.13

Despite trying many of the solutions I've found here, I haven't been able to resolve my issue. I'm unable to change the resolution of, Monitor-2: VGA-1 pos: primary,left res: 1024x768 size: N/A, listed above. When connected to my windows machine it lists the same resolution as the native laptop screen when I chose Display in the settings of Linux Mint of 1366X768. More curious, when I've used previous versions of Linux it's able to identify other monitors I've used with similar, or higher, resolutions without issue. When attempting to add the correct resolution of my current monitor (Specifically a Sony KLV-32U100M) via Terminal it either reverts, or simply won't take. I've also looked for driver updates to my graphics card in a number of places online without success.

Thanks in advance for taking the time to review this and any suggestions you might have.
Last edited by SMG on Fri Mar 22, 2024 3:30 pm, edited 1 time in total.
Reason: Added code tags to inxi output to preserve its formatting making it easier to read.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: resolution of 2nd monitor connected to laptop

Post by SMG »

Frau_Blücher wrote: Fri Mar 22, 2024 3:28 pm I'm unable to change the resolution of, Monitor-2: VGA-1 pos: primary,left res: 1024x768 size: N/A
Welcome to the forum, Frau_Blücher.

The EDID of a monitor comes from the monitor through the cable to the computer. The computer then uses the EDID to provide you with resolution options. If the EDID is either corrupted at the monitor or is corrupted as it passes through the cable or laptop port, then there will be problems getting the correct resolution.

When you use it in Windows, are you using the same VGA cable?
Is Windows using the generic monitor setting?
Frau_Blücher wrote: Fri Mar 22, 2024 3:28 pmI've also looked for driver updates to my graphics card in a number of places online without success.
The graphics driver is in the kernel and loads automatically when you boot the computer. There is nothing you can "update".

What is the output of

Code: Select all

xrandr
with the monitor attached?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Frau_Blücher
Level 1
Level 1
Posts: 11
Joined: Mon Jun 05, 2023 4:05 pm

Re: resolution of 2nd monitor connected to laptop

Post by Frau_Blücher »

Thanks for the reply
xrandr results:

Code: Select all

Screen 0: minimum 320 x 200, current 2390 x 768, maximum 8192 x 8192
LVDS-1 connected primary 1366x768+1024+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768      60.11*+
   1280x720      60.11  
   1024x768      60.11  
   960x720       60.11  
   928x696       60.11  
   896x672       60.11  
   1024x576      60.11  
   960x600       60.11  
   960x540       60.11  
   800x600       60.11  
   840x525       60.11  
   864x486       60.11  
   700x525       60.11  
   800x450       60.11  
   640x512       60.11  
   700x450       60.11  
   640x480       60.11  
   720x405       60.11  
   684x384       60.11  
   640x360       60.11  
   512x384       60.11  
   512x288       60.11  
   480x270       60.11  
   400x300       60.11  
   432x243       60.11  
   320x240       60.11  
   360x202       60.11  
   320x180       60.11  
VGA-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00* 
   800x600       60.32    56.25  
   848x480       60.00  
   640x480       59.94  
DP-1 disconnected (normal left inverted right x axis y axis)
Yes, that was my first thought too when I began troubleshooting. It's the same cable connected to the KVM switch. I toggle between my Windows PC and my Linux laptop. I tried removing the KVM switch and connected the monitor directly without any luck. I've also alternated the cables which connect to the KVM switch between the PC and laptop. It's just the Linux laptop which seems to struggle as I've connected a third windows laptop, done the cable swap and still can't get the resolution correct on the Linux machine.
Last edited by SMG on Sat Mar 23, 2024 10:16 am, edited 1 time in total.
Reason: Added code tags to the xrandr output to retain its formatting making it easier to read.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: resolution of 2nd monitor connected to laptop

Post by SMG »

Frau_Blücher wrote: Sat Mar 23, 2024 9:59 am Thanks for the reply
xrandr results:
When reading xrandr output, *= current resolution and += preferred resolution.

Code: Select all

Screen 0: minimum 320 x 200, current 2390 x 768, maximum 8192 x 8192
LVDS-1 connected primary 1366x768+1024+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768      60.11*+
VGA-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00* 
DP-1 disconnected (normal left inverted right x axis y axis)
Often times when the preferred resolution is not listed (as is the case in your VGA situation), it can be added using xrandr commands. That may be what you tried, but I don't know if you tried it with the monitor directly attached to the laptop (and not going through the KVM).

Run the following in a terminal.

Code: Select all

cvt 1366 768
The command will return with a modeline. For example, here is what that command returned on my laptop.

Code: Select all

$ cvt 1366 768
# 1368x768 59.88 Hz (CVT) hsync: 47.79 kHz; pclk: 85.25 MHz
Modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
You now want to run each of the following three lines one at a time. You will substitute the Modeline information you get in the lines. I just used what I got for the following example.

Code: Select all

xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
xrandr --addmode VGA-1 "1368x768_60.00"
xrandr --output VGA-1 --mode "1368x768_60.00"
After you run the third line, if the screen goes blank and returns to the 1024x768, then it did not work. If that does work, I will give you additional directions to make it a permanent option.

You can also run

Code: Select all

xrandr --verbose
and see if the EDID of the VGA-connected monitor is coming through to the computer. (If you post those results, please use code tags as described in this tutorial Displaying terminal output in a post which has a graphic on using code tags.)
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Frau_Blücher
Level 1
Level 1
Posts: 11
Joined: Mon Jun 05, 2023 4:05 pm

Re: resolution of 2nd monitor connected to laptop

Post by Frau_Blücher »

Yes! You assumed correctly, I did try adding it with the xrander command in terminal. When I used $ cvt 1366 768 it returned the following

Command 'cvt' not found, but can be installed with:
sudo apt install xcvt

Naturally I ran the install, used the three commands you provided one-at-a-time and, it worked, thank you very much! What are the steps to making in permanent?
Frau_Blücher
Level 1
Level 1
Posts: 11
Joined: Mon Jun 05, 2023 4:05 pm

Re: resolution of 2nd monitor connected to laptop

Post by Frau_Blücher »

Pardon the typos in that last message, I was excited it worked :D
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: resolution of 2nd monitor connected to laptop

Post by SMG »

Frau_Blücher wrote: Mon Mar 25, 2024 4:43 pmNaturally I ran the install, used the three commands you provided one-at-a-time and, it worked, thank you very much! What are the steps to making in permanent?
Usually, most people are able to add those three lines which start with xrandr to the end of their .profile file (a hidden text file in /home). Then each time you log in, those lines will be automatically run. If you have any issues with that, let us know.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Frau_Blücher
Level 1
Level 1
Posts: 11
Joined: Mon Jun 05, 2023 4:05 pm

Re: resolution of 2nd monitor connected to laptop

Post by Frau_Blücher »

Just ran an update and it reverted. I ran the cvt command and the three commands again and it worked. I also ran xrandr --verbose and below are the results

Code: Select all

xrandr --verbose
Screen 0: minimum 320 x 200, current 2734 x 768, maximum 8192 x 8192
LVDS-1 connected primary 1366x768+1368+0 (0x44) normal (normal left inverted right x axis y axis) 344mm x 193mm
	Identifier: 0x40
	Timestamp:  501139
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	_MUTTER_PRESENTATION_OUTPUT: 0 
	EDID: 
		00ffffffffffff0006afec1200000000
		01120103802213780ae6b5a3574f9426
		1e505400000001010101010101010101
		010101010101201c5678500026303020
		340058c1100000180000000f00000000
		00000000000000000020000000fe0041
		554f0a202020202020202020000000fe
		004231353658573031205632200a0026
	scaling mode: Full aspect 
		supported: Full, Center, Full aspect
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 61 
		supported: 61
	non-desktop: 0 
		range: (0, 1)
  1366x768 (0x44) 72.000MHz -HSync -VSync *current +preferred
        h: width  1366 start 1414 end 1446 total 1486 skew    0 clock  48.45KHz
        v: height  768 start  771 end  775 total  806           clock  60.11Hz
  1280x720 (0x45) 64.144MHz +HSync -VSync
        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock  44.54KHz
        v: height  720 start  723 end  728 total  741           clock  60.11Hz
  1024x768 (0x46) 65.119MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.45KHz
        v: height  768 start  771 end  777 total  806           clock  60.11Hz
  960x720 (0x47) 117.223MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1128 total 1300 skew    0 clock  90.17KHz
        v: height  720 start  720 end  722 total  750           clock  60.11Hz
  928x696 (0x48) 109.265MHz -HSync +VSync DoubleScan
        h: width   928 start  976 end 1088 total 1264 skew    0 clock  86.44KHz
        v: height  696 start  696 end  698 total  719           clock  60.11Hz
  896x672 (0x49) 102.570MHz -HSync +VSync DoubleScan
        h: width   896 start  960 end 1060 total 1224 skew    0 clock  83.80KHz
        v: height  672 start  672 end  674 total  697           clock  60.11Hz
  1024x576 (0x4a) 42.207MHz +HSync -VSync
        h: width  1024 start 1072 end 1104 total 1184 skew    0 clock  35.65KHz
        v: height  576 start  579 end  584 total  593           clock  60.11Hz
  960x600 (0x4b) 77.148MHz +HSync -VSync DoubleScan
        h: width   960 start  984 end 1000 total 1040 skew    0 clock  74.18KHz
        v: height  600 start  601 end  604 total  617           clock  60.11Hz
  960x540 (0x4c) 37.434MHz +HSync -VSync
        h: width   960 start 1008 end 1040 total 1120 skew    0 clock  33.42KHz
        v: height  540 start  543 end  548 total  556           clock  60.11Hz
  800x600 (0x4d) 38.473MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  37.57KHz
        v: height  600 start  601 end  603 total  625           clock  60.11Hz
  840x525 (0x4e) 59.729MHz +HSync -VSync DoubleScan
        h: width   840 start  864 end  880 total  920 skew    0 clock  64.92KHz
        v: height  525 start  526 end  529 total  540           clock  60.11Hz
  864x486 (0x4f) 30.778MHz +HSync -VSync
        h: width   864 start  912 end  944 total 1024 skew    0 clock  30.06KHz
        v: height  486 start  489 end  494 total  500           clock  60.11Hz
  700x525 (0x50) 61.141MHz +HSync +VSync DoubleScan
        h: width   700 start  744 end  820 total  940 skew    0 clock  65.04KHz
        v: height  525 start  526 end  532 total  541           clock  60.11Hz
  800x450 (0x51) 48.986MHz +HSync -VSync DoubleScan
        h: width   800 start  824 end  840 total  880 skew    0 clock  55.67KHz
        v: height  450 start  451 end  454 total  463           clock  60.11Hz
  640x512 (0x52) 54.085MHz +HSync +VSync DoubleScan
        h: width   640 start  664 end  720 total  844 skew    0 clock  64.08KHz
        v: height  512 start  512 end  514 total  533           clock  60.11Hz
  700x450 (0x53) 43.419MHz +HSync -VSync DoubleScan
        h: width   700 start  724 end  740 total  780 skew    0 clock  55.67KHz
        v: height  450 start  451 end  456 total  463           clock  60.11Hz
  640x480 (0x54) 25.248MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.56KHz
        v: height  480 start  490 end  492 total  525           clock  60.11Hz
  720x405 (0x55) 22.165MHz +HSync -VSync
        h: width   720 start  768 end  800 total  880 skew    0 clock  25.19KHz
        v: height  405 start  408 end  413 total  419           clock  60.11Hz
  684x384 (0x56) 36.282MHz +HSync -VSync DoubleScan
        h: width   684 start  708 end  724 total  764 skew    0 clock  47.49KHz
        v: height  384 start  385 end  390 total  395           clock  60.11Hz
  640x360 (0x57) 17.986MHz +HSync -VSync
        h: width   640 start  688 end  720 total  800 skew    0 clock  22.48KHz
        v: height  360 start  363 end  368 total  374           clock  60.11Hz
  512x384 (0x58) 32.559MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  672 skew    0 clock  48.45KHz
        v: height  384 start  385 end  388 total  403           clock  60.11Hz
  512x288 (0x59) 21.067MHz +HSync -VSync DoubleScan
        h: width   512 start  536 end  552 total  592 skew    0 clock  35.59KHz
        v: height  288 start  289 end  292 total  296           clock  60.11Hz
  480x270 (0x5a) 18.717MHz +HSync -VSync DoubleScan
        h: width   480 start  504 end  520 total  560 skew    0 clock  33.42KHz
        v: height  270 start  271 end  274 total  278           clock  60.11Hz
  400x300 (0x5b) 19.205MHz +HSync +VSync DoubleScan
        h: width   400 start  412 end  448 total  512 skew    0 clock  37.51KHz
        v: height  300 start  300 end  301 total  312           clock  60.11Hz
  432x243 (0x5c) 15.389MHz +HSync -VSync DoubleScan
        h: width   432 start  456 end  472 total  512 skew    0 clock  30.06KHz
        v: height  243 start  244 end  247 total  250           clock  60.11Hz
  320x240 (0x5d) 12.599MHz -HSync -VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock  31.50KHz
        v: height  240 start  245 end  246 total  262           clock  60.11Hz
  360x202 (0x5e) 11.056MHz +HSync -VSync DoubleScan
        h: width   360 start  384 end  400 total  440 skew    0 clock  25.13KHz
        v: height  202 start  204 end  206 total  209           clock  60.11Hz
  320x180 (0x5f)  8.993MHz +HSync -VSync DoubleScan
        h: width   320 start  344 end  360 total  400 skew    0 clock  22.48KHz
        v: height  180 start  181 end  184 total  187           clock  60.11Hz
VGA-1 connected 1368x768+0+0 (0x271) normal (normal left inverted right x axis y axis) 0mm x 0mm
	Identifier: 0x41
	Timestamp:  501139
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       1
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	_MUTTER_PRESENTATION_OUTPUT: 0 
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 64 
		supported: 64
	non-desktop: 0 
		range: (0, 1)
  1024x768 (0x60) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x61) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x62) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  848x480 (0x63) 33.750MHz +HSync +VSync
        h: width   848 start  864 end  976 total 1088 skew    0 clock  31.02KHz
        v: height  480 start  486 end  494 total  517           clock  60.00Hz
  640x480 (0x64) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  1368x768_60.00 (0x271) 85.250MHz -HSync +VSync *current
        h: width  1368 start 1440 end 1576 total 1784 skew    0 clock  47.79KHz
        v: height  768 start  771 end  781 total  798           clock  59.88Hz
DP-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  501139
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Colorspace: Default 
		supported: Default, RGB_Wide_Gamut_Fixed_Point, RGB_Wide_Gamut_Floating_Point, opRGB, DCI-P3_RGB_D65, BT2020_RGB, BT601_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, BT2020_CYCC, BT2020_YCC
	max bpc: 10 
		range: (6, 10)
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	subconnector: Unknown 
		supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 68 
		supported: 68
	non-desktop: 0 
		range: (0, 1)
Last edited by SMG on Mon Mar 25, 2024 6:01 pm, edited 1 time in total.
Reason: Added the code tags to make the output readable.
Frau_Blücher
Level 1
Level 1
Posts: 11
Joined: Mon Jun 05, 2023 4:05 pm

Re: resolution of 2nd monitor connected to laptop

Post by Frau_Blücher »

Sorry about that forgot to use the code box

Code: Select all

xrandr --verbose
Screen 0: minimum 320 x 200, current 2734 x 768, maximum 8192 x 8192
LVDS-1 connected primary 1366x768+1368+0 (0x44) normal (normal left inverted right x axis y axis) 344mm x 193mm
	Identifier: 0x40
	Timestamp:  501139
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	_MUTTER_PRESENTATION_OUTPUT: 0 
	EDID: 
		00ffffffffffff0006afec1200000000
		01120103802213780ae6b5a3574f9426
		1e505400000001010101010101010101
		010101010101201c5678500026303020
		340058c1100000180000000f00000000
		00000000000000000020000000fe0041
		554f0a202020202020202020000000fe
		004231353658573031205632200a0026
	scaling mode: Full aspect 
		supported: Full, Center, Full aspect
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 61 
		supported: 61
	non-desktop: 0 
		range: (0, 1)
  1366x768 (0x44) 72.000MHz -HSync -VSync *current +preferred
        h: width  1366 start 1414 end 1446 total 1486 skew    0 clock  48.45KHz
        v: height  768 start  771 end  775 total  806           clock  60.11Hz
  1280x720 (0x45) 64.144MHz +HSync -VSync
        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock  44.54KHz
        v: height  720 start  723 end  728 total  741           clock  60.11Hz
  1024x768 (0x46) 65.119MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.45KHz
        v: height  768 start  771 end  777 total  806           clock  60.11Hz
  960x720 (0x47) 117.223MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1128 total 1300 skew    0 clock  90.17KHz
        v: height  720 start  720 end  722 total  750           clock  60.11Hz
  928x696 (0x48) 109.265MHz -HSync +VSync DoubleScan
        h: width   928 start  976 end 1088 total 1264 skew    0 clock  86.44KHz
        v: height  696 start  696 end  698 total  719           clock  60.11Hz
  896x672 (0x49) 102.570MHz -HSync +VSync DoubleScan
        h: width   896 start  960 end 1060 total 1224 skew    0 clock  83.80KHz
        v: height  672 start  672 end  674 total  697           clock  60.11Hz
  1024x576 (0x4a) 42.207MHz +HSync -VSync
        h: width  1024 start 1072 end 1104 total 1184 skew    0 clock  35.65KHz
        v: height  576 start  579 end  584 total  593           clock  60.11Hz
  960x600 (0x4b) 77.148MHz +HSync -VSync DoubleScan
        h: width   960 start  984 end 1000 total 1040 skew    0 clock  74.18KHz
        v: height  600 start  601 end  604 total  617           clock  60.11Hz
  960x540 (0x4c) 37.434MHz +HSync -VSync
        h: width   960 start 1008 end 1040 total 1120 skew    0 clock  33.42KHz
        v: height  540 start  543 end  548 total  556           clock  60.11Hz
  800x600 (0x4d) 38.473MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  37.57KHz
        v: height  600 start  601 end  603 total  625           clock  60.11Hz
  840x525 (0x4e) 59.729MHz +HSync -VSync DoubleScan
        h: width   840 start  864 end  880 total  920 skew    0 clock  64.92KHz
        v: height  525 start  526 end  529 total  540           clock  60.11Hz
  864x486 (0x4f) 30.778MHz +HSync -VSync
        h: width   864 start  912 end  944 total 1024 skew    0 clock  30.06KHz
        v: height  486 start  489 end  494 total  500           clock  60.11Hz
  700x525 (0x50) 61.141MHz +HSync +VSync DoubleScan
        h: width   700 start  744 end  820 total  940 skew    0 clock  65.04KHz
        v: height  525 start  526 end  532 total  541           clock  60.11Hz
  800x450 (0x51) 48.986MHz +HSync -VSync DoubleScan
        h: width   800 start  824 end  840 total  880 skew    0 clock  55.67KHz
        v: height  450 start  451 end  454 total  463           clock  60.11Hz
  640x512 (0x52) 54.085MHz +HSync +VSync DoubleScan
        h: width   640 start  664 end  720 total  844 skew    0 clock  64.08KHz
        v: height  512 start  512 end  514 total  533           clock  60.11Hz
  700x450 (0x53) 43.419MHz +HSync -VSync DoubleScan
        h: width   700 start  724 end  740 total  780 skew    0 clock  55.67KHz
        v: height  450 start  451 end  456 total  463           clock  60.11Hz
  640x480 (0x54) 25.248MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.56KHz
        v: height  480 start  490 end  492 total  525           clock  60.11Hz
  720x405 (0x55) 22.165MHz +HSync -VSync
        h: width   720 start  768 end  800 total  880 skew    0 clock  25.19KHz
        v: height  405 start  408 end  413 total  419           clock  60.11Hz
  684x384 (0x56) 36.282MHz +HSync -VSync DoubleScan
        h: width   684 start  708 end  724 total  764 skew    0 clock  47.49KHz
        v: height  384 start  385 end  390 total  395           clock  60.11Hz
  640x360 (0x57) 17.986MHz +HSync -VSync
        h: width   640 start  688 end  720 total  800 skew    0 clock  22.48KHz
        v: height  360 start  363 end  368 total  374           clock  60.11Hz
  512x384 (0x58) 32.559MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  672 skew    0 clock  48.45KHz
        v: height  384 start  385 end  388 total  403           clock  60.11Hz
  512x288 (0x59) 21.067MHz +HSync -VSync DoubleScan
        h: width   512 start  536 end  552 total  592 skew    0 clock  35.59KHz
        v: height  288 start  289 end  292 total  296           clock  60.11Hz
  480x270 (0x5a) 18.717MHz +HSync -VSync DoubleScan
        h: width   480 start  504 end  520 total  560 skew    0 clock  33.42KHz
        v: height  270 start  271 end  274 total  278           clock  60.11Hz
  400x300 (0x5b) 19.205MHz +HSync +VSync DoubleScan
        h: width   400 start  412 end  448 total  512 skew    0 clock  37.51KHz
        v: height  300 start  300 end  301 total  312           clock  60.11Hz
  432x243 (0x5c) 15.389MHz +HSync -VSync DoubleScan
        h: width   432 start  456 end  472 total  512 skew    0 clock  30.06KHz
        v: height  243 start  244 end  247 total  250           clock  60.11Hz
  320x240 (0x5d) 12.599MHz -HSync -VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock  31.50KHz
        v: height  240 start  245 end  246 total  262           clock  60.11Hz
  360x202 (0x5e) 11.056MHz +HSync -VSync DoubleScan
        h: width   360 start  384 end  400 total  440 skew    0 clock  25.13KHz
        v: height  202 start  204 end  206 total  209           clock  60.11Hz
  320x180 (0x5f)  8.993MHz +HSync -VSync DoubleScan
        h: width   320 start  344 end  360 total  400 skew    0 clock  22.48KHz
        v: height  180 start  181 end  184 total  187           clock  60.11Hz
VGA-1 connected 1368x768+0+0 (0x271) normal (normal left inverted right x axis y axis) 0mm x 0mm
	Identifier: 0x41
	Timestamp:  501139
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       1
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	_MUTTER_PRESENTATION_OUTPUT: 0 
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 64 
		supported: 64
	non-desktop: 0 
		range: (0, 1)
  1024x768 (0x60) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x61) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x62) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  848x480 (0x63) 33.750MHz +HSync +VSync
        h: width   848 start  864 end  976 total 1088 skew    0 clock  31.02KHz
        v: height  480 start  486 end  494 total  517           clock  60.00Hz
  640x480 (0x64) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  1368x768_60.00 (0x271) 85.250MHz -HSync +VSync *current
        h: width  1368 start 1440 end 1576 total 1784 skew    0 clock  47.79KHz
        v: height  768 start  771 end  781 total  798           clock  59.88Hz
DP-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  501139
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Colorspace: Default 
		supported: Default, RGB_Wide_Gamut_Fixed_Point, RGB_Wide_Gamut_Floating_Point, opRGB, DCI-P3_RGB_D65, BT2020_RGB, BT601_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, BT2020_CYCC, BT2020_YCC
	max bpc: 10 
		range: (6, 10)
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	subconnector: Unknown 
		supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 68 
		supported: 68
	non-desktop: 0 
		range: (0, 1)
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: resolution of 2nd monitor connected to laptop

Post by SMG »

Frau_Blücher wrote: Mon Mar 25, 2024 5:45 pm Just ran an update and it reverted.
What did you update?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: resolution of 2nd monitor connected to laptop

Post by SMG »

Frau_Blücher wrote: Mon Mar 25, 2024 5:47 pm Sorry about that forgot to use the code box
There's no EDID coming through for the monitor connected by VGA. That's why it is having problems.

You can see an EDID block for the laptop screen (LVDS-1), but one does not exist for VGA-1.

Code: Select all

xrandr --verbose
Screen 0: minimum 320 x 200, current 2734 x 768, maximum 8192 x 8192
LVDS-1 connected primary 1366x768+1368+0 (0x44) normal (normal left inverted right x axis y axis) 344mm x 193mm
	EDID: 
		00ffffffffffff0006afec1200000000
		01120103802213780ae6b5a3574f9426
		1e505400000001010101010101010101
		010101010101201c5678500026303020
		340058c1100000180000000f00000000
		00000000000000000020000000fe0041
		554f0a202020202020202020000000fe
		004231353658573031205632200a0026
  1366x768 (0x44) 72.000MHz -HSync -VSync *current +preferred
        h: width  1366 start 1414 end 1446 total 1486 skew    0 clock  48.45KHz
        v: height  768 start  771 end  775 total  806           clock  60.11Hz
VGA-1 connected 1368x768+0+0 (0x271) normal (normal left inverted right x axis y axis) 0mm x 0mm
  1368x768_60.00 (0x271) 85.250MHz -HSync +VSync *current
        h: width  1368 start 1440 end 1576 total 1784 skew    0 clock  47.79KHz
        v: height  768 start  771 end  781 total  798           clock  59.88Hz
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Frau_Blücher
Level 1
Level 1
Posts: 11
Joined: Mon Jun 05, 2023 4:05 pm

Re: resolution of 2nd monitor connected to laptop

Post by Frau_Blücher »

Is there a way to add the EDID for the VGA, or will I simply have to run the commands with every restart?
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: resolution of 2nd monitor connected to laptop

Post by SMG »

Frau_Blücher wrote: Mon Mar 25, 2024 6:13 pm Is there a way to add the EDID for the VGA, or will I simply have to run the commands with every restart?
The EDID is supposed to come from the monitor through the cable to the computer. If it's not coming through, there is either an issue with the monitor or the cable.

Are the lines in the .profile not working when you boot the computer? I didn't understand your comment about an update reverting it.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Frau_Blücher
Level 1
Level 1
Posts: 11
Joined: Mon Jun 05, 2023 4:05 pm

Re: resolution of 2nd monitor connected to laptop

Post by Frau_Blücher »

I'm sorry for the confusion. After I ran the three commands you provided, the VGA monitor did adjust to the correct resolution. After that, I ran Update Manager which required a reboot. Following the reboot, the VGA monitor reverted to 1024 X 768. When I opened the Display option the 1366 x 768 wasn't available. I might not have .profile configured correctly.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: resolution of 2nd monitor connected to laptop

Post by SMG »

Frau_Blücher wrote: Mon Mar 25, 2024 6:54 pm I might not have .profile configured correctly.
If you want to post the file you can run

Code: Select all

cat ~/.profile
We would just need to see the last 5 lines or so of the file.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Frau_Blücher
Level 1
Level 1
Posts: 11
Joined: Mon Jun 05, 2023 4:05 pm

Re: resolution of 2nd monitor connected to laptop

Post by Frau_Blücher »

Code: Select all

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
	. "$HOME/.bashrc"
    fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
    PATH="$HOME/.local/bin:$PATH"
fi
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: resolution of 2nd monitor connected to laptop

Post by SMG »

Frau_Blücher wrote: Mon Mar 25, 2024 6:54 pm I might not have .profile configured correctly.
It doesn't look like those lines are at the bottom of your .profile file. Try adding those three lines again at the bottom and make sure to save the file. After you do that, run the

Code: Select all

cat ~/.profile
again and make sure they show up at the bottom of the file. If they do, hopefully that will work the next time you reboot.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Frau_Blücher
Level 1
Level 1
Posts: 11
Joined: Mon Jun 05, 2023 4:05 pm

Re: resolution of 2nd monitor connected to laptop

Post by Frau_Blücher »

I'm not sure what's going on, I don't see a way to add the lines to my .profile file. I restarted and now when I run the first command I'm getting a failed message

Code: Select all

$ xrandr --newmode "1366x768_60.00"
.xrandr: failed to parse '1366x768_60.00' as a mode specification
Try 'xrandr --help' for more information.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: resolution of 2nd monitor connected to laptop

Post by SMG »

Frau_Blücher wrote: Mon Mar 25, 2024 7:45 pm I'm not sure what's going on, I don't see a way to add the lines to my .profile file.
In File Manager, you can select View > Hidden Files. Then you should be able to go to .profile and double-click the file and it will open in Xed the file editor. Scroll to the bottom of the file. Click Enter twice to add a new empty line and then you will be on the next line. You can then copy and paste the three lines at the end of the file and then save the file.
Frau_Blücher wrote: Mon Mar 25, 2024 7:45 pmI restarted and now when I run the first command I'm getting a failed message

Code: Select all

$ xrandr --newmode "1366x768_60.00"
.xrandr: failed to parse '1366x768_60.00' as a mode specification
Try 'xrandr --help' for more information.
That is not the entire line.

I don't know if you got the same output I did, but my "newmode" line is

Code: Select all

xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
which is a lot longer than what you just listed.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Frau_Blücher
Level 1
Level 1
Posts: 11
Joined: Mon Jun 05, 2023 4:05 pm

Re: resolution of 2nd monitor connected to laptop

Post by Frau_Blücher »

Thanks for the help,
Just some silly mistakes on my part but, I re-read all the steps you provided and although the second monitor won't boot into 1368 X 768 I can at least navigate to the display, and access the correct resolution in the drop-down.
Post Reply

Return to “Graphics Cards & Monitors”