LinuxQuestions.org
Review your favorite Linux distribution.
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 02-14-2007, 09:56 AM   #1
The_Neon_Knight
Member
 
Registered: Dec 2006
Posts: 52

Rep: Reputation: 15
Ubuntu doesn't like graphics cards.


Right, I'm having this problem where Ubuntu doesn't like booting with a graphics card plugged in. It works fine using the onboard, however with the 3 different graphics cards I've tried it complains about something not being set up correctly.

Does anybody here know how I can get Ubuntu to display through a graphics card? Thanks in advance.

You've probably heard countless 'noobs' asking about this and I'm sorry if this question is common here.
 
Old 02-14-2007, 01:28 PM   #2
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Since most PC's are different in their hardware capabilities and/or allowances, one will need more info to try to help. IOW, it doesn't sound like a problem with Ubuntu, but rather, with hardware settings. Some PC's will allow an 'accessory' video card to simply be plugged in or even multiple displays to be used simultaneously without much effort. Some require the user to adjust settings in BIOS, and some require jumpers to be changed on either the MB or the video card (NOT recommended, unless you are experienced with such!). And with some, it just might not work at all. The main questions are:

What type of PC are you using? (brand, model, age, CPU type & speed, BIOS type & version, and type of onboard video are all relevant.)

What type(s) of video card(s) are you trying to install?

Did that particular setup work properly under a different OS (Windows, another Linux distro, etc.)?

Just out of personal curiosity, since Ubuntu works properly with the onboard video, is there a reason why you need to install a card?

Last edited by DragonSlayer48DX; 02-14-2007 at 02:51 PM.
 
Old 02-15-2007, 06:23 AM   #3
The_Neon_Knight
Member
 
Registered: Dec 2006
Posts: 52

Original Poster
Rep: Reputation: 15
Right.


I'm SURE it's a problem with ubuntu because it displays perfectly fine in windows, just pluf it in and it works.

But when I try to boot into Ubuntu, it complains about something not being set up correctly.


Okay, here are my specs:


Intel Celeron CPU 2.93 ghz

512 mb RAM.

It's a fujitsu Siemens (not sure which model, but doesn't have the original motherboard, or graphics card).


I've tried it with 2 different motherboards, the one I have now:

ASrock p4i65G
socket 478,
Intel 865 Chipset
1 x AGP 8X expansion slot.
The instruction manual says this about the BIOS:
-4MB AMI BIOS
-AMI legal BIOS
-Supports "Plug and play"
-ACPI 1.1 Compliance Wake Up Events
-Supports jumperfree
-SMBIOS 2.3.1 Support
Integrated Intel extreme Graphics 2.
-Direct X 8.0 VGA
-Max shared memory 96mb.

And the one that came with my PC: (which I don't know much about)

Socket 478,
PCI expansion slot.
PhoenixBIOS.


The graphicss cards I tried:

ATI radeon 9550 256 MB (AGP)
Nvidia Geforce FX 5200 256 MB (PCI)
Nvidia Geforce FX 5500 128 MB (PCI)


That's all I know about it. But I've tried it with 2 different motherboards and 3 different graphics cards, all of which worked fine with windows, but Ubuntu just didn't like displaying through them.

And I need to install a card, because I use my PC for alot of gaming, and it's a huge hassle having to disable the AGP slot in the BIOS each time I want to boot into Ubuntu. (Also, trying to get games to run in Ubuntu sounds interesting. as I've never done that before).


oh, and the PC is a few years old.

Last edited by The_Neon_Knight; 02-15-2007 at 06:26 AM.
 
Old 02-15-2007, 06:52 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
But when I try to boot into Ubuntu, it complains about something not being set up correctly.
We need something a bit more specific here---what exactly is the error message?

When you try different cards, what are you doing to change the driver specified in xorg.conf?
Have you tried setting the video driver to something generic--like vesa?
What is the driver now?

For each of the cards you are trying, have you checked their webiste to see what they say about Linux drivers?
 
Old 02-15-2007, 06:54 AM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Most people think the nvidia drivers are better on Linux than ATI's. You will need to install the drivers. On Windows, they sent you a disk with Windows drivers on it. It did not just happen by itself.

Google "Ubuntu nvidia"
 
Old 02-15-2007, 06:58 AM   #6
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
As I said, some will allow a card to simply be plugged in, that's why I needed to know what you were installing and if it worked with Windows.

I'm not sure about Ubuntu's support for AGP-type cards, but for Nvidia PCI cards, you'll need to visit their website and follow the instructions to download and install their own Linux driver.

