Scaling Display Properly

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
JayBird707
Level 3
Level 3
Posts: 126
Joined: Sat Jan 30, 2016 9:56 pm

Scaling Display Properly

Post by JayBird707 »

I am trying to use an inexpensive computer as an HTPC. Software wise everything is great except for video drivers. When I go to the display setting all I have available are 1920x1080 (16.9) and 1280 x720 (16.9). Neither setting works well. The scaling is too large for the display so I can't see the task bar and if I make an applicaion full size I lose the title bar and scroll bars from the application window. If I use the scaling setting in General settings and set it to Hi-DPI I can manipulate things but the widows blow up in size and the majority of the task bar is still hidden. Is ther a way I can get a resoultion to fit the display or a way to scale down the display. I've included some info below for my system. Thank you.

HP-Compaq-8000-Elite-USDT-PC
Processor : 2x Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
Memory : 8043MB
Operating System: Linux Mint 18 Sarah

Graphics Card: Intel 4 Series Integrated Graphics Controller
Display Server: X.Org 1.18.3 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1920x1080
GLX Renderer: Mesa DRI Intel Q45/Q43 GLX Version: 2.1 Mesa 11.2.0

Denon AVR-1908 Surround Reciever

Sony KDF-E60A20 LCD TV
HDMI Specs: 1080i, 720p, 480p, 480i
ASRock H470M-ITX/ac Home Build on Linux Mint Cinnamon!
Dell Studio 1737 Laptop, HP6300 SFF Desktop, Intel NUC NUC7CJYH Mini All on Linux Mint XFCE!
Image
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Scaling Display Properly

Post by roblm »

You need to post some additional info. Use these commands in the Terminal:

Code: Select all

1. xrandr

2. xvidtune -show
3. The Xorg.0.log file. Open the file with this command:

Code: Select all

xed /var/log/Xorg.0.log
Press Ctrl+A to select the entire file contents. Right click on the screen and select “Copy”. Don't save it to a file. Open the Mint Forum reply window and select “Code” in the menu. Press Ctrl+V to paste the lines between the two code words.

If you have problems posting that long file, then upload it to pastebin.com by using this command:

Code: Select all

pastebin /var/log/Xorg.0.log

Post the URL link that displays in the Terminal window.
User avatar
JayBird707
Level 3
Level 3
Posts: 126
Joined: Sat Jan 30, 2016 9:56 pm

Re: Scaling Display Properly

Post by JayBird707 »

Thank you very much for your help. Here's the information:

xrandr Output

Code: Select all

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 16mm x 9mm
   1920x1080i    60.00*+  59.94  
   2880x480i     60.00    59.94  
   1280x720      60.00    59.94  
   1440x480      60.00    59.94  
   1440x480i     59.94  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       60.00    59.94  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
xvidtune -show Output

Code: Select all

"1920x1080"    74.25   1920 2008 2052 2200   1080 1084 1094 1125 +hsync +vsync interlace
Xorg.0.log File contents

Code: Select all

[    32.227] 
X.Org X Server 1.18.3
Release Date: 2016-04-04
[    32.227] X Protocol Version 11, Revision 0
[    32.227] Build Operating System: Linux 3.13.0-85-generic x86_64 Ubuntu
[    32.227] Current Operating System: Linux jeffrey-HP-Compaq-8000-Elite-USDT-PC 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64
[    32.227] Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.0-28-generic root=UUID=07da41fe-1d0b-404b-b911-5642a98bd32a ro quiet splash vt.handoff=7
[    32.227] Build Date: 07 April 2016  09:18:50AM
[    32.227] xorg-server 2:1.18.3-1ubuntu2 (For technical support please see http://www.ubuntu.com/support) 
[    32.227] Current version of pixman: 0.33.6
[    32.227] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    32.227] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    32.227] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 10 15:01:36 2016
[    32.256] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    32.256] (==) No Layout section.  Using the first Screen section.
[    32.256] (==) No screen section available. Using defaults.
[    32.256] (**) |-->Screen "Default Screen Section" (0)
[    32.256] (**) |   |-->Monitor "<default monitor>"
[    32.268] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    32.268] (==) Automatically adding devices
[    32.268] (==) Automatically enabling devices
[    32.268] (==) Automatically adding GPU devices
[    32.268] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    32.268] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    32.268] 	Entry deleted from font path.
[    32.268] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    32.268] 	Entry deleted from font path.
[    32.268] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    32.268] 	Entry deleted from font path.
[    32.268] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    32.268] 	Entry deleted from font path.
[    32.268] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    32.268] 	Entry deleted from font path.
[    32.268] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[    32.268] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    32.268] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    32.268] (II) Loader magic: 0x55f4e260bda0
[    32.268] (II) Module ABI versions:
[    32.268] 	X.Org ANSI C Emulation: 0.4
[    32.268] 	X.Org Video Driver: 20.0
[    32.268] 	X.Org XInput driver : 22.1
[    32.268] 	X.Org Server Extension : 9.0
[    32.269] (++) using VT number 8

