You are not logged in.

#1 2018-05-21 08:07:58

AlynxZhou
Member
Registered: 2017-02-20
Posts: 28
Website

Primusrun segfault in wayland under xwayland 1.20

After upgrade my system, primsrun always get a segfault under GNOME/Wayland, I found xwayland was upgrade to 1.20, and downgrade xwayland and xorg-server to 1.19 fixed it. Don't know the reason.

e.g primusrun glxgears segfault but optirun glxgears is ok.

Plus Atom Editor under wayland also flickering under xwayland 1.20, downgrade it to 1.19 also fixed it, but I cannot get logs about atom.

Related logs:

May 21 15:46:47 pendragon kernel: bbswitch: enabling discrete graphics
May 21 15:46:47 pendragon kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 240
May 21 15:46:47 pendragon kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  396.24  Thu Apr 26 00:10:09 PDT 2018 (using threaded interrupts)
May 21 15:46:47 pendragon kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  396.24  Wed Apr 25 23:54:18 PDT 2018
May 21 15:46:47 pendragon kernel: nvidia-modeset: Allocated GPU:0 (GPU-2ffa395f-25a1-eaab-d6f5-1a2531e2cda8) @ PCI:0000:01:00.0
May 21 15:46:47 pendragon kernel: nvidia-modeset: Freed GPU:0 (GPU-2ffa395f-25a1-eaab-d6f5-1a2531e2cda8) @ PCI:0000:01:00.0
May 21 15:46:47 pendragon bumblebeed[438]: [   46.065467] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
May 21 15:46:47 pendragon bumblebeed[438]: [   46.065482] [WARN][XORG] (WW) Warning, couldn't open module mouse
May 21 15:46:47 pendragon bumblebeed[438]: [   46.065491] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
May 21 15:46:47 pendragon bumblebeed[438]: [   46.065496] [WARN][XORG] (WW) NVIDIA(0): Option "NoLogo" is not used
May 21 15:46:47 pendragon bumblebeed[438]: [   46.065504] [WARN][XORG] (WW) Warning, couldn't open module mouse
May 21 15:46:47 pendragon bumblebeed[438]: [   46.065509] [ERROR][XORG] (EE) PreInit returned 2 for "<default pointer>"
May 21 15:46:47 pendragon bumblebeed[438]: [   46.065513] [ERROR][XORG] (EE) PreInit returned 2 for "<default keyboard>"
May 21 15:46:47 pendragon kernel: nvidia-modeset: Allocated GPU:0 (GPU-2ffa395f-25a1-eaab-d6f5-1a2531e2cda8) @ PCI:0000:01:00.0
May 21 15:46:47 pendragon kernel: nvidia-modeset: Freed GPU:0 (GPU-2ffa395f-25a1-eaab-d6f5-1a2531e2cda8) @ PCI:0000:01:00.0
May 21 15:46:47 pendragon kernel: glxgears[1432]: segfault at 74 ip 00007f5404112151 sp 00007f5400623b20 error 4 in i965_dri.so[7f5403f3a000+874000]
May 21 15:46:47 pendragon systemd[1]: Started Process Core Dump (PID 1434/UID 0).
May 21 15:46:48 pendragon kernel: nvidia-modeset: Unloading
May 21 15:46:48 pendragon systemd-coredump[1435]: Process 1416 (glxgears) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 1432:
                                                  #0  0x00007f5404112151 n/a (i965_dri.so)
                                                  #1  0x00007f5404314f8d n/a (i965_dri.so)
                                                  #2  0x00007f5408c09425 n/a (libGL.so.1)
                                                  #3  0x00007f5407f3c075 start_thread (libpthread.so.0)
                                                  #4  0x00007f540824b53f __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 1416:
                                                  #0  0x00007f5407f44856 do_futex_wait.constprop.1 (libpthread.so.0)
                                                  #1  0x00007f5407f44958 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                                                  #2  0x00007f5408c0a4ac glXSwapBuffers (libGL.so.1)
                                                  #3  0x000056472e673a27 n/a (glxgears)
                                                  #4  0x00007f540817606b __libc_start_main (libc.so.6)
                                                  #5  0x000056472e67408a n/a (glxgears)
                                                  
                                                  Stack trace of thread 1433:
                                                  #0  0x00007f5407f44856 do_futex_wait.constprop.1 (libpthread.so.0)
                                                  #1  0x00007f5407f44958 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                                                  #2  0x00007f5408c0aa7c n/a (libGL.so.1)
                                                  #3  0x00007f5407f3c075 start_thread (libpthread.so.0)
                                                  #4  0x00007f540824b53f __clone (libc.so.6)
May 21 15:46:48 pendragon kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
May 21 15:46:48 pendragon kernel: bbswitch: disabling discrete graphics
May 21 15:46:48 pendragon kernel: pci 0000:01:00.0: Refused to change power state, currently in D0

Hope anyone can help or find the reason.

Last edited by AlynxZhou (2018-05-26 01:58:19)

Offline

#2 2018-05-21 09:17:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,450

Re: Primusrun segfault in wayland under xwayland 1.20

Please wrap output in [ code ] tags.

Offline

#3 2018-05-21 14:15:22

AlynxZhou
Member
Registered: 2017-02-20
Posts: 28
Website

Re: Primusrun segfault in wayland under xwayland 1.20

V1del wrote:

Please wrap output in [ code ] tags.

Not so familiar with bbcode, sorry, but it can be read

Offline

#4 2018-05-21 14:36:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,133

Re: Primusrun segfault in wayland under xwayland 1.20

AlynxZhou wrote:

Not so familiar with bbcode, sorry, but it can be read

In truth, that had not been merely a request.  You can read about BBcode here https://bbs.archlinux.org/help.php#bbcode
That same link is available under every message post box on the forums for your convenience.

Trust me, your readers will appreciate it.  It creates scroll bars automatically, and it uses a monospaced font so that things line up.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2018-05-25 07:08:24

joasis
Member
Registered: 2018-02-27
Posts: 13

Re: Primusrun segfault in wayland under xwayland 1.20

Can confirm that I'm also experiencing this:

May 25 09:06:08 Joasis kernel: bbswitch: enabling discrete graphics
May 25 09:06:09 Joasis kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 239
May 25 09:06:09 Joasis kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  396.24  Thu Apr 26 00:10:09 PDT 2018 (using threaded interrupts)
May 25 09:06:09 Joasis acpid[526]: client connected from 10646[0:56]
May 25 09:06:09 Joasis acpid[526]: 1 client rule loaded
May 25 09:06:09 Joasis acpid[526]: client connected from 10646[0:56]
May 25 09:06:09 Joasis acpid[526]: 1 client rule loaded
May 25 09:06:09 Joasis kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  396.24  Wed Apr 25 23:54:18 PDT 2018
May 25 09:06:09 Joasis kernel: nvidia-modeset: Allocated GPU:0 (GPU-1c43062f-f292-bae5-c181-a63afe3c1227) @ PCI:0000:02:00.0
May 25 09:06:09 Joasis kernel: nvidia-modeset: Freed GPU:0 (GPU-1c43062f-f292-bae5-c181-a63afe3c1227) @ PCI:0000:02:00.0
May 25 09:06:09 Joasis bumblebeed[527]: [ 3698.408878] [WARN][XORG] (WW) Warning, couldn't open module mouse
May 25 09:06:09 Joasis bumblebeed[527]: [ 3698.408921] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
May 25 09:06:09 Joasis bumblebeed[527]: [ 3698.408926] [WARN][XORG] (WW) NVIDIA(0): Option "NoLogo" is not used
May 25 09:06:09 Joasis bumblebeed[527]: [ 3698.408935] [WARN][XORG] (WW) Warning, couldn't open module mouse
May 25 09:06:09 Joasis bumblebeed[527]: [ 3698.408971] [ERROR][XORG] (EE) PreInit returned 2 for "<default pointer>"
May 25 09:06:09 Joasis bumblebeed[527]: [ 3698.408986] [ERROR][XORG] (EE) PreInit returned 2 for "<default keyboard>"
May 25 09:06:09 Joasis kernel: nvidia-modeset: Allocated GPU:0 (GPU-1c43062f-f292-bae5-c181-a63afe3c1227) @ PCI:0000:02:00.0
May 25 09:06:09 Joasis kernel: nvidia-modeset: Freed GPU:0 (GPU-1c43062f-f292-bae5-c181-a63afe3c1227) @ PCI:0000:02:00.0
May 25 09:06:10 Joasis kernel: glxgears[10655]: segfault at 74 ip 00007f1813592151 sp 00007f18102b9b20 error 4 in i965_dri.so[7f18133ba000+874000]
May 25 09:06:10 Joasis systemd[1]: Started Process Core Dump (PID 10657/UID 0).
May 25 09:06:10 Joasis kernel: nvidia-modeset: Unloading
May 25 09:06:10 Joasis kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
May 25 09:06:10 Joasis kernel: bbswitch: disabling discrete graphics
May 25 09:06:10 Joasis kernel: pci 0000:02:00.0: Refused to change power state, currently in D0
May 25 09:06:10 Joasis systemd-coredump[10658]: Process 10640 (glxgears) of user 1000 dumped core.
                                                
                                                Stack trace of thread 10655:
                                                #0  0x00007f1813592151 n/a (i965_dri.so)
                                                #1  0x00007f1813794f8d n/a (i965_dri.so)
                                                #2  0x00007f1818089425 n/a (libGL.so.1)
                                                #3  0x00007f18173bc075 start_thread (libpthread.so.0)
                                                #4  0x00007f18176cb53f __clone (libc.so.6)
                                                
                                                Stack trace of thread 10640:
                                                #0  0x00007f18173c4856 do_futex_wait.constprop.1 (libpthread.so.0)
                                                #1  0x00007f18173c4958 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                                                #2  0x00007f181808a4ac glXSwapBuffers (libGL.so.1)
                                                #3  0x0000556b28730a27 n/a (glxgears)
                                                #4  0x00007f18175f606b __libc_start_main (libc.so.6)
                                                #5  0x0000556b2873108a n/a (glxgears)
                                                
                                                Stack trace of thread 10656:
                                                #0  0x00007f18173c4856 do_futex_wait.constprop.1 (libpthread.so.0)
                                                #1  0x00007f18173c4958 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                                                #2  0x00007f181808aa7c n/a (libGL.so.1)
                                                #3  0x00007f18173bc075 start_thread (libpthread.so.0)
                                                #4  0x00007f18176cb53f __clone (libc.so.6)
May 25 09:06:11 Joasis acpid[526]: client 10646[0:56] has disconnected

Last edited by joasis (2018-05-25 07:09:19)

Offline

#6 2018-05-25 07:42:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,450

Re: Primusrun segfault in wayland under xwayland 1.20

Something I'm noticing here, both of you are attempting to load module mouse, which is broken, remove every xf86-input module other than libinput and try again, see https://bbs.archlinux.org/viewtopic.php?id=237354 as well.

Offline

#7 2018-05-25 09:00:12

joasis
Member
Registered: 2018-02-27
Posts: 13

Re: Primusrun segfault in wayland under xwayland 1.20

No idea why Bumblebee tries to load the mouse module. A search for input/mouse packages on my system only returned those of libinput. In the post you're linking to, removing the xf86-input-mouse package does indeed help: apps run fine with optirun, but not primusrun (see errors above), which, I guess, is fine in most situations.

I've also noticed the flickering AlynxZhou mentioned. It seems that all apps based on Electron (Atom, Chromium, etc.) suffer from this. The issue is probably unrelated to Bumblebee and should be addressed on Electron's GitHub page.

Offline

#8 2018-05-26 01:56:29

AlynxZhou
Member
Registered: 2017-02-20
Posts: 28
Website

Re: Primusrun segfault in wayland under xwayland 1.20

joasis wrote:

No idea why Bumblebee tries to load the mouse module. A search for input/mouse packages on my system only returned those of libinput. In the post you're linking to, removing the xf86-input-mouse package does indeed help: apps run fine with optirun, but not primusrun (see errors above), which, I guess, is fine in most situations.

I've also noticed the flickering AlynxZhou mentioned. It seems that all apps based on Electron (Atom, Chromium, etc.) suffer from this. The issue is probably unrelated to Bumblebee and should be addressed on Electron's GitHub page.

Not a mouse module bug I believe, because when it works normally it also shows an error of mouse.

And after downgrade xorg-server and xorg-server-xwayland it works, so may not a electron bug.

Offline

#9 2018-05-26 01:57:37

AlynxZhou
Member
Registered: 2017-02-20
Posts: 28
Website

Re: Primusrun segfault in wayland under xwayland 1.20

V1del wrote:

Something I'm noticing here, both of you are attempting to load module mouse, which is broken, remove every xf86-input module other than libinput and try again, see https://bbs.archlinux.org/viewtopic.php?id=237354 as well.

I have only xf86-input-libinput, and I think not it caused the bug.

Offline

#10 2018-05-26 05:55:37

seth
Member
Registered: 2012-09-03
Posts: 8,452

Re: Primusrun segfault in wayland under xwayland 1.20

#1  0x00007f5404314f8d n/a (i965_dri.so)
#2  0x00007f5408c09425 n/a (libGL.so.1)

libGL from the primus package is a 1+ year old build of a 2½ year old library, re-implementing parts of GLX.
I'm not terribly surprised about it failing it on the newer X11 servers (and 1.20 in particular ...)

Offline

#11 2018-05-28 14:50:26

AlynxZhou
Member
Registered: 2017-02-20
Posts: 28
Website

Re: Primusrun segfault in wayland under xwayland 1.20

seth wrote:
#1  0x00007f5404314f8d n/a (i965_dri.so)
#2  0x00007f5408c09425 n/a (libGL.so.1)

libGL from the primus package is a 1+ year old build of a 2½ year old library, re-implementing parts of GLX.
I'm not terribly surprised about it failing it on the newer X11 servers (and 1.20 in particular ...)

Sure, but what about chromium?

Offline

#12 2018-05-28 14:57:57

loqs
Member
Registered: 2014-03-06
Posts: 5,967

Re: Primusrun segfault in wayland under xwayland 1.20

Try xorg-server 1.20.0-5 from testing.  If the issue remains bisect xorg-server between 1.19 and 1.20
Edit:
There is also https://bbs.archlinux.org/viewtopic.php?id=237383 covering electron apps and XWayland which you have already found.

Last edited by loqs (2018-05-28 15:05:58)

Offline

#13 2018-06-04 01:04:46

WOFall
Member
From: Ireland
Registered: 2012-03-24
Posts: 10

Re: Primusrun segfault in wayland under xwayland 1.20

I see the same issue ("optirun -b virtualgl" works, "primusrun" segfaults in i965_dri.so). The issue is still present in 1.20.0-6 from testing. Bisection leads to:

8d0d89715984e321315631dd6667e05813d26e03 is the first bad commit
commit 8d0d89715984e321315631dd6667e05813d26e03
Author: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Date:   Wed Feb 28 01:19:45 2018 +0000

    glamor: Use gbm_bo_create_with_modifiers for internal pixmap allocation

    Using modifier might allow the driver to use a more optimal format
    (e.g. tiled/compressed). Let's try to use those if possible.

    v2: Don't filter out multi-plane modifiers

    Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
    Reviewed-by: Daniel Stone <daniels@collabora.com>
    Acked-by: Keith Packard <keithp@keithp.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

:040000 040000 99221cad545ac26d319fa29ae343b575cd23ddd3 3616cdeffe6606a90d0fcd10b7801e71f1655abe M      glamor
:040000 040000 0689a4e3646bf4938f44e4532af5bd666aa6478d a6e32d92dfd87892225a511fbfec964e277a0b39 M      hw

Offline

#14 2018-06-08 20:38:48

SvenMauch
Member
Registered: 2018-05-31
Posts: 2

Re: Primusrun segfault in wayland under xwayland 1.20

primusrun broke for me today (which means it worked before with Xorg 1.20) and I can't figure out why... optirun with virtualgl instead of primus still runs fine.

What I find interesting is that I can run non-graphical apps just fine with primusrun but as soon as it involves OpenGL it breaks.

primus_verbose=2 primusrun glxgears

ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
Segmentation fault (core dumped)

optirun -b primus -vv glxgears

[ 1423.322128] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1423.322465] [INFO]Configured driver: nvidia
[ 1423.322883] [DEBUG]optirun version 3.2.1 starting...
[ 1423.322910] [DEBUG]Active configuration:
[ 1423.322918] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1423.322925] [DEBUG] X display: :8
[ 1423.322932] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
[ 1423.322939] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1423.322946] [DEBUG] Accel/display bridge: primus
[ 1423.322952] [DEBUG] VGL Compression: proxy
[ 1423.322962] [DEBUG] VGLrun extra options: 
[ 1423.322970] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[ 1424.847125] [INFO]Response: Yes. X is active.

[ 1424.847141] [INFO]Running application using primus.
[ 1424.847248] [DEBUG]Process glxgears started, PID 2997.
[ 1425.378160] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 1425.378182] [DEBUG]Socket closed.
[ 1425.378197] [DEBUG]Killing all remaining processes.

dmesg

[ 1610.345945] bbswitch: enabling discrete graphics
[ 1610.568377] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[ 1610.568725] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  396.24  Thu Apr 26 00:10:09 PDT 2018 (using threaded interrupts)
[ 1611.935682] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  396.24  Wed Apr 25 23:54:18 PDT 2018
[ 1611.937498] nvidia-modeset: Allocated GPU:0 (GPU-92715c26-a8f6-6d02-6bdd-69f5a29c8d9d) @ PCI:0000:01:00.0
[ 1611.937826] nvidia-modeset: Freed GPU:0 (GPU-92715c26-a8f6-6d02-6bdd-69f5a29c8d9d) @ PCI:0000:01:00.0
[ 1612.061045] nvidia-modeset: Allocated GPU:0 (GPU-92715c26-a8f6-6d02-6bdd-69f5a29c8d9d) @ PCI:0000:01:00.0
[ 1612.061425] nvidia-modeset: Freed GPU:0 (GPU-92715c26-a8f6-6d02-6bdd-69f5a29c8d9d) @ PCI:0000:01:00.0
[ 1612.178684] glxgears[3096]: segfault at 74 ip 00007fbd3f56bff1 sp 00007fbd3d314b20 error 4 in i965_dri.so[7fbd3f3a4000+8a0000]
[ 1612.655348] nvidia-modeset: Unloading
[ 1612.669856] nvidia-nvlink: Unregistered the Nvlink Core, major device number 237
[ 1612.694169] bbswitch: disabling discrete graphics
[ 1612.708948] pci 0000:01:00.0: Refused to change power state, currently in D0

/var/log/Xorg.8.log

[  1818.853] 
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[  1818.853] Build Operating System: Linux Arch Linux
[  1818.853] Current Operating System: Linux M80 4.16.13-2-ARCH #1 SMP PREEMPT Fri Jun 1 18:46:11 UTC 2018 x86_64
[  1818.853] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img cryptdevice=UUID=21def56a-d392-4898-add8-0cb47b955bcd:vg0 root=/dev/mapper/vg0-archlinux resume=/dev/mapper/vg0-swap intel_iommu=on,igfx_off kvm.ignore_msrs=1 rw
[  1818.853] Build Date: 03 June 2018  06:08:22AM
[  1818.853]  
[  1818.853] Current version of pixman: 0.34.0
[  1818.853] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1818.853] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1818.853] (==) Log file: "/var/log/Xorg.8.log", Time: Fri Jun  8 22:37:21 2018
[  1818.853] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[  1818.853] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[  1818.853] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1818.853] (==) ServerLayout "Layout0"
[  1818.853] (==) No screen section available. Using defaults.
[  1818.853] (**) |-->Screen "Default Screen Section" (0)
[  1818.853] (**) |   |-->Monitor "<default monitor>"
[  1818.853] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  1818.853] (**) |   |-->Device "DiscreteNvidia"
[  1818.853] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  1818.853] (**) Option "AutoAddDevices" "false"
[  1818.853] (**) Option "AutoAddGPU" "false"
[  1818.854] (**) Not automatically adding devices
[  1818.854] (==) Automatically enabling devices
[  1818.854] (**) Not automatically adding GPU devices
[  1818.854] (==) Automatically binding GPU devices
[  1818.854] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1818.854] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  1818.854] 	Entry deleted from font path.
[  1818.854] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  1818.854] 	Entry deleted from font path.
[  1818.854] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  1818.854] 	Entry deleted from font path.
[  1818.854] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  1818.854] 	Entry deleted from font path.
[  1818.854] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[  1818.854] (++) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[  1818.854] (==) |-->Input Device "<default pointer>"
[  1818.854] (==) |-->Input Device "<default keyboard>"
[  1818.854] (==) The core pointer device wasn't specified explicitly in the layout.
	Using the default mouse configuration.
[  1818.854] (==) The core keyboard device wasn't specified explicitly in the layout.
	Using the default keyboard configuration.
[  1818.854] (II) Module ABI versions:
[  1818.854] 	X.Org ANSI C Emulation: 0.4
[  1818.854] 	X.Org Video Driver: 24.0
[  1818.854] 	X.Org XInput driver : 24.1
[  1818.854] 	X.Org Server Extension : 10.0
[  1818.854] (--) using VT number 1

[  1818.854] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  1818.855] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1818.855] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  1818.857] (--) PCI:*(1@0:0:0) 10de:1d12:17aa:2257 rev 161, Mem @ 0xe8000000/16777216, 0x70000000/268435456, 0x80000000/33554432, I/O @ 0x0000d000/128
[  1818.857] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1818.857] (II) LoadModule: "glx"
[  1818.857] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[  1818.860] (II) Module glx: vendor="NVIDIA Corporation"
[  1818.860] 	compiled for 4.0.2, module version = 1.0.0
[  1818.860] 	Module class: X.Org Server Extension
[  1818.860] (II) NVIDIA GLX Module  396.24  Wed Apr 25 23:17:01 PDT 2018
[  1818.860] (II) LoadModule: "nvidia"
[  1818.860] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  1818.861] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1818.861] 	compiled for 4.0.2, module version = 1.0.0
[  1818.861] 	Module class: X.Org Video Driver
[  1818.861] (II) LoadModule: "mouse"
[  1818.861] (WW) Warning, couldn't open module mouse
[  1818.861] (EE) Failed to load module "mouse" (module does not exist, 0)
[  1818.861] (II) LoadModule: "kbd"
[  1818.861] (WW) Warning, couldn't open module kbd
[  1818.861] (EE) Failed to load module "kbd" (module does not exist, 0)
[  1818.861] (II) NVIDIA dlloader X Driver  396.24  Wed Apr 25 22:53:34 PDT 2018
[  1818.861] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  1818.861] (II) Loading sub module "fb"
[  1818.861] (II) LoadModule: "fb"
[  1818.861] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1818.861] (II) Module fb: vendor="X.Org Foundation"
[  1818.861] 	compiled for 1.20.0, module version = 1.0.0
[  1818.861] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1818.861] (II) Loading sub module "wfb"
[  1818.861] (II) LoadModule: "wfb"
[  1818.861] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  1818.861] (II) Module wfb: vendor="X.Org Foundation"
[  1818.861] 	compiled for 1.20.0, module version = 1.0.0
[  1818.861] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1818.861] (II) Loading sub module "ramdac"
[  1818.861] (II) LoadModule: "ramdac"
[  1818.861] (II) Module "ramdac" already built-in
[  1818.862] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  1818.862] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  1818.862] (==) NVIDIA(0): RGB weight 888
[  1818.862] (==) NVIDIA(0): Default visual is TrueColor
[  1818.862] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  1818.862] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[  1818.862] (**) NVIDIA(0): Option "UseEDID" "false"
[  1818.862] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[  1818.862] (**) NVIDIA(0): Enabling 2D acceleration
[  1818.862] (**) NVIDIA(0): Ignoring EDIDs
[  1818.862] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[  1818.862] (**) NVIDIA(0):     mode
[  1819.964] (II) NVIDIA(0): NVIDIA GPU GeForce MX150 (GP108-A) at PCI:1:0:0 (GPU-0)
[  1819.964] (--) NVIDIA(0): Memory: 2097152 kBytes
[  1819.964] (--) NVIDIA(0): VideoBIOS: 86.08.11.00.2b
[  1819.964] (II) NVIDIA(0): Detected PCI Express Link width: 4X
[  1819.964] (II) NVIDIA(0): Validated MetaModes:
[  1819.964] (II) NVIDIA(0):     "NULL"
[  1819.964] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[  1819.964] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[  1819.964] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[  1819.964] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[  1819.964] (II) NVIDIA:     access.
[  1819.971] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[  1819.971] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[  1819.971] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[  1819.971] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[  1819.971] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[  1819.971] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[  1819.971] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[  1819.971] (II) NVIDIA(0):     Config Options in the README.
[  1820.002] (II) NVIDIA(0): Setting mode "NULL"
[  1820.007] (==) NVIDIA(0): Disabling shared memory pixmaps
[  1820.007] (==) NVIDIA(0): Backing store enabled
[  1820.007] (==) NVIDIA(0): Silken mouse disabled
[  1820.008] (==) NVIDIA(0): DPMS enabled
[  1820.008] (WW) NVIDIA(0): Option "NoLogo" is not used
[  1820.008] (II) Loading sub module "dri2"
[  1820.008] (II) LoadModule: "dri2"
[  1820.008] (II) Module "dri2" already built-in
[  1820.008] (II) NVIDIA(0): [DRI2] Setup complete
[  1820.008] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[  1820.008] (II) Initializing extension Generic Event Extension
[  1820.008] (II) Initializing extension SHAPE
[  1820.008] (II) Initializing extension MIT-SHM
[  1820.008] (II) Initializing extension XInputExtension
[  1820.009] (II) Initializing extension XTEST
[  1820.009] (II) Initializing extension BIG-REQUESTS
[  1820.009] (II) Initializing extension SYNC
[  1820.009] (II) Initializing extension XKEYBOARD
[  1820.009] (II) Initializing extension XC-MISC
[  1820.009] (II) Initializing extension SECURITY
[  1820.010] (II) Initializing extension XFIXES
[  1820.010] (II) Initializing extension RENDER
[  1820.010] (II) Initializing extension RANDR
[  1820.010] (II) Initializing extension COMPOSITE
[  1820.010] (II) Initializing extension DAMAGE
[  1820.011] (II) Initializing extension MIT-SCREEN-SAVER
[  1820.011] (II) Initializing extension DOUBLE-BUFFER
[  1820.011] (II) Initializing extension RECORD
[  1820.011] (II) Initializing extension DPMS
[  1820.011] (II) Initializing extension Present
[  1820.011] (II) Initializing extension DRI3
[  1820.011] (II) Initializing extension X-Resource
[  1820.011] (II) Initializing extension XVideo
[  1820.012] (II) Initializing extension XVideo-MotionCompensation
[  1820.012] (II) Initializing extension XFree86-VidModeExtension
[  1820.012] (II) Initializing extension XFree86-DGA
[  1820.012] (II) Initializing extension XFree86-DRI
[  1820.012] (II) Initializing extension DRI2
[  1820.012] (II) Initializing extension GLX
[  1820.012] (II) Initializing extension GLX
[  1820.012] (II) Indirect GLX disabled.
[  1820.012] (II) Initializing extension NV-GLX
[  1820.012] (II) Initializing extension NV-CONTROL
[  1820.077] (II) LoadModule: "mouse"
[  1820.077] (WW) Warning, couldn't open module mouse
[  1820.077] (EE) Failed to load module "mouse" (module does not exist, 0)
[  1820.077] (EE) No input driver matching `mouse'
[  1820.077] (II) Falling back to input driver `libinput'
[  1820.077] (II) LoadModule: "libinput"
[  1820.077] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  1820.080] (II) Module libinput: vendor="X.Org Foundation"
[  1820.080] 	compiled for 1.19.6, module version = 0.27.1
[  1820.080] 	Module class: X.Org XInput Driver
[  1820.080] 	ABI class: X.Org XInput driver, version 24.1
[  1820.080] (II) Using input driver 'libinput' for '<default pointer>'
[  1820.080] (**) Option "CorePointer" "on"
[  1820.080] (**) <default pointer>: always reports core events
[  1820.080] (EE) PreInit returned 2 for "<default pointer>"
[  1820.080] (II) UnloadModule: "libinput"
[  1820.080] (II) LoadModule: "kbd"
[  1820.080] (WW) Warning, couldn't open module kbd
[  1820.080] (EE) Failed to load module "kbd" (module does not exist, 0)
[  1820.080] (EE) No input driver matching `kbd'
[  1820.080] (II) Falling back to input driver `libinput'
[  1820.080] (II) Using input driver 'libinput' for '<default keyboard>'
[  1820.080] (**) Option "CoreKeyboard" "on"
[  1820.080] (**) <default keyboard>: always reports core events
[  1820.080] (EE) PreInit returned 2 for "<default keyboard>"
[  1820.080] (II) UnloadModule: "libinput"
[  1820.095] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[  1820.095] (II) AutoAddDevices is off - not adding device.
[  1820.095] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[  1820.095] (II) AutoAddDevices is off - not adding device.
[  1820.096] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[  1820.096] (II) AutoAddDevices is off - not adding device.
[  1820.097] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[  1820.097] (II) AutoAddDevices is off - not adding device.
[  1820.097] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[  1820.097] (II) AutoAddDevices is off - not adding device.
[  1820.097] (II) config/udev: Adding drm device (/dev/dri/card0)
[  1820.097] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1820.097] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  1820.099] (II) config/udev: Adding input device Integrated Camera: Integrated C (/dev/input/event10)
[  1820.099] (II) AutoAddDevices is off - not adding device.
[  1820.099] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event11)
[  1820.099] (II) AutoAddDevices is off - not adding device.
[  1820.100] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event12)
[  1820.100] (II) AutoAddDevices is off - not adding device.
[  1820.100] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event13)
[  1820.100] (II) AutoAddDevices is off - not adding device.
[  1820.101] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event14)
[  1820.101] (II) AutoAddDevices is off - not adding device.
[  1820.101] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event15)
[  1820.101] (II) AutoAddDevices is off - not adding device.
[  1820.101] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event16)
[  1820.101] (II) AutoAddDevices is off - not adding device.
[  1820.102] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event17)
[  1820.102] (II) AutoAddDevices is off - not adding device.
[  1820.102] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event18)
[  1820.102] (II) AutoAddDevices is off - not adding device.
[  1820.103] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[  1820.103] (II) AutoAddDevices is off - not adding device.
[  1820.103] (II) config/udev: Adding input device ETPS/2 Elantech TrackPoint (/dev/input/event8)
[  1820.103] (II) AutoAddDevices is off - not adding device.
[  1820.104] (II) config/udev: Adding input device ETPS/2 Elantech TrackPoint (/dev/input/mouse0)
[  1820.104] (II) AutoAddDevices is off - not adding device.
[  1820.105] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event9)
[  1820.105] (II) AutoAddDevices is off - not adding device.
[  1820.105] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse1)
[  1820.105] (II) AutoAddDevices is off - not adding device.
[  1820.105] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[  1820.105] (II) AutoAddDevices is off - not adding device.
[  1820.106] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event7)
[  1820.106] (II) AutoAddDevices is off - not adding device.
[  1820.767] (II) NVIDIA(GPU-0): Deleting GPU-0
[  1820.767] (II) Server terminated successfully (0). Closing log file.

Any ideas?

EDIT: damn... just noticed that mesa went from 18.0.4-1 to 18.1.1-1 today... that sounds like the most likely culprit now

EDIT 2: wait a minute... lib32-mesa is still on 18.0.4? neutral

EDIT 3: guess what? downgrading packages to 2018/06/07 makes primus work again. now i look like an idiot who hastily posts before trying anything. leaving this up for all the other poor souls trying to play their games since today's update.

Last edited by SvenMauch (2018-06-08 21:02:02)

Offline

#15 2018-06-09 11:02:49

wioo
Member
Registered: 2017-05-18
Posts: 9

Re: Primusrun segfault in wayland under xwayland 1.20

Yes, mesa 18.1.1-1 broke some things (primus?). I could not start some games (wine). Downgrade to 18.0.4-1 helps.

Offline

#16 2018-06-09 11:11:30

SvenMauch
Member
Registered: 2018-05-31
Posts: 2

Re: Primusrun segfault in wayland under xwayland 1.20

A bug report has been opened relating to this issue: https://bugs.archlinux.org/task/58933

Offline

#17 2018-06-12 12:52:16

wellsaid
Member
Registered: 2016-04-13
Posts: 21

Re: Primusrun segfault in wayland under xwayland 1.20

wioo wrote:

Yes, mesa 18.1.1-1 broke some things (primus?). I could not start some games (wine). Downgrade to 18.0.4-1 helps.

Also for me segmentation fault when calling primusrun after update. This solved for me, thank you wink I will wait for the bug to be fixed before upgrading.

Last edited by wellsaid (2018-06-12 12:52:29)

Offline

#18 2018-08-20 09:54:04

damian01w
Member
Registered: 2009-02-07
Posts: 7

Re: Primusrun segfault in wayland under xwayland 1.20

Seems to be working fine now, with latest Mesa 18.1.6 update.

Offline

Board footer

Powered by FluxBB