Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
spbro
OpenXG-RAN
Commits
4d25ee95
Commit
4d25ee95
authored
Apr 02, 2024
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dqt-troubleshoot-doc' into integration_2024_w13
parents
06f45c46
9b847948
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
5 deletions
+27
-5
openair1/PHY/TOOLS/readme.md
openair1/PHY/TOOLS/readme.md
+27
-5
No files found.
openair1/PHY/TOOLS/readme.md
View file @
4d25ee95
...
...
@@ -55,18 +55,40 @@ For the new qt-based scope designed for NR, please consider the following:
## Troubleshoot
Similar as with the Xforms-based scope, you should allow root to open X
windows:
windows
if using Xorg
:
```
xhost +si:localuser:root
```
Furthermore, if you get the following error (might be followed by a
segfault)
If you run on Wayland (e.g., Gnome on Ubuntu 22), you might get this error:
```
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
```
We have to force the use of Wayland. Before that, make sure that the Qt-Wayland
plugin is installed. Also, there seems to be a problem with the qt5-gtk
platform theme, so remove it:
```
sudo apt-get install qtwayland5
sudo apt-get remove qt5-gtk-platformtheme
```
Now, force the Wayland plugin; also make sure to pass
`-E`
to sudo:
```
sudo -E QT_QPA_PLATFORM=wayland ./nr-softmodem --sa -O <conf> --dqt
```
Furthermore, if you get the following warning, _followed by a segfault_ (i.e.,
if it runs, you can ignore this)
```
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
```
You
have to set the XDG runtime directory like one of the following options
(try in order):
You
can set the XDG runtime directory like one of the following options (try in
order, keep
`QT_QPA_PLATFORM`
if necessary)
```
sudo -E XDG_RUNTIME_DIR=/run/user/0 ./nr-softmodem ...
sudo -E XDG_RUNTIME_DIR=/tmp/runtime-root ./nr-softmodem ...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment