Vehemently Vitriolic

Another moron ranting

Fun with ASUS P5GC-MX

November 22, 2007 Nerd | Comments (2) T @ 1:14 pm

UPDATE: After a couple months of fighting tooth and nail with my video card, I gave up and bought a super cheap PCI-E nVidia-based card. The problem with the onboard is it just refused to be probed properly. Which meant every time the resolution changed, or the screensaver came on, or the monitor was turned off, it would come back on with two inched of black space on the left and an inch on the right. To remedy this every friggin’ time the monitor was turned back on, I would have to go in to the KDE control panel, change the reoslution to something smaller, save it, then change back to 1680×1050, then, while saving, hold in the “Auto” button on the LCD, and about 60% of the time, the resolution would change properly. The other 40% of the time, I would repeat the process for 10- or 15-minutes. With the 7200GS and the help of Envy, the card was auto-probed and I have yet to have this problem come back. Long story short: If you’re using Linux with this mobo and a widescreen LCD, save yourself the headache and don’t bother with the onboard video and just get a PCI-E card.

My last post was about A-Power and the great power-supply adventure. Turns out, the power supply was not the problem. Turns out, theres something motherboard-related that was toasting these things. So after three power supplies, it was time for a change.

Its been literally 5-years since I had a brand new machine. I have parts up the wazoo from building new machines for clients and cobbling myself a machine from their older parts (building a new 2.4GHz dual-core because the old 2.2GHz single-core is “too slow”), and finally I had run out of enough parts. I had parts, but needed small things like RAM DIMMs, but the old old nature of most of the junk means that not only were parts hard to find, they were expensive. So, despite not having the funds, I decided to build a new one.

Off to A-Power and bought the parts, put it all together and started installing Kubuntu 7.0.4. All went well….except for minor things like the LAN, on-board video card and sound. Other than that all was well.

The motherboard is a P5GC-MX and has a 7.1 sound chip, an Intel 82945G/GZ graphics processor and a gigabit ethernet. ALL of which does not work with the stock install of Ubuntu/Kubuntu 7 (Feisty). After three hours or so of googling, I finally got everything working so I thought I would post everything here if someone stumbles across this (or, more likely, I have to re-do everything and forgot what I did).

First and foremost….DO NOT USE THE CD. It sucks. It breaks a LOT of stuff (like ALSA and Xorg). There is a nice folder called “LinuxDrivers” on the CD. Make a coaster from this, its useless.

LAN
Different versions of this motherboard apparently use different Attansic chipsets. The most recent is the Attansic L2 chipset, which is what mine had. ASUS has released a static driver for it, but have said they will not patch against the kernel, so you’re stuck with this. There is, of course, a FOSS implementation for L1 that has been put into the kernel tree for 2.6.19, but the L2 remains elusive.

Without a LAN, any updates and such were a no-go. Luckily, I found this thread where the guy puts in the compiled driver. I hate signing up for crap, so I used BugMeNot to get it, and assuming you hate it too, here it is: AttansicL2 Kernel Module

Simply put it in /lib/modules/`uname -r`/kernel/drivers/net/atl.ko then insert it with insmod /lib/modules/`uname -r`/kernel/drivers/net/atl.ko all as root

To have this restart at boot-time, first backup your rc.local in /etc. Then add the insmod line above “exit 0” and save.

You should now see the little LAN indicator in the KDE tray whir to life and get online. One down, two to go.

Sound
This was a major pain, mostly becuase I used the CD, which broke libasound.so.2 (actually, it removed it completely) so ALSA would not start at all. Yours may actually work out of the box, but I screwed with the CD before trying, so try your sound first and make sure it works. Take a look at the first reply here (yes its for a laptop, but its the same chipset) and add options snd-hda-intel model=ref to /etc/modprobe.d/alsa-base.

Worked great for me (one I re-built libasound2, alsa-base, alsa-utils and alsa-oss for added flavour). Restart ALSA and check the levels in alsamixer or the KDE mixer sound app thinger.

Video
Another MASSIVE pain. I have gorgeous HP w2207 LCD screens, but for whatever reason, something does not probe these things properly. I am not even remotely Linux-savvy enough to know which part, but this Intel chip, and older nVidia (from the box that blew up), or X all will see only 640×480. Even after manually editing my xorg.conf file, it just refused to go any higher (or caused X to tank completely). Even if your video is working, it may not be using GL (which it can do, quite well as I found out) using the MesaGL package.

Mine was using the i810 driver, but wasn’t reporting the card properly. Some more googling around, and I installed xserver-xorg-video-intel

Restarted X, and bingo, I could change the video modes properly, though I still had to ram through the resolution manually in the xorg.conf file (though, I am told xorg seems to give precidence to whatever it probes over manual entries, which seems kind of….dumb frankly. If I put them in there, I must have a reason. But anyway, I certainly am not going to question the xorg guys/gals)

So there you go. Save yourself some time. After you get everything going, I made sure MesaGL was installed (it wasn’t) and tried out Urban Terror. Worked great. Its no where near as fast as the nVidia was at 1680×105, but what do you want for onboard?

  • November 2007
    M T W T F S S
        Dec »
     1234
    567891011
    12131415161718
    19202122232425
    2627282930  
  • Categories

    • Hypochondria
    • Nerd
    • Rant
    • stupid
    • Supoibe
    • Trips
    • Uncategorized
  • Archives

    • September 2009
    • June 2009
    • May 2009
    • October 2008
    • August 2008
    • July 2008
    • May 2008
    • April 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
  • Tags

    82801G 82945G a-power a-power.com a30 apower ASUS Attansic carpet tacks cavities crackheads dell sucks dell sucks badly Dentistry Dr Elkford eagle ridge fdos fecal matter fillings fof frets on fire guitar hero ubuntu home depot sucks hospital house flipping insomnia laptop massive podiacal trauma P5GC P5GC-MX powermac g4 radeon 9000 rational female brain syndrome rfbs rice is a privilege not a right sawtooth spitz stupid top gear uncle bens sucks whore wolverines

Copyright © Vehemently Vitriolic. Made free by Romow Online Advertising and Sydney SEO.