•   
  • 1
  • 223
  • 224
  • 225(current)
  • 226
  • 227
  • 244
  •   
  Thread Closed
Linux Radeon OSS with vdpau (howto)
Perhaps someone could look at this crash log for me and confirm for me it is a kernel bug?
Then I'll take this problem to another forum. Server only runs Kodi, and did so just fine up until Trusty

Image

This only happens when the MCEUSB remote transceiver is connected AND Lirc is loaded.
Without LIRC, some buttons work, but it does not crash.

Never happened with Saucy, and I have tried Kernels 3.13 - 3.18, but crashes every time.
There are no interrupt conflicts prior to the crash
Code:
CPU0       CPU1       CPU2       CPU3
  0:         45          0          0          0   IO-APIC-edge      timer
  1:          2          2          3          3   IO-APIC-edge      i8042
  8:          1          0          0          0   IO-APIC-edge      rtc0
  9:          0          0          0          0   IO-APIC-fasteoi   acpi
16:          0          0          0          0   IO-APIC-fasteoi   uhci_hcd:usb3, pata_jmicron
18:          2          1          1          0   IO-APIC-fasteoi   ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8
19:          0          0          0          0   IO-APIC-fasteoi   uhci_hcd:usb7
21:          0          1         78         56   IO-APIC-fasteoi   uhci_hcd:usb4
22:      13201      11462       1960       1937   IO-APIC-fasteoi   ata_piix, ata_piix
23:          0          0          0          0   IO-APIC-fasteoi   ehci_hcd:usb2, uhci_hcd:usb6
44:       1970         19         20         11   PCI-MSI-edge      eth0
45:        286        361        417        356   PCI-MSI-edge      snd_hda_intel
46:      36463      38984      39023      36931   PCI-MSI-edge      radeon
NMI:         32         31         24         26   Non-maskable interrupts
LOC:      59336      59991      64698      61536   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:         32         31         24         26   Performance monitoring interrupts
IWI:          0          0          0          1   IRQ work interrupts
RTR:          0          0          0          0   APIC ICR read retries
RES:      92889     100896      50069      51431   Rescheduling interrupts
CAL:       1000       1019       1081       1968   Function call interrupts
TLB:        432        780        567       1048   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:          7          7          7          7   Machine check polls
THR:          0          0          0          0   Hypervisor callback interrupts
ERR:          0
MIS:          0
yeah, kernel bug
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Aarrgh !!

Thanks.

I can move on to working around it now.
and I'll file a Bug report...
Hi,
When I play a wmv, I have sound but only blue gliches on top right of the screen. If I use software decoding instead of hardware, it works.
I think it worked before moving to 14.04 (I'm not sure because I don't have much wmv).
Is there a way to use SW only for wmv ?

Thanks.
Video -> Acceleration (Expert Settings) -> Turn off VC1
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2014-12-12, 23:02)fritsch Wrote: Kernel bug:

sudo apt-get update
sudo apt-get dist-upgrade

Code:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16.7-utopic/linux-headers-3.16.7-031607-generic_3.16.7-031607.201410301735_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16.7-utopic/linux-headers-3.16.7-031607_3.16.7-031607.201410301735_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16.7-utopic/linux-image-3.16.7-031607-generic_3.16.7-031607.201410301735_amd64.deb
sudo dpkg -i *3.16*deb

sudo update-grub
sudo reboot

Just wanted to say this worked. Thanks!
Be aware that in kernel 3.13.0-43 something is broken and Radeon driver stops working.

I did rollback to kernel 3.13.0-40 and now it works just fine.
Orange Pi PC Plus [OpenELEC 7.0]
Can you be more precise with "something"?

Post dmesg or something?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2014-12-15, 09:36)fritsch Wrote: Can you be more precise with "something"?

Post dmesg or something?

I'll post it a little bit later. Don't have access to the server right now.
Orange Pi PC Plus [OpenELEC 7.0]
(2014-12-13, 22:25)fritsch Wrote: Video -> Acceleration (Expert Settings) -> Turn off VC1

Thanks !
(2014-12-15, 09:36)fritsch Wrote: Post dmesg or something?

There is syslog cut:
Dec 14 10:45:14 mediacenter kernel: [ 17.365515] ------------[ cut here ]------------
Dec 14 10:45:14 mediacenter kernel: [ 17.365590] kernel BUG at /build/buildd/linux-3.13.0/mm/slub.c:3365!
Dec 14 10:45:14 mediacenter kernel: [ 17.365670] invalid opcode: 0000 [#1] SMP
Dec 14 10:45:14 mediacenter kernel: [ 17.365727] Modules linked in: ctr ccm snd_hda_codec_realtek arc4 snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi rt2800usb snd_seq_midi_event rt2x00usb snd_rawmidi rt2800lib rt2x00lib snd_seq mac80211 snd_seq_device kvm_amd snd_timer sp5100_tco cfg80211 kvm i2c_piix4 crc_ccitt serio_raw joydev snd w83627ehf hwmon_vid soundcore lp mac_hid parport hid_generic usbhid hid radeon ahci r8169 psmouse i2c_algo_bit mii ttm libahci drm_kms_helper drm
Dec 14 10:45:14 mediacenter kernel: [ 17.366337] CPU: 1 PID: 1301 Comm: Xorg Not tainted 3.13.0-43-generic #72-Ubuntu
Dec 14 10:45:14 mediacenter kernel: [ 17.366427] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./E350M1/USB3, BIOS P1.60 05/21/2012
Dec 14 10:45:14 mediacenter kernel: [ 17.366542] task: ec1e2700 ti: ec112000 task.ti: ec112000
Dec 14 10:45:14 mediacenter kernel: [ 17.366608] EIP: 0060:[<c1164a61>] EFLAGS: 00213246 CPU: 1
Dec 14 10:45:14 mediacenter kernel: [ 17.366683] EIP is at kfree+0x101/0x110
Dec 14 10:45:14 mediacenter kernel: [ 17.366730] EAX: 80000000 EBX: 00000000 ECX: 00010005 EDX: 80000000
Dec 14 10:45:14 mediacenter kernel: [ 17.366804] ESI: f76fe480 EDI: f8d24d08 EBP: ec113b88 ESP: ec113b6c
Dec 14 10:45:14 mediacenter kernel: [ 17.366879] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Dec 14 10:45:14 mediacenter kernel: [ 17.366944] CR0: 80050033 CR2: b64b8024 CR3: 35b5d000 CR4: 000007f0
Dec 14 10:45:14 mediacenter kernel: [ 17.367018] Stack:
Dec 14 10:45:14 mediacenter kernel: [ 17.367044] 0000004c ec113b88 ec113be4 00024414 00000000 f48f2000 f6137400 ec113c4c
Dec 14 10:45:14 mediacenter kernel: [ 17.367151] f8d24d08 00000000 f60bc656 0000c736 00000000 00aac9a0 0000712c 00007048
Dec 14 10:45:14 mediacenter kernel: [ 17.367257] 00007044 00000000 00000000 ec1d2a80 f48f2000 f6137400 f584c800 ec113be0
Dec 14 10:45:14 mediacenter kernel: [ 17.367362] Call Trace:
Dec 14 10:45:14 mediacenter kernel: [ 17.367457] [<f8d24d08>] evergreen_hdmi_setmode+0x738/0x9a0 [radeon]
Dec 14 10:45:14 mediacenter kernel: [ 17.367565] [<f8a96059>] ? drm_detect_hdmi_monitor+0x69/0xb0 [drm]
Dec 14 10:45:14 mediacenter kernel: [ 17.367693] [<f8d2ba27>] ? radeon_atom_encoder_dpms+0xa7/0x1d0 [radeon]
Dec 14 10:45:14 mediacenter kernel: [ 17.367824] [<f8d2503e>] ? evergreen_hdmi_enable+0xce/0xf0 [radeon]
Dec 14 10:45:14 mediacenter kernel: [ 17.367955] [<f8d2bc99>] radeon_atom_encoder_mode_set+0x149/0x2c0 [radeon]
Dec 14 10:45:14 mediacenter kernel: [ 17.368046] [<f846ba06>] drm_crtc_helper_set_mode+0x4d6/0x550 [drm_kms_helper]
Dec 14 10:45:14 mediacenter kernel: [ 17.368179] [<f8cd6974>] radeon_property_change_mode.isra.1+0x34/0x40 [radeon]
Dec 14 10:45:14 mediacenter kernel: [ 17.368305] [<f8cd6b19>] radeon_connector_set_property+0x199/0x330 [radeon]
Dec 14 10:45:14 mediacenter kernel: [ 17.368416] [<f8a93539>] drm_mode_obj_set_property_ioctl+0x149/0x3c0 [drm]
Dec 14 10:45:14 mediacenter kernel: [ 17.368521] [<f8a937b0>] ? drm_mode_obj_set_property_ioctl+0x3c0/0x3c0 [drm]
Dec 14 10:45:14 mediacenter kernel: [ 17.368628] [<f8a937e3>] drm_mode_connector_property_set_ioctl+0x33/0x40 [drm]
Dec 14 10:45:14 mediacenter kernel: [ 17.368730] [<f8a84792>] drm_ioctl+0x472/0x500 [drm]
Dec 14 10:45:14 mediacenter kernel: [ 17.368817] [<f8a937b0>] ? drm_mode_obj_set_property_ioctl+0x3c0/0x3c0 [drm]
Dec 14 10:45:14 mediacenter kernel: [ 17.368907] [<c114729d>] ? handle_mm_fault+0x34d/0x8d0
Dec 14 10:45:14 mediacenter kernel: [ 17.368974] [<c141a041>] ? __pm_runtime_resume+0x51/0x70
Dec 14 10:45:14 mediacenter kernel: [ 17.369069] [<f8c9b0de>] radeon_drm_ioctl+0x3e/0x70 [radeon]
Dec 14 10:45:14 mediacenter kernel: [ 17.369167] [<f8c9b0a0>] ? radeon_resume+0x50/0x50 [radeon]
Dec 14 10:45:14 mediacenter kernel: [ 17.369240] [<c118acb2>] do_vfs_ioctl+0x2e2/0x4d0
Dec 14 10:45:14 mediacenter kernel: [ 17.369303] [<c165fc27>] ? __do_page_fault+0x237/0x510
Dec 14 10:45:14 mediacenter kernel: [ 17.369368] [<c117beb1>] ? __sb_end_write+0x31/0x70
Dec 14 10:45:14 mediacenter kernel: [ 17.369432] [<c117a405>] ? vfs_write+0x165/0x1b0
Dec 14 10:45:14 mediacenter kernel: [ 17.369490] [<c118af00>] SyS_ioctl+0x60/0x80
Dec 14 10:45:14 mediacenter kernel: [ 17.369545] [<c166398d>] sysenter_do_call+0x12/0x12
Dec 14 10:45:14 mediacenter kernel: [ 17.369606] Code: 2a 8b 06 31 d2 f6 c4 40 74 03 8b 56 38 89 f0 e8 a6 49 fc ff eb 9a 8b 70 1c 0f ae e8 89 f6 8b 10 80 e6 80 0f 44 f0 e9 3e ff ff ff <0f> 0b 8d b6 00 00 00 00 8d bc 27 00 00 00 00 55 89 e5 57 56 53
Dec 14 10:45:14 mediacenter kernel: [ 17.369948] EIP: [<c1164a61>] kfree+0x101/0x110 SS:ESP 0068:ec113b6c
Orange Pi PC Plus [OpenELEC 7.0]
Quote:Dec 14 10:45:14 mediacenter kernel: [ 17.367457] [<f8d24d08>] evergreen_hdmi_setmode+0x738/0x9a0 [radeon]
Dec 14 10:45:14 mediacenter kernel: [ 17.367565] [<f8a96059>] ? drm_detect_hdmi_monitor+0x69/0xb0 [drm]
Dec 14 10:45:14 mediacenter kernel: [ 17.367693] [<f8d2ba27>] ? radeon_atom_encoder_dpms+0xa7/0x1d0 [radeon]
Dec 14 10:45:14 mediacenter kernel: [ 17.367824] [<f8d2503e>] ? evergreen_hdmi_enable+0xce/0xf0 [radeon]

Ouh yes, they included the f*ck up from upstream. Please report that to the ubuntu bugtracker.

Workaround: Install the 3.16.x I linked before.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
There is a bug report here: launchpad
Just for information, it seems that old radeon cards will be supported for h264 codec. http://www.phoronix.com/scan.php?page=ne...px=MTc3NDQ
This was already discussed in this (I admit very long thread). Those old cards don't support GL_INTEROP, therefore kodi won't work.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
  •   
  • 1
  • 223
  • 224
  • 225(current)
  • 226
  • 227
  • 244
  •   
  Thread Closed
 
Thread Rating:
  • 26 Vote(s) - 4.58 Average



Logout Mark Read Team Forum Stats Members Help
Radeon OSS with vdpau (howto)4.5826