LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-23-2010, 07:54 PM   #1
TedCleggett
Member
 
Registered: Apr 2010
Posts: 33

Rep: Reputation: 16
Video Resolution Issue for Ubuntu 10.04


Hello,
I need some help setting the video resolution for Ubuntu 10.04. The problem is when I run Ubuntu 8.04 from the CD I can run the following resolutions without any problems;

1600x1200 (4:3) 60Hz
1440x900 (16:10) 60Hz
1360x768 (16:9) 60Hz
1280x1024 (5:4) 60Hz
1280x720 (16:3) 60Hz

When I run Ubuntu 10.04 I can only run up to "1280x720 (16:9) 60Hz", it will show 1920x1080 available in the menu to select, but it will not sync the screen. I would like to run at the 1920x1080, 1440x900, or 1360x768.

Therefore, are there any files I can copy from 8.04 to 10.04 to fix this problem? Or, is there some setting I can change in 10.04 to fix this problem?

I am running an IBM Xseries206 with an on-board video board. I did not have to load any video drivers to get the 8.04 to work properly.

Any thoughts???
 
Old 05-24-2010, 05:36 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
1280x720 is certainly not a 16:3 ratio, but that's a detail.

In the Screen section of /etc/X11/xorg.conf, put the line

Virtual 1440 900

and try again.
 
1 members found this post helpful.
Old 05-24-2010, 10:36 AM   #3
TedCleggett
Member
 
Registered: Apr 2010
Posts: 33

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by business_kid View Post
1280x720 is certainly not a 16:3 ratio, but that's a detail.

In the Screen section of /etc/X11/xorg.conf, put the line

Virtual 1440 900

and try again.
Is this correct?

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Virtual 1440 900
EndSection

BTW: When I boot up in 8.04 I notice that the Chipset Driver is VESA. How can I just make that the default driver for 10.04?
 
Old 05-24-2010, 10:43 AM   #4
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
post output of

#lspci -vv

X log files in /var/log

vesa is not a good driver
 
1 members found this post helpful.
Old 05-24-2010, 12:05 PM   #5
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Quote:
Originally Posted by TedCleggett View Post
Hello,
I need some help setting the video resolution for Ubuntu 10.04.
<snip>
Any thoughts???
You probably need a custom /etc/X11/xorg.conf file.
Code:
Xorg -configure
as root from the console with no X running will give you a basic xorg.conf file which you can then modify to add the apprpriate modelines. Use the program gtf to determine the proper modelines. As an example, here are the Monitor and Screen sections of my xorg.conf file
Code:
Section "Monitor"

	#UseModes     "Modes0" #monitor0usemodes
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	DisplaySize  432	270
	HorizSync    30.0 - 86.0
	VertRefresh  56.0 - 76.0
	ModeLine     "1440x900" 106.5 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
	ModeLine     "1680x1050a" 125.1 1680 1776 1952 2224 1050 1051 1054 1082 -hsync +vsync
	ModeLine     "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
	Option	    "PreferredMode" "1680x1050"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes    "1680x1050" "1680x1050a" "1440x900" "1280x1024"
	EndSubSection
EndSection
 
1 members found this post helpful.
Old 05-24-2010, 01:10 PM   #6
TedCleggett
Member
 
Registered: Apr 2010
Posts: 33

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by amani View Post
post output of

#lspci -vv

X log files in /var/log

vesa is not a good driver
There is not a switch -VV ???
type the exact command as it should appear on the command line for me please so I can get the data you want.
 
Old 05-24-2010, 01:11 PM   #7
TedCleggett
Member
 
Registered: Apr 2010
Posts: 33

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by RockDoctor View Post
You probably need a custom /etc/X11/xorg.conf file.
Code:
Xorg -configure
as root from the console with no X running will give you a basic xorg.conf file which you can then modify to add the apprpriate modelines. Use the program gtf to determine the proper modelines. As an example, here are the Monitor and Screen sections of my xorg.conf file
Code:
Section "Monitor"

	#UseModes     "Modes0" #monitor0usemodes
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	DisplaySize  432	270
	HorizSync    30.0 - 86.0
	VertRefresh  56.0 - 76.0
	ModeLine     "1440x900" 106.5 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
	ModeLine     "1680x1050a" 125.1 1680 1776 1952 2224 1050 1051 1054 1082 -hsync +vsync
	ModeLine     "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
	Option	    "PreferredMode" "1680x1050"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes    "1680x1050" "1680x1050a" "1440x900" "1280x1024"
	EndSubSection
