Kodi 18.0-BETA4 Git:20181022-fe875cf segfault initialising secondary display
#1
Installing 18.0-BETA4 Git:20181022-fe875cf gives me a bunch of gl shader errors and then segfaults.  Rolling back to 18.0-BETA3 Git:20181003-c2e1b31 fixes it. I don't have a crashlog atm and have currently rolled back as the wife wants to watch TV but I can get one in a few hours.

In the meantime, OS is Ubuntu 16.04.5 LTS, kernel: Linux x86 64-bit version 4.15.0-33-generic, gfx card is nVidia 9800GT (yeah, I know it's old now!) drivers are nvidia-340.107 from the ubuntu graphics-drivers ppa.
Code:
GL_VENDOR = NVIDIA Corporation
GL_RENDERER = GeForce 9800 GT/PCIe/SSE2
GL_VERSION = 3.3.0 NVIDIA 340.107
GL_SHADING_LANGUAGE_VERSION = 3.30 NVIDIA via Cg compiler

I installed the same version (BETA4) on my other Ubuntu machine (which has a later card and drivers) and got no issues.
Code:
GL_VENDOR = NVIDIA Corporation
GL_RENDERER = GeForce GT 610/PCIe/SSE2
GL_VERSION = 4.5.0 NVIDIA 375.82
GL_SHADING_LANGUAGE_VERSION = 4.50 NVIDIA

I guess that BETA4 either doesn't like my older GL 3.3 or possibly my gfx drivers are screwed up somehow (although I have tried re-installing them with no difference).  Just wondering if there's maybe something I can do so that I can run BETA4 ?

Thanks in advance for any insight.

*** EDIT ***

Further testing revealed I can run BETA4 in portable mode so I then tried running it normally inside gdb and got
Code:
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x0000000000bb943d in CRenderSystemGL::InitRenderSystem() ()
#2  0x00000000013249e3 in CApplication::InitWindow(RESOLUTION) ()
#3  0x000000000132f6a1 in CApplication::CreateGUI() ()
#4  0x0000000000ff41d5 in XBMC_Run ()
#5  0x0000000000971568 in main ()

I then removed my guisettings.xml from the userdata directory and started it again.  This time it started fine on my primary monitor (listed in the GUI as 'default').  I switched it to the secondary monitor that Kodi normally runs on and it switched over fine, however, I am unable to start it at all on that monitor (DVI-3), I can only start it on the default monitor and move it over.  Obviously, this doesn't affect the other machine as it only has the one monitor, but some code somewhere must have changed because the beta3 version from the unstable repo starts correctly on the secondary monitor.

Logfile with backtrace

--= Further Edit =--

Did a bisect between alpha3 and current master and found a commit where it breaks startup on the secondary monitor.  Raised it as an issue on github here
Learning Linux the hard way !!
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi 18.0-BETA4 Git:20181022-fe875cf segfault initialising secondary display0