Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[how-to] 3d hardware acc with ati open source driver.
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 18, 19, 20 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4941

PostPosted: Tue Aug 17, 2010 8:50 am    Post subject: Reply with quote

thses are my settings, try to match these settings to yours:
Code:
dagg@Starfleet ~ $ cat /usr/src/linux/.config | grep EXTRA_FIRMWARE
CONFIG_EXTRA_FIRMWARE="RV630_me.bin RV630_pfp.bin R600_rlc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/radeon/"
dagg@Starfleet ~ $ qlist x11-drivers/radeon-ucode
/lib/firmware/radeon/CEDAR_pfp.bin
/lib/firmware/radeon/CYPRESS_rlc.bin
/lib/firmware/radeon/R600_rlc.bin
/lib/firmware/radeon/CEDAR_me.bin
/lib/firmware/radeon/REDWOOD_me.bin
/lib/firmware/radeon/CYPRESS_me.bin
/lib/firmware/radeon/JUNIPER_rlc.bin
/lib/firmware/radeon/JUNIPER_me.bin
/lib/firmware/radeon/CEDAR_rlc.bin
/lib/firmware/radeon/REDWOOD_pfp.bin
/lib/firmware/radeon/CYPRESS_pfp.bin
/lib/firmware/radeon/R700_rlc.bin
/lib/firmware/radeon/JUNIPER_pfp.bin
/lib/firmware/radeon/REDWOOD_rlc.bin
dagg@Starfleet ~ $ lspci | grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3600 Series
01:00.1 Audio device: ATI Technologies Inc RV635 Audio device [Radeon HD 3600 Series]
dagg@Starfleet ~ $ ls /lib/firmware/radeon/
CEDAR_me.bin     R100_cp.bin   REDWOOD_me.bin   RV620_me.bin        RV710_me.bin
CEDAR_pfp.bin    R200_cp.bin   REDWOOD_pfp.bin  RV620_me.bin.gen.S  RV710_pfp.bin
CEDAR_rlc.bin    R300_cp.bin   REDWOOD_rlc.bin  RV620_pfp.bin       RV730_me.bin
CYPRESS_me.bin   R420_cp.bin   RS600_cp.bin     RV630_me.bin        RV730_pfp.bin
CYPRESS_pfp.bin  R520_cp.bin   RS690_cp.bin     RV630_pfp.bin       RV770_me.bin
CYPRESS_rlc.bin  R600_me.bin   RS780_me.bin     RV635_me.bin        RV770_pfp.bin
JUNIPER_me.bin   R600_pfp.bin  RS780_pfp.bin    RV635_pfp.bin
JUNIPER_pfp.bin  R600_rlc.bin  RV610_me.bin     RV670_me.bin
JUNIPER_rlc.bin  R700_rlc.bin  RV610_pfp.bin    RV670_pfp.bin

_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
sonicwim
n00b
n00b


Joined: 28 Jan 2005
Posts: 26
Location: Kortrijk, Belgium

PostPosted: Wed Aug 18, 2010 9:53 am    Post subject: Reply with quote

Pfft, this thing is really wearing down my patience...

I've inserted the right firmware blobs in the kernel (I wondered where all those files were coming from but x11-drivers/radeon-ucode was the source, thanks for pointing that out).
So now they seem to be loaded:
Code:
Aug 18 11:10:58 pingu kernel: platform radeon_cp.0: firmware: using built-in firmware radeon/RV770_pfp.bin
Aug 18 11:10:58 pingu kernel: platform radeon_cp.0: firmware: using built-in firmware radeon/RV770_me.bin
Aug 18 11:10:58 pingu kernel: platform radeon_cp.0: firmware: using built-in firmware radeon/R700_rlc.bin

But I get a blank screen after this, perhaps it has someting to do with this error I get near the end:
Code:
Aug 18 11:10:58 pingu kernel: uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.


I'll remove that FB mode select and try again...

But a part from that: how does one get 3D acceleration with this driver? 'Cuz this is what it's all about.

Wimmy
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4941

PostPosted: Wed Aug 18, 2010 10:18 am    Post subject: Reply with quote

sonicwim wrote:
Pfft, this thing is really wearing down my patience...

I've inserted the right firmware blobs in the kernel (I wondered where all those files were coming from but x11-drivers/radeon-ucode was the source, thanks for pointing that out).
So now they seem to be loaded:
Code:
Aug 18 11:10:58 pingu kernel: platform radeon_cp.0: firmware: using built-in firmware radeon/RV770_pfp.bin
Aug 18 11:10:58 pingu kernel: platform radeon_cp.0: firmware: using built-in firmware radeon/RV770_me.bin
Aug 18 11:10:58 pingu kernel: platform radeon_cp.0: firmware: using built-in firmware radeon/R700_rlc.bin

