linux on state of the art computers?

hans007

Lifer
Feb 1, 2000
20,212
18
81
Hi, i'm trying to install linux on a basically state of the art computer.


the motherboard is a btx intel 945g one, and well it doesnt detect the onboard 945g video, 10/100 onboard intel 82562 lan and the azalia audio. its got a sata raptor (thank god that was auto detected) and 1gbddr2 and some other stuff. anyway...i fixed the video issue by well, sticking a radeon x300se in there, and the lan issue by using an old 10/100 3com 3c905tx, but has anyone gotten the onboard stuff to work?

i've read that people have had trouble getting the gma 900/950 in the 915/945g chipsets to work.

anyway, i'm a newb at actually configuring linux (i have used it and unix before several times, but im not really good with the hardware installs and installing drivers and such). oh i'm running ubuntu 5.04

anyhow any help would be appreciated. i work in the software industry for a large well windows software maker, but fear the changes vista will put into place. i hope linux will work for me.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
What do you mean it didn't detect the onboard video? :confused: Video should work with just about any PCI/AGP/PCIe video card...

Are you shure about the lan? Searching for 82262 gives no results on intel.com.
 

hans007

Lifer
Feb 1, 2000
20,212
18
81
Originally posted by: n0cmonkey
What do you mean it didn't detect the onboard video? :confused: Video should work with just about any PCI/AGP/PCIe video card...

Are you shure about the lan? Searching for 82262 gives no results on intel.com.


my mistake its the 82562. its the newer version. when i meant it wont detect the video, it detects it as intel something video but there is no driver so it cant start X.org. when i went to the gnome device manager type thing, with the ati card, it shows the video, network and sound there, as "onboard devices" but i guess there is no driver for them in the kernel.

i think there is a driver out for the 82562 (i think they use it in the pro10/100 ve card) and i have the tarball for it. the instructions say to just unpack it. my question is will this automatically make linux detect it or would there be more involved.

i had heard ubuntu had good hardware support, thats why i got it. but the 945g is well pretty much state of the art.

anyway ive got it working with the a 3com nic and the ati card, its more technical curiosity for me to get the onboard stuff to work. i did install this just to learn it.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Linux will end up working well with all of Intel's stuff. Intel is actually quite involved (compared to some other companies) in making sure that Linux at least works with it's stuff.

Of course the trouble is is that since it's all brand new stuff nobody was able to test it for the latest release of Ubuntu.

For the drivers.. you probably need to edit your /etc/X11/xorg.conf file.

That is the file that controls the behavior of X and were you keep the settings for the drivers and such. Before editing the file make a copy of it.. if you mess it up then you can simple copy the original back over it and have everything back to were it was before you started editing it.

The file is divided up into sections... in the Section "Device" there is a description of the video card there is a line that looks something like this:
Driver "something"

if there is a line about "Busid" or whatnot then go ahead and comment that out by putting a # before it. Don't have to worry about the name of it and such like that.

Depending on how new version of X.org Ubuntu has the drivers you want to try are "i915", "i830", "i810", then "vesa" in that order.

i915 is the newer driver that is desgined to work with all Intel nic cards from the GMA950 to the older 'blaster extreme' stuff. The i830 and the i810 are older ones, but I think that they should work just fine with the GMA stuff minus 3d acceleration.

Vesa is a video standards originization and that driver is absolutely generic and should work with all video cards no matter what.

Go online and search around for xorg.conf and intel video and you should find a few sample xorg.conf files to work off of.

A better way is maybe to use the tools aviable to help you configure the Xorg.conf file. (make a backup of the xorg.conf file first)
If you don't want to edit the file manually or simply want to use a tool to reconfigure your video card... try this command:

sudo dpkg-reconfigure xserver-xorg

(after removing the ati card and booting up into the command line)
(also it would be handy to have the vertical and horizontal sync ranges for your monitor written down somewere)

If your lucky you may be able to get 3d acceleration working, too.

and that should work. It's the debian way of doing things, but it should work in Ubuntu Hoary, too. If your using a older version of Ubuntu it would be easier to upgrade.

I am pretty sure that full GMA900/950 support should be aviable by the next release.
 

hans007

Lifer
Feb 1, 2000
20,212
18
81
well thanks for telling me about the sudo dpkg-reconfigure xserver-org command.

the last time i used linux i just used XConfig, which apparenlty doesnt work the same here. or i was probably doing it wrong before too. i tried something called xorgconfig in /usr/X11R6, ... lets say that didnt work.

i did discover that theres no i915 driver, the i810 didn't work either, apparently i945 is not supported in x.org 6.8.2

i used vesa and that worked. well at least something worked.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
hrm.

