Unity8 shows black screen with Qt 5.4.0
Bug #1403758 reported by
Timo Jyrinki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils |
Fix Released
|
Medium
|
|||
binutils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
gcc-defaults (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
qtbase-opensource-src (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
unity8 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
With bug #1403511 taken care of in Qt, apps do not anymore crash with Qt 5.4 and device does not anymore go into reboot loop. However, nothing is visible on the screen.
It seems unity8, unity8-dash etc are all running. unity8.log attached
Relevant upstream links referring GCC5 as the reason to require -fPIC:
http://
http://
Related branches
lp://staging/~aacid/unity8/unitySortFilterProxyQML
- Michael Zanetti (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 470 lines (+50/-50)15 files modifiedplugins/LightDM/CMakeLists.txt (+1/-1)
plugins/LightDM/UsersModel.cpp (+1/-1)
plugins/LightDM/UsersModel.h (+2/-2)
plugins/Utils/CMakeLists.txt (+1/-1)
plugins/Utils/plugin.cpp (+2/-2)
plugins/Utils/unitysortfilterproxymodelqml.cpp (+15/-15)
plugins/Utils/unitysortfilterproxymodelqml.h (+5/-5)
qml/Dash/GenericScopeView.qml (+2/-2)
qml/Notifications/Notifications.qml (+1/-1)
qml/Panel/Indicators/VisibleIndicators.qml (+2/-2)
tests/mocks/LightDM/CMakeLists.txt (+1/-1)
tests/plugins/Utils/CMakeLists.txt (+1/-1)
tests/plugins/Utils/unitysortfilterproxymodeltest.cpp (+14/-14)
tests/qmltests/Components/tst_ResponsiveVerticalJournal.qml (+1/-1)
tests/qmltests/tst_Shell.qml (+1/-1)
Changed in unity8 (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Albert Astals Cid (aacid) |
Changed in qtbase-opensource-src (Ubuntu): | |
status: | New → Fix Committed |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Invalid |
Changed in unity8 (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in qtbase-opensource-src (Ubuntu): | |
status: | Fix Committed → Confirmed |
Changed in qtbase-opensource-src (Ubuntu): | |
status: | Confirmed → Fix Committed |
description: | updated |
affects: | unity8 → binutils |
Changed in binutils: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in unity8 (Ubuntu): | |
assignee: | Albert Astals Cid (aacid) → nobody |
To post a comment you must log in.
Created attachment 7474
testcase
The attached program changes the output from "true" to "false" when the -Bsymbolic / -Bsymbolic- functions options are passed to GCC. This happens on ARM -- on x86-64 output is always "true".
The program involves a comparison, within a shared library, of a PMF defined inside the shared library itself with the same PMF passed by the application.
Compile with:
> g++ -fPIC -shared -Wall -o libshared.so -Wl,-Bsymbolic shared.cpp
> g++ -fPIE -Wall -o main main.cpp -L. -lshared
(The long story is that Qt 5 is taking PMFs in its public API, and the comparison failing inside of Qt shared libraries is breaking code on ARM, as -Bsymbolic is set by default there.)
The bug has been acknowledged, and tentative patch has been kindly provided by W. Newton here:
> https:/ /sourceware. org/ml/ binutils/ 2014-01/ msg00172. html
but there hasn't been any activity from what I can see, so I'm opening this bug report to keep track of the issue.
References:
> http:// lists.linaro. org/pipermail/ linaro- toolchain/ 2014-January/ 003942. html /bugreports. qt-project. org/browse/ QTBUG-36129
> https:/