But I get a blank screen after this, perhaps it has someting to do with this error I get near the end:
Code:
Aug 18 11:10:58 pingu kernel: uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.


I'll remove that FB mode select and try again...

But a part from that: how does one get 3D acceleration with this driver? 'Cuz this is what it's all about.

Wimmy


using r600g here since the initial commit so I'm not that updated but last I can remember, it was ok.
make sure you don't compile the framebuffer module as you don't need it.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
sonicwim
n00b
n00b


Joined: 28 Jan 2005
Posts: 26
Location: Kortrijk, Belgium

PostPosted: Wed Aug 18, 2010 10:27 am    Post subject: Reply with quote

Eh well I must admit that my console (framebuffer?) while booting never looked so good: it completely uses the screen at the right resolution and refresh rate, the font looks nice and crisp and scrolling goes faaaast without any tearing...
Therefore I disabled CONFIG_VIDEO_OUTPUT_CONTROL and CONFIG_FB_UVESA... :oops:
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4941

PostPosted: Wed Aug 18, 2010 10:48 am    Post subject: Reply with quote

sonicwim wrote:
Eh well I must admit that my console (framebuffer?) while booting never looked so good: it completely uses the screen at the right resolution and refresh rate, the font looks nice and crisp and scrolling goes faaaast without any tearing...
Therefore I disabled CONFIG_VIDEO_OUTPUT_CONTROL and CONFIG_FB_UVESA... :oops:

solved then?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Wed Aug 18, 2010 11:07 am    Post subject: Reply with quote

sonicwim wrote:
But a part from that: how does one get 3D acceleration with this driver? 'Cuz this is what it's all about.

Latest Mesa and xf86-video-ati from portage should do the trick. Remove your xorg.conf before starting X.
Back to top
View user's profile Send private message
sonicwim
n00b
n00b


Joined: 28 Jan 2005
Posts: 26
Location: Kortrijk, Belgium

PostPosted: Wed Aug 18, 2010 5:28 pm    Post subject: Reply with quote

I've got the latest Mesa and xf86-video-ati for quite a few weeks now...

So it seems to work, even when I change the default windows manager to Compiz I see some neat effects! I'm missing the window borders though but that has been like this as far as I can remember so I can live with that... :-)

But my shells (konsole) look all weird (green to red gradient) and the panel is also missing.
And when I try NeverBall as a test this works great but when I get back to KDE the only thing I see is my pointer, everything else is black. It does change shape so it still knows where it is...
Switching to a TTY and back does not solve this problem... :?
Back to top
View user's profile Send private message
jw5801
Apprentice
Apprentice


Joined: 12 Jun 2008
Posts: 251
Location: Melbourne, Australia

PostPosted: Tue Aug 24, 2010 9:11 am    Post subject: Reply with quote

Hi guys, I'm having trouble getting hardware rendering happening with the KMS driver. It worked fine on UMS, but HDMI audio only works on KMS (plus UMS will be going away eventually anyway), so here I am!

First off, some hardware info (the graphics chipset is HD4290 which is R600 series, I believe):
lspci -nn
Code:
00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate [1022:9601]
00:01.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (int gfx) [1022:9602]
00:0a.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 5) [1022:9609]
00:11.0 SATA controller [0106]: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode] [1002:4390] (rev 40)
00:12.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
00:12.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 41)
00:14.1 IDE interface [0101]: ATI Technologies Inc SB700/SB800 IDE Controller [1002:439c] (rev 40)
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB700/SB800 LPC host controller [1002:439d] (rev 40)
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384] (rev 40)
00:14.5 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller [1002:4399]
00:15.0 PCI bridge [0604]: ATI Technologies Inc Device [1002:43a0]
00:16.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
00:16.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration [1022:1200]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map [1022:1201]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller [1022:1202]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control [1022:1203]
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control [1022:1204]
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc Device [1002:9714]
01:05.1 Audio device [0403]: ATI Technologies Inc Device [1002:970f]
02:00.0 SATA controller [0106]: JMicron Technology Corp. JMB361 AHCI/IDE [197b:2361] (rev 02)
02:00.1 IDE interface [0101]: JMicron Technology Corp. JMB361 AHCI/IDE [197b:2361] (rev 02)
03:07.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller [1106:3044] (rev c0)
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)


glxinfo claims direct rendering, but reports the software rasteriser, which is a bit odd:
glxinfo | grep render
Code:
direct rendering: Yes
OpenGL renderer string: Software Rasterizer


I'm using the versions of everything that are in portage. I think the problem is in which firmware blobs I'm pointing the kernel to as dmesg seems to be complaining about failing to load firmware:
dmesg | grep drm:
Code:
[    1.232660] [drm] Initialized drm 1.1.0 20060810
[    1.232687] [drm] radeon defaulting to kernel modesetting.
[    1.232688] [drm] radeon kernel modesetting enabled.
[    1.233977] [drm] initializing kernel modesetting (RS880 0x1002:0x9714).
[    1.234030] [drm] register mmio base: 0xFE6F0000
[    1.234031] [drm] register mmio size: 65536
[    1.234604] [drm] Clocks initialized !
[    1.234605] [drm] 1 Power State(s)
[    1.234606] [drm] State 0 Default (default)
[    1.234607] [drm]    1 Clock Mode(s)
[    1.234608] [drm]       0 engine: 500000
[    1.234611] [drm] radeon: power management initialized
[    1.234755] [drm] Detected VRAM RAM=256M, BAR=256M
[    1.234755] [drm] RAM width 32bits DDR
[    1.236815] [drm] radeon: 256M of VRAM memory ready
[    1.236816] [drm] radeon: 512M of GTT memory ready.
[    1.236848] [drm] radeon: irq initialized.
[    1.236850] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    1.237366] [drm] Loading RS780 Microcode
[   60.462187] [drm:r600_startup] *ERROR* Failed to load firmware!
[   60.462260] [drm] Enabling audio support
[   60.462275] [drm] Unknown TV standard; defaulting to NTSC
[   60.462432] [drm] Radeon Display Connectors
[   60.462433] [drm] Connector 0:
[   60.462433] [drm]   VGA
[   60.462435] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[   60.462436] [drm]   Encoders:
[   60.462437] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[   60.462438] [drm] Connector 1:
[   60.462438] [drm]   HDMI-A
[   60.462439] [drm]   HPD3
[   60.462440] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[   60.462441] [drm]   Encoders:
[   60.462442] [drm]     DFP1: INTERNAL_KLDSCP_LVTMA
[   60.790449] [drm] fb mappable at 0xD0040000
[   60.790450] [drm] vram apper at 0xD0000000
[   60.790451] [drm] size 3686400
[   60.790452] [drm] fb depth is 24
[   60.790453] [drm]    pitch is 5120
[   60.817279] fb0: radeondrmfb frame buffer device
[   60.817283] [drm] Initialized radeon 2.3.0 20080528 for 0000:01:05.0 on minor 0


It seems to want to load RS780 ucode for some reason, and then hangs for a while until it gives up (as you can see by the jump in times). I think I've pointed the kernel to the RS780 unicode though:

zgrep -e FIRMWARE /proc/config.gz
Code:
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="RS780_me.bin RS780_pfp.bin R600_rlc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/radeon/"
# CONFIG_FIRMWARE_EDID is not set
CONFIG_FIRMWARE_MEMMAP=y


I gather something I've set here needs to be different, but I've got no idea what.
Back to top
View user's profile Send private message
sonicwim
n00b
n00b


Joined: 28 Jan 2005
Posts: 26
Location: Kortrijk, Belgium

PostPosted: Tue Aug 24, 2010 11:50 am    Post subject: Reply with quote

Hey, maybe my settings might help you a bit...

I have an ASUS P5Q PRO motherboard with an Radeon HD 4870 and it works more or less... Getting 3D to work went well but just read my last post for more :?
There is also an Intel HD and an ATI HDMI audio controller on board (I thought it was either one or the other because you have to select one in the BIOS) but I use an extra SB X-Fi card:
Code:
pingu ~ # lspci -nn | grep -e VGA -e [aA]udio
00:1b.0 Audio device [0403]: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller [8086:3a3e]
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV770 [Radeon HD 4870] [1002:9440]
01:00.1 Audio device [0403]: ATI Technologies Inc HD48x0 audio [1002:aa30]
05:00.0 Multimedia audio controller [0401]: Creative Labs CA0106 Soundblaster [1102:0007]

Direct rendering is working:
Code:
pingu ~ # glxinfo | grep ender
direct rendering: Yes
OpenGL renderer string: Mesa DRI R600 (RV770 9440) 20090101 x86/MMX/SSE2 TCL DRI2

The firmware also gets loaded as defined in the kernel config:
Code:
pingu ~ # zgrep -e FIRMWARE /proc/config.gz
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="radeon/RV770_me.bin radeon/RV770_pfp.bin radeon/R700_rlc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
CONFIG_FIRMWARE_EDID=y
CONFIG_FIRMWARE_MEMMAP=y
pingu ~ # dmesg | grep radeon | grep bin
platform radeon_cp.0: firmware: using built-in firmware radeon/RV770_pfp.bin
platform radeon_cp.0: firmware: using built-in firmware radeon/RV770_me.bin
platform radeon_cp.0: firmware: using built-in firmware radeon/R700_rlc.bin

GPU initialised correctly:
Code:
pingu ~ # dmesg | grep drm
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RV770 0x1002:0x9440).
[drm] register mmio base: 0xFE8E0000
[drm] register mmio size: 65536
[drm] Clocks initialized !
[drm] Internal thermal controller with fan control
[drm] 4 Power State(s)
[drm] State 0 Default (default)
[drm]   16 PCIE Lanes
[drm]   3 Clock Mode(s)
[drm]           0 engine/memory: 750000/900000
[drm]           1 engine/memory: 750000/900000
[drm]           2 engine/memory: 750000/900000
[drm] State 1 Performance
[drm]   16 PCIE Lanes
[drm]   3 Clock Mode(s)
[drm]           0 engine/memory: 500000/1000000
[drm]           1 engine/memory: 500000/1000000
[drm]           2 engine/memory: 780000/1000000
[drm] State 2 Default
[drm]   16 PCIE Lanes
[drm]   3 Clock Mode(s)
[drm]           0 engine/memory: 780000/1000000
[drm]           1 engine/memory: 780000/1000000
[drm]           2 engine/memory: 780000/1000000
[drm] State 3 Performance
[drm]   16 PCIE Lanes
[drm]   3 Clock Mode(s)
[drm]           0 engine/memory: 500000/1000000
[drm]           1 engine/memory: 500000/1000000
[drm]           2 engine/memory: 780000/1000000
[drm] radeon: power management initialized
[drm] Detected VRAM RAM=256M, BAR=256M
[drm] RAM width 256bits DDR
[drm] radeon: 256M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] radeon: using MSI.
[drm] radeon: irq initialized.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] Loading RV770 Microcode
[drm] ring test succeeded in 1 usecs
[drm] radeon: ib pool ready.
[drm] ib test succeeded in 0 usecs
[drm] Enabling audio support
[drm] Default TV standard: PAL
[drm] Default TV standard: PAL
[drm] Default TV standard: PAL
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   DVI-I
[drm]   HPD2
[drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY
[drm]     CRT2: INTERNAL_KLDSCP_DAC2
[drm] Connector 1:
[drm]   DIN
[drm]   Encoders:
[drm]     TV1: INTERNAL_KLDSCP_DAC2
[drm] Connector 2:
[drm]   DVI-I
[drm]   HPD1
[drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
[drm]   Encoders:
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
[drm]     DFP2: INTERNAL_KLDSCP_LVTMA
[drm] fb mappable at 0xD0141000
[drm] vram apper at 0xD0000000
[drm] size 8294400
[drm] fb depth is 24
[drm]    pitch is 7680
fb0: radeondrmfb frame buffer device
[drm] Initialized radeon 2.3.0 20080528 for 0000:01:00.0 on minor 0

I've used equery to find out where those firmware files that are not in radeon-ucode come from, I suppose in the kernel source tree:
Code:
pingu distfiles # for i in $(ls linux*.bz2); do ls -al $i && tar -tvjf $i 2> /dev/null | grep RS780_me.bin; done
-rw-rw-r-- 1 portage portage 49441874 Jul 14  2008 linux-2.6.26.tar.bz2
-rw-rw-r-- 1 portage portage 64424138 Dec  3  2009 linux-2.6.32.tar.bz2
-rw-r--r-- root/root     59148 2009-12-03 04:51 linux-2.6.32/firmware/radeon/RS780_me.bin.ihex
-rw-rw-r-- 1 portage portage 67633622 May 16 23:37 linux-2.6.34.tar.bz2
-rw-r--r-- root/root     59148 2010-05-16 23:17 linux-2.6.34/firmware/radeon/RS780_me.bin.ihex

But perhaps you need to use the R700_rlc.bin instead of the R600_rlc.bin? That was also the problem in the end for me, since all the other files are for a 7xx card, even when it's is an RV620 chipset
I also had the [drm:r600_startup] *ERROR* Failed to load firmware! line and now it's gone...

HTH,

Wimmy
Back to top
View user's profile Send private message
jw5801
Apprentice
Apprentice


Joined: 12 Jun 2008
Posts: 251
Location: Melbourne, Australia

PostPosted: Tue Aug 24, 2010 10:04 pm    Post subject: Reply with quote

Ah, turns out I just needed to point it to all the parts of the R600 ucode (or something):

Code:
CONFIG_EXTRA_FIRMWARE="radeon/RV620_me.bin radeon/RV620_pfp.bin radeon/R600_me.bin radeon/R600_pfp.bin radeon/R600_rlc.bin"


Regardless, it works now. I'm not sure I actually need to point it to the RV620 bits since the kernel seems to ignore me anyway, but I'm not going to change it:
Code:
jw@Highwind ~ $ dmesg | grep -e radeon -e drm
[    1.234795] [drm] Initialized drm 1.1.0 20060810
[    1.234819] [drm] radeon defaulting to kernel modesetting.
[    1.234820] [drm] radeon kernel modesetting enabled.
[    1.234872] radeon 0000:01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    1.234874] radeon 0000:01:05.0: setting latency timer to 64
[    1.236110] [drm] initializing kernel modesetting (RS880 0x1002:0x9714).
[    1.236168] [drm] register mmio base: 0xFE6F0000
[    1.236169] [drm] register mmio size: 65536
[    1.236747] [drm] Clocks initialized !
[    1.236748] [drm] 1 Power State(s)
[    1.236749] [drm] State 0 Default (default)
[    1.236750] [drm]    1 Clock Mode(s)
[    1.236751] [drm]       0 engine: 500000
[    1.236754] [drm] radeon: power management initialized
[    1.236760] radeon 0000:01:05.0: VRAM: 256M 0xC0000000 - 0xCFFFFFFF (256M used)
[    1.236761] radeon 0000:01:05.0: GTT: 512M 0xA0000000 - 0xBFFFFFFF
[    1.237644] [drm] Detected VRAM RAM=256M, BAR=256M
[    1.237644] [drm] RAM width 32bits DDR
[    1.238954] [drm] radeon: 256M of VRAM memory ready
[    1.238955] [drm] radeon: 512M of GTT memory ready.
[    1.238987] [drm] radeon: irq initialized.
[    1.238989] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    1.239507] [drm] Loading RS780 Microcode
[    1.239509] platform radeon_cp.0: firmware: using built-in firmware radeon/RS780_pfp.bin
[    1.239511] platform radeon_cp.0: firmware: using built-in firmware radeon/RS780_me.bin
[    1.239513] platform radeon_cp.0: firmware: using built-in firmware radeon/R600_rlc.bin
[    1.274853] [drm] ring test succeeded in 1 usecs
[    1.274924] [drm] radeon: ib pool ready.
[    1.274965] [drm] ib test succeeded in 0 usecs
[    1.274967] [drm] Enabling audio support
[    1.274983] [drm] Unknown TV standard; defaulting to NTSC
[    1.275118] [drm] Radeon Display Connectors
[    1.275119] [drm] Connector 0:
[    1.275119] [drm]   VGA
[    1.275121] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[    1.275122] [drm]   Encoders:
[    1.275123] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    1.275123] [drm] Connector 1:
[    1.275124] [drm]   HDMI-A
[    1.275125] [drm]   HPD3
[    1.275126] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[    1.275127] [drm]   Encoders:
[    1.275128] [drm]     DFP1: INTERNAL_KLDSCP_LVTMA
[    1.605056] [drm] fb mappable at 0xD0141000
[    1.605057] [drm] vram apper at 0xD0000000
[    1.605058] [drm] size 3686400
[    1.605058] [drm] fb depth is 24
[    1.605059] [drm]    pitch is 5120
[    1.631801] fb0: radeondrmfb frame buffer device
[    1.631805] [drm] Initialized radeon 2.3.0 20080528 for 0000:01:05.0 on minor 0
Back to top
View user's profile Send private message
sonicwim
n00b
n00b


Joined: 28 Jan 2005
Posts: 26
Location: Kortrijk, Belgium

PostPosted: Wed Aug 25, 2010 10:17 am    Post subject: Reply with quote

Hmzz, I don't know which blobs are needed for which chipset, perhaps there is a list of some kind?

Or (but this is just a shot in the dark) it has to do with the firmware path and the relative path of the blobs...

Glad it works!
Back to top
View user's profile Send private message
earendilion
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2007
Posts: 115
Location: Meudon (92), France

PostPosted: Sat Sep 04, 2010 8:32 am    Post subject: Reply with quote

Hi,

I had OpenGL working, but since an update it broke.

Here is my Xorg log :

Code:

(EE) AIGLX error: dlopen of /usr/lib64/dri/r600_dri.so failed (/usr/lib64/dri/r600_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
(II) AIGLX: Screen 0 is not DRI capable
(EE) AIGLX error: dlopen of /usr/lib64/dri/swrast_dri.so failed (/usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
(EE) GLX: could not load software renderer


Any idea ?

[EDIT] It seems to be linked to the nptl option : http://bugs.gentoo.org/294524 - I don't use VNC...
_________________
Laptop : XPS M1330/Core2 T9300 - 2.50Ghz/2Go Ram - DDR2/250Go 7200TPM/nVidia 9200GS/Led Screen
-----
Desktop : Gygabyte EX58-UD3R/Core i7 920 2.67Ghz/3Go Ram - DDR3/WD 1To - 7200TPM - 32Mo Cache/ATI HD4850 - 1Go Ram
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Sat Sep 04, 2010 9:45 am    Post subject: Reply with quote

Do the files exist? It seems like it can't find them.
Back to top
View user's profile Send private message
earendilion
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2007
Posts: 115
Location: Meudon (92), France

PostPosted: Sat Sep 04, 2010 10:12 am    Post subject: Reply with quote

Yes it does :

Code:
earendil@ithil ~ $ ls /usr/lib64/dri/
r200_dri.so  r300g_dri.so  r600g_dri.so  radeon_dri.so  swrastg_dri.so
earendil@ithil ~ $


[EDIT] Well it fact not... I just saw it not exactly the same name... but which package provides these files ?
_________________
Laptop : XPS M1330/Core2 T9300 - 2.50Ghz/2Go Ram - DDR2/250Go 7200TPM/nVidia 9200GS/Led Screen
-----
Desktop : Gygabyte EX58-UD3R/Core i7 920 2.67Ghz/3Go Ram - DDR3/WD 1To - 7200TPM - 32Mo Cache/ATI HD4850 - 1Go Ram
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4941

PostPosted: Sat Sep 04, 2010 2:56 pm    Post subject: Reply with quote

Code:
dagg@Starfleet /tmp/revdep-rebuild.mnuiZ5kewa $ slocate r600g_dri.so
/usr/lib64/dri/r600g_dri.so
/usr/lib64/mesa/r600g_dri.so
dagg@Starfleet /tmp/revdep-rebuild.mnuiZ5kewa $ qfile /usr/lib64/dri/r600g_dri.so
media-libs/mesa (/usr/lib64/dri/r600g_dri.so)
dagg@Starfleet /tmp/revdep-rebuild.mnuiZ5kewa $ eix mesa
[I] app-admin/eselect-mesa [1]
     Available versions:  (~)0.0.2 (~)0.0.3 (~)0.0.5
     Installed versions:  0.0.5(09:21:02 PM 08/29/2010)
     Homepage:            http://www.gentoo.org/
     Description:         Utility to change the Mesa OpenGL driver being used

[I] media-libs/mesa
     Available versions:  6.5.2-r1[1] (~)7.0.3[1] (~)7.1[1] (~)7.2[1] 7.3-r1[1] (~)7.4.2[1] (~)7.4.4[1] 7.7.1 7.8.2 (~)9999[1] {+classic debug doc +gallium gles kernel_FreeBSD llvm motif (+)nptl pic selinux video_cards_i810 video_cards_i915 video_cards_i965 video_cards_intel video_cards_mach64 video_cards_mga video_cards_none video_cards_nouveau video_cards_r100 video_cards_r128 video_cards_r200 video_cards_r300 video_cards_r600 video_cards_radeon video_cards_radeonhd video_cards_s3virge video_cards_savage video_cards_sis video_cards_sunffb video_cards_svga video_cards_tdfx video_cards_trident video_cards_via video_cards_vmware (+)xcb}
     Installed versions:  9999[1](09:54:10 AM 09/03/2010)(classic gallium llvm nptl video_cards_r600 video_cards_radeon video_cards_vmware xcb -debug -gles -kernel_FreeBSD -motif -pic -selinux -video_cards_i810 -video_cards_i915 -video_cards_i965 -video_cards_intel -video_cards_mach64 -video_cards_mga -video_cards_none -video_cards_nouveau -video_cards_r100 -video_cards_r128 -video_cards_r200 -video_cards_r300 -video_cards_radeonhd -video_cards_savage -video_cards_sis -video_cards_tdfx -video_cards_via)                                                       
     Homepage:            http://mesa3d.sourceforge.net/
     Description:         OpenGL-like graphic library for Linux


_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
earendilion
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2007
Posts: 115
Location: Meudon (92), France

PostPosted: Sat Sep 04, 2010 4:46 pm    Post subject: Reply with quote

Thanks for the command to run. I got this :

Code:
earendil@ithil ~ $ slocate r600g_dri.so
/usr/lib64/dri/r600g_dri.so                                                                                                                                                                                                                 
/usr/lib64/mesa/r600g_dri.so

ithil earendil # slocate r600_dri.so
/usr/lib32/dri/r600_dri.so
/usr/lib64/mesa/r600_dri.so


I already rebuilt mesa (svn version), but it did nothing... maybe if I did links from /usr/lib64/dri to /usr/lib/dri ?

[EDIT] ok, so I made links from mesa to dri and now it works... unfortunately the driver seems not to support blur effect in kde...
_________________
Laptop : XPS M1330/Core2 T9300 - 2.50Ghz/2Go Ram - DDR2/250Go 7200TPM/nVidia 9200GS/Led Screen
-----
Desktop : Gygabyte EX58-UD3R/Core i7 920 2.67Ghz/3Go Ram - DDR3/WD 1To - 7200TPM - 32Mo Cache/ATI HD4850 - 1Go Ram
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Sat Sep 04, 2010 5:49 pm    Post subject: Reply with quote

The blur effect is indeed problematic.
Back to top
View user's profile Send private message
yagami
Apprentice
Apprentice


Joined: 12 May 2002
Posts: 220
Location: Leiria, Portugal

PostPosted: Mon Sep 13, 2010 8:33 am    Post subject: Reply with quote

i am having a kinda of weird problem :

with mesa git from x11 repository , i have this -> http://forums.gentoo.org/viewtopic-p-6416882.html

without mesa git and stable x11 packages , my kwin flickers and flashes alot ( although performance seems good )

any ideas ? i have an ati 4890
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Mon Sep 13, 2010 10:01 am    Post subject: Reply with quote

It's a very strange problem and I don't know.

Could the flickering be relating to powersaving? Are you using dynamic pm or profiles? Dynpm tends to flicker during reclocking because they don't alway manage it during the vsync interval.
Back to top
View user's profile Send private message
yagami
Apprentice
Apprentice


Joined: 12 May 2002
Posts: 220
Location: Leiria, Portugal

PostPosted: Mon Sep 13, 2010 10:32 am    Post subject: Reply with quote

pingufunkybeat wrote:
It's a very strange problem and I don't know.

Could the flickering be relating to powersaving? Are you using dynamic pm or profiles? Dynpm tends to flicker during reclocking because they don't alway manage it during the vsync interval.


i use profiles. dynamic pm doesnt cause the flickering, but it makes kwin a little sluggish
Back to top
View user's profile Send private message
Gyph
n00b
n00b


Joined: 25 Apr 2010
Posts: 2

PostPosted: Sun Sep 19, 2010 1:40 pm    Post subject: Reply with quote

I am trying to get the new gallium drivers to work. Classic works fine, but when I activate gallium 'eselect mesa set r300 gallium', xorg seg faults on start.
I am running a Thinkpad T60. Ati Radeon Mobility x1400.
Well, first I will say what and how I did what I have done. =)
First my system is fully ACCPET_KEYWORDS="~x86" in make.conf
I installed app-portage/layman
then 'layman -a x11' to add the x11 overlay
then activated the gallium flag by
'mkdir /etc/portage/profile'
'echo "-gallium" >> /etc/portage/profile/use.mask'
'echo ">=media-libs/mesa-9999" >> /etc/portage/package.unmask'
'echo ">=x11-libs/libdrm-9999" >> /etc/portage/package.unmask'
'echo ">=x11-drivers/xf86-video-ati-9999" >> /etc/portage/package.unmask'
then 'emerge -uDN mesa libdrm xf86-video-ati xorg-server eselect-mesa'
I have kernel sys-kernel/gentoo-sources-2.6.35-r7 with default KMS
I run xorg straight from console 'startx', my windows manager is fluxbox
I have tried default xorg.conf, my personal xorg.conf, no xorg.conf, with same results.
I will link any data / logs as necessary.
If there is already a discussion where this is better suited please direct me to the location.
Thank you
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Mon Sep 20, 2010 1:30 am    Post subject: Reply with quote

You should start with dmesg and Xorg.log
Back to top
View user's profile Send private message
darkbasic
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2006
Posts: 124

PostPosted: Mon Sep 20, 2010 1:26 pm    Post subject: Reply with quote

What's gles use flag in mesa-9999?
_________________
Computers are like air conditioners:
they stop working properly when you open Windows...

Coltiva Linux, Windows si pianta da solo.


http://www.linuxsystems.it/
Back to top
View user's profile Send private message
vespaman
Apprentice
Apprentice


Joined: 28 Aug 2002
Posts: 253
Location: Stockholm, Sweden

PostPosted: Mon Sep 20, 2010 4:02 pm    Post subject: Reply with quote

I am trying to get my 4350 (reported to RV710) to work with KMS, but I must be missing something.. I have browsed the whole thread, without finding a clue.

Kernel is 2.6.35-gentoo-r7

I have compiled in RV710_me.bin and RV710_pfp.bin, am I missing R700_rlc.bin? Theres no support of this in the kernel firmware/radeon directory afaict.

What happens is; at boot there's a long wait with a line "[drm] Loading RV710 Microcode", but after about a minute, boot continues, and X is started, but then I only get a '_' (underscore) at the top of the screen.

If I ssh onto the box, and dmesg, I get;
Code:
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<ffffffff8124ab11>] r600_ioctl_wait_idle+0x43/0x7d
PGD 22e44d067 PUD 22e49c067 PMD 0
Oops: 0000 [#1] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/boot_vga
CPU 0
Modules linked in: snd_pcm_oss snd_mixer_oss sr_mod pcspkr i2c_i801 cdrom

Pid: 2406, comm: X Not tainted 2.6.35-gentoo-r7 #4 P5E-VM HDMI/P5E-VM HDMI
RIP: 0010:[<ffffffff8124ab11>]  [<ffffffff8124ab11>] r600_ioctl_wait_idle+0x43/0x7d
RSP: 0018:ffff88022cb19d80  EFLAGS: 00010246
RAX: ffffc900104a0000 RBX: ffff88022e787400 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88022e787400 RDI: ffff88022ee82000
RBP: ffff88022ee9e680 R08: 0000000000000000 R09: 00000000c0086464
R10: 0000000000000001 R11: 0000000000003246 R12: ffff88022e787448
R13: 0000000000000000 R14: ffffffff815b8f90 R15: 00000000c0086464
FS:  00007f41e0f1c840(0000) GS:ffff880001800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000022d6d9000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process X (pid: 2406, threadinfo ffff88022cb18000, task ffff88022ef178d0)
Stack:
 ffffffff8122bff6 ffff88022ee9e680 ffff88022ee9e800 ffff88022ef07800
<0> 0000000000000064 ffff88022cb19de8 ffffffff811df451 0000000000000064
<0> 000000000000e200 0000000000000001 ffff88022cb19e68 ffffffff8122bf11
Call Trace:
 [<ffffffff8122bff6>] ? radeon_gem_wait_idle_ioctl+0xe5/0xff
 [<ffffffff811df451>] ? drm_ioctl+0x227/0x300
 [<ffffffff8122bf11>] ? radeon_gem_wait_idle_ioctl+0x0/0xff
 [<ffffffff810718d7>] ? vma_prio_tree_insert+0x20/0xb5
 [<ffffffff8107a70d>] ? vma_link+0xa9/0xd1
 [<ffffffff81092f56>] ? vfs_ioctl+0x23/0x93
 [<ffffffff8109347d>] ? do_vfs_ioctl+0x434/0x46e
 [<ffffffff810934f3>] ? sys_ioctl+0x3c/0x5c
 [<ffffffff81001e2b>] ? system_call_fastpath+0x16/0x1b
Code: 00 34 2f 00 00 48 8b 87 c8 00 00 00 76 0a 31 c9 89 88 34 2f 00 00 eb 13 b9 34 2f 00 00 89 08 31 c0 48 8b 8f c8 00 00 00 89 41 04 <8b> 02 c3 48 81 bf c0 00 00 00 80 54 00 00 48 8b 87 c8 00 00 00
RIP  [<ffffffff8124ab11>] r600_ioctl_wait_idle+0x43/0x7d
 RSP <ffff88022cb19d80>
CR2: 0000000000000000
---[ end trace 2599b2de2509c415 ]---
[drm:drm_release] *ERROR* Device busy: 1


Someone mentioned in this thread that R600_rlc.bin where needed for some of the RV6xx chip, so maybe this is the problem? That I cannot build R700_slc.bin that is?

Or have I missed something fundamental?

This is .config;
Code:
atle linux # cat .config | grep FIRMWARE
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="RV710_me.bin RV710_pfp.bin"
CONFIG_EXTRA_FIRMWARE_DIR="firmware/radeon"
# CONFIG_FIRMWARE_EDID is not set
CONFIG_FIRMWARE_MEMMAP=y
atle linux #



Think I have tried anything I can think of now...
Back to top
View user's profile Send private message
ExZombie
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 164

PostPosted: Mon Sep 20, 2010 4:10 pm    Post subject: Reply with quote

vespaman: As you already figured out, the kernel is missing a piece of firmware. You need to emerge x11-drivers/radeon-ucode. After that, set the .config to
Code:

CONFIG_EXTRA_FIRMWARE="radeon/R700_rlc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"

The other firmware blobs are shipped with the kernel and need not be specified explicitly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 18, 19, 20 ... 27, 28, 29  Next
Page 19 of 29

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum