Mailinglist Archive: radeonhd (307 mails)

< Previous Next >
Re: [radeonhd] xf86-video-radeonhd:r6xx-r7xx-support: 1 commit(s)
  • From: Alex Deucher <alexdeucher@xxxxxxxxx>
  • Date: Mon, 2 Feb 2009 16:24:36 -0500
  • Message-id: <a728f9f90902021324k7ba94417h82cc614d41c70370@xxxxxxxxxxxxxx>
On Mon, Feb 2, 2009 at 4:10 PM, Gene Heskett <gene.heskett@xxxxxxxxxxx> wrote:
On Monday 02 February 2009, Alex Deucher wrote:
On Mon, Feb 2, 2009 at 3:06 PM, Gene Heskett <gene.heskett@xxxxxxxxxxx>
wrote:
On Monday 02 February 2009, Alex Deucher wrote:
On Mon, Feb 2, 2009 at 12:23 PM, Gene Heskett <gene.heskett@xxxxxxxxxxx>

wrote:
On Monday 02 February 2009, Alex Deucher wrote:
Reporting from xf86-video-radeonhd: Radeon HD video driver

Please visit:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd
Or get your own copy by using:
git-clone
git://anongit.freedesktop.org/xorg/driver/xf86-video-radeonhd

Commit against r6xx-r7xx-support at 656edee0...:
commit e10228c47e1297d500fc665a7661696e8b5b6193
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Feb 2 11:08:24 2009 -0500

Add R6xx/R7xx AGP support

- Needs latest drm bits
- doesn't seem to be as reliable as PCIE

diffstat:
src/rhd_dri.c | 89
++++++++++++++++++++++++++++-------------------------- 1 file changed,
47 insertions(+), 42 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commi
t; h= e10228c4

Sorry if I'm so dense, but the 2 links at the bottom of the above page
are unk protocols to FF3.0, and from a shell they do not exist.

The link above is the URL for the git web interface (now cgit, the
commit hook should be updated) for viewing changelogs, etc. in your
browser. To actually clone the git tree you need git-core and use the

instructions at the top:
Or get your own copy by using:
git-clone
git://anongit.freedesktop.org/xorg/driver/xf86-video-radeonhd

If you want to use the r6xx-r7xx-support branches follow these
instructions: http://www.x.org/wiki/radeonhd%3Ar6xx_r7xx_branch


Alex

Thanks Alex. I got to here without any errors following that links
instructions:

[root@coyote linux-core]# pwd
/usr/src/drm/linux-core
[root@coyote linux-core]# make radeon.ko drm.ko
make: *** No rule to make target `radeon.ko'. Stop.

make drm.o radeon.o
then copy drm.ko and radeon.ko over to your kernel module tree.

Have done that, overwriting the gpu/drm.ko that was there, and putting
radeon.ko in the gpu/radeon subdir.


make sure you built from the r6xx-r7xx-support branch of the drm.

I removed the radeonhd stuff from the 1.2.4 build, failed, so I put it back
in. But I cannot enable the DRI option in the xorg.conf file as it exits
quickly:
(WW) RADEONHD(0): Direct rendering for R600 an up forced on - This is NOT
officially supported at the hardware level and may cause instability or
lockups
(II) RADEONHD(0): Found libdri 5.0.0.
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed

Backtrace:
0: X(xf86SigHandler+0x81) [0x80c2f91]
1: [0xffffe400]

Fatal server error:
Caught signal 11. Server aborting

And indeed there is no such device. The /dev/dri directory is empty even
after a reboot, which should have caught the new drm.ko module.

As it seems to me the terms DRI and DRM are interchangeable my .config greps:

[root@coyote drm]# grep DRI ../linux-2.6.28.2/.config
# CONFIG_MACINTOSH_DRIVERS is not set
# CONFIG_RAW_DRIVER is not set
CONFIG_VIDEO_CAPTURE_DRIVERS=y
CONFIG_V4L_USB_DRIVERS=y
CONFIG_DVB_CAPTURE_DRIVERS=y
CONFIG_SND_DRIVERS=y
[root@coyote drm]# grep DRM ../linux-2.6.28.2/.config
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
[root@coyote drm]# grep AGP ../linux-2.6.28.2/.config
# CONFIG_AGP is not set

Do I need to adjust that?


If you have an agp card you'll need agp support.

Humm, maybe I need something in modprobe.conf? I just did a 'modprobe drm'
which returned no errors, but it did not generate a /dev/dri/card0 either.

you'll also need to load radeon.ko as well (modprobe radeon). then
start x and check your dmesg for drm/radeon messages.

Alex
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups