### Author Topic: vbsp_linux crash  (Read 3937 times)

0 Members and 1 Guest are viewing this topic.

#### aeTIos

• Nonbinary computing specialist
• LV12 Extreme Poster (Next: 5000)
• Posts: 3913
• Rating: +184/-32
##### vbsp_linux crash
« 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 threadsCould 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? I'm not a nerd but I pretend: #### Eeems • Mr. Dictator • Administrator • LV13 Extreme Addict (Next: 9001) • Posts: 6248 • Rating: +318/-36 • little oof ##### Re: vbsp_linux crash « Reply #1 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 threadsCould 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.
/e

#### aeTIos

• Nonbinary computing specialist
• LV12 Extreme Poster (Next: 5000)
• Posts: 3913
• Rating: +184/-32
##### Re: vbsp_linux crash
« Reply #2 on: June 10, 2014, 03:41:06 pm »
I have already verified game cache 3 or 4 times. I'll try contacting Valve Support.
I'm not a nerd but I pretend:

#### aeTIos

• Nonbinary computing specialist
• LV12 Extreme Poster (Next: 5000)
• Posts: 3913
• Rating: +184/-32
##### Re: vbsp_linux crash
« Reply #3 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.
I'm not a nerd but I pretend:

#### Streetwalrus

• LV12 Extreme Poster (Next: 5000)
• Posts: 3821
• Rating: +80/-8
##### Re: vbsp_linux crash
« Reply #4 on: June 14, 2014, 12:21:11 pm »
Ah nice. Can you then run the maps fine ?