• 1
  • 31
  • 32
  • 33(current)
  • 34
  • 35
  • 244
Linux Radeon OSS with vdpau (howto)
(2013-10-22, 08:27)fritsch Wrote:
(2013-10-22, 05:55)Endeavour79 Wrote:
(2013-10-21, 11:07)fritsch Wrote: @Endeavour79, @dermute:

The howto suggest posting logfiles, please do so.

You're right. Logfile links in your inbox.

I hate reading PMs, especially with logfiles, cause I mostly have to explain every PM to at least 10 people which all have the same problem. So post them in this thread here and make 100% sure, you did not skip a single step of this howto.

From what I see: /home/xbmc/startxbmc.sh could be missing (check the howto)

Thanks fritsch. I already checked every step from the howto. startxbmc.sh exists exactly as described in the hwoto.
Also xbmc does start, but then the flickering disco starts. The flicker actually already starts with the first grey XBMC logo, just before the AEON logo, which also flickers already.


For completeness..here are the logs to the flicker & audio player crashes xbmc problem:

This is with the screen disco..(2sec on/off flickering)

http://paste.ubuntu.com/6280840/
http://paste.ubuntu.com/6280842/
http://paste.ubuntu.com/6280847/
http://paste.ubuntu.com/6280865/

xbmc@boombox:~$ DISPLAY=:0 vdpauinfo | pastebinit
vdpauinfo: cannot connect to X server :0
You are trying to send an empty document, exiting.

I let the system run and played an Audio Stream because I noticed that after a few minutes XBMC crashes. (Maybe when going in some kind of energy saving mode?)
This are the logs after the crash. (The lightdm service crashed, after restarting it, XBMC was back)

http://paste.ubuntu.com/6280887/
http://paste.ubuntu.com/6280888/
http://paste.ubuntu.com/6280890/
http://paste.ubuntu.com/6280893/

xbmc@boombox:~$ DISPLAY=:0 vdpauinfo | pastebinit
vdpauinfo: cannot connect to X server :0
You are trying to send an empty document, exiting.
Remove your /etc/X11/xorg.conf and retry

Quote:[ 109.590230] WARNING: CPU: 1 PID: 1347 at drivers/gpu/drm/drm_crtc.c:2029 drm_mode_set_config_internal+0xd6/0xe0 [drm]()
[ 109.590233] Modules linked in: rfcomm(F) bnep(F) parport_pc(F) bluetooth(F) ppdev(F) hid_generic(F) usbhid(F) hid(F) snd_hda_codec_realtek(F) snd_hda_codec_hdmi(F) snd_hda_intel(F) snd_hda_codec(F) snd_hwdep(F) snd_pcm(F) snd_page_alloc(F) snd_seq_midi(F) snd_seq_midi_event(F) snd_rawmidi(F) rts5139(FC) psmouse(F) serio_raw(F) k10temp(F) snd_seq(F) snd_seq_device(F) snd_timer(F) snd(F) i2c_piix4(F) ir_lirc_codec(F) lirc_dev(F) ir_sanyo_decoder(F) ir_mce_kbd_decoder(F) ir_sony_decoder(F) ohci_pci(F) ir_jvc_decoder(F) ir_rc6_decoder(F) soundcore(F) ir_rc5_decoder(F) ir_nec_decoder(F) rc_rc6_mce(F) ite_cir(F) rc_core(F) nls_iso8859_1(F) mac_hid(F) lp(F) parport(F) uvesafb(F) pata_acpi(F) usb_storage(F) radeon(F) video(F) i2c_algo_bit(F) pata_atiixp(F) r8169(F) mii(F) sdhci_pci(F) sdhci(F) ahci(F) libahci(F) ttm(F) drm_kms_helper(F) drm(F)
[ 109.590297] CPU: 1 PID: 1347 Comm: Xorg Tainted: GF C 3.12.0-rc6 #1
[ 109.590301] Hardware name: ZOTAC ZBOXNXS-AD13/ZBOXNXS-AD13, BIOS A260P005 01/31/2013
[ 109.590304] 0000000000000009 ffff880035057c88 ffffffff81713cfc 0000000000000000
[ 109.590311] ffff880035057cc0 ffffffff8106407c ffff88022de563c0 0000000000000000
[ 109.590316] ffff88022d53f000 0000000000000001 ffff88022d567000 ffff880035057cd0
[ 109.590322] Call Trace:
[ 109.590334] [<ffffffff81713cfc>] dump_stack+0x45/0x56
[ 109.590341] [<ffffffff8106407c>] warn_slowpath_common+0x8c/0xc0
[ 109.590347] [<ffffffff810640ca>] warn_slowpath_null+0x1a/0x20
[ 109.590364] [<ffffffffa0010e46>] drm_mode_set_config_internal+0xd6/0xe0 [drm]
[ 109.590383] [<ffffffffa00134bb>] drm_mode_setcrtc+0xfb/0x620 [drm]
[ 109.590389] [<ffffffff817185c2>] ? mutex_lock+0x12/0x30
[ 109.590405] [<ffffffffa0003f29>] drm_ioctl+0x539/0x660 [drm]
[ 109.590423] [<ffffffffa00133c0>] ? drm_mode_setplane+0x3b0/0x3b0 [drm]
[ 109.590432] [<ffffffff811c47ec>] do_vfs_ioctl+0x8c/0x4f0
[ 109.590437] [<ffffffff811b43e1>] ? __sb_end_write+0x31/0x60
[ 109.590443] [<ffffffff811b26ee>] ? vfs_write+0x17e/0x1e0
[ 109.590448] [<ffffffff811c4ce1>] SyS_ioctl+0x91/0xb0
[ 109.590453] [<ffffffff8172462d>] system_call_fastpath+0x1a/0x1f
[ 109.590457] ---[ end trace b03e15bb21bd25e9 ]---

This is a bug for freedesktop (try without radeon.audio=1)

What about this:

Quote:uvesafb: failed to execute /sbin/v86d
[ 3.221750] uvesafb: make sure that the v86d helper is installed and executable
[ 3.221754] uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
[ 3.221758] uvesafb: vbe_init() failed with -22
[ 3.221768] uvesafb: probe of uvesafb.0 failed with error -22

Did you tune your Splash? Don't do this.

Quote:14:46:20 T:139963969484544 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:525087360.484208, should be:525097451.613352, error:10091.129144
14:46:26 T:139963969484544 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:531217451.629351, should be:531227880.411604, error:10428.782253
14:46:32 T:139963969484544 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:537395664.426604, should be:537406029.105562, error:10364.678958

Those I wanted to get fix with the pll fix ... Can you also (when it is working again) get me the radeon tool output, while playing something? and DISPLAY=:0 xrandr --verbose
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2013-10-22, 11:36)fritsch Wrote: Remove your /etc/X11/xorg.conf and retry

Quote:[ 109.590230] WARNING: CPU: 1 PID: 1347 at drivers/gpu/drm/drm_crtc.c:2029 drm_mode_set_config_internal+0xd6/0xe0 [drm]()
[ 109.590233] Modules linked in: rfcomm(F) bnep(F) parport_pc(F) bluetooth(F) ppdev(F) hid_generic(F) usbhid(F) hid(F) snd_hda_codec_realtek(F) snd_hda_codec_hdmi(F) snd_hda_intel(F) snd_hda_codec(F) snd_hwdep(F) snd_pcm(F) snd_page_alloc(F) snd_seq_midi(F) snd_seq_midi_event(F) snd_rawmidi(F) rts5139(FC) psmouse(F) serio_raw(F) k10temp(F) snd_seq(F) snd_seq_device(F) snd_timer(F) snd(F) i2c_piix4(F) ir_lirc_codec(F) lirc_dev(F) ir_sanyo_decoder(F) ir_mce_kbd_decoder(F) ir_sony_decoder(F) ohci_pci(F) ir_jvc_decoder(F) ir_rc6_decoder(F) soundcore(F) ir_rc5_decoder(F) ir_nec_decoder(F) rc_rc6_mce(F) ite_cir(F) rc_core(F) nls_iso8859_1(F) mac_hid(F) lp(F) parport(F) uvesafb(F) pata_acpi(F) usb_storage(F) radeon(F) video(F) i2c_algo_bit(F) pata_atiixp(F) r8169(F) mii(F) sdhci_pci(F) sdhci(F) ahci(F) libahci(F) ttm(F) drm_kms_helper(F) drm(F)
[ 109.590297] CPU: 1 PID: 1347 Comm: Xorg Tainted: GF C 3.12.0-rc6 #1
[ 109.590301] Hardware name: ZOTAC ZBOXNXS-AD13/ZBOXNXS-AD13, BIOS A260P005 01/31/2013
[ 109.590304] 0000000000000009 ffff880035057c88 ffffffff81713cfc 0000000000000000
[ 109.590311] ffff880035057cc0 ffffffff8106407c ffff88022de563c0 0000000000000000
[ 109.590316] ffff88022d53f000 0000000000000001 ffff88022d567000 ffff880035057cd0
[ 109.590322] Call Trace:
[ 109.590334] [<ffffffff81713cfc>] dump_stack+0x45/0x56
[ 109.590341] [<ffffffff8106407c>] warn_slowpath_common+0x8c/0xc0
[ 109.590347] [<ffffffff810640ca>] warn_slowpath_null+0x1a/0x20
[ 109.590364] [<ffffffffa0010e46>] drm_mode_set_config_internal+0xd6/0xe0 [drm]
[ 109.590383] [<ffffffffa00134bb>] drm_mode_setcrtc+0xfb/0x620 [drm]
[ 109.590389] [<ffffffff817185c2>] ? mutex_lock+0x12/0x30
[ 109.590405] [<ffffffffa0003f29>] drm_ioctl+0x539/0x660 [drm]
[ 109.590423] [<ffffffffa00133c0>] ? drm_mode_setplane+0x3b0/0x3b0 [drm]
[ 109.590432] [<ffffffff811c47ec>] do_vfs_ioctl+0x8c/0x4f0
[ 109.590437] [<ffffffff811b43e1>] ? __sb_end_write+0x31/0x60
[ 109.590443] [<ffffffff811b26ee>] ? vfs_write+0x17e/0x1e0
[ 109.590448] [<ffffffff811c4ce1>] SyS_ioctl+0x91/0xb0
[ 109.590453] [<ffffffff8172462d>] system_call_fastpath+0x1a/0x1f
[ 109.590457] ---[ end trace b03e15bb21bd25e9 ]---

This is a bug for freedesktop (try without radeon.audio=1)

What about this:

Quote:uvesafb: failed to execute /sbin/v86d
[ 3.221750] uvesafb: make sure that the v86d helper is installed and executable
[ 3.221754] uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
[ 3.221758] uvesafb: vbe_init() failed with -22
[ 3.221768] uvesafb: probe of uvesafb.0 failed with error -22

Did you tune your Splash? Don't do this.

Regards the X11 and freedesktop, will do, thanks!

Regarding the splash..yes I did change the boot logo when I first set up xbmc-xvba, following the instructions at:
http://youresuchageek.blogspot.fr/2012/0...linux.html
(Start at: Replace the system splash screen with an XBMC related)
Sorry, these are my first touch points with Linux at all. how can I revert this changes?
Quote:Do:
sudo apt-get update
sudo apt-get install plymouth-label v86d
wget http://excyle.nl/plymouth-theme-xbmc-logo.deb
sudo dpkg -i plymouth-theme-xbmc-logo.deb

Create "/etc/initramfs-tools/conf.d/splash" and add:
FRAMEBUFFER=y

Choose you Resolution mode:

- "720x480"
- "720x576"
- "1280×720"
- "1366x768"
- "1920x1080"

Edit "/etc/initramfs-tools/modules", adapt to your resolution, example with 1280x720:
uvesafb mode_option=1280x720-24 mtrr=3 scroll=ywrap


Edit your default grub configuration file "/etc/default/grub", adapt your resolution, example with 1280x720:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1280x720-24,mtrr=3,scroll=ywrap"

GRUB_GFXMODE="1280x720"


Update grub and initramfs:
sudo update-grub
sudo update-initramfs -u
Start the howto from scratch :-) and don't do the uvesafb stuff, it harms.

Quote:Edit "/etc/initramfs-tools/modules", adapt to your resolution, example with 1280x720:
uvesafb mode_option=1280x720-24 mtrr=3 scroll=ywrap

remove that line from this file and do

Code:
sudo update-initramfs -u
sudo update-grub
sudo reboot

Don't follow 20 howtos. Mine starts from minimal Ubuntu.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Thanks fritsch.. Flickering is gone for now..Will post logs if it happens again..

Removing radeon.audio=1 disabled all sound (HDMI passthrough, pulseaudio removed) at all. Had to put it back in place. Still no menu sounds though..

(2013-10-22, 11:36)fritsch Wrote:
Quote:14:46:20 T:139963969484544 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:525087360.484208, should be:525097451.613352, error:10091.129144
14:46:26 T:139963969484544 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:531217451.629351, should be:531227880.411604, error:10428.782253
14:46:32 T:139963969484544 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:537395664.426604, should be:537406029.105562, error:10364.678958

Those I wanted to get fix with the pll fix ... Can you also (when it is working again) get me the radeon tool output, while playing something? and DISPLAY=:0 xrandr --verbose

When playing music:

./radeontool regmatch 0x05ac
0x05ac 0x00000000 (0)
./radeontool regmatch 0x05b0
0x05b0 0x00017700 (96000)
./radeontool regmatch 0x05b4
0x05b4 0x00024414 (148500)
./radeontool regmatch 0x05b8
0x05b8 0x00000000 (0)
./radeontool regmatch 0x05bc
0x05bc 0x00000072 (114)
./radeontool regmatch 0x05cc
0x05cc 0x00000001 (1)

DISPLAY=:0 xrandr --verbose

Not sure if relevant..but after crash:
./radeontool regmatch 0x05ac
0x05ac 0x00000000 (0)
./radeontool regmatch 0x05b0
0x05b0 0x00017700 (96000)
./radeontool regmatch 0x05b4
0x05b4 0x00024414 (148500)
./radeontool regmatch 0x05b8
0x05b8 0x00000000 (0)
./radeontool regmatch 0x05bc
0x05bc 0x00000072 (114)
./radeontool regmatch 0x05cc
0x05cc 0x00000001 (1)

DISPLAY=:0 xrandr --verbose
Dear all,

I want to ask a trivial question. Why do not we have a GUI tool which helps people(covering from the beginner to expert) to select different version of the videodriver to be installed. If I want to use the open source driver just click on it and it does it for me/if I want to go back to Catalyst it will just happen. It would be good if I can test different Catalyst drivers and Open source drivers and the whole system just remain stable.

The code should check all dependency and fix all errors (as I heard) catalyst can cause?

Why this cannot be done? Is it complex? We do not have anybody who can help coding it? It can not be done. etc

I would appreciate if somebody can tell me truth. I am not an expert, so forgive me If I am asking basic things, however my goal is to make Linux more popular and If I see that I cannot do it I feel we are just not there to get Linux popular despite many people try to help.

Thank you,

Kind regards,

Lajos Nagy
@In17:

Many things are nice to have. But time does not allow it.

@Endeavour79:
Thx for the radeontool output. Those were what I expected - as you use the kernel without the (faulty) PLL patch. This radeon.audio=1 removal was a test, yes you need to reput it in to have audio.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
maybe the howto is not clear about one simple thing: This is bleeding edge code and absolutely EXPERIMENTAL.
If you don't feel comfortable enough to follow the howto, help debugging and fix a few issues yourself, then don't do it. Instead wait until everything is figured out properly, is stable and available via standard linux repositories.

@In1: we could spend our time writing such tools instead of solving the real issue.
What you are asking for is already available in ubuntu(its called jockey), but it doesn't work with completely experimental stuff.
Furthermore, it would be good if there is an option which allows the installer to be participant in the test program which means all the required log files automatically would be sent to the developers for further review. (like the steam beta allows you to do it).

Fritsch: reading your tremendous quantity of comments to help people to fix problems enlighten to me, maybe this would be the best for you ( and other clever guys) to save time as you do not need request the log files you will just receive it and you can select what you need. Unfortunately I am not there yet to help in analyzing the errors.

Think about it. If I can help somehow I will do so.

Something else it is not clear to me. Many open source developers work to AMD directly. I expect if they work in the same office/same company how do they do not know how the catalyst works. Do they do not have access to different department codes?
read my reply above.

And AMD OSS devs indeed do not have access to the fglrx code, for several reasons.
Thank you I read it.One more thing. They gave the UVD code to the OSS devs to get the open source driver better. Catalyst is far behind in video decoding.
Why is this code not part of Catalyst?

Thank you I read it.One more thing. They gave the UVD code to the OSS devs to get the open source driver better. Catalyst is far behind in video decoding.
Why is this code not part of Catalyst?
(2013-10-22, 14:27)ln17 Wrote: Thank you I read it.One more thing. They gave the UVD code to the OSS devs to get the open source driver better. Catalyst is far behind in video decoding.
Why is this code not part of Catalyst?

Thank you I read it.One more thing. They gave the UVD code to the OSS devs to get the open source driver better. Catalyst is far behind in video decoding.
Why is this code not part of Catalyst?

sorry, but this is a long story that only AMD can really answer. And it is totally off topic.
I agree it is off topic. No more question.
Here is an offtopic answer: http://www.youtube.com/watch?v=eAWYU8VBU...lpage#t=30
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2013-10-22, 15:27)fritsch Wrote: Here is an offtopic answer: http://www.youtube.com/watch?v=eAWYU8VBU...lpage#t=30

Your soundtrack iz bwoken Smile That was some horrible dubbed version......
  • 1
  • 31
  • 32
  • 33(current)
  • 34
  • 35
  • 244

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