I know that GMA 900 support will be in 6.8.2.. not sure about GMA950, but the difference between the chipsets are very minimal. Also kernel 2.6.12.x has drm support for 915.

Note that this comes from my experiances with Debian.

If you feel like getting adventerous you can try checking out the drivers from http://dri.freedesktop.org/wiki/

If you install the updated drivers and upgrade to kernel 2.6.12.x you should be able to get full, or at least better support for your hardware.

For the drivers from dri and such make sure that your system is completely up to date before installing them. They will overwrite some files provided by the package management. If you upgrade the X.org stuff you may end up with some of your specially installed files being written over.. then you just have to update your cvs snapshot and reinstall.

The hard part is figuring it out the first time, after that and you've done it a couple times then it's pretty simple.

For the kernel see if Ubuntu has a 2.6.12 series kernel aviable for you to download and install, this is the easiest way. You can install the kernel in the generic way with the make install stuff, but Debian has some clever ways to make a custom kernel package and keep track of it thru normal package management.

If you want to build your own kernel the easiest way to do the config is copy the old config that your distro currently to /usr/src/linux-blahlbah/.config in your linux kernel source tree and run 'make clean && make oldconfig' command.

This will configure the kernel sources to match as closely as possible to the current kernel configuration, then you can go into there and run 'make menuconfig' to more easily customize the kernel and any new features that you want. To backup your custom config then you can use the one provided by the make menu stuff or copy the updated .config out of your kernel source tree.

It's easiest to try to match the original configuration (except for the changes you want, of course) provided by your distro since various tools and init scripts will expect to be able to use certain modules and such. There are nice things like "module-assistant" that are provided to install and maintain non-kernel defualt included drivers.

If you want to build a custom deb kernel package check out "kernel compiling" section at http://newbiedoc.sourceforge.net/ (newbie information for debian)

If you compile it and install it the generic linux way (or if the automated tools fail to do it), then you still may want to have a initrd image aviable for when you boot up and such. (since usually stuff like file system support is compiled as modules by default, although you can change that). The command would be something like:

mkinitrd -o /boot/initrd-2.6.12.whatever 2.6.12.whatever
(mkinitrd -o /path/to/initrdname kernel-version)

Note that you have to use absolute paths from / otherwise the mkinitrd script will goof up.

I am almost certain that CVS from DRI has support for GMA950.. I know that GMA900 will be supported by the next X.org release.. it unfortunately barely missed inclusion into the current version that Ubuntu uses.

I've had a intel 845gm-based laptop in the past and have install DRI cvs drivers for that. They provided increase in performance and stability (and that was a while ago), so I am working off of that information. But I don't expect that GMA9x0 will be that much different.

Here is the Linux graphics support page for intel, http://support.intel.com/support/graphics/sb/CS-010512.htm

Keep in mind, however, that it's very redhat-specific (like for example telling /etc/inittab to use runlevel 3 by default will turn off the graphical login stuff to make installing X drivers easier) and the driver itself is just a snapshot from dri sources.

Also I think that updating the kernel is not strictly nessicary for full support.. I think the cvs snapshots will have the code for compiling kernel DRM modules in them. But I think updating the kernel is a good idea.

here is the basic instructions for building dri support from cvs:
http://dri.freedesktop.org/wiki/Building


It's a bit of a pain in the rear and you may have to install a few extra -dev packages from ubuntu to get everything compiled properly and whatnot. But you wanted to learn some nitty-gritty detail stuff and this is about as nitty-gritty as it gets. ;)

edit:
maybe you just have to update the kernel and use the 810 drivers with the 915_drm kernel module. Not sure. (unfortunately I don't have one of these motherboards to play around with myself. :( )
 

hans007

Lifer
Feb 1, 2000
20,212
18
81
i really appreciate your help, thats a lot of typing and effort. ive been installing linux every year since 1999, but i really do think i will try to switch over this time just the computer i'm using is well ... probably too new.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
I don't got anything realy better to do right now. (it's very slow at work tonight)

But if it's any consolidation to you the next release (Breezy) of Ubuntu will be out sometime in October.

If you want you can upgrade to it now, just as long as you keep in mind that it's under developement and some things will be broken.

That way you can get the latest hardware support that Linux offers, plus you get to play around with the newest eye candy and beagle and stuff like that.

Also at ubuntu forums I expect that developers or at least the people that hang out there wouldn't mind helping out getting everything working since undoubtedly more people are going to use that configuration with Ubuntu in the future.

edit:
I did some searching thru ubuntu's forums and this guy posted customized X packages for getting support for GMA 950 in Hoary. Maybe check these out...
http://www-users.cs.umn.edu/~sdier/index.php