[Bug 66519] 3.10 kernel: [drm:evergreen_startup] *ERROR* radeon: error initializing UVD (-1).

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 3 06:15:44 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=66519

--- Comment #9 from Justin Piszcz <jpiszcz at lucidpixels.com> ---
(In reply to comment #8)
> Please do a "make clean" then and fully recompile your kernel.
> 
> The kernel makefile doesn't recognize it when you change the firmware on the
> disk and still builds the old firmware file into the kernel.


$ git clone
git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
Cloning into 'linux-firmware'...
remote: Counting objects: 2210, done.
remote: Compressing objects: 100% (1102/1102), done.
remote: Total 2210 (delta 1121), reused 2114 (delta 1073)
Receiving objects: 100% (2210/2210), 39.99 MiB | 6.39 MiB/s, done.
Resolving deltas: 100% (1121/1121), done.

$ date
Wed Jul  3 08:53:01 EDT 2013

# mv /lib/firmware /lib/firmware.old
# mv linux-firmware/ /lib/firmware
# cd /lib/firmware/radeon
# md5sum CEDAR* CYPRESS_uvd.bin
2b244d41832f46382bfbb8994522dcdd  CEDAR_me.bin
23915e382ea0d2f2491a19146ca3001c  CEDAR_pfp.bin
e8770d3d588f24dc6f1a8609c9db3467  CEDAR_rlc.bin
fb23b281dcc94a035d374e709c9842bd  CYPRESS_uvd.bin

Check firmware:

/lib/firmware/radeon# md5sum CEDAR* CYPRESS_uvd.bin
2b244d41832f46382bfbb8994522dcdd  CEDAR_me.bin
23915e382ea0d2f2491a19146ca3001c  CEDAR_pfp.bin
e8770d3d588f24dc6f1a8609c9db3467  CEDAR_rlc.bin
fb23b281dcc94a035d374e709c9842bd  CYPRESS_uvd.bin

Use fresh tree:

# cp linux-3.10/.config oldconfig
# rm -rf linux-3.10
# tar jxf linux-3.10.tar.bz2
# rm linux
# ln -s linux-3.10 linux
# cp oldconfig linux/.config
# cd linux
# make oldconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
warning: (DRM_RADEON && DRM_I915 && DRM_GMA500 && DRM_TILCDC && FB_BACKLIGHT &&
USB_APPLEDISPLAY && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI
&& EEEPC_LAPTOP && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE
which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
warning: (HAVE_TEXT_POKE_SMP) selects STOP_MACHINE which has unmet direct
dependencies (SMP && MODULE_UNLOAD || HOTPLUG_CPU)
warning: (DRM_RADEON && DRM_I915 && DRM_GMA500 && DRM_TILCDC && FB_BACKLIGHT &&
USB_APPLEDISPLAY && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI
&& EEEPC_LAPTOP && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE
which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
warning: (HAVE_TEXT_POKE_SMP) selects STOP_MACHINE which has unmet direct
dependencies (SMP && MODULE_UNLOAD || HOTPLUG_CPU)
#
# configuration written to .config
#

Compile kernel/install/reboot.

It is happy now, I've removed my distribution's firmware package as well.


[    0.817384] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    0.817917] [drm] enabling PCIE gen 2 link speeds, disable with
radeon.pcie_gen2=0
[    0.818047] [drm] Loading CEDAR Microcode
[    0.826262] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).

[    0.840416] [drm] radeon: irq initialized.
[    0.857152] [drm] ring test on 0 succeeded in 2 usecs
[    0.857267] [drm] ring test on 3 succeeded in 1 usecs
[    1.043474] [drm] ring test on 5 succeeded in 4 usecs
[    1.043537] [drm] UVD initialized successfully.
[    1.043826] [drm] ib test on ring 0 succeeded in 0 usecs
[    1.043912] [drm] ib test on ring 3 succeeded in 0 usecs
[    1.195406] [drm] ib test on ring 5 succeeded
[    1.196322] [drm] Radeon Display Connectors
[    1.196378] [drm] Connector 0:
[    1.196432] [drm]   DP-1
[    1.196486] [drm]   HPD2
[    1.196545] [drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c
0x646c
[    1.196613] [drm]   Encoders:
[    1.196667] [drm]     DFP1: INTERNAL_UNIPHY1
[    1.196723] [drm] Connector 1:
[    1.196777] [drm]   DVI-I-1
[    1.196830] [drm]   HPD4
[    1.196884] [drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c
0x645c
[    1.196952] [drm]   Encoders:
[    1.197006] [drm]     DFP2: INTERNAL_UNIPHY
[    1.197061] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    1.197117] [drm] Connector 2:
[    1.197171] [drm]   VGA-1
[    1.197225] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c
0x643c
[    1.197293] [drm]   Encoders:
[    1.197347] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
[    1.197445] [drm] Internal thermal controller with fan control
[    1.197570] [drm] radeon: power management initialized
[    1.291637] [drm] fb mappable at 0x3C0FE035F000
[    1.291695] [drm] vram apper at 0x3C0FE0000000
[    1.291750] [drm] size 9216000
[    1.291804] [drm] fb depth is 24
[    1.291858] [drm]    pitch is 7680


Thanks,

Justin.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130703/25f55753/attachment.html>


More information about the dri-devel mailing list