PDA

View Full Version : 14.02.2 to 14.02.3 HWE



father_ted
August 10th, 2015, 08:18 PM
I'm keen to get all my latest RadeonSI goodness - so I want to get the later kernel and mesa. I'm running 14.04.2 installed fresh with 3.16 kernel.

The Instructions here lead to a whole lot of broken dependencies.
https://wiki.ubuntu.com/Kernel/LTSEnablementStack


libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to be installed
Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
libcheese7 : Depends: libclutter-gst-2.0-0 (>= 0.10.0) but it is not going to be installed
Depends: gstreamer1.0-clutter but it is not going to be installed
libclutter-1.0-0 : Depends: libcogl-pango15 (>= 1.15.8) but it is not going to be installed
Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
libwayland-egl1-mesa-lts-vivid : Depends: libegl1-mesa-lts-vivid (= 10.5.2-0ubuntu1~trusty1) but it is not going to be installed
xserver-xorg-core-lts-vivid : Depends: libgbm1-lts-vivid (>= 8.1~0) but it is not going to be installed
Recommends: libgl1-mesa-dri-lts-vivid (>= 7.10.2-4) but it is not going to be installed
xserver-xorg-lts-vivid : Recommends: libgl1-mesa-dri-lts-vivid but it is not going to be installed
Recommends: libgl1-mesa-glx-lts-vivid but it is not going to be installed
Recommends: libegl1-mesa-lts-vivid but it is not going to be installed
Recommends: libegl1-mesa-drivers-lts-vivid but it is not installable
Recommends: libgbm1-lts-vivid but it is not going to be installed
Recommends: libgles2-mesa-lts-vivid but it is not going to be installed
Recommends: libgles1-mesa-lts-vivid but it is not going to be installed
Conflicts: libegl1-mesa (>= 0~)
Conflicts: libgl1-mesa-dri (>= 0~)
Conflicts: libgl1-mesa-dri:i386 (>= 0~)
Conflicts: libgl1-mesa-glx (>= 0~)
Conflicts: libgl1-mesa-glx:i386 (>= 0~)
Conflicts: libglapi-mesa (>= 0~)
Conflicts: libglapi-mesa:i386 (>= 0~)
Conflicts: libgles2-mesa (>= 0~)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Is the Wiki wrong ( please fix it then ) or are my local repositories stale and not having the latest ( 14.04.3 ) packages on them ?

MartyBuntu
August 10th, 2015, 08:59 PM
What graphics card do you have installed?

father_ted
August 10th, 2015, 09:06 PM
I have an R280x

deadflowr
August 10th, 2015, 09:27 PM
Is the Wiki wrong ( please fix it then ) or are my local repositories stale and not having the latest ( 14.04.3 ) packages on them ?
Could be either.
Is the system fully up-to-date?
did you run an apt-get update/apt-get upgrade before the hwe attempt?

father_ted
August 10th, 2015, 09:41 PM
Yes I am fully up to date.
I done all the usual apt-get commands.
I have even rebooted.

QIII
August 10th, 2015, 09:50 PM
May I step in for a moment?

Do you mean an R9 280X?

father_ted
August 10th, 2015, 09:57 PM
Yes - thats correct - R9 280X

QIII
August 10th, 2015, 10:13 PM
OK.

I don't want to discourage you from updating to 14.04.3 or dissuade you from installing the HWE. I did. But you should understand that the HWE is directed at open source support for new hardware -- which you are interested in. AMD works very closely with the open source community in improving the performance of the open source driver. While they can't cut their own throats and give away the keys to the shop to their competition by opening the source for everything, they do work directly with the open source developers to make sure the APIs and such are well documented and the developers know how to take advantage of them. They update their binaries on a regular basis and make sure the open source community has access to them quickly. Their willingness to do that and the dedication of the open source developers are the reasons the open source Radeon driver has become so good in the last couple of years.

However, the HWE stack is not likely to give you much improvement if you are using AMD's proprietary driver. I use the proprietary driver on my main machine, but when I have time I like to use a second boot to see how things are going with the open source driver. Now that the HWE is out, I hope to spend some time with it -- if I can find the time!

Last April or May I did a pretty long article on my blog about the R9 series. At the time, the open source driver did not perform well at all and I recommended the use of the proprietary driver with the newest AMD products. I am hoping that I can write another article now that the HWE is out and say that's all fixed! The open source developers deserve every bit of credit we can give them for their great efforts and we need to recognize that AMD is taking an active part in that improvement. There is still an "urban myth" that AMD support for Linux is terrible, when just the opposite is the case. These are not the days of pre-AMD ATI's old intransigence.

Just a bit of info for you.

Carry on. :)

father_ted
August 11th, 2015, 06:55 PM
Well there is a specific reason I want the driver update :

Jul 25 17:01:48 paulf-desktop kernel: [89703.375542] radeon 0000:01:00.0: ring 0 stalled for more than 10008msec
Jul 25 17:01:48 paulf-desktop kernel: [89703.375549] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000766c98 last fence id 0x0000000000766c94 on ring 0)
Jul 25 17:01:48 paulf-desktop kernel: [89703.435508] radeon 0000:01:00.0: ring 0 stalled for more than 10068msec
Jul 25 17:01:48 paulf-desktop kernel: [89703.435515] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000766c9a last fence id 0x0000000000766c94 on ring 0)
Jul 25 17:01:48 paulf-desktop kernel: [89703.821727] radeon 0000:01:00.0: Saved 473 dwords of commands on ring 0.
Jul 25 17:01:48 paulf-desktop kernel: [89703.821773] radeon 0000:01:00.0: GPU softreset: 0x00000049
Jul 25 17:01:48 paulf-desktop kernel: [89703.821774] radeon 0000:01:00.0: GRBM_STATUS = 0xE7D24028
Jul 25 17:01:48 paulf-desktop kernel: [89703.821775] radeon 0000:01:00.0: GRBM_STATUS_SE0 = 0xEFC00000
Jul 25 17:01:48 paulf-desktop kernel: [89703.821777] radeon 0000:01:00.0: GRBM_STATUS_SE1 = 0xEFC00000
Jul 25 17:01:48 paulf-desktop kernel: [89703.821778] radeon 0000:01:00.0: SRBM_STATUS = 0x200000C0
Jul 25 17:01:48 paulf-desktop kernel: [89703.821811] radeon 0000:01:00.0: SRBM_STATUS2 = 0x00000000
Jul 25 17:01:48 paulf-desktop kernel: [89703.821813] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
Jul 25 17:01:48 paulf-desktop kernel: [89703.821814] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x00010800
Jul 25 17:01:48 paulf-desktop kernel: [89703.821815] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00408006
Jul 25 17:01:48 paulf-desktop kernel: [89703.821816] radeon 0000:01:00.0: R_008680_CP_STAT = 0x84038647
Jul 25 17:01:48 paulf-desktop kernel: [89703.821818] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
Jul 25 17:01:48 paulf-desktop kernel: [89703.821819] radeon 0000:01:00.0: R_00D834_DMA_STATUS_REG = 0x44C83D57
Jul 25 17:01:48 paulf-desktop kernel: [89703.821820] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00000000
Jul 25 17:01:48 paulf-desktop kernel: [89703.821821] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x00000000
Jul 25 17:01:48 paulf-desktop kernel: [89704.238835] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x0000DDFF
Jul 25 17:01:48 paulf-desktop kernel: [89704.238887] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
Jul 25 17:01:48 paulf-desktop kernel: [89704.240037] radeon 0000:01:00.0: GRBM_STATUS = 0x00003028
Jul 25 17:01:48 paulf-desktop kernel: [89704.240038] radeon 0000:01:00.0: GRBM_STATUS_SE0 = 0x00000006
Jul 25 17:01:48 paulf-desktop kernel: [89704.240039] radeon 0000:01:00.0: GRBM_STATUS_SE1 = 0x00000006
Jul 25 17:01:48 paulf-desktop kernel: [89704.240040] radeon 0000:01:00.0: SRBM_STATUS = 0x200002C0
Jul 25 17:01:48 paulf-desktop kernel: [89704.240074] radeon 0000:01:00.0: SRBM_STATUS2 = 0x00000000
Jul 25 17:01:48 paulf-desktop kernel: [89704.240075] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
Jul 25 17:01:48 paulf-desktop kernel: [89704.240076] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x00000000
Jul 25 17:01:48 paulf-desktop kernel: [89704.240077] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00000000
Jul 25 17:01:48 paulf-desktop kernel: [89704.240078] radeon 0000:01:00.0: R_008680_CP_STAT = 0x00000000
Jul 25 17:01:48 paulf-desktop kernel: [89704.240079] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
Jul 25 17:01:48 paulf-desktop kernel: [89704.240080] radeon 0000:01:00.0: R_00D834_DMA_STATUS_REG = 0x44C83D57
Jul 25 17:01:48 paulf-desktop kernel: [89704.240157] radeon 0000:01:00.0: GPU reset succeeded, trying to resume


https://bugzilla.kernel.org/show_bug.cgi?id=85421
Later MESA seems to fix this issue - so i am keen for the stability.

Of course I have tried the catalyst driver - but I am not happy with its stability. Specifically the memory leak in XORG - not entirely AMD's fault - but still there for the users. Catalyst is also a bit sucky for suspend and resume.

https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1314787

The open source driver is very stable ( other than this issue I have ) and my uptime is excellent. I only reboot for kernel updates.

Also I am annoyed that the Ubuntu wiki offers something that doesn't work and would like to get an answer here so that it could be found by the other frustrated users - and maybe even have the wiki corrected.

father_ted
August 11th, 2015, 09:25 PM
http://askubuntu.com/questions/657919/install-packages-from-lts-hardware-enablement-stack-for-ubuntu-14-04-3-has-unmet

father_ted
August 11th, 2015, 09:27 PM
Save you all the bother of googling for it.

https://bugs.launchpad.net/ubuntu/+source/mesa-lts-vivid/+bug/1483631

https://bugs.launchpad.net/ubuntu/+source/mesa-lts-vivid/+bug/1479251

father_ted
August 25th, 2015, 03:25 PM
To get the kernel on a UEFI 14.04.2 HWE system the following work for me.

sudo apt-get install linux-generic-lts-vivid
sudo apt-get install linux-signed-generic-lts-vivid

uname -a
Linux Rodney-desktop 3.19.0-26-generic #28~14.04.1-Ubuntu SMP Wed Aug 12 14:09:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

This seems to be part of a larger issue with the 14.04.3 release.

https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1475038
https://bugs.launchpad.net/ubuntu/+source/mesa-lts-vivid/+bug/1479524

This gives me
XORG 1.17.1
MESA 10.5.2
libdrm-radeon1 2.4.60-2

sudo apt-get -s install --install-recommends xserver-xorg-core-lts-vivid xserver-xorg-lts-vivid xserver-xorg-video-all-lts-vivid xserver-xorg-input-all-lts-vivid libgl1-mesa-glx-lts-vivid libegl1-mesa-lts-vivid

After an hour it seems stable. Did not run nicely with just the updated kernel.

Later I noticed that it uninstalls wine and skype.

At the moment its highly unstable using an AMD R280X with an exciting new array of kernel messages and lockups. They are at least new errors so they have improved the bugs over the last few kernels.

radeon 0000:01:00.0: GPU fault detected: 147
radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0C100833
VM fault (0x01, vmid 8) at page 202377267, read from TC (132)

father_ted
September 29th, 2015, 08:37 PM
To get this to run properly you need to run

libgl1-mesa-glx-lts-vivid:i386 libglapi-mesa-lts-vivid:i386

in theory this fixes the broken wine as well.

the wiki was updated.

https://wiki.ubuntu.com/Kernel/LTSEnablementStack