LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-07-2019, 05:09 AM   #1
seahawkibiza
LQ Newbie
 
Registered: Jul 2011
Location: Chiclana/Spain
Distribution: CLFS
Posts: 6

Rep: Reputation: Disabled
How to add support for specific monitor resolution


Hi,

the following problem: I have various HDMI screens with EDID support.
Some of them are working fine.
The pixelclock is 32MHz and the resolution 1024x600. But on some models the pixelclock is 44,58MHz (same resolution 1024x600) and the dmesg tolds: No videomode found.

Changing afterwards with fbset aqnd timing values isn`t possible, because it changes only the virtual resolution, also with -xres -yres and -match.

Ok - so I had a look in the video-section of the kernel. The HDMI comes with a default set of 640x480pixel and was overwritten with custom values. This isnīt the problem - I can set all timings.

The timings I have (from readout of the EDID values).
In fbdev/core/fbmon.c I found, that the values from EDID are checked and used to configure the display. But I canīt find the database of the "allowed" videomodes.

So, where can I add my new resolution/timing?
The 1024x600 isnīt a standard format, but with 32MHz pixelclock works an default.

I found also this documentation:
https://www.kernel.org/doc/Documenta...lay-timing.txt

And in the arch/arm/boot/dts folder I can find some device descriptions. But how it works?
The only thin is to create a file mydisplay.dts and add a section with the timing parameters? Thats all?

Can someone point me in the right direction?

Last edited by seahawkibiza; 11-07-2019 at 05:56 AM. Reason: adding some information
 
Old 11-08-2019, 01:00 PM   #2
PECONET009
Member
 
Registered: Sep 2006
Location: Finland.
Distribution: kali linux.
Posts: 156

Rep: Reputation: 21
How To Configure Your Monitors With Xrandr in Linux , info below.

Quote:
Originally Posted by seahawkibiza View Post
Hi,

the following problem: I have various HDMI screens with EDID support.
Some of them are working fine.
The pixelclock is 32MHz and the resolution 1024x600. But on some models the pixelclock is 44,58MHz (same resolution 1024x600) and the dmesg tolds: No videomode found.

Changing afterwards with fbset aqnd timing values isn`t possible, because it changes only the virtual resolution, also with -xres -yres and -match.

Ok - so I had a look in the video-section of the kernel. The HDMI comes with a default set of 640x480pixel and was overwritten with custom values. This isnīt the problem - I can set all timings.

The timings I have (from readout of the EDID values).
In fbdev/core/fbmon.c I found, that the values from EDID are checked and used to configure the display. But I canīt find the database of the "allowed" videomodes.

So, where can I add my new resolution/timing?
The 1024x600 isnīt a standard format, but with 32MHz pixelclock works an default.

I found also this documentation:
https://www.kernel.org/doc/Documenta...lay-timing.txt

And in the arch/arm/boot/dts folder I can find some device descriptions. But how it works?
The only thin is to create a file mydisplay.dts and add a section with the timing parameters? Thats all?

Can someone point me in the right direction?
This might help you out; How To Configure Your Monitors With Xrandr in Linux; https://linuxconfig.org/how-to-confi...randr-in-linux

Last edited by PECONET009; 11-08-2019 at 01:01 PM. Reason: Additions.
 
  


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
What should I add into my xorg.conf file to add a resolution? gannggstaz Linux - Desktop 2 09-30-2009 06:06 PM
Force specific refresh for specific resolution miner49er Linux - General 2 03-20-2009 02:36 AM
Force xorg to use specific monitor resolution / disable DDC? slacky Linux - Hardware 3 09-19-2008 08:47 AM
Add another monitor to laptop: resolution problem! Shioni Linux - Hardware 1 04-28-2006 08:16 AM
Monitor resolution too high for my monitor mjames_84 Linux - General 7 03-09-2004 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:35 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