Forums

Skip to content

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

radeon FAQ

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
15 posts • Page 1 of 1
Author
Message
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

radeon FAQ

  • Quote

Post by hedmo » Mon Mar 28, 2011 5:51 pm

as the topic.i need some nice faq or help to set a proper setup for my old 9600 (rv350) card.
i am a fglrx user my self so i dont know where to start.it was quite simple the old days but now when gallium,kms
and stuff like that have been made.i feel a bit lost :roll:

thank

hedmo
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Mon Mar 28, 2011 6:57 pm

Recompile the kernel:

Code: Select all

Device Drivers
  Graphics support
    Direct Rendering Manager = Y
      ATI Radeon = Y
        Enable modesetting on radeon by default = Y
Then install the X11 drivers:

Code: Select all

VIDEO_CARDS="radeon r300"
USE="gallium libkms opengl openvg"

emerge -aDNt world && \
eselect mesa set r300 gallium && \
eselect opengl set xorg-x11
Top
dennisn
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Sun Aug 01, 2004 6:59 pm
Location: Montreal, Canada
Contact:
Contact dennisn
Website

  • Quote

Post by dennisn » Wed Apr 13, 2011 5:03 pm

Also probably

Code: Select all

 Device Drivers
  Generic Driver Options 
   Userspace firmware loading support
    Include in-kernel firmware blobs in kernel binary (CONFIG_FIRMWARE_IN_KERNEL)
(Unless you want to worry about initrd or other userspace problems, and probably a long boot-delay resulting from something like 'radeon_cp: Failed to load firmware "radeon/R***_cp.bin"')
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Wed Apr 13, 2011 5:28 pm

dennisn wrote:Also probably

Code: Select all

 Device Drivers
  Generic Driver Options 
   Userspace firmware loading support
    Include in-kernel firmware blobs in kernel binary (CONFIG_FIRMWARE_IN_KERNEL)
(Unless you want to worry about initrd or other userspace problems, and probably a long boot-delay resulting from something like 'radeon_cp: Failed to load firmware "radeon/R***_cp.bin"')
A better advice would be telling how to properly add correct firmware to initramfs - after all, most recent radeon firmware isn't in the kernel anyway.
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Wed Apr 13, 2011 5:53 pm

Right, for that radeon-ucode needs to be installed, and the kernel needs:

Code: Select all

# CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_EXTRA_FIRMWARE="radeon/${CARD}_pfp.bin radeon/${CARD}_me.bin radeon/${CARD}_rlc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
No need for an initramfs there.
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Mon May 09, 2011 5:06 am

i can not set kms=glx falls.is it some thing i do wrong :?:
the firmware(ucode) dont shows in the kernel and it is drm that bin disable in xorg log.
Top
v_andal
Guru
Guru
Posts: 549
Joined: Tue Aug 26, 2008 4:25 pm
Location: Germany

  • Quote

Post by v_andal » Mon May 09, 2011 7:46 am

hedmo wrote:i can not set kms=glx falls.is it some thing i do wrong :?:
the firmware(ucode) dont shows in the kernel and it is drm that bin disable in xorg log.
Where do you try to set it and why?

About firmware. Have you modified /usr/src/linux/.config as Ant P. has described? In my case, I've simply included all of the files that were installed.
Ie.

Code: Select all

CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="radeon/R600_rlc.bin radeon/R700_rlc.bin radeon/BARTS_mc.bin radeon/BARTS_me.bin radeon/BARTS_pfp.bin radeon/BTC_rlc.bin radeon/CAICOS_mc.bin radeon/CAICOS_me.bin radeon/CAICOS_pfp.bin radeon/CAYMAN_mc.bin radeon/CAYMAN_me.bin radeon/CAYMAN_pfp.bin radeon/CAYMAN_rlc.bin radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin radeon/CYPRESS_me.bin radeon/CYPRESS_pfp.bin radeon/CYPRESS_rlc.bin radeon/JUNIPER_me.bin radeon/JUNIPER_pfp.bin radeon/JUNIPER_rlc.bin radeon/PALM_me.bin radeon/PALM_pfp.bin radeon/REDWOOD_me.bin radeon/REDWOOD_pfp.bin radeon/REDWOOD_rlc.bin radeon/SUMO_rlc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib64/firmware"
Top
pingufunkybeat
l33t
l33t
Posts: 610
Joined: Wed Dec 01, 2004 12:03 am

  • Quote

Post by pingufunkybeat » Tue May 10, 2011 4:56 pm

You don't need external radeon ucode for an rv350 chip. You need it for r600 and later chips.

You don't need initramfs either, compile the firmware into the kernel. Save yourself the headaches.
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Fri May 13, 2011 10:42 am

i have manage to get kms and gallium to work in X :

mybox ~ # glxinfo| grep render
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on llvmpipe


pingufunkybeat:

i have put the firmarein the kernel and there were R300_cp.bin.
dont know if it helped or not.

there is still some things to do i belive,i am using compiz-fusion via:

compiz-manager

and it does not work.it starts but the screen is corrupt.if i set mesa to classic,X dies.but if i turn off kms and try,it works :)

the only thing i have found is xorg= :

[ 49376.544] (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.
Top
Aquous
l33t
l33t
Posts: 700
Joined: Sat Jan 08, 2011 1:10 pm

  • Quote

Post by Aquous » Fri May 13, 2011 1:12 pm

hedmo wrote:i have manage to get kms and gallium to work in X :

mybox ~ # glxinfo| grep render
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on llvmpipe
No you didn't, you're on software rendering. Please upload your dmesg to a site like pastebin.com
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Fri May 13, 2011 3:15 pm

http://paste.pocoo.org/show/388170/
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Sat May 14, 2011 6:11 am

have looked at my xorg log an found more stuff like

1.[ 99337.081] (II) [KMS] drm report modesetting isn't supported.

2.[ 49376.544] (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.

3.[ 99339.559] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.


http://paste.pocoo.org/show/388472/

1.i have set kms inkernel
2.i dont have /dev/dri
3. :?:
Top
Aquous
l33t
l33t
Posts: 700
Joined: Sat Jan 08, 2011 1:10 pm

  • Quote

Post by Aquous » Sat May 14, 2011 9:10 am

Disable radeonfb and see if it helps. You need only the radeon driver and the DRI infrastructure; radeonfb will only interfere with KMS.

After that, please post the contents of /proc/mtrr because I think I may see another (unrelated) problem.
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Sat May 14, 2011 1:00 pm

its getting some were :

mybox ~ # glxinfo | grep OpenGL
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RV350
OpenGL version string: 2.1 Mesa 7.11-devel (git-2812b60)
OpenGL shading language version string: 1.20
OpenGL extensions:
mybox ~ # cat /proc/mtrr
reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
reg01: base=0x080000000 ( 2048MB), size= 512MB, count=1: write-back
reg02: base=0x0a0000000 ( 2560MB), size= 128MB, count=1: write-back
reg03: base=0x0a8000000 ( 2688MB), size= 64MB, count=1: write-back
reg04: base=0x0ac000000 ( 2752MB), size= 32MB, count=1: write-back
reg05: base=0x0ae000000 ( 2784MB), size= 8MB, count=1: write-back
reg06: base=0x0f0000000 ( 3840MB), size= 128MB, count=1: write-combining
reg07: base=0x0d0000000 ( 3328MB), size= 256MB, count=1: write-combining
mybox ~ #
Top
pingufunkybeat
l33t
l33t
Posts: 610
Joined: Wed Dec 01, 2004 12:03 am

  • Quote

Post by pingufunkybeat » Sun May 15, 2011 6:54 pm

Well, you are successfully running the r300g driver.

Now try some 3d stuff and see how well it works.
Top
Post Reply

15 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