Sony GVC-JS160J screen resolution

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Tommy G
Level 1
Level 1
Posts: 20
Joined: Sat Jul 15, 2017 10:11 pm

Sony GVC-JS160J screen resolution

Post by Tommy G » Thu Jul 27, 2017 12:13 pm

Please help, A beautiful machine rendered useless. Need work around. "Evidently the display EDID chip is presenting wrong info, causing the X.Org server to choose the wrong resolution."
See background and info here: viewtopic.php?t=249739

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm » Fri Jul 28, 2017 9:19 am

I suggest testing a custom xorg.conf file. Use this command to create it:

Code: Select all

gksudo xed /etc/X11/xorg.conf
In the opened empty file, add these lines:

Code: Select all

Section "ServerLayout"
   Identifier   "Layout0"
   Screen   0 "Screen0" 0 0 
EndSection

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
   Option "PreferredMode" "1680x1050R" 
EndSection

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

Section "Screen"
   Identifier   "Screen0"
   Device   "Device0"
   Monitor   "Monitor0"
   DefaultDepth   24
EndSection
Log out and back in. If the display is not correct, then open Preferences > Display and check for the 1680x1050 resolution.
If that method fails, then open the xorg.conf file with the same command used to create it and change these two lines:

Code: Select all

Modeline "1680x1050R"  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync
Option "PreferredMode" "1680x1050R"
To these:

Code: Select all

Modeline "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
Option "PreferredMode" "1680x1050"
If there is a problem getting back to the desktop, then press Ctrl+Alt+F1 to enter the virtual console tty1. Login and then type this command to remove the xorg.conf file:

Code: Select all

sudo rm /etc/X11/xorg.conf
Then type: sudo reboot

Tommy G
Level 1
Level 1
Posts: 20
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G » Fri Jul 28, 2017 11:38 am

Great instructions but the resolution did not change nor was it added as a selection for display. I did save the xorg.conf file each time before logging out/rebooting.

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm » Fri Jul 28, 2017 12:48 pm

1. Is your system a dual-boot with Windows?

2. Add this line to the Monitor section of the xorg.conf file and then test both Modelines again:

Code: Select all

DisplaySize  443 249
If that fails, then try using this command after testing the first Modeline:

Code: Select all

xrandr --output LVDS1 --mode 1680x1050R
Use this command after testing the second Modeline:

Code: Select all

xrandr --output LVDS1 --mode 1680x1050
3. Sometimes Linux has a problem displaying a resolution if it is not a multiple of 8. Try using these lines in the Monitor section of the xorg.conf file:

Code: Select all

Modeline "1680x1048R"  118.75  1680 1728 1760 1840  1048 1051 1061 1078 +hsync -vsync
Option "PreferredMode" "1680x1048R"
f that fails, then try using this command:

Code: Select all

xrandr --output LVDS1 --mode 1680x1048R
If that fails, then try these lines:

Code: Select all

Modeline "1680x1048_60.00"  146.00  1680 1784 1960 2240  1048 1051 1061 1087 -hsync +vsync
Option "PreferredMode" "1680x1048"
If that fails, then try using this command:

Code: Select all

xrandr --output LVDS1 --mode 1680x1048
4. If that fails, then restart your PC and at the GRUB boot menu select the correct line but don’t press Enter. Press the “E” key to edit. If no menu shows, then hold down the shift key while starting. Use the Down arrow key to go down to the line that starts with:
linux /boot/vmlinuz.............ro quiet splash $vt_handoff

Press the End key to go to the end of the line. Add a space and then type this kernel parameter:

Code: Select all

drm_kms_helper.edid_firmware=edid/1680x1050.bin
Press F10 to start your system.

Tommy G
Level 1
Level 1
Posts: 20
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G » Fri Jul 28, 2017 8:07 pm

Before I got into this next set I went back and tried the first solutions again; This time closed the editor after saving the xorg.conf file before logging out. I immediately got errors in the terminal. Should I ignore and continue?

Tried origional 1st modline got below errors:

** (xed:4124): WARNING **: Set document metadata failed: Setting attribute metadata::xed-spell-language not supported
** (xed:4124): WARNING **: Set document metadata failed: Setting attribute metadata::xed-encoding not supported
** (xed:4124): WARNING **: Set document metadata failed: Setting attribute metadata::xed-position not supported

Tried origional 2st modline got below errors:

** (xed:4175): WARNING **: Set document metadata failed: Setting attribute metadata::xed-spell-language not supported
** (xed:4175): WARNING **: Set document metadata failed: Setting attribute metadata::xed-encoding not supported
** (xed:4175): WARNING **: Set document metadata failed: Setting attribute metadata::xed-position not supported

tried origional 2nd modline with added line, DisplaySize 443 249, at bottom of section, got below errors:

** (xed:4209): WARNING **: Set document metadata failed: Setting attribute metadata::xed-spell-language not supported
** (xed:4209): WARNING **: Set document metadata failed: Setting attribute metadata::xed-encoding not supported
** (xed:4209): WARNING **: Set document metadata failed: Setting attribute metadata::xed-position not supported

tried origional 1st modline with added line, DisplaySize 443 249, at bottom of section, got below errors:

** (xed:4233): WARNING **: Set document metadata failed: Setting attribute metadata::xed-spell-language not supported
** (xed:4233): WARNING **: Set document metadata failed: Setting attribute metadata::xed-encoding not supported
** (xed:4233): WARNING **: Set document metadata failed: Setting attribute metadata::xed-position not supported

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm » Fri Jul 28, 2017 8:23 pm

I don't remember seeing those error messages. Did you perhaps use the command sudo xed /etc/X11/xorg.conf this time, instead of gksudo xed /etc/X11/xorg.conf, because it worked in your previous post.

If that doesn't work, then use this command in the Terminal to open the file:

Code: Select all

sudo nano -t /etc/X11/xorg.conf
Use the Arrow keys to move the cursor. After editing the file, press Ctrl+X to save

Tommy G
Level 1
Level 1
Posts: 20
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G » Fri Jul 28, 2017 9:46 pm

Used, sudo nano -t /etc/X11/xorg.conf, to edit and went through all steps and no errors but unfortunately no change. I did leave the line, DisplaySize 443 249, in the xorg.conf durrimg the steps that followed.

Tommy G
Level 1
Level 1
Posts: 20
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G » Sat Jul 29, 2017 9:25 am

I had hopes the last step would trump all and work. Question, last step referenced 1680x1050.bin but the last xorg.conf was with 1680x1048. Could this be an issue? I will introduce original xorg.conf changes and see if they can work. Otherwise seems xorg.conf is being ignored.

Tommy G
Level 1
Level 1
Posts: 20
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G » Sat Jul 29, 2017 9:29 am

Oh, confirmed that I do get the WARNINGS after modifying the xorg.conf by editing from the command gksudo xed /etc/X11/xorg.conf

Tommy G
Level 1
Level 1
Posts: 20
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G » Sat Jul 29, 2017 9:54 am

IT'S WORKING! IT'S WORKING! IT'S WORKING!
Repeated the last step of adding the kernel parameter.
Is there anything I should do to insure this is permanent?

Tommy G
Level 1
Level 1
Posts: 20
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G » Sat Jul 29, 2017 10:10 am

Working but every time I boot I must add the kernel parameter.

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm » Sat Jul 29, 2017 3:02 pm

Use this command to remove the xorg.conf file:

Code: Select all

sudo rm /etc/X11/xorg.conf
You can make the kernel parameter to be executed automatically by editing the grub file. Use this command to open the file:

Code: Select all

gksudo xed /etc/default/grub
If that doesn't work, then use the nano text editor again:

Code: Select all

sudo nano -t /etc/default/grub
Change this line:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
To this:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash drm_kms_helper.edid_firmware=edid/1680x1050.bin"
Press Ctrl+X to save the file and then use this command to update grub:

Code: Select all

sudo update-grub

Tommy G
Level 1
Level 1
Posts: 20
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G » Sat Jul 29, 2017 4:03 pm

Working great now. Many thanks to you and the forum members that got me to this point. A great community. However, I have another problem. Power options are set to Suspend when inactive for 10 min. This works but it will not wake up. It tries but the screen never comes back. Should I make this a new Subject?

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Sony GVC-JS160J screen resolution

Post by roblm » Sat Jul 29, 2017 4:37 pm

You may want to first try updating the kernel to 4.10 in the Update Manager > View > Linux kernels. If that doesn't help, then start a new topic.

Tommy G
Level 1
Level 1
Posts: 20
Joined: Sat Jul 15, 2017 10:11 pm

Re: Sony GVC-JS160J screen resolution

Post by Tommy G » Sun Jul 30, 2017 1:48 pm

Thanks again but says I am currently using the latest 4.10.0-28.

Post Reply

Return to “Hardware Support”