Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

X won't start ATI Rage on Dell Latitude C600

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
SxN
Apprentice
Apprentice
Posts: 165
Joined: Mon Jan 08, 2007 10:34 pm
Location: Toronto, ON, Canada

X won't start ATI Rage on Dell Latitude C600

  • Quote

Post by SxN » Mon Jan 08, 2007 11:17 pm

Hi All,

I installed Gentoo on a Dell Latitude C600 laptop (kernel 2.6.18-hardened), and am trying to put a GUI (KDE).

My graphic card:

Code: Select all

# lspci | grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility M3 AGP 2x (rev 02)
I gathered from somewhere that to use it, incl. 3d acceleration, I need the r128 module.
I built it, and autoload it, as it is confirmed by a nice green star, as well as by the second line of

Code: Select all

# dmesg | grep 128
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
[drm] Initialized r128 2.5.0 20030725 on minor 0
In /etc/X11/xorg.conf I have a section:

Code: Select all

Section "Device"
        Identifier      "ATI|Rage Mobility M3 AGP 2x"
        Driver          "r128"
        BoardName  "ati"
        VideoRam     8192
        Option         "EnablePageFlip" "true"
        Option         "AGPFastWrite" "true"
        Option         "AGPMode" "2"
EndSection
Still, when I launch X, I fail:

Code: Select all

# startx
...
(EE) Failed to load module "r128" (module does not exist, 0)
"Module does not exist" puzzles me... It's there!

Code: Select all

# lsmod
Module            Size  Used by
...
r128            37781  0
drm             59327  1 r128
agpgart       25060  1 drm
and so are its dependencies.

Everything is very new version (latest or second-latest).

I'm lost. What should I try?

Thanks for your advice
SxN
Top
Katphish
Apprentice
Apprentice
Posts: 155
Joined: Mon Dec 05, 2005 9:08 pm

  • Quote

Post by Katphish » Tue Jan 09, 2007 2:27 am

Did you build xorg-server with r128 support?
Top
SxN
Apprentice
Apprentice
Posts: 165
Joined: Mon Jan 08, 2007 10:34 pm
Location: Toronto, ON, Canada

  • Quote

Post by SxN » Tue Jan 09, 2007 3:45 am

Thanks for your answer, Katphish.

I think/hope so. I did

Code: Select all

# VIDEO_CARDS=r128 emerge xorg-x11
# env-update
# source /etc/profile
(and don't recall if r128 was between double-quotes or not - I followed instructions on internet)
I also had included VIDEO_CARDS="r128" in /etc/make.conf.

SxN
Top
Katphish
Apprentice
Apprentice
Posts: 155
Joined: Mon Dec 05, 2005 9:08 pm

  • Quote

Post by Katphish » Tue Jan 09, 2007 4:08 am

Yeah, that should pretty much do it.

What does

Code: Select all

ls -l /usr/lib/xorg/modules/drivers
show?

You don't need to load the DRM module manually. It should get installed when X asks for it.

I would switch the r128 to ati in /etc/X11/xorg.conf as ati is a wrapper and will pick the right driver.

If that fails, I would let Xorg autodetect everything and tweak from there:

Code: Select all

Xorg -configure
I would change InputDevice Device line for the mouse to "/dev/input/mice" and test the xorg.conf.
Top
SxN
Apprentice
Apprentice
Posts: 165
Joined: Mon Jan 08, 2007 10:34 pm
Location: Toronto, ON, Canada

  • Quote

Post by SxN » Tue Jan 09, 2007 4:01 pm

Hello,

1) The drivers directoy wasn't there, so I created it, and put inside a symlink to /lib/modules/2.6.10-hardened/x11-drm/r128.ko
2) I was autoloading r128; that in turn loaded drm. Should I take r128 out of /etc/modules.autoload.d/kernel-2.6?
3) I changed xorg.conf as suggested: ati instead of r128, mice instead of psaux. But how do I build the ati module? r128 was build when I configured the kernel, but I can't find there something for ati.
4) Without the ati module (but with the updated xorg.conf), I tried Xorg -configure. I blows up immediately and shows a backtrace in 8 steps: a library function call that performs a library function call that performs... and then "Fatal server error:\n Caught signal 11."

I suppose that I should focus on building ati. How do I start?

Thanks,
SxN
Top
Katphish
Apprentice
Apprentice
Posts: 155
Joined: Mon Dec 05, 2005 9:08 pm

  • Quote

Post by Katphish » Wed Jan 10, 2007 5:10 am

1) these are apples and oranges. r128.ko is the kernel driver, the xorg driver directory is for X. The r128 that is supposed to be in the xorg folder comes from x11-drivers/xf86-video-ati-6.6.3. Do you have this emerged?

2) It is a matter of taste.

3) you are missing the above ebuild or it is damaged. Double check you have the above installed with dri enabled. I prefer mice over psaux as I use a USB mouse and the trackpad and can use both with minimal fuss with the mice setup.

4) Xorg -configure does not use any configuration file. It autodetects what hardware it can and uses logical guesses for the other and produces a test configuration. It instructs you in how to test this config file.

To get the ati drivers, emerge x11-drivers/xf86-video-ati-6.6.3 with dri USEFLAG enabled.

Good Luck
Top
SxN
Apprentice
Apprentice
Posts: 165
Joined: Mon Jan 08, 2007 10:34 pm
Location: Toronto, ON, Canada

  • Quote

Post by SxN » Wed Jan 10, 2007 4:39 pm

Hooray... problem solved (don't know how to mark it in the subject line)

The missing element was the right r128 driver. When I read the instructions on how to set up, I may have missed the reference to it.

Anyway, thanks a lot!

SxN
Top
Post Reply

7 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic