Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not start on some hardware, and has unreadable error messages #119

Open
thx1111 opened this issue Oct 31, 2017 · 3 comments
Open

Does not start on some hardware, and has unreadable error messages #119

thx1111 opened this issue Oct 31, 2017 · 3 comments

Comments

@thx1111
Copy link

thx1111 commented Oct 31, 2017

Arch
linux-4.13.10-1
mesa 17.2.4-1
liri-shell-git 20171014.8ca7e54f-1

I have laptop with an NVIDIA chipset, GeForce 7150M / nForce 630M, that seems to run liri-shell without problem. But then, I have other machines on which liri-shell will not run. liri-shell seems to start, showing the spinning circle for a moment, and then quits, with an error message that over-writes the last line on the terminal display.

On another laptop machine with an Intel GPU using the i915 driver module, running "liri-session" from the virtual terminal, "liri-shell" returns with two different error messages. The circumstances that vary the error message are not clear.

The error message appears to over-writes the last informational line, which itself is truncated. Sometimes, the message is: 'Aborted (core dumped) cannot be mixed with others. Hzd_pixels_minmax GL_MESA_window_pos GL_EXT_multi_draw_arrays GL_EXT_stencil_wrap GL_ARB_sync GL_ARB_clear_texture GL_A'

At other times, the truncated message is:
'Abortedfailure in QList::take: "index out of range", file /usr/include/qt/QtCore/qlist.h, line 557rt.desktop"boprint-monitor.desktop"ARB_texture_non_power_of_two GL'
followed by the prompt, and then:

could not connect to wayland server
(EE)
Fatal server error:
(EE) Couldn't add screen
(EE)

On a desktop machine with a radeon card and a triple head display, the error messages are like:

[376033.507252] [drm:atombios_crtc_mode_fixup [radeon]] ERROR unable to allocate a PPLL
[376033.507265] [drm:drm_crtc_helper_set_config [drm_kms_helper]] ERROR failed to set mode on [CRTC:39:crtc-1]

where the driver fails to properly configure the graphics device for three simultaneous outputs.

Any thoughts about troubleshooting? Is there a way to get readable debugging output? Are these QtWayland or eglfs problems, as opposed to being liri-shell problems, per se?

@plfiorini
Copy link
Member

Can you list the hardware components on these machines such as CPU, GPU (integraded or descrete?), RAM, distro, kernel version, mesa version, and the output of qtdiag

@SilverSynch
Copy link

Recreated this repeatedly on Arch linux 4.13.11-1, 8GB RAM, Core i3-6000, AMD RX470, Mesa 17.4.0-devel (git-1a61a8b9a7). This is using the precompiled liri-shell-git pacman package from the Liri repo.

qtdiag on X11 returns this:
qtdiag.log

gnome-logs found a few more interesting errors related to Liri (this is from mutliple attempts):

22:26:56 polkitd: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.40, object path /io/liri/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
22:26:56 polkitd: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.40, object path /io/liri/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
22:26:56 polkitd: Registered Authentication Agent for unix-session:c2 (system bus name :1.40 [/bin/liri-shell], object path /io/liri/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
22:26:56 dbus-daemon: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.39" (uid=1000 pid=5163 comm="/bin/liri-shell ") interface="org.freedesktop.login1.Manager" member="Activate" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=424 comm="/usr/lib/systemd/systemd-logind ")
22:24:08 polkitd: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.20, object path /io/liri/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
22:24:07 dbus-daemon: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.19" (uid=1000 pid=2955 comm="/bin/liri-shell ") interface="org.freedesktop.login1.Manager" member="Activate" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=424 comm="/usr/lib/systemd/systemd-logind ")
22:23:00 polkitd: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.18, object path /io/liri/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
22:23:00 polkitd: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.18, object path /io/liri/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
22:23:00 polkitd: Registered Authentication Agent for unix-session:c1 (system bus name :1.18 [/bin/liri-shell 2], object path /io/liri/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
22:22:52 dbus-daemon: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.16" (uid=1000 pid=2069 comm="/bin/liri-shell 2 ") interface="org.freedesktop.login1.Manager" member="Activate" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=424 comm="/usr/lib/systemd/systemd-logind ")

Liri run through the X11 windowed session also fails but for completely different reasons:

liri-session -platform xcb
== Liri Shell v0.9.0 ==
** http://liri.io
** Bug reports to: https://github.com/lirios/shell/issues
** Build: 0.9.0-8ca7e54f51b91a3e87144bfc08f756cf4828132d
OS: Arch Linux [linux version 4.13.11-1-ARCH]
Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2
liri.loginmanager: Using "logind" login manager backend
liri.wlserver.gtkshell.trace: Liri::WaylandServer::GtkShellPrivate::GtkShellPrivate()
liri.wlserver.gtkshell.trace: Liri::WaylandServer::GtkShell::GtkShell()
inotify_add_watch("/usr/local/share/applications") failed: "No such file or directory"
liri.launcher.applicationmanager: Menu file name: "/etc/xdg/menus/liri-applications.menu"
New PolkitAgentListener  0x5564253a1f40
Adding new listener  PolkitQt1::Agent::Listener(0x5564255095d0) for  0x5564253a1f40
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
liri.wlserver.gtkshell.trace: virtual void Liri::WaylandServer::GtkShell::initialize()
qt.scenegraph.general: QSG: basic render loop
qt.scenegraph.general: Using sg animation driver
QtCompositor: Failed to initialize EGL display. Could not get EglDisplay for window.
qml: Compositor created
liri.xwayland: Running: Xwayland -displayfd 33 -rootless -wm 36

** (process:32458): WARNING **: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject
"Cannot register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject"
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
liri.session.manager: Autostart: "" from "/home/silver/.config/autostart/at-spi-dbus-bus.desktop"
ASSERT failure in QList<T>::take: "index out of range", file /usr/include/qt/QtCore/qlist.h, line 557
could not connect to wayland server
(EE) 
Fatal server error:
(EE) Couldn't add screen
(EE) 
Aborted

Since Liri doesn't seem to manually dump logs anywhere, I'll have to get an output from a normal session later.

@last-partizan
Copy link

Hello. I have similar problem, does not starts on arch.

I'm using i7-3770S CPU and Nvidia GTX 1080 with nouveau driver.

Trying to start liri from tty liri-session > ls.log 2>&1
ls.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants