Segmentation fault when run with optirun

Bug #1750956 reported by Adrian Dinu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glmark2
New
Undecided
Unassigned

Bug Description

I have a laptop with an i5 7200U and an Nvidia 940mx. I have set up bumblebee and nvidia-390 drivers and tested things out.
When I run 'glmark2' on the iGPU everything works fine and the horse animation pops up. When I run 'optirun glmark2' I get the following output:

$ optirun glmark2
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR: NVIDIA Corporation
    GL_RENDERER: GeForce 940MX/PCIe/SSE2
    GL_VERSION: 4.6.0 NVIDIA 390.25
=======================================================
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.

This should be fine, this is the output that you would expect but no animation pops up and no more output is generated.

dmesg output:
[ 874.584749] bbswitch: enabling discrete graphics
[ 874.708237] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
[ 874.708722] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 390.25 Wed Jan 24 20:02:43 PST 2018 (using threaded interrupts)
[ 874.726627] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 874.726658] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 874.726674] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 874.726697] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 874.726712] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 874.726747] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 874.726762] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 874.747856] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 877.665777] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 877.670711] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242
[ 877.699819] bbswitch: disabling discrete graphics
[ 877.699832] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 877.718820] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 1342.529429] bbswitch: enabling discrete graphics
[ 1342.624229] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
[ 1342.624649] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 390.25 Wed Jan 24 20:02:43 PST 2018 (using threaded interrupts)
[ 1342.642077] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 1342.642115] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 1342.642135] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 1342.642164] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 1342.642183] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 1342.642228] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 1342.642246] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 1342.662501] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 1342.941979] glmark2[3917]: segfault at 0 ip (null) sp 00007ffc958247a8 error 14
[ 1343.096332] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 1343.100207] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242
[ 1343.117649] bbswitch: disabling discrete graphics
[ 1343.117659] ACPI Warning: \_SB.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[ 1343.136814] pci 0000:01:00.0: Refused to change power state, currently in D0

I don't think this is a bumblebee issue as running other programs with optirun, like glxgears or glxheads, works fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.