[    32.269] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    32.269] (II) xfree86: Adding drm device (/dev/dri/card0)
[    32.270] (--) PCI:*(0:0:2:0) 8086:2e12:103c:3648 rev 3, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00001230/8
[    32.270] (--) PCI: (0:0:2:1) 8086:2e13:103c:3648 rev 3, Mem @ 0xf0400000/1048576
[    32.270] (II) LoadModule: "glx"
[    32.301] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    32.557] (II) Module glx: vendor="X.Org Foundation"
[    32.557] 	compiled for 1.18.3, module version = 1.0.0
[    32.557] 	ABI class: X.Org Server Extension, version 9.0
[    32.557] (==) AIGLX enabled
[    32.558] (==) Matched intel as autoconfigured driver 0
[    32.558] (==) Matched intel as autoconfigured driver 1
[    32.558] (==) Matched modesetting as autoconfigured driver 2
[    32.558] (==) Matched fbdev as autoconfigured driver 3
[    32.558] (==) Matched vesa as autoconfigured driver 4
[    32.558] (==) Assigned the driver to the xf86ConfigLayout
[    32.558] (II) LoadModule: "intel"
[    32.558] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    32.615] (II) Module intel: vendor="X.Org Foundation"
[    32.615] 	compiled for 1.18.1, module version = 2.99.917
[    32.615] 	Module class: X.Org Video Driver
[    32.615] 	ABI class: X.Org Video Driver, version 20.0
[    32.615] (II) LoadModule: "modesetting"
[    32.615] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    32.615] (II) Module modesetting: vendor="X.Org Foundation"
[    32.615] 	compiled for 1.18.3, module version = 1.18.3
[    32.615] 	Module class: X.Org Video Driver
[    32.615] 	ABI class: X.Org Video Driver, version 20.0
[    32.615] (II) LoadModule: "fbdev"
[    32.615] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    32.615] (II) Module fbdev: vendor="X.Org Foundation"
[    32.615] 	compiled for 1.18.1, module version = 0.4.4
[    32.615] 	Module class: X.Org Video Driver
[    32.615] 	ABI class: X.Org Video Driver, version 20.0
[    32.615] (II) LoadModule: "vesa"
[    32.615] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    32.615] (II) Module vesa: vendor="X.Org Foundation"
[    32.615] 	compiled for 1.18.1, module version = 2.3.4
[    32.615] 	Module class: X.Org Video Driver
[    32.615] 	ABI class: X.Org Video Driver, version 20.0
[    32.615] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    32.616] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    32.616] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    32.616] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    32.616] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    32.616] (II) FBDEV: driver for framebuffer: fbdev
[    32.616] (II) VESA: driver for VESA chipsets: vesa
[    32.637] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
[    32.637] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1 (Timo Aaltonen <tjaalton@debian.org>)
[    32.637] (II) intel(0): SNA compiled for use with valgrind
[    32.656] (WW) Falling back to old probe method for modesetting
[    32.656] (WW) Falling back to old probe method for fbdev
[    32.656] (II) Loading sub module "fbdevhw"
[    32.656] (II) LoadModule: "fbdevhw"
[    32.656] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    32.656] (II) Module fbdevhw: vendor="X.Org Foundation"
[    32.656] 	compiled for 1.18.3, module version = 0.0.2
[    32.656] 	ABI class: X.Org Video Driver, version 20.0
[    32.656] (WW) Falling back to old probe method for vesa
[    32.668] (--) intel(0): Integrated Graphics Chipset: Intel(R) Q45/Q43
[    32.668] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1; using a maximum of 2 threads
[    32.668] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    32.668] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    32.668] (==) intel(0): RGB weight 888
[    32.668] (==) intel(0): Default visual is TrueColor
[    32.682] (II) intel(0): Output VGA1 has no monitor section
[    32.682] (II) intel(0): Enabled output VGA1
[    32.682] (II) intel(0): Output HDMI1 has no monitor section
[    32.682] (II) intel(0): Enabled output HDMI1
[    32.682] (II) intel(0): Output DP1 has no monitor section
[    32.682] (II) intel(0): Enabled output DP1
[    32.682] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    32.682] (II) intel(0): Output VIRTUAL1 has no monitor section
[    32.682] (II) intel(0): Enabled output VIRTUAL1
[    32.682] (--) intel(0): Output HDMI1 using initial mode 1920x1080i on pipe 0
[    32.682] (==) intel(0): TearFree disabled
[    32.682] (==) intel(0): DPI set to (96, 96)
[    32.682] (II) Loading sub module "dri2"
[    32.682] (II) LoadModule: "dri2"
[    32.682] (II) Module "dri2" already built-in
[    32.682] (II) Loading sub module "present"
[    32.682] (II) LoadModule: "present"
[    32.682] (II) Module "present" already built-in
[    32.682] (II) UnloadModule: "modesetting"
[    32.682] (II) Unloading modesetting
[    32.682] (II) UnloadModule: "fbdev"
[    32.683] (II) Unloading fbdev
[    32.683] (II) UnloadSubModule: "fbdevhw"
[    32.683] (II) Unloading fbdevhw
[    32.683] (II) UnloadModule: "vesa"
[    32.683] (II) Unloading vesa
[    32.683] (==) Depth 24 pixmap format is 32 bpp
[    32.719] (II) intel(0): SNA initialized with Eaglelake (gen4.5) backend
[    32.719] (==) intel(0): Backing store enabled
[    32.719] (==) intel(0): Silken mouse enabled
[    32.747] (II) intel(0): HW Cursor enabled
[    32.747] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    32.761] (==) intel(0): DPMS enabled
[    32.762] (==) intel(0): Display hotplug detection enabled
[    32.762] (II) intel(0): [XvMC] xvmc_vld driver initialized.
[    32.762] (II) intel(0): [DRI2] Setup complete
[    32.762] (II) intel(0): [DRI2]   DRI driver: i965
[    32.762] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    32.762] (II) intel(0): direct rendering: DRI2 enabled
[    32.762] (II) intel(0): hardware support for Present enabled
[    32.762] (--) RandR disabled
[    32.767] (II) SELinux: Disabled on system
[    32.863] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    32.863] (II) AIGLX: enabled GLX_ARB_create_context
[    32.863] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    32.863] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[    32.863] (II) AIGLX: enabled GLX_INTEL_swap_event
[    32.863] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    32.863] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    32.863] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    32.863] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[    32.863] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    32.864] (II) AIGLX: Loaded and initialized i965
[    32.864] (II) GLX: Initialized DRI2 GL provider for screen 0
[    32.871] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI1 using pipe 0, position (0, 0), rotation normal, reflection none
[    32.871] (II) intel(0): Setting screen physical size to 508 x 285
[    32.954] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    32.954] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    32.954] (II) LoadModule: "evdev"
[    32.954] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    32.970] (II) Module evdev: vendor="X.Org Foundation"
[    32.970] 	compiled for 1.18.1, module version = 2.10.1
[    32.970] 	Module class: X.Org XInput Driver
[    32.970] 	ABI class: X.Org XInput driver, version 22.1
[    32.970] (II) Using input driver 'evdev' for 'Power Button'
[    32.970] (**) Power Button: always reports core events
[    32.970] (**) evdev: Power Button: Device: "/dev/input/event1"
[    32.970] (--) evdev: Power Button: Vendor 0 Product 0x1
[    32.970] (--) evdev: Power Button: Found keys
[    32.970] (II) evdev: Power Button: Configuring as keyboard
[    32.970] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[    32.970] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    32.971] (**) Option "xkb_rules" "evdev"
[    32.971] (**) Option "xkb_model" "pc105"
[    32.971] (**) Option "xkb_layout" "us"
[    32.971] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[    32.971] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    32.971] (II) Using input driver 'evdev' for 'Video Bus'
[    32.971] (**) Video Bus: always reports core events
[    32.971] (**) evdev: Video Bus: Device: "/dev/input/event3"
[    32.971] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    32.971] (--) evdev: Video Bus: Found keys
[    32.971] (II) evdev: Video Bus: Configuring as keyboard
[    32.971] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6/event3"
[    32.971] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    32.971] (**) Option "xkb_rules" "evdev"
[    32.971] (**) Option "xkb_model" "pc105"
[    32.971] (**) Option "xkb_layout" "us"
[    32.972] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    32.972] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    32.972] (II) Using input driver 'evdev' for 'Power Button'
[    32.972] (**) Power Button: always reports core events
[    32.972] (**) evdev: Power Button: Device: "/dev/input/event0"
[    32.972] (--) evdev: Power Button: Vendor 0 Product 0x1
[    32.972] (--) evdev: Power Button: Found keys
[    32.972] (II) evdev: Power Button: Configuring as keyboard
[    32.972] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    32.972] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    32.972] (**) Option "xkb_rules" "evdev"
[    32.972] (**) Option "xkb_model" "pc105"
[    32.972] (**) Option "xkb_layout" "us"
[    32.973] (II) config/udev: Adding input device HDA Intel Line Out (/dev/input/event7)
[    32.973] (II) No input driver specified, ignoring this device.
[    32.973] (II) This device may have been added with another device file.
[    32.973] (II) config/udev: Adding input device HDA Intel Front Headphone (/dev/input/event8)
[    32.973] (II) No input driver specified, ignoring this device.
[    32.973] (II) This device may have been added with another device file.
[    32.973] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event5)
[    32.973] (II) No input driver specified, ignoring this device.
[    32.973] (II) This device may have been added with another device file.
[    32.974] (II) config/udev: Adding input device HDA Intel Line (/dev/input/event6)
[    32.974] (II) No input driver specified, ignoring this device.
[    32.974] (II) This device may have been added with another device file.
[    32.974] (II) config/udev: Adding input device USB Sound Device         (/dev/input/event2)
[    32.974] (**) USB Sound Device        : Applying InputClass "evdev keyboard catchall"
[    32.974] (II) Using input driver 'evdev' for 'USB Sound Device        '
[    32.974] (**) USB Sound Device        : always reports core events
[    32.974] (**) evdev: USB Sound Device        : Device: "/dev/input/event2"
[    32.974] (--) evdev: USB Sound Device        : Vendor 0xd8c Product 0x102
[    32.974] (--) evdev: USB Sound Device        : Found keys
[    32.974] (II) evdev: USB Sound Device        : Configuring as keyboard
[    32.974] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.3/0003:0D8C:0102.0001/input/input5/event2"
[    32.974] (II) XINPUT: Adding extended input device "USB Sound Device        " (type: KEYBOARD, id 9)
[    32.974] (**) Option "xkb_rules" "evdev"
[    32.974] (**) Option "xkb_model" "pc105"
[    32.974] (**) Option "xkb_layout" "us"
[    32.975] (II) config/udev: Adding input device Logitech K400 (/dev/input/event4)
[    32.975] (**) Logitech K400: Applying InputClass "evdev pointer catchall"
[    32.975] (**) Logitech K400: Applying InputClass "evdev keyboard catchall"
[    32.975] (II) Using input driver 'evdev' for 'Logitech K400'
[    32.975] (**) Logitech K400: always reports core events
[    32.975] (**) evdev: Logitech K400: Device: "/dev/input/event4"
[    32.975] (--) evdev: Logitech K400: Vendor 0x46d Product 0x4024
[    32.975] (--) evdev: Logitech K400: Found 20 mouse buttons
[    32.975] (--) evdev: Logitech K400: Found scroll wheel(s)
[    32.975] (--) evdev: Logitech K400: Found relative axes
[    32.975] (--) evdev: Logitech K400: Found x and y relative axes
[    32.975] (--) evdev: Logitech K400: Found absolute axes
[    32.975] (II) evdev: Logitech K400: Forcing absolute x/y axes to exist.
[    32.975] (--) evdev: Logitech K400: Found keys
[    32.975] (II) evdev: Logitech K400: Configuring as mouse
[    32.975] (II) evdev: Logitech K400: Configuring as keyboard
[    32.975] (II) evdev: Logitech K400: Adding scrollwheel support
[    32.975] (**) evdev: Logitech K400: YAxisMapping: buttons 4 and 5
[    32.975] (**) evdev: Logitech K400: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    32.975] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.2/0003:046D:C52B.0004/0003:046D:4024.0005/input/input7/event4"
[    32.975] (II) XINPUT: Adding extended input device "Logitech K400" (type: KEYBOARD, id 10)
[    32.975] (**) Option "xkb_rules" "evdev"
[    32.975] (**) Option "xkb_model" "pc105"
[    32.975] (**) Option "xkb_layout" "us"
[    32.975] (II) evdev: Logitech K400: initialized for relative axes.
[    32.975] (WW) evdev: Logitech K400: ignoring absolute axes.
[    32.975] (**) Logitech K400: (accel) keeping acceleration scheme 1
[    32.975] (**) Logitech K400: (accel) acceleration profile 0
[    32.975] (**) Logitech K400: (accel) acceleration factor: 2.000
[    32.975] (**) Logitech K400: (accel) acceleration threshold: 4
[    32.976] (II) config/udev: Adding input device Logitech K400 (/dev/input/mouse0)
[    32.976] (II) No input driver specified, ignoring this device.
[    32.976] (II) This device may have been added with another device file.
[    32.978] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event9)
[    32.978] (**) HP WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[    32.978] (II) Using input driver 'evdev' for 'HP WMI hotkeys'
[    32.978] (**) HP WMI hotkeys: always reports core events
[    32.978] (**) evdev: HP WMI hotkeys: Device: "/dev/input/event9"
[    32.978] (--) evdev: HP WMI hotkeys: Vendor 0 Product 0
[    32.978] (--) evdev: HP WMI hotkeys: Found keys
[    32.978] (II) evdev: HP WMI hotkeys: Configuring as keyboard
[    32.978] (**) Option "config_info" "udev:/sys/devices/virtual/input/input12/event9"
[    32.978] (II) XINPUT: Adding extended input device "HP WMI hotkeys" (type: KEYBOARD, id 11)
[    32.978] (**) Option "xkb_rules" "evdev"
[    32.978] (**) Option "xkb_model" "pc105"
[    32.978] (**) Option "xkb_layout" "us"
If you need anything else please don't hesitate to ask. I really appreciate the help.
ASRock H470M-ITX/ac Home Build on Linux Mint Cinnamon!
Dell Studio 1737 Laptop, HP6300 SFF Desktop, Intel NUC NUC7CJYH Mini All on Linux Mint XFCE!
Image
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Scaling Display Properly

Post by roblm »

Are you getting overscan of the picture on all four sides of the screen, or just the top and bottom?

From looking at the TV's manual that I was able to download, I didn't find a setting for overscan correction. However, when the 4:3 Default setting is used and either Wide Zoom or Zoom mode is selected, then there is a Vertical Size setting that allows adjusting the vertical size of the picture.

Also post the output of using this command:

Code: Select all

xrandr --verbose
User avatar
JayBird707
Level 3
Level 3
Posts: 126
Joined: Sat Jan 30, 2016 9:56 pm

Re: Scaling Display Properly

Post by JayBird707 »

The over scan is both vertical and horizontal. As far as the TV settings go many of them are grayed out, I'm guessing because it has HDMI input. Anyway, there is a Display Area setting that has Normal, -1 and -2 settings. I must keep it at Normal because the other two settings make matters worse.

I used to have an android box hooked up to this TV and in the Android settings I always had to set the zoom level to 91% to have the screen scaled properly. I never found anything like this in Mint.

Thanks again for helping.

Here's xrandr --verbose

Code: Select all

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  92588
	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: 
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
HDMI1 connected primary 1920x1080+0+0 (0x47) normal (normal left inverted right x axis y axis) 16mm x 9mm
	Identifier: 0x43
	Timestamp:  92588
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:     VGA1
	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: 
	EDID: 
		00ffffffffffff0011ee0f0001010101
		00110103800000780a0dc9a057479827
		12484c20000001010101010101010101
		010101010101011d8018711c1620582c
		250010090000009e8c0ad08a20e02d10
		103e9600040300000018000000fc0044
		454e4f4e2d4156414d500a20000000fd
		003b3d0f2e08000a202020202020016a
		020327764d850203040607010e230f24
		0a0b290f7f073d1ec0150750835f0000
		66030c00110080011d007251d01e206e
		28550010090000001e8c0aa01451f016
		00267c43000403000000988c0ad08a20
		e02d10103e96001009000000188c0aa0
		1451f01600267c430010090000009800
		00000000000000000000000000000020
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
  1920x1080i (0x47) 74.250MHz +HSync +VSync Interlace *current +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.75KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  60.00Hz
  1920x1080i (0xa4) 74.176MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.72KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  59.94Hz
  2880x480i (0xa5) 54.054MHz -HSync -VSync Interlace
        h: width  2880 start 2956 end 3204 total 3432 skew    0 clock  15.75KHz
        v: height  480 start  488 end  494 total  525           clock  60.00Hz
  2880x480i (0xa6) 54.000MHz -HSync -VSync Interlace
        h: width  2880 start 2956 end 3204 total 3432 skew    0 clock  15.73KHz
        v: height  480 start  488 end  494 total  525           clock  59.94Hz
  1280x720 (0xa7) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0xa8) 74.176MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1440x480 (0xa9) 54.054MHz -HSync -VSync
        h: width  1440 start 1472 end 1596 total 1716 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  1440x480 (0xaa) 54.000MHz -HSync -VSync
        h: width  1440 start 1472 end 1596 total 1716 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  1440x480i (0xab) 27.000MHz -HSync -VSync Interlace
        h: width  1440 start 1478 end 1602 total 1716 skew    0 clock  15.73KHz
        v: height  480 start  488 end  494 total  525           clock  59.94Hz
  720x480 (0xac) 27.027MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  720x480 (0xad) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  720x480i (0xae) 13.514MHz -HSync -VSync Interlace
        h: width   720 start  739 end  801 total  858 skew    0 clock  15.75KHz
        v: height  480 start  488 end  494 total  525           clock  60.00Hz
  720x480i (0xaf) 13.500MHz -HSync -VSync Interlace
        h: width   720 start  739 end  801 total  858 skew    0 clock  15.73KHz
        v: height  480 start  488 end  494 total  525           clock  59.94Hz
  640x480 (0xb0) 25.200MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.50KHz
        v: height  480 start  490 end  492 total  525           clock  60.00Hz
  640x480 (0xb1) 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
VGA1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x44
	Timestamp:  92588
	Subpixel:   unknown
	Clones:     HDMI1
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x45
	Timestamp:  92588
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
ASRock H470M-ITX/ac Home Build on Linux Mint Cinnamon!
Dell Studio 1737 Laptop, HP6300 SFF Desktop, Intel NUC NUC7CJYH Mini All on Linux Mint XFCE!
Image
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Scaling Display Properly

Post by roblm »

If the TV displays correctly in Windows, whether you have a dual-boot with Windows or another Windows computer, then install the Monitor Asset Manager program to get the Modeline being used, so it can be compared with the one from the Mint system. If it's different, then it can be tested in the Mint system. You can get the program from majorgeeks.com:
http://www.majorgeeks.com/mg/get/monito ... ger,1.html

When the program is opened, the Display IDs window will be set to Real-time. Click File > Save Report. Save the file as moninfo-active.txt.
Then select Registry-Active in the Display IDs window. Click File > Save Report, and save it to a file named moninfo-registry.txt.
Transfer the files to the Mint installation and post the output.
Monitor Asset Manager.png
There are two other methods that can be tested to correct the overscan. The first is using xrandr's transform feature. You will have to play around with the values and it doesn't always work correctly.

Transform syntax: --transform <a>,<b>,<c>,<d>,<e>,<f>,<g>,<h>,<i> (default values: 1,0,0,0,1,0,0,0,1)

Typically, a and e corresponds to the scaling on the X and Y axes, c and f specify the x and y offset of the area, and g, h, and i are respectively 0, 0 and 1.

Example to correct overscan: xrandr --output HDMI-0 --transform 1.05,0,-35,0,1.05,-20,0,0,1
In this case, the picture would be expanded by 5% horizontally and vertically and moved 35 pixels to the left and 20 pixels upwards (or downwards for positive values).

First try testing this command in the Terminal:

Code: Select all

xrandr --output HDMI1 --transform 1.04,0,-35,0,1.07,-35,0,0,1
If you now cannot fully access the right and bottom sides, then use this command:

Code: Select all

xrandr --output HDMI1 --panning 1940x1100 --transform 1.05,0,-35,0,1.08,-35,0,0,1
To reverse the effect:

Code: Select all

xrandr --output HDMI1 --panning 1920x1080 --transform 1,0,0,0,1,0,0,0,1
If the display gets too messed up, then press Ctrl+Alt+Backspace to log out and back in.

The second method is by tuning the Modeline values, as discussed on this web page under the section Adjustments:
http://arachnoid.com/modelines/

However, the author states this warning:
The reader is warned that hand-tuning modeline values is a risky business and can damage your monitor.
User avatar
JayBird707
Level 3
Level 3
Posts: 126
Joined: Sat Jan 30, 2016 9:56 pm

Re: Scaling Display Properly

Post by JayBird707 »

You're a genius! Of course I have a million questions about where do you find out about all those numbers. You had me worried for a minute when you opened with the W%$%$ program stuff. I'm off that stuff and loving Linux.

Anyway it's not perfect but here's what I have:

Code: Select all

xrandr --output HDMI1 --transform 1.04,0,-35,0,1.07,-35,0,0,1
Works OK, going to the other suggested examples did not change things that much. I even played with the scaling numbers.

It seems to me that the rescaling takes place primarily from the right side and the bottom. So the right hand side, bottom and top are perfect. If there is a way to bring the left side in a little it would be perfect.

I'm just so surprised there's not a simple setting in the GUI. I loaded Kodi on the machine and it has a zoom setting that makes things perfect with the click of a mouse. Thank you, thank you, thank you.
ASRock H470M-ITX/ac Home Build on Linux Mint Cinnamon!
Dell Studio 1737 Laptop, HP6300 SFF Desktop, Intel NUC NUC7CJYH Mini All on Linux Mint XFCE!
Image
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Scaling Display Properly

Post by roblm »

JayBird707 wrote:where do you find out about all those numbers.

I got the transform values by testing with a 24 inch monitor that had the same 16:9 aspect ratio as your TV. I started with this conservative command: xrandr --output HDMI1 --transform 1.02,0,-20,0,1.02,-20,0,0,1

There was no overscan to start with, so when I used the command, black bars would appear on the left and top sides of the screen image. Many times when there is an overscan problem, the amount is not that great, often the height of the bottom panel. So I visually adjusted the c and fvalues until the black bars on the left and top sides were about the same pixel thickness as the panel. Then the a and e transform values were adjusted to get the same thickness of inaccessible bar areas on the right and bottom sides.

If you need to move the left side of the screen image on your TV over to the right some more, then add 10 pixels at a time to the c value of the xrandr command, so the command will now be:

Code: Select all

xrandr --output HDMI1 --transform 1.04,0,-45,0,1.07,-35,0,0,1
As the c value is increased to a certain size, then the entire screen image may shift and look overscanned again. If that happens, then increase the value of a by .01, so the command will now be:

Code: Select all

xrandr --output HDMI1 --transform 1.05,0,-45,0,1.07,-35,0,0,1
JayBird707 wrote:I'm just so surprised there's not a simple setting in the GUI. I loaded Kodi on the machine and it has a zoom setting that makes things perfect with the click of a mouse.

That would be a good feature for the Mint developers to consider. However, most TVs have a setting to compensate for overscan. If you're using the nvidia or fglrx drivers, then there will be a GUI utility that has a setting to adjust overscan.
User avatar
JayBird707
Level 3
Level 3
Posts: 126
Joined: Sat Jan 30, 2016 9:56 pm

Re: Scaling Display Properly

Post by JayBird707 »

Once again my thanks and gratitude for sticking with me. I have found the perfect combination:

Code: Select all

xrandr --output HDMI1 --panning 1920x1080 --transform 1.05,0,-55,0,1.07,-35,0,0,1
There is a slight problem I neglected to mention in my previous post. As I apply the setting my mouse pointer begins to disappear. Each increment of any parameter makes more of the mouse pointer disappear. In the Mint settings I have the Mouse Pointer slider set to the largest setting. So what I am left with when I apply my 'perfect' xrandr setting is a little piece of the tip that sometimes I can see and sometimes (primarily based on what's behind the pointer) I can't see.

Do you think if I started to read up on the 'modeline' thing the results would be any better (i.e. somehow that method would not effect the mouse pointer)?
ASRock H470M-ITX/ac Home Build on Linux Mint Cinnamon!
Dell Studio 1737 Laptop, HP6300 SFF Desktop, Intel NUC NUC7CJYH Mini All on Linux Mint XFCE!
Image
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Scaling Display Properly

Post by roblm »

JayBird707 wrote:There is a slight problem I neglected to mention in my previous post. As I apply the setting my mouse pointer begins to disappear. Each increment of any parameter makes more of the mouse pointer disappear. In the Mint settings I have the Mouse Pointer slider set to the largest setting. So what I am left with when I apply my 'perfect' xrandr setting is a little piece of the tip that sometimes I can see and sometimes (primarily based on what's behind the pointer) I can't see.
I think I remember that happening occasionally when I did some testing of xrandr transform commands in the past, along with other glitches. However, I just tested your xrandr command and there was no change in the cursor. Log out and back in and retest the command. I don't know if your TV using a 1080 Interlaced mode has any effect.

Do you need to use the --panning 1920x1080 option in that command? Try to leave it out.

Would you test adding that command to the /etc/mdm/Init/Default file, so it will be executed automatically before the X.Org display server starts. Open the file with this command:

Code: Select all

gksudo xed /etc/mdm/Init/Default
Add the xrandr command at the end, just above the last line that says exit 0 and then reboot and check the cursor.

Also, the horizontal offset value may need to be a multiple of 8. Try changing -55 to -56. If that doesn't help, then also change the vertical offset value from -35 to -36
User avatar
JayBird707
Level 3
Level 3
Posts: 126
Joined: Sat Jan 30, 2016 9:56 pm

Re: Scaling Display Properly

Post by JayBird707 »

I think I remember that happening occasionally when I did some testing of xrandr transform commands in the past, along with other glitches. However, I just tested your xrandr command and there was no change in the cursor. Log out and back in and retest the command. I don't know if your TV using a 1080 Interlaced mode has any effect.
The cursor issue does not change. What I did do was add some additional cursor options and selected one that still shows up enough so I am not operating blind.
Do you need to use the --panning 1920x1080 option in that command? Try to leave it out.
If I leave the panning option out I lose a small portion of the right vertical side.
Would you test adding that command to the /etc/mdm/Init/Default file, so it will be executed automatically before the X.Org display server starts. Open the file with this command:

Code: Select all
gksudo xed /etc/mdm/Init/Default

Add the xrandr command at the end, just above the last line that says exit 0 and then reboot and check the cursor.
You read my mind. I was just going to execute a script after starting up. Now I boot up right into the corrected screen. You are a real genius in this stuff. You must be a programmer or a graphics guy. Thanks a million times a million.
Also, the horizontal offset value may need to be a multiple of 8. Try changing -55 to -56. If that doesn't help, then also change the vertical offset value from -35 to -36
I made these adjustments (both) and the screen is now perfect++ thanks to you.

Now for something new. I realized today that when the Log In screen comes up it is perfect on the TV screen. So I guess that means it's a X windows or Cinnamon GUI issue. Do you think I should report this as a bug to Linux Mint?

Again thank you very much for your time and effort in helping me get my display problem corrected I deeply appreciate this.
ASRock H470M-ITX/ac Home Build on Linux Mint Cinnamon!
Dell Studio 1737 Laptop, HP6300 SFF Desktop, Intel NUC NUC7CJYH Mini All on Linux Mint XFCE!
Image
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Scaling Display Properly

Post by roblm »

My math is a little rusty. The vertical offset value of -36 is not a multiple of 8. It would need to be 32 or 40, but the horizontal value is more important.
My testing was done on a system with Nvidia graphics. I just tested your xrandr command on another older system with Intel graphics and again, no change in the cursor.
JayBird707 wrote:The cursor issue does not change. What I did do was add some additional cursor options and selected one that still shows up enough so I am not operating blind.
What exactly did you do?
After making all the changes I suggested, did you test the default cursor again?
JayBird707 wrote:If I leave the panning option out I lose a small portion of the right vertical side.
You may be able to further tweak the xrandr command to eliminate that option, if you desire, by increasing the -1.05 value by a very small amount, such as -1.055.
JayBird707 wrote:Do you think I should report this as a bug to Linux Mint?
Interestingly, the last time I was involved in a similar overscan problem in another topic in this Mint forum, it also involved a large screen TV (73”) using an Interlaced mode. I don't think it's a problem with Mint. It's not always easy to determine if the problem comes from the graphics driver, the X.Org display server, hardware incompatibility with certain Sony TVs, or perhaps better Linux support is needed for Interlaced modes.
User avatar
JayBird707
Level 3
Level 3
Posts: 126
Joined: Sat Jan 30, 2016 9:56 pm

Re: Scaling Display Properly

Post by JayBird707 »

Hey savior!
Here is my latest command format:

xrandr --output HDMI1 --panning 1920x1080 --transform 1.055,0,-56,0,1.07,-32,0,0,1

Right hand side still a problem if I don't use 'panning'. If I mess too much with 'a' I end up hanging up video and have to Ctrl-Alt-Backspace.

Cursor Problem

Problem with the cursor still exists under new setting when I use the default cursors or cursors from 'Chameleon-cursor-themes'.

I have been able to resolve the cursor problem by using cursor from 'Xcursor-themes'.

So I now have a perfectly proportioned screen and a fully functional mouse pointer.

You're the best!
ASRock H470M-ITX/ac Home Build on Linux Mint Cinnamon!
Dell Studio 1737 Laptop, HP6300 SFF Desktop, Intel NUC NUC7CJYH Mini All on Linux Mint XFCE!
Image
cil1rjn
Level 1
Level 1
Posts: 1
Joined: Tue Sep 25, 2018 11:38 pm

Re: Scaling Display Properly

Post by cil1rjn »

New Linux user here and also 1st forum post. Had to comment that this post also solved my Panasonic Viera TC-P46X3 overscan issue.
Had an old Acer Aspire 5741 laptop laying around that worked great connected to the Panasonic plasma TV running Windows 7.
Decided to dual-boot Linux Mint Cinnamon 19 which also works great EXCEPT an overscan issue.
Much googling later, found this post which worked like a charm.
Many thx for such detailed step-by-step directions to help solve the issue!
Locked

Return to “Graphics Cards & Monitors”