http://www.nvidia.com/content/drivers/drivers.asp

As far as gaming in Ubuntu, Wine (free) works with a few Windows-based games (mostly non-DirectX). For the higher-end, graphics-intensive games, there's Cedega (non-free).

Good luck!

Bill
 
Old 02-15-2007, 06:59 AM   #7
The_Neon_Knight
Member
 
Registered: Dec 2006
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rickh
Most people think the nvidia drivers are better on Linux than ATI's. You will need to install the drivers. On Windows, they sent you a disk with Windows drivers on it. It did not just happen by itself.
Well, it didn't need the drivers to display through it. I plugged the graphics card in and it displayed through it. Booted into windows. That's all there was to it. Of course, I needed to install the drivers to get it to display higher then 800/600 res, but it did happen by itself.
 
Old 02-15-2007, 07:02 AM   #8
The_Neon_Knight
Member
 
Registered: Dec 2006
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pixellany
We need something a bit more specific here---what exactly is the error message?

When you try different cards, what are you doing to change the driver specified in xorg.conf?
Have you tried setting the video driver to something generic--like vesa?
What is the driver now?

For each of the cards you are trying, have you checked their webiste to see what they say about Linux drivers?


I'm terribly sorry but I don't actually know how to do any of that...



Oh, and does Ubuntu count as Linux x86 or Linux x86_64?

Last edited by The_Neon_Knight; 02-15-2007 at 07:04 AM.
 
Old 02-15-2007, 07:17 AM   #9
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by The_Neon_Knight


Oh, and does Ubuntu count as Linux x86 or Linux x86_64?

They have both x86 and x86_64 (64-bit) versions. You need to know which one you installed...

Edited to add: Looking back on your previous post and noting your PC is "a few years old", it's most likely x86.

Last edited by DragonSlayer48DX; 02-15-2007 at 07:23 AM.
 
Old 02-15-2007, 07:36 AM   #10
The_Neon_Knight
Member
 
Registered: Dec 2006
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dragonslayer48dx
They have both x86 and x86_64 (64-bit) versions. You need to know which one you installed...

Edited to add: Looking back on your previous post and noting your PC is "a few years old", it's most likely x86.
My computer is a few years old, but I ordered my Ubuntu Live CD about a year ago...

Anyway, here's exactly what it says:

Code:
Failed to start the X server (your graphical interface). 
It is likely that it is not set up correctly. 
Would you like to view the X server output to diagnose the problem?

<Yes>            <No>
If I select Yes:

Code:
X window system version 7.0.0
Release date: 21 december 2005
X protocol version 11, revision 0, release 7.0
Build operating system: Linux 2.6.12 i686
Current Operating System: Linux ComputerOfDoooooom 2.6.15-23-386 #1
Build Date: 16 March 2006
   Before reporting problems, check http://wiki.x.org 
   to make sure that you have the latest version.Module Loader present.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command like, (!!) notice, (II) informational, (WW) warning, 
(EE) error, (NI) not implemented, (??) unknown.

(==) log file: "/var/log/Xorg.0.log",
   Time: Thu Feb 15 13:41:02 2007
(==) using config file: "/etc/X11/Xorg.conf"
There.

Any ideas/suggestion? Please remember I'm still somewhat of a "noob" to Linux, so if you could explain step by step what you mean, I would much appreciate it.

Last edited by The_Neon_Knight; 02-15-2007 at 08:14 AM.
 
Old 02-15-2007, 08:15 AM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
almost certainly, it is not finding the right driver for the card(s)--or some other setting is wrong.

The settings are in /etc/X11/xorg.conf
Find sections that looks like this:
Code:
Section "Device"
  Identifier  "Card0"
  Driver "radeon"
  BoardName "unknown"
and
Code:
Section "Monitor"
  Identifier "Monitor0"
  VendorName "Sony"
  ModelName "CPD-G400"
  Option "DPMS" "true"
  HorizSync    30.0 - 107.0 # Warning: This may fry old Monitors
  VertRefresh  48.0 - 120.0 # Very conservative. May flicker.
and
Code:
Section "Screen"
  Identifier "Screen0"
  Device "Card0"
  Monitor "Monitor0"
  DefaultColorDepth 16
 <some snipped>
  SubSection "Display"
  Depth 24
  Modes "1280x1024" "1024x768"
  EndSubSection
  SubSection "Display"
  Depth 32
  Modes "1280x1024" "1024x768"
  EndSubSection
The "Screen" section tells the system to use "Monitor 0" and "Card 0". Card 0, in turn, calls for the radeon driver.

For starters, tell us what video driver is specified.
 
Old 02-15-2007, 08:47 AM   #12
The_Neon_Knight
Member
 
Registered: Dec 2006
Posts: 52

Original Poster
Rep: Reputation: 15
Code:
Section "device"
         Identifier         "Intel Corporation 82845G/GL [Brookdale-G]/GE Chipset Integrated Graphics Device"
         Driver             "i810"
         BusID              "PCI:0:2:0"
Endsection

Section "Monitor"
         Identifier         "CY-465"
         Option             "DPMS"
Endsection

Section "screen"
         Identifier         "default screen"
         Device             "Intel Corporation 82845G/GL [Brookdale-G]/GE Chipset Integrated Graphics Device"
         Monitor            "CY-465"
         Default Depth      24
         SubSection "display"
                 Depth            1
                 Modes            "1024x768" "832x624" "800x600" "720x400" "640x480"
         End Subsection         
         SubSection "display"
                 Depth            4
                 Modes            "1024x768" "832x624" "800x600" "720x400" "640x480"
         End Subsection         
         SubSection "display"
                 Depth            8
                 Modes            "1024x768" "832x624" "800x600" "720x400" "640x480"
         End Subsection         
         SubSection "display"
                 Depth            15
                 Modes            "1024x768" "832x624" "800x600" "720x400" "640x480"
         End Subsection         
         SubSection "display"
                 Depth            16
                 Modes            "1024x768" "832x624" "800x600" "720x400" "640x480"
         End Subsection         
         SubSection "display"
                 Depth            24
                 Modes            "1024x768" "832x624" "800x600" "720x400" "640x480"
         End Subsection
End Section.
Am I wrong, but shouldn't it be describing my Radeon instead of the onboard video?

After the error message about the graphics it goes to the command line. It's displaying through my radeon, but it can only get to the command line. That's how I managed to do this.

Last edited by The_Neon_Knight; 02-15-2007 at 09:01 AM.
 
Old 02-15-2007, 08:55 AM   #13
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
It is going to point to whatever you tell it...

In the device section, you have to specify the driver to use.

In the screen section, you specify which device to use.

Have you checked the websites to see what Linux drivers are available for your card(s)?

Last edited by pixellany; 02-15-2007 at 08:56 AM.
 
Old 02-15-2007, 09:03 AM   #14
The_Neon_Knight
Member
 
Registered: Dec 2006
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pixellany
It is going to point to whatever you tell it...

In the device section, you have to specify the driver to use.

In the screen section, you specify which device to use.

Have you checked the websites to see what Linux drivers are available for your card(s)?
In the device section, I have to specify which driver to use.
So, which part do I change, and what do I change it to? (same for screen section).

I have checked the website, but as I am still unsure as to whether I am using x86 or x86_64 I don't know which to download.


Code:
Section "device"
         Identifier         "Intel Corporation 82845G/GL [Brookdale-G]/GE Chipset Integrated Graphics Device"
         Driver             "radeon"
         BusID              "PCI:0:2:0"
Endsection
would this work?

Last edited by The_Neon_Knight; 02-15-2007 at 09:05 AM.
 
Old 02-15-2007, 09:18 AM   #15
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Do you have a 64-bit machine? If you don't know, then you probably don't. For a 32-bit machine, get the x86 version of the driver.

Actually, I think you need a device section for the card---the one that is there seems to be for the on-board video. I am unsure as to how to setup the device file to point to the card--note that yours has a PCI line, where my example does not.

In the device section, you have to specify the correct driver AND that driver needs to be in /lib/modules

You can search for the driver like so (using radeon as example):
find /lib/modules -name "radeon*" the "*" allows it to find something like "radeon.ko"

For more on the config file: man xorg.conf
 
  


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
DISCUSSION: Ubuntu Guide To Installing Wireless Cards (CARDS: PCMCIA RT2500 54mbit, Siemens Gigaset 108 USB Adapter). apinta10 LinuxAnswers Discussion 6 09-16-2007 01:05 AM
LXer: Xi Graphics, Inc. Releases Graphics Drivers for ATI FireMV Cards LXer Syndicated Linux News 0 09-27-2006 09:54 PM
graphics cards pimpmania Linux - General 1 01-23-2006 05:49 PM
Intel Graphics cards filtecuk Mandriva 1 03-26-2005 05:03 AM
changing graphics cards bm1 Slackware 1 01-14-2004 11:20 PM

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

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