Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] No DRM&xv with x11-drivers/xf86-video-ati on HD4650

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
ranger719
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Tue May 16, 2006 1:14 am
Location: Germany

[SOLVED] No DRM&xv with x11-drivers/xf86-video-ati on HD

  • Quote

Post by ranger719 » Fri Apr 03, 2009 12:59 am

Hi all,

I am very excited about the new open source ati driver because fglrx is unusable and crashes when I resume my machine or just watch a movie.. But.. I have no DRM and hence no xvideo-support (which prevents me from watching videos in fullscreen, except for the ugly sdl mode):

Code: Select all

xvinfo
X-Video Extension version 2.2
screen #0
 no adaptors present
My Video-card is a fairly new Ati Radeon 4650 HD and I am on ~amd64.

Code: Select all

02:00.0 VGA compatible controller: ATI Technologies Inc RV730 PRO [Radeon HD 4650]
Here's what my X-Server logs:

Code: Select all

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:02:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -19
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 -19
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
...and so on...
Some more info:
x11-drivers/xf86-video-ati 6.12.1-r1
x11-base/xorg-x11 7.4
x11-base/xorg-server 1.5.3-r5
x11-libs/libdrm 2.4.5
media-libs/mesa 7.4
The drm- and radeon-module are loaded (dmesg: [drm] Initialized drm 1.1.0 20060810)

And I am using x11-base/x11-drm version 20090320. The in-kerne-modules won't work either, and afaik they are too old and will work with 2.6.30. Here's my kernel config:

Code: Select all

cat .config|grep -i "agp\|drm"
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_DRM is not set
Here's my xorg.conf device- and dri-section:

Code: Select all

Section "Device"
  Identifier "aticonfig-Device[0]-0"
  Driver      "ati"
  Option      "BackingStore" "true"
  BusID       "PCI:2:0:0"
  Option      "DRI" "true"
  Option      "AccelMethod" "EXA"
EndSection

Section "DRI"
        Mode         0666
EndSection
My system is up to date and I have no clue what I missed. Or is this card just not (yet) supported? Any ideas?
Last edited by ranger719 on Fri Apr 03, 2009 12:24 pm, edited 1 time in total.
Top
poly_poly-man
Advocate
Advocate
User avatar
Posts: 2477
Joined: Wed Dec 06, 2006 9:59 pm
Location: RIT, NY, US
Contact:
Contact poly_poly-man
Website

  • Quote

Post by poly_poly-man » Fri Apr 03, 2009 1:26 am

you probably did not switch branches correctly...

uninstall and rmmod all drm-related stuff...

git clone git://anongit.freedesktop.org/mesa/drm
cd drm
git checkout -b r6xx-r7xx-support origin/r6xx-r7xx-support
cd linux-core
make radeon.o drm.o
cp radeon.ko drm.ko /lib/modules/YOUR_KERNEL_VERSION/kernel/drivers/char/drm

then modprobe radeon and drm and restart X.
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see [topic]838248[/topic]. Potentially still a WiP.
Top
MasterX
Veteran
Veteran
Posts: 1165
Joined: Thu Jun 26, 2003 4:19 pm

Re: No DRM and xvideo with x11-drivers/xf86-video-ati on HD4

  • Quote

Post by MasterX » Fri Apr 03, 2009 6:06 am

ranger719 wrote:
My system is up to date and I have no clue what I missed. Or is this card just not (yet) supported? Any ideas?
Since your card is fairly new, I would suggest to use the radeonHD driver and not the radeon. This drivers is in the portage.
Top
ranger719
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Tue May 16, 2006 1:14 am
Location: Germany

  • Quote

Post by ranger719 » Fri Apr 03, 2009 12:24 pm

poly_poly-man wrote:you probably did not switch branches correctly...

uninstall and rmmod all drm-related stuff...

git clone git://anongit.freedesktop.org/mesa/drm
cd drm
git checkout -b r6xx-r7xx-support origin/r6xx-r7xx-support
cd linux-core
make radeon.o drm.o
cp radeon.ko drm.ko /lib/modules/YOUR_KERNEL_VERSION/kernel/drivers/char/drm

then modprobe radeon and drm and restart X.
I did that, but somehow messed something up. I tried it again and now I have xvideo, yeah! Thank you.
Your guide misses one step, though:

Code: Select all

git clone git://anongit.freedesktop.org/mesa/drm
cd drm
git checkout -b r6xx-r7xx-support origin/r6xx-r7xx-support
./autogen.sh
cd linux-core
make radeon.o drm.o
cp radeon.ko drm.ko /lib/modules/YOUR_KERNEL_VERSION/kernel/drivers/char/drm (I just copied them over the x11-base/x11-drm).
Thanks again.
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Fri Apr 03, 2009 12:41 pm

isn't drm is graphic acceleration? if so, nither the radeon and radeonhd drivers support it for your card yet.
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
ranger719
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Tue May 16, 2006 1:14 am
Location: Germany

  • Quote

Post by ranger719 » Fri Apr 03, 2009 12:50 pm

DaggyStyle wrote:isn't drm is graphic acceleration? if so, nither the radeon and radeonhd drivers support it for your card yet.
Yes and no? 2D accleration and xvideo depend on DRM. But the current Radeon-DRM status does not yet support 3D, but 2D and xv. Is that true?

Code: Select all

dmesg |grep -i drm
[   97.991668] [drm] Initialized drm 1.1.0 20060810
[   98.078345] [drm] Initialized radeon 1.29.0 20080613 on minor 0
[   98.078429] [drm] Used old pci detect: framebuffer loaded
[  111.232985] [drm] Setting GART location based on new memory map
[  111.248645] [drm] Loading RV730 PFP Microcode
[  111.248666] [drm] Loading RV730 CP Microcode
[  111.263718] [drm] Resetting GPU
[  111.263779] [drm] writeback test succeeded in 1 usecs
DRM now recognizes my card, so I suppose I can say I have at least some kind of DRM support?! :) But you are right, 3D accleration is still not there.
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Fri Apr 03, 2009 2:56 pm

2d acc is fully supported in radeon and radeonhd, I would recommand you use radeonhd cause of the other features it supports which better suites you card
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
ranger719
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Tue May 16, 2006 1:14 am
Location: Germany

  • Quote

Post by ranger719 » Fri Apr 03, 2009 3:23 pm

DaggyStyle wrote:2d acc is fully supported in radeon and radeonhd, I would recommand you use radeonhd cause of the other features it supports which better suites you card
The "Is that true? "-question applied to the drm-depency part. :) Thanks for your suggestion, but I'll stick with radeon because it supports all features that I need right now and radeonhd is more a testbed. And according to http://xorg.freedesktop.org/wiki/RadeonFeature the differences are marginal (I can live without "Console restore" for a while and "Suspend Support" works [for me]).
Top
poly_poly-man
Advocate
Advocate
User avatar
Posts: 2477
Joined: Wed Dec 06, 2006 9:59 pm
Location: RIT, NY, US
Contact:
Contact poly_poly-man
Website

  • Quote

Post by poly_poly-man » Fri Apr 03, 2009 9:45 pm

radeonhd is not actually good at this point - radeon is where all the new actual development is happening - radeonhd is kind of a playpen of sorts, with code that's different.

r600 and r700 are better supported by radeon at this point. The drm provides an interface for the 2d and video accel.
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see [topic]838248[/topic]. Potentially still a WiP.
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Sat Apr 04, 2009 5:27 am

poly_poly-man wrote:radeonhd is not actually good at this point - radeon is where all the new actual development is happening - radeonhd is kind of a playpen of sorts, with code that's different.

r600 and r700 are better supported by radeon at this point. The drm provides an interface for the 2d and video accel.
how is that?, I was under the impression that it was the other way around
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
Post Reply

10 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic