LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-02-2005, 09:30 PM   #1
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Rep: Reputation: 15
newbie--videocard cinfiguration


i just installed ubuntu, hoary hedgehog. but my screen resolution is at 640 x 480 and when i go to change it, that is the only option. are they're no drivers? or can i try a different driver? how?
 
Old 05-02-2005, 09:56 PM   #2
ripmaster
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
what kind of video card is it???
 
Old 05-02-2005, 10:06 PM   #3
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
Intel Springdale G Integrated Video
 
Old 05-02-2005, 10:19 PM   #4
Pudge
Member
 
Registered: Mar 2004
Distribution: Fedora Core 3, Arch Linux 0.7
Posts: 57

Rep: Reputation: 15
Ubuntu probably couldn't detect your monitor and configure it. Setting a vertical refresh rate higher than what your monitor can handle can physically damage your monitor. Since Ubuntu couldn't figure out what your monitor was, it chose a VERY safe configuration for it. They don't want to be responsible for damaging your monitor. That's what happened and why.

Now to fix it you have to manually configure your monitor and video card. Do the following:
sudo vi /etc/X11/xorg.conf
look for the following lines in xorg.conf

Code:
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Acer 7176ie"
        HorizSync    30.0 - 72.0
        VertRefresh  50.0 - 160.0
        Option      "dpms"
EndSection
These are the lines that config your monitor. you need to fill in the information for your monitor for the
Code:
HorizSync
VertRefresh
lines. DO NOT GUESS at this. You need to get this information from your monitor manual or from your monitor manufacturer. If you guess wrong, you can damage your monitor.

Next you need to look for these lines

Code:
Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
Again, you need to get this information from your monitor manual or from your monitor manufacturer. Depth refers to color depth in bits. 8 bits is usually referred to as 256 colors, 16 bits is usually referred to as thousands of colors, and 24 bits is usually referred to as millions of colors. You need to check your monitor's manual and fill in what resolutions your display supports for each color depth. DefaultDepth tells which color depth (in the above example 24 bit or millions of colors) is the default.

After manually configuring xorg.conf you should be able to select the resolution and color depth you want.

Hope this helps.

EDIT: Oh Yeah, after editing xorg.conf, you need to stop and restart the X server for the changes to take affect. The easiest way to to this is to reboot.

Pudge

Last edited by Pudge; 05-02-2005 at 10:41 PM.
 
Old 05-02-2005, 11:49 PM   #5
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
I had that same problem and I have an Nvidia GeForce 4 MX440 and I just came up around it by just changing all the depths on the /etc/X11/xorg.conf to 1024x768. You just need to make sure that your supports that so you don't blow it up.
 
Old 05-04-2005, 04:58 PM   #6
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
well, here's what the section you described looks like without any editing

Code:
Section "Monitor"
	Identifier	"Visual Sensa"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation 82865G Integrated Graphics Device"
	Monitor		"Visual Sensa"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"

Last edited by surban99; 05-04-2005 at 04:59 PM.
 
Old 05-04-2005, 08:18 PM   #7
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
My Xorg Putout after some Editing

I added the HorizSync and VertRefresh, they weren't on by default. And of course the nvidia for the driver instead of the default nv.

Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "DELL E171FPb"
Option "DPMS"
HorizSync 31-80
VertRefresh 56-76
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Monitor "DELL E171FPb"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSectionSection "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection

This my layout:

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

#Section "DRI"
# Mode 0666
#EndSection

I have omitted dri module as well as the section along with the mode and section end. Take a look:

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
# Load "int10"
# Load "record"
Load "type1"
Load "vbe"
EndSection

I have an nvidia card and it used to crash with X on Kubuntu and SuSE as well as Mandriva/Mandrake and Fedora Core. Make sure that you have your mouse right as well. For example i have a serial mouse and on Mandrake Mandriva it was under /dev/mouseman but i changed it to ttyS0 and that made my X load nice and clean.

Last edited by webterractive; 05-04-2005 at 08:19 PM.
 
Old 05-04-2005, 08:52 PM   #8
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
adding the horizontal and vertical refresh did the trick.

thanks, this forum never ceases to amaze me
 
  


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
videocard problem. xhliu Linux - Hardware 0 06-10-2005 10:49 PM
Slackware 9.0, old laptop, cinfiguration problems!! davec Linux - Newbie 3 05-07-2004 10:50 AM
New videocard, no linux. Astropicachu Linux - Hardware 5 05-19-2003 12:06 PM
reversing videocard lackluster Linux - Hardware 1 11-16-2002 02:58 PM
could be monitor/videocard/something else AtomiCTheGr8 Linux - Hardware 1 08-09-2002 05:07 AM

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

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