LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-13-2005, 03:23 AM   #1
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Rep: Reputation: 15
RR4 - Gentoo based plus Radeon 9550 errors


Hi all! Nice to post here again.

Unfortunately, with my new RR4 linux system, my video card does not work properly with the drivers included with RR4. So I decided to install the official ATI proprietary drivers from their website using the installer, and also did "emerge ati-drivers" and "emerge ati-drivers-extra" or something to that effect, and I think I now have two conflicting versions of the kernel module installed on my system, probably not to mention the original driver that came with the distro.

I'm running a 2.6.14-archck4-nosmp kernel on RR4 right now.

Not to mention, the agpgart module cannot be loaded on my RR4 install. Is it not included with RR4 by default? And how do I get it to be installed? Anyway, here's some logs:

Also, I get the following errors when I try to use 3d accel:

(from my Xorg.0.log file)

Quote:
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: drmOpenMinor returns 6
drmOpenByBusid: drmGetBusid reports
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
* And a bunch more where that came from!

drmGetBusid returned ''
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xf9929000
(II) fglrx(0): [drm] mapped SAREA 0xf9929000 to 0xb7e09000
(II) fglrx(0): [drm] framebuffer handle = 0xc0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.18.8
(II) fglrx(0): Date: Oct 25 2005
(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(WW) fglrx(0): Kernel Module version does *not* match driver.
(EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xf9929000 at 0xb7e09000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
* I realize this is a typical error with some people, but I'm getting it though!
(II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x08000000
(II) fglrx(0): FBMM initialized for area (0,0)-(1024,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1024,768) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(==) fglrx(0): Using hardware cursor (scanline 768)
(II) fglrx(0): Largest offscreen area available: 1024 x 7419
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid Horizontal and Vertical Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): Direct rendering disabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(==) RandR enabled
(II) Setting vga for screen 0.
(from my lspci)

Quote:
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8374 P4X400 Host Controller/AGP Bridge (rev 03)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
0000:00:08.0 Multimedia controller: Pinnacle Systems Inc.: Unknown device bede
0000:00:08.1 FireWire (IEEE 1394): Pinnacle Systems Inc.: Unknown device 0015
0000:00:0a.0 USB Controller: NEC Corporation USB (rev 41)
0000:00:0a.1 USB Controller: NEC Corporation USB (rev 41)
0000:00:0a.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
0000:00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
0000:00:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 06)
0000:00:0c.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:0c.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:0c.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
0000:00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550]
0000:01:00.1 Display controller: ATI Technologies Inc RV350 ?? [Radeon 9550] (Secondary)
(from my dmesg)

Quote:
[4294748.845000] [fglrx:firegl_unlock] *ERROR* Process 18148 using kernel context 0
(when running make.sh script within /lib/modules/fglrx/build_mod)

Quote:
ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /lib/modules/2.6.14-archck4-nosmp/build/include do not match current kernel.
they are versioned as "2.6.14-archck4"
instead of "2.6.14-archck4-nosmp".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
If there's additional info that you need I'll provide it ASAP.

Can anyone determine the solution here?

Thanks a million in advance!

Tom

Last edited by digiplaya; 11-13-2005 at 12:27 PM.
 
Old 11-13-2005, 02:10 PM   #2
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Original Poster
Rep: Reputation: 15
UPDATE: I'm now using a different Gentoo kernel (2.6.14-gentoo-r2) but sound and several other modules and components of my Linux aren't loading right yet.

However, I have almost completely gotten the DRM Fglrx kernel module for this kernel built. I have this error when running make_install.sh as root user:

Quote:
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.14-gentoo-r2/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.
Is there a certain way to get this module (fglrx) to load when I modprobe it?

Last edited by digiplaya; 11-13-2005 at 02:15 PM.
 
Old 11-13-2005, 02:25 PM   #3
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
http://www.cosmicpothole.com/Linux/ati.php

I have an install guide there. I just found out myself it is much much smart to use the new 8.19.10 drivers on the 2.6.14 kernel. That could be because I had 2.6.13 and upgraded to 2.6.14 without re-updating the drivers... but either way... probably smart.

I would also note, you shouldn't be make or make installing anything at all.

You need one shell script and one driver module(fglrx) in rpm. You will have to have something like yast, yum, uprimi, smart, alien or something else for use with rpms, and you ./ati... and then that is it.

You should be able to verify other things based on commands, but make sure you saved your kernel source when you upgraded, don't just upgrade and delete.
 
Old 11-13-2005, 02:32 PM   #4
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Original Poster
Rep: Reputation: 15
Look, man. First I'm not using a RPM-based distribution such as Suse. Didn't you see that I'm using RR4 Linux, based off Gentoo? It uses Portage which compiles completely from source, no binaries needed.

Secondly, you must use "make_install.sh" with the fglrx kernel module in order for the kernel to be able to load fglrx properly. This I do know.

Third, I kept my original kernel (2.6.14-archck4-nosmp) on my system as well as in my Grub bootloader.

I will check your links that you posted accordingly, and see if it can help me out. Thanks though for the advice.

Tom
 
Old 11-13-2005, 02:46 PM   #5
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
I know you are not using an rpm based distro, which is why I told you to get an rpm system installed, like Alien, yum, smart or something else. ATI provides the files as RPMs, so rather than stripping files out of rpms, why not use them the way they are intended?

You do not use make install. you use either "./ati-driver-installer-8.19.10-i386.run" or "sh ati-driver-installer-8.19.10-i386.run" that's it, which is on the drivers.

For fglrx, it is different becauseit comes from ATI as an rpm, and needs to be installed that way(according to their official help. This means whether or not your distro can handle it by default, that is how they distribute it, and they prefer you to use that and don't officially support any other method for fglrx install).
I personally have nothing against you doing it another method, but I would not be surprised to see it not working. Because you are either stripping files out of the rpm, or getting the fglrx from another source, not the official ATI source.
 
Old 11-13-2005, 02:58 PM   #6
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Original Poster
Rep: Reputation: 15
You're quite wrong here. RPMs should not be needed for any reason whatsoever for my system (RR4). From experience, to get the fglrx and 3d accel working, I should not even need to bother with RPMs.

Is it even possible to install a package using any packaging system such as RPM under Gentoo anyway? Could I "emerge rpm" or use a similar command?

I'm not sure you know exactly what you're talking about here.

Tom

Last edited by digiplaya; 11-13-2005 at 03:01 PM.
 
Old 11-13-2005, 03:07 PM   #7
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
I am not saying I know shit. I am telling you what the ATI OFFICIAL WEBSITE says, and what ATI reps tell you if you call. They support one rpm(well a set of 4 rpms for xfree and xorg), and one shell script.

So whereever you are getting your other stuff, it isn't official according to them. Which means if you want to use official ATI driviers, you aren't.

They could be the official Gentoo packaged ATI drivers, or something else. But They are not official according to the people who made them. Tell me I am picking on wording and I agree, but you mentioned earlier wanting to use the official ATI sources, which according to logic would be the ones from www.ATI.com, where they make the hardware, and software, and supply it...officially.

I know you can put rpm managers on gentoo, as I have a friend that did, as for how, can't tell you, I went for a more user friendly distro myself, and that was my choice because I know I don't want to mess with command line when I shouldn't have to. As for how to run them, couldn't tell ya. My guess is though there is a command like in debian which will covert from rpm to a .deb(or in your case rpm to...whatever gentoo uses, unless it is flat shell scrip only).

So no, I do not claim to be a knowledgable gentoo user, or to be someone to tell you how to run ATI on it, but I can tell you, the way you are going is not official(and that isn't my opinion, that is ATI's opinion.)
 
Old 11-13-2005, 03:11 PM   #8
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Original Poster
Rep: Reputation: 15
Forget it. I'm using Gentoo Forums right now instead. Thanks anyway.

Tom
 
  


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
Is RR4 easier than Gentoo? Per M. Linux - Newbie 1 10-26-2005 10:16 PM
ATI Radeon 9550 / NO acelleration at all... amobius Linux - Hardware 2 09-29-2005 05:35 PM
Cannot get FSAA working with Radeon 9550 xanatos333 Linux - Hardware 0 06-03-2005 01:47 PM
problems with my radeon 9550 kira Linux - Hardware 1 04-06-2005 12:24 AM
Radeon 9550 X configuration Superganja23 Mandriva 2 03-02-2005 04:42 AM

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

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