Omnimaga

General Discussion => Technology and Development => Computer Usage and Setup Help => Topic started by: aeTIos on June 10, 2014, 02:39:59 pm

Title: vbsp_linux crash
Post by: aeTIos on June 10, 2014, 02:39:59 pm
[Crossposted from forums.thinkingwithportals.com]
So yeah. I have a problem with Portal 2. The problem I'm having is this. I recently wanted to try a new concept that I came up with for a test chamber. Designed a test chamber, tried to build. Crash. The dev console pointed me to vbsp, so I looked into the /bin folder for Portal 2 and tried to run vbsp_linux through a terminal. At first, it turned out that the libraries weren't in the right place, so I fixed that. Hoping this would fix it, I tried running vbsp-linux again.
By the way, this is the terminal input:
Code: [Select]
[email protected]:~/.local/share/Steam/SteamApps/common/Portal 2/bin$ ./vbsp_linux -entity_limit 1750 -game ../portal2 ../sdk_content/maps/blabla.vmfHad my hopes up for a second as the program didn't output much for half a second, then it crashed. This is the output I got:
Code: [Select]
Valve Software - vbsp.exe (Jun  4 2014)
1 threads
Could not start the empty shader (shaderapiempty)!
...So I looked into the folder vbsp_linux is in. It contains 2 files with that name, one being a .dll and the other being a .so file. I tried renaming the shaderapiempty.so to just 'shaderapiempty'. It did have effect, though not what I hoped. Instead of a "could not start shader" error, I got "segmentation fault". Reverted the namechange. Removing the .dll extension didn't do a thing.
So now I'm stuck. I really hope you guys can shed some light on this problem so I can at least get vbsp working.

...Any thoughts?
Title: Re: vbsp_linux crash
Post by: Eeems on June 10, 2014, 03:16:33 pm
[Crossposted from forums.thinkingwithportals.com]
So yeah. I have a problem with Portal 2. The problem I'm having is this. I recently wanted to try a new concept that I came up with for a test chamber. Designed a test chamber, tried to build. Crash. The dev console pointed me to vbsp, so I looked into the /bin folder for Portal 2 and tried to run vbsp_linux through a terminal. At first, it turned out that the libraries weren't in the right place, so I fixed that. Hoping this would fix it, I tried running vbsp-linux again.
By the way, this is the terminal input:
Code: [Select]
[email protected]:~/.local/share/Steam/SteamApps/common/Portal 2/bin$ ./vbsp_linux -entity_limit 1750 -game ../portal2 ../sdk_content/maps/blabla.vmfHad my hopes up for a second as the program didn't output much for half a second, then it crashed. This is the output I got:
Code: [Select]
Valve Software - vbsp.exe (Jun  4 2014)
1 threads
Could not start the empty shader (shaderapiempty)!
...So I looked into the folder vbsp_linux is in. It contains 2 files with that name, one being a .dll and the other being a .so file. I tried renaming the shaderapiempty.so to just 'shaderapiempty'. It did have effect, though not what I hoped. Instead of a "could not start shader" error, I got "segmentation fault". Reverted the namechange. Removing the .dll extension didn't do a thing.
So now I'm stuck. I really hope you guys can shed some light on this problem so I can at least get vbsp working.

...Any thoughts?
Contact valve support? I'm not aware of how their internals work so that's the best advice I can give here.
If they have documentation on how the internals work there, then you might be able to figure out what is wrong.

Another thing I would recommend is to verify your game cache to make sure there are no corrupt files.
Title: Re: vbsp_linux crash
Post by: aeTIos on June 10, 2014, 03:41:06 pm
I have already verified game cache 3 or 4 times. I'll try contacting Valve Support.
Title: Re: vbsp_linux crash
Post by: aeTIos on June 14, 2014, 07:52:52 am
Hm. It seems to be related to rendering on my dedicated GPU; when I switch to the internal card (Intel HD 4000), portal 2 builds the map just fine.

Also for some reason I got banned from thinkingwithportals.com. O.O
Title: Re: vbsp_linux crash
Post by: Streetwalrus on June 14, 2014, 12:21:11 pm
Ah nice. Can you then run the maps fine ?