Re: [gentoo-user] Hardware acceleration for ATI 9100? (Pundit-R)

2005-06-22 Thread Mark Knecht
On 6/22/05, Richard Fish <[EMAIL PROTECTED]> wrote:
> I re-arranged your message a bit to make the answers flow a bit better.
> 
> Mark Knecht wrote:
> 
> > Hey Richard,
> > So this Pundit-R is driving the S-Video input on a TV set.
> 
> 
> Oops, I forgot you were doing that...sorry.
> 
> > Can you recommend where I'd look to find the right settings for
> > driving a TV input with the radeon driver and 9100 IGP chipset?
> 
> 
> Well, you already got farther than I did with the radeon driver and
> S-Video outputI never got anything to display!  Unfortuantely, I am
> 6000 miles away from anything with an S-Video input (in France), and
> won't be home for another month, so I cannot do any testing on my end to
> see...

That's fine. Enjoy France. Nice time of year I suppose.

> 
> As for a specific guide for getting a TV display to work with the radeon
> driver, no I haven't found anything.  But, you might want to try setting
> the CRT2HSync and CRT2VRefresh settings with the radeon driver.  I am
> assuming that the S-Video output is being operated as the secondary
> monitor, and the defaults for these are "undefined".  See "man radeon"
> for the gory details.

I'll look at this. Actually I have BIOS on these machines set to use
SVideo as the primary output, and it all works, in general, with the
fglrx driver.
> 
> > Linux agpgart interface v0.100 (c) Dave Jones
> > [drm] Initialized drm 1.0.0 20040925
> > ACPI: PCI interrupt :01:05.0[A] -> GSI 16 (level, low) -> IRQ 16
> > [drm] Initialized radeon 1.14.0 20050125 on minor 0: PCI device
> > 1002:5834 (ATI Technologies Inc)
> > 
> > [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
> > [drm:drm_unlock] *ERROR* Process 6162 using kernel context 0

I haven't been back to check this again yet. I've taken two Pundit-R's
and moved them to the new ~x86 ati-driver package.
> 
> 
> Ouch, that doesn't look good.  But maybe this can help:
> 
> http://dri.freedesktop.org/wiki/DriTroubleshooting
> 
> It seems you need to load the chipset-specific AGP driver in addition to
> agpgart.
> 

Yes, I found this about an hour or two ago. With that loaded I no
longer get the agpgart messages and I'm getting better glxgears
performance now so that's cool. However I get about 2000 FPS from my
laptop with it's Radeon 9200:

:01:05.0 VGA compatible controller: ATI Technologies Inc M9+ 5C61
[Radeon Mobility 9200 (AGP)] (rev 01)

but only about 200FPS from the Pundit-R's 9100:

:01:05.0 VGA compatible controller: ATI Technologies Inc Radeon 9100 IGP

Both machines use the same basic chipset. The laptop:

flash ~ $ /sbin/lspci
:00:00.0 Host bridge: ATI Technologies Inc Radeon 9100 IGP Host
Bridge (rev 02)
:00:01.0 PCI bridge: ATI Technologies Inc Radeon 9100 IGP AGP Bridge

The Pundit-R:

[EMAIL PROTECTED] ~ $ /sbin/lspci
:00:00.0 Host bridge: ATI Technologies Inc Radeon 9100 IGP Host
Bridge (rev 02)
:00:01.0 PCI bridge: ATI Technologies Inc Radeon 9100 IGP AGP Bridge

The laptop uses 2.6.11-gentoo-r6 while the Pundit-R uses an older
2.6.11-gentoo-r3.

I guess the next thing is to update the kernel. I have a very hard
time beleiving the performance difference should be 10x!!

Oh, one other thing I found. When I tell the Pundit-R to do this:

opengl-update xorg-x11 

then glxgears runs. However if I use opengl-update ati then the
machine locks up hard wen running glxgears. This happens with both the
8.12.10 driver as well as the newer ~x86 driver. I haven't tried this
on my laptop.

Take care,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hardware acceleration for ATI 9100? (Pundit-R)

2005-06-22 Thread Richard Fish
I re-arranged your message a bit to make the answers flow a bit better.

Mark Knecht wrote:

> Hey Richard,
> So this Pundit-R is driving the S-Video input on a TV set. 


Oops, I forgot you were doing that...sorry.

> Can you recommend where I'd look to find the right settings for
> driving a TV input with the radeon driver and 9100 IGP chipset?


Well, you already got farther than I did with the radeon driver and
S-Video outputI never got anything to display!  Unfortuantely, I am
6000 miles away from anything with an S-Video input (in France), and
won't be home for another month, so I cannot do any testing on my end to
see...

As for a specific guide for getting a TV display to work with the radeon
driver, no I haven't found anything.  But, you might want to try setting
the CRT2HSync and CRT2VRefresh settings with the radeon driver.  I am
assuming that the S-Video output is being operated as the secondary
monitor, and the defaults for these are "undefined".  See "man radeon"
for the gory details.

> Linux agpgart interface v0.100 (c) Dave Jones
> [drm] Initialized drm 1.0.0 20040925
> ACPI: PCI interrupt :01:05.0[A] -> GSI 16 (level, low) -> IRQ 16
> [drm] Initialized radeon 1.14.0 20050125 on minor 0: PCI device
> 1002:5834 (ATI Technologies Inc)
> 
> [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
> [drm:drm_unlock] *ERROR* Process 6162 using kernel context 0


Ouch, that doesn't look good.  But maybe this can help:

http://dri.freedesktop.org/wiki/DriTroubleshooting

It seems you need to load the chipset-specific AGP driver in addition to
agpgart.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hardware acceleration for ATI 9100? (Pundit-R)

2005-06-22 Thread Richard Fish

>>Well, if it is the "IGP" or "Mobility" version of the chip, only 2D is
>>supported by the fglrx driver, but maybe that is a hardware
>>limitation??  The 'radeon' driver should support hardware 3D
>>acceleration on 9100 chips, so you might want to try that.
>>
>>-Richard
>>
>>
>
>Richard,
>   Will do. Is that information listed somewhere? I spent time looking
>for lists of devices supported by the drivers but couldn't find it.
>The words seemed too generic to get Google to find what I was looking
>for.
>
>   Anyway, thanks. I'll give the radeon driver a shot this morning.
>  
>

For the radeon features, "man radeon" ;->

For the fglrx driver: http://www2.ati.com/drivers/linux/linux_8.14.13.html

The release notes for fglrx should also be somewhere under
/usr/share/doc/fglrx*...I can't confirm this since I do not have the ATI
drivers installed however.


-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hardware acceleration for ATI 9100? (Pundit-R)

2005-06-22 Thread Mark Knecht
On 6/21/05, Richard Fish <[EMAIL PROTECTED]> wrote:
> Mark Knecht wrote:
> 
> > Hi,
> > I wonder if anyone happens to have any info on whether hardware
> > acceleration should/can/does work on a Pundit-R? My laptop, which has
> > an ATI 9200 Mobility, has hardware acceleration working fine. That
> > kernel is 2.6.11.-gentoo-r6.
> >
> 
> [snip]
> 
> >
> > fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies,
> 
> 
> Well, if it is the "IGP" or "Mobility" version of the chip, only 2D is
> supported by the fglrx driver, but maybe that is a hardware
> limitation??  The 'radeon' driver should support hardware 3D
> acceleration on 9100 chips, so you might want to try that.
> 
> -Richard

Hey Richard,
   So this Pundit-R is driving the S-Video input on a TV set. (Since
this is what MythTV is for, right?) Anyway, with the fglrx driver I'm
able to get the TV to sync but with the radeon driver I'm not. With
the fglrx driver I'm using:

Section "Monitor"
Identifier  "Monitor0"
HorizSync   21 - 68
VertRefresh 60
Option "DPMS"
DisplaySize 320 180
EndSection

however these settings don't seem to work with the radeon driver. I
just get slumped over picture - rolling/sideways, like all the sync
rates are wrong.

   Looking through the log file I see more problems with the AGP
stuff. From dmesg:

Linux agpgart interface v0.100 (c) Dave Jones
[drm] Initialized drm 1.0.0 20040925
ACPI: PCI interrupt :01:05.0[A] -> GSI 16 (level, low) -> IRQ 16
[drm] Initialized radeon 1.14.0 20050125 on minor 0: PCI device
1002:5834 (ATI Technologies Inc)

[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:drm_unlock] *ERROR* Process 6162 using kernel context 0
myth11 root #

and from Xorg.0.log

(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci::01:05.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xcc872000
(II) RADEON(0): [drm] mapped SAREA 0xcc872000 to 0xb3d1d000
(II) RADEON(0): [drm] framebuffer handle = 0xe800
(II) RADEON(0): [drm] added 1 reserved context for kernel
(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module
is loaded before the radeon kernel module.
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xcc872000 at 0xb3d1d00

I am loading agpgart before radeon:

myth11 root # cat /etc/modules.autoload.d/kernel-2.6



# For example:
# 3c59x
agpgart
#fglrx
radeon
myth11 root #

and the modules are loaded:

myth11 root # lsmod
Module  Size  Used by
snd_usb_audio  63680  0
snd_usb_lib11520  1 snd_usb_audio
snd_rawmidi20640  1 snd_usb_lib
snd_atiixp 17120  0
snd_ac97_codec 75384  1 snd_atiixp
radeon 75776  0
drm60820  1 radeon
agpgart28968  1 drm
myth11 root #


   Can you recommend where I'd look to find the right settings for
driving a TV input with the radeon driver and 9100 IGP chipset?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hardware acceleration for ATI 9100? (Pundit-R)

2005-06-22 Thread Mark Knecht
On 6/21/05, Richard Fish <[EMAIL PROTECTED]> wrote:
> Mark Knecht wrote:
> 
> > Hi,
> > I wonder if anyone happens to have any info on whether hardware
> > acceleration should/can/does work on a Pundit-R? My laptop, which has
> > an ATI 9200 Mobility, has hardware acceleration working fine. That
> > kernel is 2.6.11.-gentoo-r6.
> >
> 
> [snip]
> 
> >
> > fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies,
> 
> 
> Well, if it is the "IGP" or "Mobility" version of the chip, only 2D is
> supported by the fglrx driver, but maybe that is a hardware
> limitation??  The 'radeon' driver should support hardware 3D
> acceleration on 9100 chips, so you might want to try that.
> 
> -Richard

Richard,
   Will do. Is that information listed somewhere? I spent time looking
for lists of devices supported by the drivers but couldn't find it.
The words seemed too generic to get Google to find what I was looking
for.

   Anyway, thanks. I'll give the radeon driver a shot this morning.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hardware acceleration for ATI 9100? (Pundit-R)

2005-06-21 Thread Richard Fish
Mark Knecht wrote:

> Hi,
> I wonder if anyone happens to have any info on whether hardware
> acceleration should/can/does work on a Pundit-R? My laptop, which has
> an ATI 9200 Mobility, has hardware acceleration working fine. That
> kernel is 2.6.11.-gentoo-r6.
>

[snip]

>
> fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies,


Well, if it is the "IGP" or "Mobility" version of the chip, only 2D is
supported by the fglrx driver, but maybe that is a hardware
limitation??  The 'radeon' driver should support hardware 3D
acceleration on 9100 chips, so you might want to try that.

-Richard

-- 
gentoo-user@gentoo.org mailing list