Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Force resolution
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Mon Mar 31, 2014 8:34 pm    Post subject: Force resolution Reply with quote

How can I force X to use a certain resolution when it doesn't detect the attached TV as being capable of that resolution?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Mon Mar 31, 2014 9:35 pm    Post subject: Reply with quote

grant123,

That depends on the driver you are using.

You will need a modeline. That link tells you what its all about.
Its a PITA working out the numbers with a calculator but this link will generate some numbers for you.
That much is common.

The driver specific part is how you tell the driver you really do know better than the EDID.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Mon Mar 31, 2014 10:48 pm    Post subject: Reply with quote

That could be a problem. I'm using the omapfb driver which isn't exactly packed with features.

I set up the 1360x768 modeline in xorg.conf but I get:

Code:
[    24.055] (II) omapfb(0): Not using mode "1360x768" (height too large for virtual size)
[    24.056] (II) omapfb(0): Printing probed modes for output LCD
[    24.056] (II) omapfb(0): Modeline "640x480"x59.5   23.50  640 688 720 800  480 483 487 494 (29.4 kHz P)
[    24.056] (II) omapfb(0): Output LCD connected
[    24.056] (II) omapfb(0): Using exact sizes for initial modes
[    24.056] (II) omapfb(0): Output LCD using initial mode 640x480
[    24.058] (II) omapfb(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    24.058] (II) omapfb(0): XRandR extension initialized
[    24.058] (--) omapfb(0): Virtual size is 640x480 (pitch 640)
[    24.059] (**) omapfb(0):  Mode "640x480": 23.5 MHz, 29.4 kHz, 59.5 Hz
[    24.059] (II) omapfb(0): Modeline "640x480"x59.5   23.50  640 688 720 800  480 483 487 494 (29.4 kHz P)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Tue Apr 01, 2014 6:47 pm    Post subject: Reply with quote

grant123,

Code:
[    24.056] (II) omapfb(0): Modeline "640x480"x59.5   23.50  640 688 720 800  480 483 487 494 (29.4 kHz P)
...
[    24.058] (--) omapfb(0): Virtual size is 640x480 (pitch 640) 
Is standard VGA, which is what grub uses.

What does
Code:
man omapfb
tell you on your ARM board?
Its also possible that you need to allocate the framebuffer more RAM so it can hold larger images.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Wed Apr 02, 2014 1:56 pm    Post subject: Reply with quote

There is no man entry for omapfb unfortunately. I googled but didn't come up with anything.

I tried increasing RAM for both framebuffers but the result is the same.

The weird thing is omapfb will go through a certain amount of time detecting the TV's native resolution correctly at 1360x768 and choosing it automatically at boot every time. Then it will go through a period of time when it's 640x480 at every boot. Then 1360x768 for a while. This last time it switched, I'm sure I didn't change anything. What could cause that kind of inconsistency?
Back to top
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Wed Apr 09, 2014 1:00 am    Post subject: Reply with quote

It just switched back to 1360x768 after my latest reboot and I noticed that this resolution is displayed in a notification window in the corner of the screen by the TV when the system first starts booting, long before X starts. Lately 640x480 has been the resolution displayed in that notification window. So it seems like the system or TV "decides" which resolution it will display very early in the boot process.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum