Sign in to follow this  
hikaricore

Possible fix for some Linux users with dual video outputs.

Recommended Posts

Shortly after purchase I had seen an issue on my system where CQ simply would not launch apparently crashing due to the Nvidia driver.

*** glibc detected *** /opt/stacking/Stack.bin.x86: double free or corruption (fasttop): 0x0956f900 ***

======= Backtrace: =========

/lib/i386-linux-gnu/libc.so.6(+0x75ee2)[0xb6f0dee2]

/usr/lib/nvidia-current/tls/libnvidia-tls.so.313.09(+0x1da3)[0xb6e8cda3]

/opt/stacking/lib/libSDL2-2.0.so.0(+0xbd89e)[0xb76be89e]

/opt/stacking/lib/libSDL2-2.0.so.0(SDL_VideoInit+0x1e3)[0xb769c253]

/opt/stacking/lib/libSDL2-2.0.so.0(SDL_InitSubSystem+0x164)[0xb760b644]

/opt/stacking/lib/libSDL2-2.0.so.0(SDL_Init+0x45)[0xb760b6f5]

/opt/stacking/Stack.bin.x86(_ZN5DFApp12PlatformInitEb+0x21)[0x84aaba1]

/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb6eb14d3]

======= Memory map: ========

08048000-09129000 r-xp 00000000 08:32 163460343 /opt/stacking/Stack.bin.x86

09129000-0912f000 rw-p 010e0000 08:32 163460343 /opt/stacking/Stack.bin.x86

0912f000-09163000 rw-p 00000000 00:00 0

0950f000-095fe000 rw-p 00000000 00:00 0 [heap]

b4e63000-b4e67000 r-xp 00000000 08:32 85334111 /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0

b4e67000-b4e68000 r--p 00003000 08:32 85334111 /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0

b4e68000-b4e69000 rw-p 00004000 08:32 85334111 /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0

b4e69000-b4e72000 r-xp 00000000 08:32 85329794 /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0

b4e72000-b4e73000 r--p 00008000 08:32 85329794 /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0

b4e73000-b4e74000 rw-p 00009000 08:32 85329794 /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0

b4e74000-b4e82000 r-xp 00000000 08:32 85328557 /usr/lib/i386-linux-gnu/libXi.so.6.1.0

b4e82000-b4e83000 r--p 0000d000 08:32 85328557 /usr/lib/i386-linux-gnu/libXi.so.6.1.0

b4e83000-b4e84000 rw-p 0000e000 08:32 85328557 /usr/lib/i386-linux-gnu/libXi.so.6.1.0

b4e84000-b4e86000 r-xp 00000000 08:32 85329530 /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0

b4e86000-b4e87000 r--p 00001000 08:32 85329530 /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0

b4e87000-b4e88000 rw-p 00002000 08:32 85329530 /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0

b4e88000-b4e8d000 r-xp 00000000 08:32 85329536 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0

b4e8d000-b4e8e000 r--p 00004000 08:32 85329536 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0

b4e8e000-b4e8f000 rw-p 00005000 08:32 85329536 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0

b4e8f000-b4e97000 r-xp 00000000 08:32 85328976 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0

b4e97000-b4e98000 r--p 00007000 08:32 85328976 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0

b4e98000-b4e99000 rw-p 00008000 08:32 85328976 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0

b4e99000-b4ea2000 r-xp 00000000 08:32 85329009 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2

b4ea2000-b4ea3000 r--p 00008000 08:32 85329009 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2

b4ea3000-b4ea4000 rw-p 00009000 08:32 85329009 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2

b4ede000-b4fe4000 rw-p 00000000 00:00 0

b4fe4000-b4fe9000 r-xp 00000000 08:32 85329997 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0

b4fe9000-b4fea000 r--p 00004000 08:32 85329997 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0

b4fea000-b4feb000 rw-p 00005000 08:32 85329997 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0

b4feb000-b4fed000 r-xp 00000000 08:32 85328547 /usr/lib/i386-linux-gnu/libXau.so.6.0.0

b4fed000-b4fee000 r--p 00001000 08:32 85328547 /usr/lib/i386-linux-gnu/libXau.so.6.0.0

b4fee000-b4fef000 rw-p 00002000 08:32 85328547 /usr/lib/i386-linux-gnu/libXau.so.6.0.0

b4fef000-b500f000 r-xp 00000000 08:32 85329709 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0

b500f000-b5010000 r--p 0001f000 08:32 85329709 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0

b5010000-b5011000 rw-p 00020000 08:32 85329709 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0

b5011000-b5021000 r-xp 00000000 08:32 85328304 /usr/lib/i386-linux-gnu/libXext.so.6.4.0

b5021000-b5022000 r--p 0000f000 08:32 85328304 /usr/lib/i386-linux-gnu/libXext.so.6.4.0

b5022000-b5023000 rw-p 00010000 08:32 85328304 /usr/lib/i386-linux-gnu/libXext.so.6.4.0

b5023000-b5024000 rw-p 00000000 00:00 0

b5024000-b5156000 r-xp 00000000 08:32 85328561 /usr/lib/i386-linux-gnu/libX11.so.6.3.0

b5156000-b5157000 r--p 00132000 08:32 85328561 /usr/lib/i386-linux-gnu/libX11.so.6.3.0

b5157000-b515a000 rw-p 00133000 08:32 85328561 /usr/lib/i386-linux-gnu/libX11.so.6.3.0

b515a000-b6e1b000 r-xp 00000000 08:32 85070709 /usr/lib/nvidia-current/libnvidia-glcore.so.313.09

b6e1b000-b6e79000 rwxp 01cc0000 08:32 85070709 /usr/lib/nvidia-current/libnvidia-glcore.so.313.09

b6e79000-b6e8b000 rwxp 00000000 00:00 0

b6e8b000-b6e8e000 r-xp 00000000 08:32 85066032 /usr/lib/nvidia-current/tls/libnvidia-tls.so.313.09

b6e8e000-b6e8f000 rw-p 00002000 08:32 85066032 /usr/lib/nvidia-current/tls/libnvidia-tls.so.313.09

b6e8f000-b6e96000 r-xp 00000000 08:32 142086806 /lib/i386-linux-gnu/librt-2.15.so

b6e96000-b6e97000 r--p 00006000 08:32 142086806 /lib/i386-linux-gnu/librt-2.15.so

b6e97000-b6e98000 rw-p 00007000 08:32 142086806 /lib/i386-linux-gnu/librt-2.15.so

b6e98000-b703b000 r-xp 00000000 08:32 142086788 /lib/i386-linux-gnu/libc-2.15.so

b703b000-b703c000 ---p 001a3000 08:32 142086788 /lib/i386-linux-gnu/libc-2.15.so

b703c000-b703e000 r--p 001a3000 08:32 142086788 /lib/i386-linux-gnu/libc-2.15.so

b703e000-b703f000 rw-p 001a5000 08:32 142086788 /lib/i386-linux-gnu/libc-2.15.so

b703f000-b7043000 rw-p 00000000 00:00 0

b7043000-b705f000 r-xp 00000000 08:32 142082101 /lib/i386-linux-gnu/libgcc_s.so.1

b705f000-b7060000 r--p 0001b000 08:32 142082101 /lib/i386-linux-gnu/libgcc_s.so.1

b7060000-b7061000 rw-p 0001c000 08:32 142082101 /lib/i386-linux-gnu/libgcc_s.so.1

b7061000-b708b000 r-xp 00000000 08:32 142086802 /lib/i386-linux-gnu/libm-2.15.so

b708b000-b708c000 r--p 00029000 08:32 142086802 /lib/i386-linux-gnu/libm-2.15.so

b708c000-b708d000 rw-p 0002a000 08:32 142086802 /lib/i386-linux-gnu/libm-2.15.so

b708d000-b7169000 r-xp 00000000 08:32 85328413 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17

b7169000-b716a000 ---p 000dc000 08:32 85328413 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17

b716a000-b716e000 r--p 000dc000 08:32 85328413 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17

b716e000-b716f000 rw-p 000e0000 08:32 85328413 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17

b716f000-b7176000 rw-p 00000000 00:00 0

b7176000-b718d000 r-xp 00000000 08:32 142086801 /lib/i386-linux-gnu/libpthread-2.15.so

b718d000-b718e000 r--p 00016000 08:32 142086801 /lib/i386-linux-gnu/libpthread-2.15.so

b718e000-b718f000 rw-p 00017000 08:32 142086801 /lib/i386-linux-gnu/libpthread-2.15.so

b718f000-b7191000 rw-p 00000000 00:00 0

b7191000-b7194000 r-xp 00000000 08:32 142086794 /lib/i386-linux-gnu/libdl-2.15.so

b7194000-b7195000 r--p 00002000 08:32 142086794 /lib/i386-linux-gnu/libdl-2.15.so

b7195000-b7196000 rw-p 00003000 08:32 142086794 /lib/i386-linux-gnu/libdl-2.15.so

b7196000-Aborted

After spending a little more time looking into the issue it occurred to me that I was using a dual-head setup involving multiple monitors on the same card. Could it be that simple I thought? Does CQ incapable of figuring out which display to start on and as such takes a massive dump? And prepended the launcher specifying the output display:

DISPLAY=:0.1 /opt/costume-quest/Cq.bin.x86

To my delight, the application fires right up with no apparent issues. Now I realize this probably won't apply to everyone, but to those that it does I figured posting it may save some frustration. ^_^ This also works for Stacking. Have fun.

--Aaron

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this