EndSection
I was reading up on the Xorg configuration file, but I do not know how I should set it up. Is there a manual for this somewhere on-line?
 
Old 05-24-2010, 02:05 PM   #8
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
man xorg.conf will get you the man page (I'm sure it's also online somewhere), but I've always found it a lot easier to start with a valid (if not viable) xorg.conf file and modify it until it works.
 
1 members found this post helpful.
Old 05-25-2010, 09:31 AM   #9
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Quote:
Originally Posted by TedCleggett View Post
There is not a switch -VV ???
type the exact command as it should appear on the command line for me please so I can get the data you want.
# is the shell prompt

#lspci -vv

lspci -vv > abc.txt (will put it in the file abc.txt)

Also you need to write a modern xorg.conf (not like the one indicated in the other posts) based on the log files in /var/log

Monitor identifiers should be from that file etc

Last edited by amani; 05-25-2010 at 09:33 AM.
 
Old 05-25-2010, 10:24 AM   #10
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
X as supplied by ubuntu 10.04 sometimes has trouble with reading a monitor's EDID.
The solution for me (to get 1920x1080) was to tell X to get the EDID data from the /proc filesystem.
Then it worked after restarting X

Here's the addition to xorg.conf
Code:
Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    Option         "Connected Monitor" "DFP-0"
    Option         "CustomEDID" "DFP-0: /proc/acpi/video/NGFX/LCD/EDID"
    SubSection     "Display"
        Modes      "1920x1080"
    EndSubSection
EndSection
Maybe this'll work for you.
 
1 members found this post helpful.
Old 05-25-2010, 11:47 PM   #11
TedCleggett
Member
 
Registered: Apr 2010
Posts: 33

Original Poster
Rep: Reputation: 16
OK, I have the system working now, thanks to everyone for there help.
This is what I had to do to get it working.

Step 1 - Stop X from running so I could modify the xorg.conf file and get EDID data.

# sudo /etc/init.d/gdm stop
# startx -- -logverbose 6

Step 2 - Open the Xorg.0.log file to read the EDID data (Modeline for Monitor)

# nano /var/log/Xorg.0.log

Step 3 - Edit xorg.conf file with "Modeline" data.

# nano /etc/X11/xorg.conf

****** Here is my Config Data *******

Section "Device"
Identifier "Configured Video Device"
Driver "ati"
EndSection

Section "Monitor"
Identifier "LG47LH30"
HorizSync 30.0 - 101.0
VertRefresh 59.0 - 160.0
Modeline "1920x1080" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Modeline "1600x1200" 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
Modeline "1280x720" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
Modeline "800x600" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
Modeline "720x400" 28.32 720 738 846 900 400 412 414 449 -hsync +vsync
Modeline "640x480" 25.18 640 656 752 800 480 490 492 525 -hsync -vsync

# Option "PreferredMode" "1280x720"

EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "LG47LH30"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1920x1080" "1600x1200" "1280x1024" "1280x720" "1024x768"
EndSubSection

EndSection


***************************

Step 4 - Run dpkg for X

# sudo dpkg-reconfigure xserver-xorg

Step 5 - test new xorg.conf file. If video resolution change it works. Type exit to go back to shell.

# sudo xinit -- :2


Step 6 - Restart gdm

# sudo /etc/init.d/gdm start


That's it!
Also, here are some links I found helpfull...
http://www.mythtv.org/wiki/Modeline_Database
http://ubuntuforums.org/showthread.php?t=83973 (How to change your Resolution)
http://www.x.org/archive/X11R6.8.0/d...f.5.html#toc12
 
1 members found this post helpful.
  


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
ubuntu 10.04, xandr can't change video resolution shambler Linux - Desktop 3 09-07-2012 01:43 PM
Resolution issue on Acer AL1916W running Ubuntu Xelopheris Linux - Software 6 06-03-2007 10:39 PM
Have a Dell Inspiron 1100 with slow video or 640x480 video resolution? Solution here! beatupbilly Fedora 3 05-11-2007 10:44 AM
resolution issue drifsen Linux - Software 1 05-02-2007 12:47 AM
resolution issue darklordzim Slackware 3 07-03-2004 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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