[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xrandr 1600x900 (ThinkPad X220T VGA-port) becomes 1440x900 (Samsung SyncMaster S20A300B)



riveravaldez composed on 2023-10-19 21:46 (UTC-0300):

> Felix Miata wrote:

>> riveravaldez composed on 2023-10-18 16:05 (UTC-0300):

>>> Hi everybody, I'm having a resolution issue trying to connect an
>>> external monitor to a laptop.
>> ...

> Hi, Felix, thanks a lot for your very detailed reply and help, it's most
> appreciated.

>> Using DP instead of VGA would likely solve this if your display had a DP
>> input. :p

> Certainly, but it hasn't. It has only VGA and DVI-D (Dual Link) inputs, and
> the laptop has only DP and VGA outputs, so, VGA is the first option...

>> ..., give us something to work from:

>> 1-copy & paste input/output from
>> 	inxi -GSaz
>> run from an GUI terminal.

> $ inxi -GSaz
> System:
>   Kernel: 5.10.0-26-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
>   parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-26-amd64
>   root=UUID=f80500ac-b2c4-4b08-b123-7dc04b22ea33 ro quiet
>   Desktop: IceWM 2.7.0 dm: LightDM 1.26.0 Distro: Debian GNU/Linux bookworm/sid
> Graphics:
>   Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
>   vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0126
>   class ID: 0300
>   Device-2: Chicony Lenovo Integrated Camera (0.3MP) type: USB driver: uvcvideo
>   bus ID: 1-1.6:3 chip ID: 04f2:b217 class ID: 0e02
>   Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
>   unloaded: fbdev,vesa display ID: :0 screens: 1
>   Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
>   s-diag: 414mm (16.3")
>   Monitor-1: LVDS-1 res: 1366x768 hz: 60 dpi: 125 size: 277x156mm (10.9x6.1")
>   diag: 318mm (12.5")
>   OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) v: 3.3
> Mesa 20.3.5
>   compat-v: 3.0 direct render: Yes

>> 2-pastebin Xorg.0.log from either /var/log/ or ~/.local/share/xorg/ and
>> provide
>> its URL.

> /var/log/Xorg.0.log
> https://paste.debian.net/plain/1295616
https://paste.debian.net/1295628
>> Below in file named /etc/X11/xorg.conf.d/50-monitor.conf could be part of a
>> solution, with more information the above request would supply.

> Thanks a lot for the proposed solutions. I'm gonna check them and read what's
> needed about X to try to put them at work. Hope there's more help I can get
> with the info just added.

The only clue I see in either log is the very last line of the newer, where X
allocates a 1600x900 space, but there's nothing more.

Check your VGA cable. If it doesn't have 15 pins on both ends, try one that does.
Have you checked BIOS to ensure there isn't anything in it that could block the
VGA output?

What follows is from a laptop older than yours:
# xdriinfo
Screen 0: crocus
# inxi -GSaz --vs --zl --hostname
inxi 3.3.30-00 (2023-09-25)
System:
  Host: e6400 Kernel: 6.1.0-13-amd64 arch: x86_64 bits: 64 compiler: gcc
    v: 12.2.0 clocksource: hpet available: acpi_pm
    parameters: BOOT_IMAGE=/vmlinuz root=LABEL=<filter> resume=LABEL=<filter>
    ipv6.disable=1 net.ifnames=0 consoleblank=0 preempt=full mitigations=off
    no_console_suspend
  Desktop: Trinity v: R14.1.0 tk: Qt v: 3.5.0 info: kicker wm: Twin v: 3.0
    vt: 7 dm: 1: TDM 2: XDM Distro: Debian GNU/Linux 12 (bookworm)
Graphics:
  Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Dell
    driver: i915 v: kernel arch: Gen-5 process: Intel 45nm built: 2008 ports:
    active: HDMI-A-1,LVDS-1 empty: DP-1, DP-2, DP-3, HDMI-A-2, VGA-1
    bus-ID: 00:02.0 chip-ID: 8086:2a42 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3200x1080 s-dpi: 109 s-size: 749x253mm (29.49x9.96")
    s-diag: 791mm (31.13")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: primary,left model: Acer K272HUL
    serial: <filter> built: 2018 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  Monitor-2: LVDS-1 pos: right model: Seiko Epson 0x5441 built: 2008
    res: 1280x800 hz: 60 dpi: 107 gamma: 1.2 size: 303x190mm (11.93x7.48")
    diag: 358mm (14.1") ratio: 16:10 modes: 1280x800
  API: EGL v: 1.5 hw: drv: intel crocus platforms: device: 0 drv: crocus
    device: 1 drv: swrast gbm: drv: crocus surfaceless: drv: crocus x11:
    drv: crocus inactive: wayland
  API: OpenGL v: 2.1 vendor: intel mesa v: 22.3.6 glx-v: 1.4 es-v: 2.0
    direct-render: yes renderer: Mesa Mobile Intel GM45 Express (CTG)
    device-ID: 8086:2a42 memory: 1.46 GiB unified: yes
#
While it reports HDMI and LVDS (internal) connected displays, in fact the external
is connected to the laptop's DisplayPort, while the input to the display is a DVI
port. DP-to-DVI cables and adapters on eBay go for as little as under USD$10. I
suggest you try one if a 15 pin cable doesn't suffice.

Other than that one line mentioned, I see nothing helpful in the two logs. It's
possible there might be something useful in the journal. First, try:

	journalctl -b | grep -i Failed
	dmesg | grep -i Failed

If clues show, share them here. Otherwise, pastebin dmesg and output from:

	journalctl -b
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata


Reply to: