You are not logged in.

#1 2018-07-22 20:18:28

Shindu
Member
Registered: 2018-07-22
Posts: 2

Many applications not launching

Hello after i activated my nvidia gpu  and disabled my intel gpu on my archlinux laptop many applications including also some display managers fail to start.

Some logs:

blender:

blender: symbol lookup error: blender: undefined symbol: __glewXCreateContextAttribsARB

vlc:

(vlc:16301): GLib-GObject-WARNING **: 22:18:14.087: cannot register existing type 'GdkDisplayManager'

(vlc:16301): GLib-CRITICAL **: 22:18:14.087: g_once_init_leave: assertion 'result != 0' failed

(vlc:16301): GLib-GObject-CRITICAL **: 22:18:14.087: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(vlc:16301): GLib-GObject-WARNING **: 22:18:14.087: invalid (NULL) pointer instance

(vlc:16301): GLib-GObject-CRITICAL **: 22:18:14.087: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(vlc:16301): GLib-GObject-WARNING **: 22:18:14.087: invalid (NULL) pointer instance

(vlc:16301): GLib-GObject-CRITICAL **: 22:18:14.087: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(vlc:16301): GLib-GObject-WARNING **: 22:18:14.087: cannot register existing type 'GdkDisplay'

(vlc:16301): GLib-CRITICAL **: 22:18:14.087: g_once_init_leave: assertion 'result != 0' failed

(vlc:16301): GLib-GObject-CRITICAL **: 22:18:14.087: g_type_register_static: assertion 'parent_type > 0' failed

(vlc:16301): GLib-CRITICAL **: 22:18:14.087: g_once_init_leave: assertion 'result != 0' failed

(vlc:16301): GLib-GObject-CRITICAL **: 22:18:14.087: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
[1]    16301 segmentation fault (core dumped)  vlc

Last edited by Shindu (2018-07-28 11:04:00)

Offline

#2 2018-07-22 20:22:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Many applications not launching

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-07-22 20:56:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,228
Website

Re: Many applications not launching

Shindu wrote:

i activated my nvidia gpu  and disabled my intel gpu on my archlinux laptop

What does this mean?  What, specifically, did you do?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#4 2018-07-23 01:19:20

alleut
Member
Registered: 2016-04-29
Posts: 32

Re: Many applications not launching

I have a similar problem in PyCharm community, although I don't have nVidia card:

import matplotlib.pyplot as plt
Backend Qt5Agg is interactive backend. Turning interactive mode on.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
(python:3471): GLib-GObject-WARNING **: 03:12:40.052: cannot register existing type 'GdkDisplayManager'
(python:3471): GLib-CRITICAL **: 03:12:40.052: g_once_init_leave: assertion 'result != 0' failed
(python:3471): GLib-GObject-CRITICAL **: 03:12:40.052: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

Offline

#5 2018-07-23 01:41:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,228
Website

Re: Many applications not launching

That looks to be a completely different cause, and in your case it presents the solution:

alleut wrote:

Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#6 2018-07-23 09:25:27

alleut
Member
Registered: 2016-04-29
Posts: 32

Re: Many applications not launching

It fixed the problem. Strange, because it had worked before without this env var. Maybe, it's because something changed after Gnome components updates on 2018-07-19.

Offline

#7 2018-07-28 11:07:13

Shindu
Member
Registered: 2018-07-22
Posts: 2

Re: Many applications not launching

Trilby wrote:
Shindu wrote:

i activated my nvidia gpu  and disabled my intel gpu on my archlinux laptop

What does this mean?  What, specifically, did you do?

Like I said I changed my linux modules to use my nvidia gpu instead of my intel integrated GPU on my Laptop.
But after I changed this, I got these errors in some applications like blender, vlc, eclipse, etc. but many applications still work.
It's very strange.

Offline

#8 2018-07-28 11:55:51

loqs
Member
Registered: 2014-03-06
Posts: 17,900

Re: Many applications not launching

Shindu wrote:
Trilby wrote:
Shindu wrote:

i activated my nvidia gpu  and disabled my intel gpu on my archlinux laptop

What does this mean?  What, specifically, did you do?

Like I said I changed my linux modules to use my nvidia gpu instead of my intel integrated GPU on my Laptop.

How what specific commands were used?  What packages were installed / removed?  What config files were altered?
Edit:
Also the output of dmesg,  the contents of Xorg.log and the output of lspci showing the GPU's in the system.

Last edited by loqs (2018-07-28 12:19:23)

Offline

Board footer

Powered by FluxBB