PDA

View Full Version : Radeonhd + unknown M86


hmmm
06-07-2009, 11:54 PM
Hi all,

My Laptop's [Toshiba A300 (PSA-GCA)] Mobility Radeon HD3650 seems to default to a software renderer:

glxinfo | grep "renderer string" returns Software Rasterizer.

Checking var/xorg.0.log shows

(II) RADEONHD(0): Unknown card detected: 0x9591:0x1179:0xFF1E

lsmod shows both radeon and drm modules loaded:

radeon 373632 1
drm 188512 2 radeon


How do I enable hardware rendering? Is there something I've missed in the log? System details follow...

Also, ATM the screen is shifted the right only in radeonhd/ using radeon the screen is aligned properly (laptop is using VGA out to a Dell E228WFP)

Jaunty AMD64 with 2.6.30-rc8 from http://kernel.ubuntu.com/~kernel-ppa/mainline/

(Running the original kernel and latestv mesa/radeonhd combo refuses to shut down - stalls at a black terminal screen with a blinking cursor; radeon exhibits same behaviour)

librdrm2 2009-5-19 2.4.11 from https://launchpad.net/~xorg-edgers/+archive/ppa

libgl1-mesa-glx 7.6.0~git20090606 from https://launchpad.net/~xorg-edgers/+archive/radeon

xserver-xorg-radeonhd from https://launchpad.net/~tormodvolden/+archive/ppa

var/log.Xorg.0.log: http://pastebin.com/m52430198

xorg.conf:

Section "Screen"
Identifier "Configured Screen Device"
Device "Mobility Radeon HD 3650"
SubSection "Display"
Virtual 3360 1050
EndSubSection
EndSection

Section "Device"
Identifier "Mobility Radeon HD 3650"
Driver "radeonhd"
Option "DRI"
Option "AccelMethod" "EXA"
EndSection

Section "DRI"
Mode 0666
EndSection

Kano
06-08-2009, 02:52 AM
There is no way to use 3d now with radeon(hd). That still has to be developed. If you need it, use fglrx, which can be a problem with an unpatched 2.6.30 because ati did not send the needed patch to make it partly compatible with older drivers to linus - even if they had lots of time. 2.6.29 + patched fglrx or 2.6.28 + pure fglrx is the only way to use 3d on your system.

hmmm
06-08-2009, 08:53 AM
Is 2d acceleration working? - when scrolling in firefox i can see individual frames.

Kano
06-08-2009, 09:01 AM
Maybe you enabled some effects that do not require composite. There is no delay with KDE 3.5 + Iceweasel(Firefox) 3 here with radeon oss driver.

hmmm
06-09-2009, 10:12 PM
Maybe you enabled some effects that do not require composite. There is no delay with KDE 3.5 + Iceweasel(Firefox) 3 here with radeon oss driver.

I noticed that switching over to shadowFB resolved that problem.

What other options/tweaks can I/should I configure in my xorg.conf?

How do I enable xv acceleration?

bridgman
06-09-2009, 10:23 PM
If you have DRI and EXA acceleration both enabled you should get Xv automatically (assuming you are running 2.6.30 kernel and a recent copy of radeonhd. What does xvinfo say when you enable DRI & EXA ? If it doesn't say "happy Xv adapters" can you post your X log ?

hmmm
06-10-2009, 12:53 AM
xvinfo returns (for both EXA and shadowfb):

X-Video Extension version 2.2
screen #0
no adaptors present



xorg log (shadowfb) - http://pastebin.com/f7069f4e6
xorg log (exa) - http://pastebin.com/m2cdbb00

bridgman
06-10-2009, 01:19 AM
OK, looks like the radeonhd driver wasn't able to open the drm driver, so all acceleration is disabled. That's why scrolling is slow with EXA selected -- you're not getting EXA and you're not getting shadowfb either.

Maybe you're getting an older drm rather than the one from 2.6.30...

Can you please pastebin your dmesg output when running EXA ?

hmmm
06-10-2009, 01:27 AM
/var/log/dmesg.0: http://pastebin.com/m32556d1

typing in dmseg : http://pastebin.com/m39309486

hmmm
06-10-2009, 01:53 AM
I think the newer drm module failed to build:

when running "sudo module-assistant auto-install drm-modules" I get:

partial buldlog: http://pastebin.com/m2eac1024

bridgman
06-10-2009, 02:03 AM
Yep, definitely looks like an old drm; the modern code puts out more messages about things like microcode loading.

hmmm
06-10-2009, 02:26 AM
:S

Any idea what to do next? It looks like LIBDRM is refusing to build against the kernel headers from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30-rc8/

agd5f
06-10-2009, 02:31 AM
what are you trying to build? 2.6.30 already contains drm support for r6xx/r7xx chips.

hmmm
06-10-2009, 02:41 AM
I'm trying to build the latest libdrm modules from https://launchpad.net/~xorg-edgers/+archive/ppa (i.e. step 3 on the xorg-edgers page)

/var/cache/modass/drm-modules-souce-buildlog http://pastebin.com/m70a9e8bb

After using easy-drm-modules-installer script (http://bazaar.launchpad.net/~xorg-edgers/xorg-server/xorg-pkg-tools/annotate/head%3A/easy-drm-modules-installer) to build and install the latest drm modules;

dmesg still returns:

Initialized drm 1.1.0 20060810

Is there anyway to force the new module to be initialised?

hmmm
06-18-2009, 10:39 AM
what are you trying to build? 2.6.30 already contains drm support for r6xx/r7xx chips.

Just got round to installing a clean kernel and enabling EXA has results in xvinfo returning 16 ports. :D

Thank you Bridgman and agd5f for your help.