Wrong screen size

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

Wrong screen size

Postby akuankkis » 2017-07-17 04:50

Stretch uses wrong screen size in Lenovo B50-10. I have made file
/etc/X11/xorg.conf.d/90-monitor.conf
but X didn't use it. What to do next?

Code: Select all
Section "Monitor"
      Identifier   "<default monitor>"
      DisplaySize  345 193
EndSection
akuankkis
 
Posts: 63
Joined: 2011-10-09 09:29

Re: Wrong screen size

Postby Lysander » 2017-07-17 08:26

Is this a brand new installation? What graphics card are you using? What desktop environment?
User avatar
Lysander
 
Posts: 332
Joined: 2017-02-23 10:07
Location: London

Re: Wrong screen size

Postby ruffwoof » 2017-07-17 09:45

Run xrandr and it will show your monitor device names, mine for instance shows
Code: Select all
ff@debian:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 720, maximum 8192 x 8192
DVI-I-1 connected (normal left inverted right x axis y axis)
   1024x768      60.00 
   800x600       60.32    56.25 
   848x480       60.00 
   640x480       59.94 
DVI-I-2 connected 1280x720+0+0 (normal left inverted right x axis y axis) 1920mm x 1080mm
   1280x720_60.00  59.86*+
   1920x1080     50.00 +
   1280x1024     75.02    60.02 
   1280x768      59.87 
   1024x768      75.08    70.07    60.00 
   800x600       72.19    75.00    60.32    56.25 
   640x480       75.00    72.81    60.00 
   720x400       70.08

I know from experience that my monitor is connected to the second port i.e. DVI-I-2 in my case.

Next run cvt for the resolution you want, for instance I use a 720p TV as a monitor and want 1280x720 resolution so
cvt 1280 720
produces a output of
Code: Select all
ff@debian:~$ cvt 1280 720
# 1280x720 59.86 Hz (CVT 0.92M9) hsync: 44.77 kHz; pclk: 74.50 MHz
Modeline "1280x720_60.00"   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync


Armed with that info, I create a /etc/X11/xorg.conf Monitor section
Code: Select all
Section "Monitor"
   Identifier   "DVI-I-2"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
   Modeline "1280x720_60.00"   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync
   Option "PreferredMode" "1280x720_60.00"
EndSection
ruffwoof
 
Posts: 211
Joined: 2016-08-20 21:00

Re: Wrong screen size

Postby ptg » 2017-08-03 18:25

I'm facing similar problem with Debian Stretch fresh install, Intel® HD Graphics 630 and a LG 34UM58-P IPS 34" display.

Code: Select all
$ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1080, maximum 8192 x 8192
HDMI-1 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
   2560x1080     60.00*+
   1920x1080     60.00    50.00    59.94 
   1920x1080i    60.00    50.00    59.94 
   1680x1050     59.88 
   1600x900      60.00 
   1280x1024     75.02    60.02 
   1152x864      75.00 
   1280x720      60.00    50.00    59.94 
   1024x768      75.03    60.00 
   800x600       75.00    60.32 
   720x576       50.00 
   720x480       60.00    59.94 
   640x480       75.00    60.00    59.94 
   720x400       70.08 
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)


Display size should return 800mm x 335mm, measures detect are for 29" display.

Already tried adding 90-monitor.conf to /usr/share/X11/xorg.conf.d/ and similar stuff in /etc/X11/.

Any suggestions?
ptg
 
Posts: 1
Joined: 2017-08-03 18:17


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable