LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2010, 08:22 PM   #1
mauwf
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
Force a screen resolution in Ubuntu when using UseEDID False


Hi All,

I wonder if anyone can help, I've got an annoying problem with an Acer Revo running Ubuntu 9.10 with the latest NVidia drivers.

The Revo is connected to my TV via an amp by HDMI. The Revo didn't seem to like this, I'm assuming due to some handshaking issue with the HDMI which meant that no signal was being passed. Therefore, in Xorg.conf I have used
Code:
Option    	"UseEDID"    	"False"
This makes the a picture appear but the highest resolution available is 640x480 (if I connect directly to my TV and comment out the "UseEDID" line the resolution is the proper 1920x1080).

I have tried editing xorg.conf (the file is posted at the bottom) to force 1920x1080 resolution but nothing seems to work.

Can anyone help with any suggestions?

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@palmer)  Sun Feb  1 20:21:04 UTC 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG TV"
    HorizSync       31.0 - 84.0
    VertRefresh     57.0 - 75.0
    Option         "DPMS"
	Modeline	"1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
	Option		"PreferredMode"	"1920x1080_60.00"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "ION"
	Option	"UseEDID"	"FALSE"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1920x1080 +0+0"
    SubSection     "Display"
        Depth       24
	Modes	"1920x1080"
    EndSubSection
EndSection
 
Old 01-17-2010, 06:59 PM   #2
sysfce2
Member
 
Registered: Jul 2009
Distribution: Slackware
Posts: 116

Rep: Reputation: 50
Where did you get the modeline values?

Try running:
startx -- -logverbose 6 (You'll have to boot into the CLI instead of GUI, although I think there is somewhere you can change the log level for booting - Just change /etc/inittab to use runlevel 3)
Then /var/log/Xorg.0.log should have the EDID values recorded - use them to generate the modeline.

If that doesn't work, try playing with xrandr after boot (xrandr allows you to change video settings without having to reboot).

Here's a script I run after startup: (I have an ATI card, so will likely be different for your setup)
Code:
#!/bin/sh
xrandr --newmode "1920x1200" 154.00 1920 1968 2000 2080 1200 1203 1209 1235 -hsync +vsync
xrandr --addmode DVI-1 1920x1200
xrandr --output DVI-0 --mode 1920x1080 --pos 1920x0 --output DVI-1 --mode 1920x1200 --left-of DVI-0

Last edited by sysfce2; 01-17-2010 at 07:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Screen resolution in Ubuntu 9.04. wlawyer Linux - Newbie 2 05-04-2009 07:55 AM
screen resolution in ubuntu ynael Linux - Laptop and Netbook 6 03-11-2009 01:41 PM
Screen Resolution on Ubuntu SonicStream Ubuntu 6 04-26-2008 05:53 AM
how do I adjust the screen resolution on Ubuntu MurX Ubuntu 8 06-29-2006 07:50 PM
Only 640x480 screen resolution on ubuntu 5.10 nickleus Linux - Newbie 6 02-20-2006 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:22 PM.

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