Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI-Drivers not working with gentoo-dev-sources-2.6.10
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 19, 2005 7:00 pm    Post subject: Reply with quote

gojyo wrote:
it works!!
Thank u very much!

:D

@plonka2000: the last message always indicates a problem of some sort, but I'm not sure whether the others are abnormal given that you have a PCI card instead of an AGP card. Have you tried a kernel without AGP support? It may be confusing the driver if it's enabled but you don't have an AGP card. If nothing else works, you should be able to use the kernel DRI support instead (the "radeon" driver).
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
plonka2000
Apprentice
Apprentice


Joined: 02 Dec 2004
Posts: 160
Location: UK, Surrey

PostPosted: Wed Jan 19, 2005 7:05 pm    Post subject: Reply with quote

I just dont get why you need to have an AGP card in order to get it running properly.
If I use the internal AGP driver in the driver, would that help (I was doi that before but I have since switched it to 'no' in my xorg.conf)?

I havnt tried it with any other particular kernel specific AGP settings other than how its setup now.
Do I need to turn off AGP support in my kernel for this to work?
_________________
-Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.

Using Gentoo and Windows XPee.

Check my site here
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 19, 2005 7:51 pm    Post subject: Reply with quote

plonka2000 wrote:
I just dont get why you need to have an AGP card in order to get it running properly.
If I use the internal AGP driver in the driver, would that help (I was doi that before but I have since switched it to 'no' in my xorg.conf)?

I havnt tried it with any other particular kernel specific AGP settings other than how its setup now.
Do I need to turn off AGP support in my kernel for this to work?

As far as I know, the driver should support PCI cards, so you shouldn't have to have an AGP card. I'm just wondering if it's getting confused because you have AGP support enabled in the kernel but don't have an AGP card. If you have a PCI card, disabling AGP support in the kernel shouldn't matter anyway, so I think it'd be worth trying. I don't think the internal AGP setting matters much when you don't have an AGP card.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
plonka2000
Apprentice
Apprentice


Joined: 02 Dec 2004
Posts: 160
Location: UK, Surrey

PostPosted: Wed Jan 19, 2005 7:55 pm    Post subject: Reply with quote

Oh right well I see where you're going.

How do I disable AGP support?
Do I need to re-compile the whole kernel for that?

EDIT: Also, could you please advise me as to what command I would use to do this?
_________________
-Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.

Using Gentoo and Windows XPee.

Check my site here
Back to top
View user's profile Send private message
blossa
Apprentice
Apprentice


Joined: 13 Jan 2005
Posts: 169

PostPosted: Wed Jan 19, 2005 8:05 pm    Post subject: Reply with quote

Merging the ATI-driver went ok BUT when I try to rebuild the kernel with 'make && make modules_install' the process stops after:
Code:
Kernel: arch/x86_64/boot/bzImage is ready
Building modules, stage 2.
MODPOST

The cursur keeps on blinking and the keyboard works.
I have a MSI Master2FAR and 2xOpteron.

Any ideas?

Thnx in advance!
/Anders
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 19, 2005 8:09 pm    Post subject: Reply with quote

@plonka2000: OK, start by cd'ing to your kernel source dir with "cd /usr/src/linux". Then run "make menuconfig", and find the "Device drivers -> Character devices -> /dev/agpgart (AGP support)" setting. Disable it by highlighting it and pressing "n". Then hit ESC until you get back to the top level menu. Hit ESC again, and say yes when it asks you if you want to save your config. Then run "make && make modules_install" to compile everything. Once that's done, do "cp arch/i386/boot/bzImage /boot/<whatever name you want>" (make sure /boot is mounted first :)), and update your bootloaders configuration file with a new entry for this kernel. Then reboot and select the new kernel from the menu, emerge the drivers again after it's done booting, and see if things are any better.

@blossa: does it do that every time you try it? You could try cleaning up the kernel source dir and compiling again:
Code:
cp .config config
make mrproper
cp config .config
make oldconfig
make && make modules_install

_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
plonka2000
Apprentice
Apprentice


Joined: 02 Dec 2004
Posts: 160
Location: UK, Surrey

PostPosted: Wed Jan 19, 2005 8:22 pm    Post subject: Reply with quote

Ok well I've done all that and I'm gonna reboot now.
KDE has been kind enough (it seems) to update my bootloader for me. :)
_________________
-Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.

Using Gentoo and Windows XPee.

Check my site here
Back to top
View user's profile Send private message
plonka2000
Apprentice
Apprentice


Joined: 02 Dec 2004
Posts: 160
Location: UK, Surrey

PostPosted: Wed Jan 19, 2005 8:35 pm    Post subject: Reply with quote

Well I've rebooted and still no change.

The only thing I noticed that is different was there was an error when starting up stating that 'sis_agp' could not be loaded... But I guess that shows AGP is disabled.

For some reason however there is still no change in anything otherwise.

I tried setting the 'UseInternalAGPGART' option to yes and no. no change.

:?:
_________________
-Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.

Using Gentoo and Windows XPee.

Check my site here
Back to top
View user's profile Send private message
blossa
Apprentice
Apprentice


Joined: 13 Jan 2005
Posts: 169

PostPosted: Wed Jan 19, 2005 8:44 pm    Post subject: Reply with quote

Wedge_ wrote:
@blossa: does it do that every time you try it? You could try cleaning up the kernel source dir and compiling again:
Code:
cp .config config
make mrproper
cp config .config
make oldconfig
make && make modules_install


No success... It seems to me like it stops AFTER the last module in .config. Is it possible to see a log of the process and if, how do I do it?

a few days ago the process went fine so I guess it has something to do with the kernel-patch submitted with the ATI-driver.

/Anders
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 19, 2005 8:51 pm    Post subject: Reply with quote

@plonka2000: Are you still seeing the AGP errors in your log and dmesg output?

At this point I think you might be better off trying the kernel radeon driver instead. Have you used it before? If not I can tell you how to set it up.

@blossa: you can view the actual commands by doing "export KBUILD_VERBOSE=1" before running "make && make modules_install". That should allow you to see which command it's hanging on.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
plonka2000
Apprentice
Apprentice


Joined: 02 Dec 2004
Posts: 160
Location: UK, Surrey

PostPosted: Wed Jan 19, 2005 8:58 pm    Post subject: Reply with quote

Hi,

Here is the end of the dmesg log:

Code:
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected SiS 651 chipset
agpgart: AGP aperture is 32M @ 0xdc000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState   = 0x1f000217 (hardware caps of chipset)
AGP: Found 1 AGPv2 devices
AGP: Insufficent amount of AGP devices found
[fglrx:_r6x_CheckAGPCommand] *ERROR* query for AGP device capabilities failed
[fglrx:firegl_unlock] *ERROR* Process 8104 using kernel context 0
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
[fglrx:firegl_unlock] *ERROR* Process 8754 using kernel context 0


I was using the kernel driver before, but I didnt get any 3d support with that. I was hoping to get this going so that I could get 3d support.

Will the kernel radeon have 3d support and acceleration for a 9200 PCI?

EDIT: I've been checking out that firegl error... IS that at all relevant to whats going on? I dont have a firegl card... Just a 9200.

:?:
_________________
-Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.

Using Gentoo and Windows XPee.

Check my site here
Back to top
View user's profile Send private message
plonka2000
Apprentice
Apprentice


Joined: 02 Dec 2004
Posts: 160
Location: UK, Surrey

PostPosted: Wed Jan 19, 2005 9:05 pm    Post subject: Reply with quote

Just thought I'd let you know, the aim of this particular PC is to go on my TV as a MythTV box and also to serve my web/ftp server.

The web/ftp part i'm working on but MythTV is causing me no end of problems... As far as I know, I need full radeon support in order to get MythTV running properly.

Do you have any idea if this is true?

Again thanks for all your help.
_________________
-Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.

Using Gentoo and Windows XPee.

Check my site here
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 19, 2005 9:13 pm    Post subject: Reply with quote

The FireGL stuff appears because the ATI Linux driver originally started out only supporting the highend FireGL cards. They adapted it for Radeons afterwards, since they're somewhat similar. firegl_unlock will just be an internal function name.

plonka2000 wrote:
Will the kernel radeon have 3d support and acceleration for a 9200 PCI?

It should do.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
plonka2000
Apprentice
Apprentice


Joined: 02 Dec 2004
Posts: 160
Location: UK, Surrey

PostPosted: Wed Jan 19, 2005 9:19 pm    Post subject: Reply with quote

Would you suggest I just use the kernel driver then and see how I fare with that?

I'm pretty sure I had it setup before, but I'll be very grateful if you could tell me how to do it?

Thanks for assistance.

EDIT: Here is my old xorg.conf using the kernel driver.
Could you have a look over it for me?
http://plonka2000.homelinux.com/linux/xorg.conf.old01
_________________
-Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.

Using Gentoo and Windows XPee.

Check my site here
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 19, 2005 9:41 pm    Post subject: Reply with quote

plonka2000 wrote:
Would you suggest I just use the kernel driver then and see how I fare with that?

It'd probably be less trouble, especially if you had it going before. It shouldn't be too hard to get it set up again. Start by unmerging the ati-drivers (emerge -C ati-drivers) and unloading the fglrx module (rmmod fglrx). Then go back into the kernel config, and enable the "Device drivers -> Character devices -> Direct Rendering Manager" setting. Once you've done that, a list of cards should appear. Select the "ATI Radeon" option (as a module), then exit the config program (remember to save the changes), recompile and reboot. After that, copy your old xorg.conf back over the current one, load the "radeon" module, and you should be ready to go. Your config looks fine, but you might want to change the default colour depth to 16-bit for some extra speed. There are also various driver options you can set - see "man radeon" for the list.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
plonka2000
Apprentice
Apprentice


Joined: 02 Dec 2004
Posts: 160
Location: UK, Surrey

PostPosted: Wed Jan 19, 2005 9:51 pm    Post subject: Reply with quote

Thanks for that.

I'm pretty sure those are still compiled into my kernel already... As thats how the recommended setup is. All I (should) need to do in that case is swap over the xorg.conf files and restart X.

Also do you know of anywhere in particular where I could find any advice on running MythTV on Gentoo? I've been bouncing around these forums for months and it seems this will never be setup... :(
_________________
-Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.

Using Gentoo and Windows XPee.

Check my site here
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 19, 2005 10:31 pm    Post subject: Reply with quote

plonka2000 wrote:
Also do you know of anywhere in particular where I could find any advice on running MythTV on Gentoo? I've been bouncing around these forums for months and it seems this will never be setup... :(

I don't know of anything offhand. I've never done anything with it myself, so I can't really help either :(
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
plonka2000
Apprentice
Apprentice


Joined: 02 Dec 2004
Posts: 160
Location: UK, Surrey

PostPosted: Wed Jan 19, 2005 11:00 pm    Post subject: Reply with quote

Well thanks very much for your help Wedge_, you've been a great help in helping me get closer to the root of this. :)

I think I'll keep working on it a bit more before I revert back to the kernel driver though. :)

Also, I will continue on the road of Linux enlightenment and the journey to make the perfect MythTV PC... :)

Thanks for all your help.
_________________
-Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.

Using Gentoo and Windows XPee.

Check my site here
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 19, 2005 11:07 pm    Post subject: Reply with quote

If you're going to keep trying to get the ATI driver working, you might want to check you don't have the kernel driver compiled in, or loaded as a module. It can cause problems with the ATI driver if it's loaded at the same time.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
Sfpiano
n00b
n00b


Joined: 19 Jan 2005
Posts: 2

PostPosted: Wed Jan 19, 2005 11:29 pm    Post subject: Reply with quote

I'm trying to get the ati drivers working for my 9800 pro, with no luck. When I run startx I says Error Caught Signal 11. I've read over the faq and it says to comment out the line xtrap in the modules section, but the phrase 'xtrap' doesn't appear in my xorg.conf file. Strangely enough all I have to do to get X working again is to change the line
Driver "fglrx" to Driver "ati", and everything loads correctly.
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 19, 2005 11:40 pm    Post subject: Reply with quote

The xtrap thing isn't the only cause of that problem. Have you checked if you built Xorg with any of USE flags "hardened" "dlloader" and "static"?
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
Sfpiano
n00b
n00b


Joined: 19 Jan 2005
Posts: 2

PostPosted: Wed Jan 19, 2005 11:55 pm    Post subject: Reply with quote

I checked, none of them are there. Also, in the log file it outputs, it seems to load everything correctly until it hits the driver.
Back to top
View user's profile Send private message
plonka2000
Apprentice
Apprentice


Joined: 02 Dec 2004
Posts: 160
Location: UK, Surrey

PostPosted: Thu Jan 20, 2005 12:13 am    Post subject: Reply with quote

hi again,

For some reason I cant get my sis_agp back up again.

I've recompiled the kernel with all the options back to how they were but for some reason I still get the error during startup telling me that sis_agp could not be loaded... :?

Is there something important/obvious I'm missing here?
Since I'm using a PCI card, and since the error is coming from my /etc/modules.autoload.d file I've commented out the entry.

Now the system boots without the error but I do wonder.

Is there not some way to make some sort of 'virtual' AGP port that kinda points to my PCI 9200 instead?
_________________
-Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.

Using Gentoo and Windows XPee.

Check my site here
Back to top
View user's profile Send private message
alienvenom
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2005
Posts: 123
Location: San Francisco, CA

PostPosted: Thu Jan 20, 2005 12:16 am    Post subject: Reply with quote

I'm running kernel 2.6.10-r5. With the latest ati-drivers instsalled correctly (I've checked just about every tutorial, checked glxinfo, dmesg and Xorg's log) I get frequent lockups. Direct rendering is enabled, and everything (in my opinion) should be alright. I have a Radeon Mobility 9200 with 64MB of VRAM.

Using the default radeon ones built into Xorg, however, does NOT cause it freeze. When it does freeze (usually after leaving the screensavers run for a long time) my entire system locks up. I can't use the keyboard or mouse.

Has anyone experienced such problems? Does anyone have any ideas how to fix it?


Last edited by alienvenom on Thu Jan 20, 2005 12:36 am; edited 1 time in total
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Jan 20, 2005 12:33 am    Post subject: Reply with quote

plonka2000 wrote:
hi again,

For some reason I cant get my sis_agp back up again.

I've recompiled the kernel with all the options back to how they were but for some reason I still get the error during startup telling me that sis_agp could not be loaded... :?

Is there something important/obvious I'm missing here?
Since I'm using a PCI card, and since the error is coming from my /etc/modules.autoload.d file I've commented out the entry.

Now the system boots without the error but I do wonder.

When you were recompiling your kernel, did you set SiS AGP support as builtin rather than a module? If you did the module won't load but AGP should still be enabled. As I said though, it shouldn't be required.

plonka2000 wrote:
Is there not some way to make some sort of 'virtual' AGP port that kinda points to my PCI 9200 instead?

Doubt it. AFAIK the driver should handle PCI cards. The problem here is that it's not doing that for some reason.

@alienvenom: several people have had this kind of problem, but I don't think anyone has managed to work out exactly what's happening. If I were you I'd just keep using the "radeon" driver...
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum