Xrandr error dual monitors setting resolution

good day all

i'v been trying to set up a dual monitor pci video card and all works except i would like to up the resolution .

$ inxi -b
System: Host: klein Kernel: 4.15.0-48-generic x86_64 bits: 64
Desktop: MATE 1.20.1 Distro: Ubuntu 18.04.2 LTS
Machine: Device: desktop System: Hewlett-Packard product: HP Compaq dc5100 MT(PM213AV) serial: N/A
Mobo: Hewlett-Packard model: 09E0h serial: N/A
BIOS: Hewlett-Packard v: 786C2 v01.08 date: 04/17/2006
CPU: Single core Intel Pentium 4 (-MT-) speed/max: 2800/3200 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] RV280 [Radeon 9200 PRO]
Display Server: x11 (X.Org 1.19.6 )
drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
Resolution: [email protected], [email protected]
OpenGL: renderer: Mesa DRI R200 (RV280 5960) DRI2
version: 1.3 Mesa 18.2.8
Network: Card-1: Qualcomm Atheros AR2413/AR2414 Wireless Network Adapter [AR5005G(S) 802.11bg]
driver: ath5k
Card-2: Broadcom and subsidiaries NetXtreme BCM5751 Gigabit Ethernet PCIE
driver: tg3
Drives: HDD Total Size: 160.0GB (6.6% used)
Info: Processes: 159 Uptime: 15 min Memory: 1074.5/3127.7MB
Client: Shell (bash) inxi: 2.3.56

$ xrandr
Screen 0: minimum 320 x 200, current 2048 x 768, maximum 4096 x 4096
VGA-0 connected primary 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
DVI-0 connected 1024x768+1024+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
S-video disconnected (normal left inverted right x axis y axis)

i would like to change the resolution to: 1280 1024 60

$ cvt 1280 1024 60
1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync

$ xrandr --newmode VGA-0 "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr: unrecognized option '-hsync'
Try 'xrandr --help' for more information.

$ gtf 1280 1024 60
1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync

$ xrandr --newmode VGA-0 "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
xrandr: unrecognized option '-HSync'
Try 'xrandr --help' for more information.

sudo doesn't help same thing. now if i do xrandr --newmode VGA-0 with out VGA-0 it does not give me and error but it sets resolution to the S-video port

my /var/log/Xorg.0.log shows no errors

try ...

xrandr --newmode "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
xrandr --addmode VGA-0 1280x1024_60.00
xrandr --output VGA-0 --mode 1280x1024_60.00
1 Like

thanks you pavlos_kairis

after all the reading and trying i was confusing my self going to try it now

so i got it working thanks to pavlos_kairis
but anything higher gives me a black screen

$ sudo get-edid

This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
Looks like no busses have an EDID. Sorry!
Attempting to use the classical VBE interface

Performing real mode VBE call
Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
Function supported
Call successful

VBE version 200
VBE string at 0x11100 "ATI RADEON 9200"

VBE/DDC service about to be called
Report DDC capabilities

Performing real mode VBE call
Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
Function supported
Call successful

Monitor and video card combination does not support DDC1 transfers
Monitor and video card combination does not support DDC2 transfers
0 seconds per 128 byte EDID block transfer
Screen is not blanked during DDC transfer

Reading next EDID block

VBE/DDC service about to be called
Read EDID

Performing real mode VBE call
Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
Function supported
Call failed

The EDID data should not be trusted as the VBE call failed
EDID claims 19 more blocks left
EDID blocks left is wrong.
Your EDID is probably invalid.
�NLooks like VBE was successful. Have a good day.

it is a tv with pc connection i was trying to use