• 1
  • 40
  • 41
  • 42(current)
  • 43
  • 44
  • 244
Linux Radeon OSS with vdpau (howto)
(2013-10-29, 01:27)Snippo Wrote:
(2013-10-28, 19:36)fritsch Wrote: Remove the radeon.dpm=1 from the grub file, do sudo update-grub afterwards and post:

DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr | pastebinit

after the reboot
This is without radeon.dpm=1:
http://paste.ubuntu.com/6321123/

Uncommenthing these lines in startxbmc.sh still gives connected=false for HDMI-0:
# xrandr --output HDMI-0 --set audio auto
# xrandr -r 50

Load Bios defaults and only set the UMA size. Radeon think that there is no monitor at all connected, which is a big problem and not something, that can be workarounded by changing some config file.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2013-10-29, 05:33)deltazulu Wrote: I have installed ubuntu min 64 13.04 and ran through the instructions on this thread. I am getting audio drop outs every ~90 seconds on 23.976 video when I set XBMC output to either 23.976 or 24.00 Refresh Rate. I have seen this in the past and found a fix in the past with this same PC on a different installation by changing the Settings -> Video Output -> Refresh Rate to 23.976 and/or Settings -> Video Playback -> Adjust display refresh rate to match video ON. Is what is happening just that the conversion from 23.976 film rate to 24p in my display? I verified with my projector it is actually receiving a 24.00Hz signal when I have XBMC set to 23.976. When I was running xbmcbuntu (standard install) I was able to set the refresh rate to 23.976. However, with this new installation following this guide, even when I set the refresh rate to 23.976, my projector is still receiving a 24.00Hz signal. Something is not being done right in the kernel or drivers perhaps to allow the signal to be a true 23.976Hz. I have searched this massive thread and others and have seen others having issues with dropped audio every xx seconds. I don't know if that is the same issue as what I am seeing, but I immediately recognized it when I was testing this new guide and believe this is the issue in my case.

Can anyone tell me where to look or what to change so that my PC will output a true 23.976Hz when I select either of these two settings I listed above?

dmesg: http://paste.ubuntu.com/6321982/
xbmc.log http://paste.ubuntu.com/6321983/
Xorg.0.log http://paste.ubuntu.com/6321984/
vdpauinfo http://paste.ubuntu.com/6321987/
dpkg http://paste.ubuntu.com/6321989

My previous experience is pointing me to something in my xorg.. I see these modes in Xorg.0.log for 1080P:
Code:
24.004] (II) RADEON(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
24.004] (II) RADEON(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
24.004] (II) RADEON(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
24.004] (II) RADEON(0): Modeline "1920x1080"x24.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
24.004] (II) RADEON(0): Modeline "1920x1080"x24.0   74.18  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)

There is no line for x23.976.. I'm not familiar with this setup though because I do not have an /etc/X11/xorg.conf file to edit.

xrandr output : http://paste.ubuntu.com/6322061 (shows 24P active)

Again, when I have the Refresh Rate set to 60.0 Hz, and am not syncing display to refresh rate of the video, I get flawless audio (even on DTS, DD, or TrueHD). However, the video quality suffers when I use 60Hz since it is converting the video from 23.976 to 60.

I currently experience the same with 24.0 hz and 23.976 hz. You can use /usr/lib/xbmc/xbmc-xrandr to get the fractional modes.

Thanks for your feedback.

Edit: Please upgrade to rc7+ and file a bug at freedesktop with your findings. Thanks very much.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
And here is another testing kernel, only for those, were bitstream audio has never worked before, it includes: http://mailman.alsa-project.org/pipermai...67847.html by Anssi

Code:
wget https://dl.dropboxusercontent.com/u/55728161/linux-image-3.12.0-rc7%2B_0.5_amd64.deb https://dl.dropboxusercontent.com/u/55728161/linux-headers-3.12.0-rc7%2B_0.5_amd64.deb
sudo dpkg -i *rc7*0.5*deb
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2013-10-29, 08:26)fritsch Wrote:
(2013-10-29, 01:27)Snippo Wrote:
(2013-10-28, 19:36)fritsch Wrote: Remove the radeon.dpm=1 from the grub file, do sudo update-grub afterwards and post:

DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr | pastebinit

after the reboot
This is without radeon.dpm=1:
http://paste.ubuntu.com/6321123/

Uncommenthing these lines in startxbmc.sh still gives connected=false for HDMI-0:
# xrandr --output HDMI-0 --set audio auto
# xrandr -r 50

Load Bios defaults and only set the UMA size. Radeon think that there is no monitor at all connected, which is a big problem and not something, that can be workarounded by changing some config file.

Alright, loading the bios defaults seemed to help. Now it outputs this:
http://paste.ubuntu.com/6322928/

But XBMC still won't load, just shows a black screen:
dmesg | pastebinit
cat ~/.xbmc/temp/xbmc.log | pastebinit
cat /var/log/Xorg.0.log | pastebinit
DISPLAY=:0 vdpauinfo | pastebinit
dpkg -l |grep mesa | pastebinit

I also noticed that "DISPLAY=:0 glxinfo | grep -i interop" doesn't output anything.
Hi,

Im currently using a AMD Radeon HD 5450 pci card on ubuntu.

Im doing a fresh install of of ubuntu and XBMC.

Is this the tutorial I need to follow or should I be using the AMD Catalyst 13.4 Proprietary Linux x86 Display Driver?

Thanks
look at your dpkg output carefully, do you notice something?
hint: https://launchpad.net/~wsnipex/+archive/...hive-extra
(2013-10-29, 11:31)dan_jericho Wrote: Hi,

Im currently using a AMD Radeon HD 5450 pci card on ubuntu.

Im doing a fresh install of of ubuntu and XBMC.

Is this the tutorial I need to follow or should I be using the AMD Catalyst 13.4 Proprietary Linux x86 Display Driver?

Thanks

This tutorial is for testing future of xbmc on linux with amd gpu. It run not yet released linux kernel, mesa stack and xbmc. So if you want something stable you should not go with this tutorial.

@fritsch :
- I looked at ppa contents for stability. So when Gotham, mesa 10.0 and linux 3.12 will be released, we will almost get a stable solution for xbmc over oss radeon. What about the kernel patches ? They could not be included in 3.12 (because stable is coming next week). So can we expect them for 3.13 ?
@Dradge: Yes, you got the point.

- All vdpau work went into mesa, therefore it will be included with 10.0 stable release.
- All xbmc stuff, that we need is already in gotham, so will be in v13 when it is released
- Alsa Kernel patch will be included in 3.13, which is the reason i need to provide custom kernels.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2013-10-29, 12:03)Dradge Wrote:
(2013-10-29, 11:31)dan_jericho Wrote: Hi,

Im currently using a AMD Radeon HD 5450 pci card on ubuntu.

Im doing a fresh install of of ubuntu and XBMC.

Is this the tutorial I need to follow or should I be using the AMD Catalyst 13.4 Proprietary Linux x86 Display Driver?

Thanks

This tutorial is for testing future of xbmc on linux with amd gpu. It run not yet released linux kernel, mesa stack and xbmc. So if you want something stable you should not go with this tutorial.

@fritsch :
- I looked at ppa contents for stability. So when Gotham, mesa 10.0 and linux 3.12 will be released, we will almost get a stable solution for xbmc over oss radeon. What about the kernel patches ? They could not be included in 3.12 (because stable is coming next week). So can we expect them for 3.13 ?

Thanks.

Just one other quick pointer. Is it worthwhile sticking with ubuntu 12.04 as opposed to the latest version of ubuntu? Ive read the latest AMD Proprietary drivers dont play well with ubuntu 13, or am I just talking nonsense Tongue

Also, should I be using the main xbmc branch or the xbmc-xvba version?

Feel free to kick me out to another thread if Im asking stupid questions.
* fritsch kicks out dan_jericho to another thread
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2013-10-29, 12:28)fritsch Wrote: * fritsch kicks out dan_jericho to another thread

I'll get my coat Tongue
(2013-10-29, 11:34)wsnipex Wrote: look at your dpkg output carefully, do you notice something?
hint: https://launchpad.net/~wsnipex/+archive/...hive-extra

Hmm, the right packages were installed earlier so I totally missed that Undecided.
I reinstalled the mesa packages and "DISPLAY=:0 glxinfo | grep -i interop" works again.
However, xbmc still won't start. All I get is a screen that looks like this.
And I'm not sure if it's supposed to work like this but glxinfo | grep -i interop won't work when xbmc is started.
(2013-10-29, 12:06)fritsch Wrote: @Dradge: Yes, you got the point.

- All vdpau work went into mesa, therefore it will be included with 10.0 stable release.
- All xbmc stuff, that we need is already in gotham, so will be in v13 when it is released
- Alsa Kernel patch will be included in 3.13, which is the reason i need to provide custom kernels.

Sounds well for next lts Smile
(2013-10-29, 12:44)Snippo Wrote:
(2013-10-29, 11:34)wsnipex Wrote: look at your dpkg output carefully, do you notice something?
hint: https://launchpad.net/~wsnipex/+archive/...hive-extra

Hmm, the right packages were installed earlier so I totally missed that Undecided.
I reinstalled the mesa packages and "DISPLAY=:0 glxinfo | grep -i interop" works again.
However, xbmc still won't start. All I get is a screen that looks like this.
And I'm not sure if it's supposed to work like this but glxinfo | grep -i interop won't work when xbmc is started.

Remove the radeon.dpm=1 and retry. Post dmesg and Xorg.0.log again as xrandr output
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2013-10-29, 13:00)fritsch Wrote:
(2013-10-29, 12:44)Snippo Wrote:
(2013-10-29, 11:34)wsnipex Wrote: look at your dpkg output carefully, do you notice something?
hint: https://launchpad.net/~wsnipex/+archive/...hive-extra

Hmm, the right packages were installed earlier so I totally missed that Undecided.
I reinstalled the mesa packages and "DISPLAY=:0 glxinfo | grep -i interop" works again.
However, xbmc still won't start. All I get is a screen that looks like this.
And I'm not sure if it's supposed to work like this but glxinfo | grep -i interop won't work when xbmc is started.

Remove the radeon.dpm=1 and retry. Post dmesg and Xorg.0.log again as xrandr output

I already removed radeon.dpm=1. If I added it again I'd get the same screen when xbmc starts.
I noticed Xorg.0.log said that HDMI-0 was disconnected so I set the bios to defaults (UMA to 512) and that fixed it again.
Now the screen just stays black.

This is without radeon.dpm=1:
dmesg
Xorg.0.log
  • 1
  • 40
  • 41
  • 42(current)
  • 43
  • 44
  • 244

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