Sony GVC-JS160J screen resolution

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm »

Try changing the line in the grub file to this:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=VGA-1:d drm.edid_firmware=LVDS-1:edid/1680x1050.bin"
If that doesn’t work, try this:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=VGA-1:d video=LVDS-1:e drm.edid_firmware=LVDS-1:edid/1680x1050.bin"
If that fails, then remove the xorg.conf file, so the modesetting driver is loading, and try both lines above again.
Tommy G
Level 1
Level 1
Posts: 29
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G »

Soooo sorry but did not work
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm »

Remove the parameters you added to the grub file and update grub and reboot.

Create the xorg.conf file again and add these lines:

Code: Select all

Section "Monitor"
   Identifier    "Monitor0"
   HorizSync       24.0 - 94.0	   
   VertRefresh     24.0 - 76.0
   Modeline "1680x1050R"  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync
EndSection

Section "Device"
   Identifier   "Device0"
   Driver   "intel"
   Option "Monitor-LVDS-1" "Monitor0"   			
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Device0"
   Monitor   "Monitor0"
   DefaultDepth   24
   SubSection     "Display"
      Depth       24
      Modes "1680x1050R" 
   EndSubSection
EndSection

If that fails, then try this xorg.conf file:

Code: Select all

Section "Monitor"
   Identifier    "Monitor0"
   HorizSync       24.0 - 94.0	   
   VertRefresh     24.0 - 76.0
   Modeline "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync 
EndSection

Section "Device"
   Identifier   "Device0"
   Driver   "intel"
   Option "Monitor-LVDS-1" "Monitor0"   			
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Device0"
   Monitor   "Monitor0"
   DefaultDepth   24
   SubSection     "Display"
      Depth       24
      Modes "1680x1050_60.00" 
   EndSubSection
EndSection

If that fails, then repeat the steps above but change intel to modesetting in Section “Device”

If there is a problem getting back to the desktop, then press Ctrl+Alt+F1 to enter virtual console tty1. Use this command to remove the xorg.conf file and reboot: sudo rm /etc/X11/xorg.conf; reboot
Tommy G
Level 1
Level 1
Posts: 29
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G »

The combination of 1st xorg.conf file offered with "modesetting" substituted for "intel" corrected the screen height. The width did not change. Also notice that all xorg.conf files tried have a long red space after line: Option "Monitor-LVDS-1" "Monitor0"

A physical measurement of the screen is about 10.625 x 17.125 (1.6118 ratio). I tried substituting 1688 and 1728 for 1680x1050R in the "Monitor" Modeline, but no change.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm »

Try using this xorg.conf file. The line Option "Monitor-LVDS-1" "Monitor0" has been removed and the line DisplaySize 435 270 added.

Code: Select all

Section "Monitor"
   Identifier    "Monitor0"
   HorizSync       24.0 - 94.0	   
   VertRefresh     24.0 - 76.0
   DisplaySize  435 270
   Modeline "1680x1050R"  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync
EndSection

Section "Device"
   Identifier   "Device0"
   Driver   "modesetting"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Device0"
   Monitor   "Monitor0"
   DefaultDepth   24
   SubSection     "Display"
      Depth       24
      Modes "1680x1050R" 
   EndSubSection
EndSection
Post the output of xrandr
Tommy G
Level 1
Level 1
Posts: 29
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G »

No change. See below:

ann@SonyVIAO-JS160J:~$ xrandr
Screen 0: minimum 320 x 200, current 2704 x 1050, maximum 8192 x 8192
LVDS-1 connected primary 1680x1050+1024+0 (normal left inverted right x axis y axis) 0mm x 0mm
1680x1050R 59.88*+
1600x1200 60.00 +
VGA-1 connected 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
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm »

The kernel parameter drm_kms_helper.edid_firmware=edid/1680x1050.bin, which previously worked, was with Mint 18.2, the 4.8 kernel and an older version of the X.Org display server. I think the Linux developers made changes so that parameter won’t work with newer versions. I previously did some testing in Mint 19 and found out it did not work with the open-source intel or modesetting drivers. It still worked with the nouveau, radeon and amdgpu drivers.


Perhaps xrandr’s transform feature will help. Leave the xorg.conf file and use this command:
xrandr --output LVDS-1 --panning 1680x1050 --transform 1.05,0,35,0,1,0,0,0,1

If that doesn’t help, try this:
xrandr --output LVDS-1 --panning 1680x1050 --transform 0.95,0,35,0,1,0,0,0,1

Or this: xrandr --output LVDS-1 --scale .9x1
Tommy G
Level 1
Level 1
Posts: 29
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G »

1st xrandr command offered produced smaller overlapping background.
2nd xrandr command offered produced overlapping background.
3rd xrandr command offered produced overlapping background with the following error message:
ann@SonyVIAO-JS160J:~$ xrandr --output LVDS-1 --scale .9x1
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Serial number of failed request: 28
Current serial number in output stream: 30
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm »

Tommy G wrote: 1st xrandr command offered produced smaller overlapping background.
2nd xrandr command offered produced overlapping background.
3rd xrandr command offered produced overlapping background with the following error message:...
I don’t understand what you mean by overlapping. Was the screen image stretched horizontally and to what degree? Was the image still OK vertically?
Tommy G
Level 1
Level 1
Posts: 29
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G »

So sorry for the confusion.

The log-in screen is about 60% of screen size. The upper left corner aligned with the upper left screen corner.

After log-in, I now get two desktop backgrounds, one about 60% (positioned like the log-in) the other under it is same as it has been; the width is about 90% and not sure about the height if it is aligned to the bottom of the screen or not. The reason, the panel strip is now in the correct position which caused my observation that the height is ok. I can't tell if the bottom of the desktop background ends with the bottom of the panel strip or not.

I can take a screen shot if you can tell me how to get it to you. I can reply with a link to where stored on a cloud account if that can work.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm »

My previous testing with the xrandr --transform commands were with Mint 19. I just did some testing on a Mint 20.2 system using the modesetting driver and now I understand what you mean by two backgrounds. I initially got the same result as you, but after using many different commands, I was able to get the desired result, but it was not consistent. It's not supposed to work like that. I blame the Linux developers for buggy programming.

Try this method with the xorg.conf file and then without it. Use these commands:

Code: Select all

xrandr --newmode  "1744x1050R"  123.25  1744 1792 1824 1904  1050 1053 1063 1080 +hsync -vsync
xrandr --addmode LVDS-1 1744x1050R
xrandr --output LVDS-1 1744x1050R
Check if the screen image fills the screen horizontally more. If that method doesn’t work, then I don’t have any other suggestions.
Tommy G
Level 1
Level 1
Posts: 29
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G »

Don't know why, but after log-in and before changing anything, notice overlapping background is gone. Applications when maximized appear to be the correct size and placement, but are cut off on the right by the desktop at aprox. 90% width. Same is true of the panel strip at the bottom.

With with the last xorg.conf file having "modesetting" driver:
1st xrandr: no change
2nd xrandr: no change
3rd xrandr: the terminal responded; unrecognized option '1744x1050R'

xrandr commands were entered without sudo/password. is that correct?

If still out of suggestions, should I get rid of 20 and install 19?
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm »

Previously you reported that the overlapping background was only seen after using these commands. No password is needed with xrandr commands. Their effect only lasts for one session:

Code: Select all

xrandr --output LVDS-1 --panning 1680x1050 --transform 1.05,0,35,0,1,0,0,0,1
xrandr --output LVDS-1 --panning 1680x1050 --transform 0.95,0,35,0,1,0,0,0,1
xrandr --output LVDS-1 --scale .9x1
I also suggested to remove the xorg.conf file and test these commands. All 3 need to be used for any change to occur:

Code: Select all

xrandr --newmode  "1744x1050R"  123.25  1744 1792 1824 1904  1050 1053 1063 1080 +hsync -vsync
xrandr --addmode LVDS-1 1744x1050R
xrandr --output LVDS-1 1744x1050R
All of those commands were just for testing. If one of those helped, then the values may be need to be changed to get an optimal result.

Also, I don’t think switching to Mint 19 will help. I previously stated that I tested the kernel parameter that worked for you in Mint 18 and it failed in Mint 19, but I was using a laptop with hybrid graphics (Intel+Nvidia), so it may work for you.

You can also test other distros, like Ubuntu. I personally am still using Mint 18.3 on one of my main PCs and just update Firefox manually.
Locked

Return to “Hardware Support”