Problem with screen resolution on dual screen setup

Everything about X, Gnome, KDE, ... and everything running on it

Problem with screen resolution on dual screen setup

Postby xendistar » 2019-01-06 16:28

I am running Debian testing and XFCE desktop

I have a pair of Hanns G HL247 monitor connected to my PC

I have an Nvidia GT730 Graphics card installed with three outputs, VGA, DVI and HDMI

These monitor can run at screen a resolution of 1920x1080 regardless of the connection used (vga, dvi or hdmi)

I have currently connected the monitors to VGA and HDMI and here is the problem, the VGA connected monitor displays at 1920x1080, the dvi connected monitor displays at 1600x900

I have not been able to find where the 1600x900 setting is being set,

Within XFCE setting Manager >> Settings Editor, I have edited the display setting under DVI-D-0 changing the 1600x900 to 1920x1080, I then click save but no sooner do I close the window than something reverts it back to 1600x900

I do have an HDMI lead but I am reluctant to try until I know where the setting is that keeps changing my settings back

I ran xrandr -q

Code: Select all
mit@andora:~$ xrandr -q
Screen 0: minimum 8 x 8, current 3520 x 1080, maximum 16384 x 16384
VGA-0 connected 1920x1080+1600+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080     59.93*+  60.00 
   1680x1050     59.95 
   1600x1200     60.00 
   1440x900      59.89 
   1400x1050     59.98 
   1280x1024     75.02    60.02 
   1280x960      60.00 
   1152x864      75.00 
   1024x768      75.03    70.07    60.00 
   800x600       75.00    72.19    60.32    56.25 
   640x480       75.00    72.81    59.94 
DVI-D-0 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00 +
   1600x900      59.82*
   1400x900      59.88 
   1368x768      59.88    59.85 
   1360x768      59.96    59.80 
   1280x800      59.91    59.81 
   1280x720      59.86    59.74 
   1152x864      60.00 
   1024x576      59.90    59.82 
   960x540       59.82    59.63 
   864x486       59.92    59.57 
   800x600       72.19    60.32    56.25 
   800x450       59.82 
   700x450       59.88 
   684x384       59.88    59.85 
   680x384       59.96    59.80 
   640x480       59.94 
   640x400       59.98    59.88 
   640x360       59.86    59.83 
   512x384       60.00 
   512x288       60.00    59.92 
   480x270       59.82    59.63 
   432x243       59.92    59.57 
   400x300       72.19 
   320x240       60.05 
HDMI-0 disconnected (normal left inverted right x axis y axis)


I did try and set a new mode in xrandr as follows but it failed

Code: Select all
mit@andora:~$ xrandr --addmode DVI-D-0 1920x1080
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  35
  Current serial number in output stream:  36


Anyone have any suggestions on how to to get the monitor working before I corrupt my system please.
xendistar
 
Posts: 108
Joined: 2010-12-29 17:52


Re: Problem with screen resolution on dual screen setup

Postby xendistar » 2019-01-06 17:16

Thanks HOAS but I have hit a brick wall

reading the page you linked to I am trying to find the mode lines adn then set them up as new modes and I get the following error

Code: Select all
mit@andora:~$ cvt 1920 1080
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync


so then I try
Code: Select all
mit@andora:~$ xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  35
  Current serial number in output stream:  35


I had just started playing with newmode and addmode when you posted but had already run into the same error, any suggestions please.
xendistar
 
Posts: 108
Joined: 2010-12-29 17:52

Re: Problem with screen resolution on dual screen setup

Postby llivv » 2019-01-06 17:45

xendistar wrote:
Code: Select all
mit@andora:~$ xrandr -q
Screen 0: minimum 8 x 8, current 3520 x 1080, maximum 16384 x 16384
VGA-0 connected 1920x1080+1600+0 (normal left inverted right x axis y axis) 521mm x 293mm
   DVI-D-0 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   HDMI-0 disconnected (normal left inverted right x axis y axis)



Code: Select all
mit@andora:~$ xrandr --addmode DVI-D-0 1920x1080
X Error of failed request:  BadMatch (invalid parameter attributes)
 

does this make sense to you?
can you change
VGA-0 connected 1920x1080+1600+0 (normal left inverted right x axis y axis) 521mm x 293mm
to
Code: Select all
VGA-0 connected 1920x1080+1920+0

if it works great
if not sorry ....
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage


Re: Problem with screen resolution on dual screen setup

Postby xendistar » 2019-01-07 18:23

Well after a frustrating night trying various suggestion I found on the net and nothing working I gave up and went to bed. Fast forward until to night when I got in from work and I am sat looking as a storage box next to my desk (rather than looking at my disjointed screens) and I noticed a HDMI lead staring back at me. So I grabbed the lead had a rummage on my desk and under the desk, hooked up the HDMI lead in place of the DVI lead, restarted the PC and hey presto it worked perfectly, I now have a lovely 3840 x 1080 display.

There are a few minor issue, like in the setting editors in xfce it is still listing the 2nd card as DVI-D-0 and a resolution of 1600x900, I am not to concerned at present, at least I have something I can use.
xendistar
 
Posts: 108
Joined: 2010-12-29 17:52


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable