LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 09-22-2018, 06:02 PM   #1
steveis2
LQ Newbie
 
Registered: Sep 2018
Distribution: Linux Mint
Posts: 13

Rep: Reputation: Disabled
Incorrectly detected monitor & Editing Xorg.conf


Hi,
After failing to get Linux Mint 18.3 to recognize my ACER K222 monitor as capable of 1920x1080 I inserted that resolution into the advanced settings of the Nvidia Xserver setting program and saved them. Now I have the above resolution. However looking at Xorg.conf the vertical and horizontal sync for the monitor are not accurate. They are not far out but are just not right. I'd like to edit them to exactly match the specification of the monitor.
My question is. How can I edit the Xorg.conf file if it's even possible.

Regards Steve
 
Old 09-22-2018, 08:33 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,329
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
It is certainly possible to edit Xorg.conf, though these days it is seldom necessary. Doing so used to be routine.

A search for "editing Xorg.conf linux" will turn up many tutorials and articles, so many that I hesitate to pick one to recommend. I'm sure you can find one that speaks directly to what you are trying to accomplish.

Welcome to LQ.
 
Old 09-22-2018, 11:52 PM   #3
steveis2
LQ Newbie
 
Registered: Sep 2018
Distribution: Linux Mint
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
It is certainly possible to edit Xorg.conf, though these days it is seldom necessary. Doing so used to be routine.

A search for "editing Xorg.conf linux" will turn up many tutorials and articles, so many that I hesitate to pick one to recommend. I'm sure you can find one that speaks directly to what you are trying to accomplish.

Welcome to LQ.
Thanks for your reply.I'll have a look.

Regards steve
 
Old 09-23-2018, 01:41 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
interesting - i was looking at the exact same model in a shop yesterday.
they have it on offer for just 99 pieces of paper.
once you solve your issue, i'd like to know if it's any good? worth upgrading from this?
 
Old 09-23-2018, 05:20 AM   #5
steveis2
LQ Newbie
 
Registered: Sep 2018
Distribution: Linux Mint
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
interesting - i was looking at the exact same model in a shop yesterday.
they have it on offer for just 99 pieces of paper.
once you solve your issue, i'd like to know if it's any good? worth upgrading from this?
Hi, As monitors go it's ok and inexpensive. However the problem started when I installed Nvidia based GPUs. If I use the xserver-xorg-video-nouveau graphics driver everything is OK and I can get the 1920x1080 resolution as the monitor is recognized accurately. However if I use any Nvidia driver the monitor is not recognized and maximum resolution is cut to 1360x768. Not very good.

I tried a variety of things recommended on Linux Mint forums but none of it worked. In the end I have used the Nvidia X server settings program in advanced mode to manually type in the 1920x1080 resolution. Then I saved that configuration. The resolution did get to 1920x1080 but there are problems. For example taking a full screen grab actually only captures part of the screen. The background pictures for the desktop won't stretch to cover the whole screen. I think over time other things will become apparent.

I tried it with another PC and a different Nvidia card. The exact same problem emerged. So all in all while I'm stuck with it I wouldn't recommend it for Linux and Nvidia drivers. Although if I can find a fully workable solution I will let you know.

Regards Steve
 
Old 09-23-2018, 01:19 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i'm sure you can get this to work properly.
https://www.startpage.com/do/dsearch...ull+resolution
i hope one of these can help.
 
Old 09-24-2018, 03:16 AM   #7
steveis2
LQ Newbie
 
Registered: Sep 2018
Distribution: Linux Mint
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
i'm sure you can get this to work properly.
https://www.startpage.com/do/dsearch...ull+resolution
i hope one of these can help.
Hi, Thanks for the links. I will read be reading them this evening.

Regards Steve
 
Old 10-10-2018, 10:41 AM   #8
steveis2
LQ Newbie
 
Registered: Sep 2018
Distribution: Linux Mint
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi I finally found a solution.

This relates to the situation where using Nvidia drivers your monitor's EDID is not read correctly. I my case the xserver drivers gave 1920x1080 resolution but the nvidia drivers only gave a much lower maximum resolution.

If you are actually running the NVIDIA driver you can use sudo nvidia-bug-report.sh to produce a report. If you search the text file produced for edid you will be able to see if it says edid not found or lacking.

How to fix the resolution with NVIDA drivers when your monitors EDID is not read correctly when using Nvida drivers. I was using Linux Mint 18.3. I have had problems using this approach with LM19 which gets an increased resolution but the image is poor so I'd have to say at the moment it probably doesn't work so well with LM19. REMEMBER that you should not exceed the maximum resolution your monitor is capable of according to its manufacturers specs even if the software seems to offer higher resolutions.

If you install linux you will boot into software rendering and 1920x1080 but Nvidia drivers give much lower resolution options.
Update the system and reboot
Update the kernel and reboot
Install the Read-edid and Edid-decode programs from software manager
Execute sudo get-edid > EDID.bin in your home folder. EDID.bin should appear which saves the monitor EDID.
Use driver manager to select a change to the Nvidia driver and reboot.
Once in the nvidia environment you will find that you have only 1360x768 resolution
Open the Nvidia Server Settings programme and select X Server Display Configuration on left hand side. Then use the Save to X configuration button to save the configuration. You will need to save it to /etc/X11 as xorg.conf
Reboot
Go to to /etc/X11 and execute sudo xed xorg.conf to edit xorg.conf
In the device section of xorg.conf add Option “CustomEDID” “string/EDID.bin” where string is the path to the folder you saved EDID.bin in. In my case it was “/home/chico/EDID.bin”. Save the changes to xorg.conf.
Reboot and it might work ok
You might need to open xorg.conf again and insert the actual Horizontal and vertical frequency ranges of your particular monitor.

This might not work for everyone but in the case of an EDID not being read while using Nvidia drivers it might work for you.

Does not seem to work in Linux Mint 19 at the moment.

Steve

Last edited by steveis2; 10-18-2018 at 08:44 AM.
 
1 members found this post helpful.
Old 10-11-2018, 12:33 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
thanks for sharing.
please mark this SOLVED.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with xorg.conf editing for arcade monitor friendly resolutions mamenewb100 Linux - Newbie 9 07-21-2012 04:19 PM
Help with xorg.conf editing for arcade monitor friendly resolutions mamenewb100 Linux - Newbie 1 07-19-2012 12:24 AM
Editing Xorg.conf with no monitor addux Linux - Software 4 01-04-2010 04:05 AM
Need help editing xorg.conf nyheat Linux - Newbie 15 08-25-2005 12:32 AM
Problems with monitor & unreadably small fonts / xorg.conf with SuSE 9.3 Pro mrbadi SUSE / openSUSE 3 07-15-2005 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration