unity web player crashes

Bug #1283558 reported by dmvieira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pipelight
New
Undecided
Unassigned

Bug Description

Hey guys, I'm running ubuntu 13.10 with firefox and google chrome.

Unity web player is crashing with a blank error box with ok button. Then appears the attachment.

How could I debug better?

Revision history for this message
dmvieira (diogo-mvieira) wrote :
Revision history for this message
Michael Müller (mqchael) wrote :

Hi,

can you check whether your 32 bit gpu drivers are correctly installed? See the beginning of the common problems faq entry for more information: https://answers.launchpad.net/pipelight/+faq/2485

You can capture debug output by closing all browser windows and starting the browser from a terminal with:

google-chrome &> pipelight.log

After triggering the problem, please attach the file pipelight.log, which is in your current directory, to this bug report.

Michael

Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi,

please close all your browser windows, and then start the browser from a terminal. This way you can capture some more detailed debug output.

For example:

firefox &> pipelight.log

(the same also works with chromium-browser / google-chrome / ...)

Afterwards upload the log pipelight.log (which is created in the same directory, where you executed the command) and attach it to this bug report.

Based on my previous experience I would assume that there is a problem with your graphic card drivers, but we need the log to know more. Which graphic card do you have, and how did you install the drivers? The output of

glxinfo

could also be useful.

Sebastian

Revision history for this message
Sebastian Lackner (slackner) wrote :

Just a small addition: After starting the browser you should of course try to trigger the issue again, before uploading the log. ;-) If the log if empty or contains just "new window spawned" it means you didn't close all browser windows, which is really necessary in order to create the log.

Revision history for this message
dmvieira (diogo-mvieira) wrote :
Download full text (10.3 KiB)

Thank you guy!

Here my brother plays minecraft without problems.

glxinfo log attached.

I runned: google-chrome http://virtualautonomy.com/unity/light_shadow/ &> pipelight.log

and got this log:

[PIPELIGHT:LIN:unknown] attached to process.
[PIPELIGHT:LIN:unknown] checking environment variable PIPELIGHT_UNITY3D_CONFIG.
[PIPELIGHT:LIN:unknown] searching for config file pipelight-unity3d.
[PIPELIGHT:LIN:unknown] trying to load config file from '/home/diogo/.config/pipelight-unity3d'.
[PIPELIGHT:LIN:unknown] trying to load config file from '/etc/pipelight-unity3d'.
[PIPELIGHT:LIN:unknown] trying to load config file from '/usr/share/pipelight/configs/pipelight-unity3d'.
[PIPELIGHT:LIN:unknown] sandbox not found or not installed!
[PIPELIGHT:LIN:unity3d] using wine prefix directory /home/diogo/.wine-pipelight/.
[PIPELIGHT:LIN:unity3d] checking plugin installation - this might take some time.
[install-dependency] Downloading and running wine-unity3d-installer.
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
[PIPELIGHT:WIN:unity3d] Read dllPath 'C:\Program Files\Unity\WebPlayer\loader' and dllName 'npUnity3D32.dll' from registry
[PIPELIGHT:WIN:unity3d] embedded mode is on.
[PIPELIGHT:WIN:unity3d] windowless mode is off.
[PIPELIGHT:WIN:unity3d] linux windowless mode is off.
[PIPELIGHT:WIN:unity3d] force SetWindow is off.
[PIPELIGHT:WIN:unity3d] unity hacks is off.
[PIPELIGHT:WIN:unity3d] window class hook is off.
[PIPELIGHT:WIN:unity3d] replaced API function TrackPopupMenuEx.
[PIPELIGHT:WIN:unity3d] replaced API function TrackPopupMenu.
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 16/02/2014, dlt (d/m/y): 19/10/2014
[PIPELIGHT:WIN:unity3d] init successful!
[PIPELIGHT:LIN:unknown] attached to process.
[PIPELIGHT:LIN:unknown] checking environment variable PIPELIGHT_UNITY3D_CONFIG.
[PIPELIGHT:LIN:unknown] searching for config file pipelight-unity3d.
[PIPELIGHT:LIN:unknown] trying to load config file from '/home/diogo/.config/pipelight-unity3d'.
[PIPELIGHT:LIN:unknown] trying to load config file from '/etc/pipelight-unity3d'.
[PIPELIGHT:LIN:unknown] trying to load config file from '/usr/share/pipelight/configs/pipelight-unity3d'.
[PIPELIGHT:LIN:unknown] sandbox not found or not installed!
[PIPELIGHT:LIN:unity3d] using wine prefix directory /home/diogo/.wine-pipelight/.
[PIPELIGHT:LIN:unity3d] checking plugin installation - this might take some time.
[install-dependency] wine-unity3d-installer is already installed in '/home/diogo/.wine-pipelight/'.
[PIPELIGHT:WIN:unity3d] Read dllPath 'C:\Program Files\Unity\WebPlayer\loader' and dllName 'npUnity3D32.dll' from registry
[PIPELIGHT:WIN:unity3d] embedded mode is on.
[PIPELIGHT:WIN:unity3d] windowless mode is off.
[PIPELIGHT:WIN:unity3d] linux windowless mode is off.
[PIPELIGHT:WIN:unity3d] force SetWindow is off.
[PIPELIGHT:WIN:unity3d] unity hacks is off.
[PIPELIGHT:WIN:unity3d] window class hook is off.
[PIPELIGHT:WIN:unity3d] replaced API function TrackPo...

Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi,

based on your output of glxinfo

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.3, 128 bits)

You don't have any OpenGL-capable graphic card driver installed at all.

Some other programs (I assume this includes Minecraft) have less strict requirement, and probably also work with software rendering, but Unity3D really needs a correct graphic card driver. Nevertheless I cannot really imagine that Minecraft runs smooth when it only uses software rendering, so I'm really wondering why you didn't notice this problem earlier. ;-)

As a first step I would suggest you to check which graphic card you're using exactly. You can use the following commandline to do this:

lspci | grep VGA

I assume its an Intel graphic card, at least the following line sounds like it is one:
libGL error: failed to load driver: i965

To install the Intel driver you could for example use (as mentioned in Michaels link above):

sudo apt-get update
apt-get install libgl1-mesa-dri:i386 libgl1-mesa-dri

Hope this helps to solve the problem ;-)

Sebastian

Revision history for this message
dmvieira (diogo-mvieira) wrote :

Thanks Sebastian!

sudo apt-get install libgl1-mesa-dri:i386 libgl1-mesa-dri

returns that they are alread installed

lspci | grep VGA

returns:
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)

locate i965

returns:
/usr/lib/i386-linux-gnu/dri/i965_dri.so
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so

And now?

Revision history for this message
dmvieira (diogo-mvieira) wrote :

Sorry guys, I tried glxinfo with an ssh connection.

Here the right glxinfo attached

Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi,

the new glxinfo output looks much better.

Are you sure that both of the libgl1-mesa-dri drivers were already installed? If yes you also have to repeat the other steps above to create a new browser log (the old one also shows that it uses software rendering).

If you still get the same error (that it uses llvmpipe = software rendering) in the new log it means that there is something with your 32bit drivers, and I would suggest to reinstall them like:

sudo apt-get install --reinstall libgl1-mesa-dri:i386

If this specific error message is gone, but it still doesn't work it could also have to do with the fact that your graphic card only supports a couple of GLX Visuals / GLXFBConfigs formats. Normally these lists should be much longer, and it could either be caused by the driver, or that the graphic card itself is very old or has bad Linux support.

To upgrade your driver you could for example try the instructions described here (but not sure if it helps):
https://bugs.launchpad.net/pipelight/+bug/1243200/comments/21

Sebastian

Revision history for this message
dmvieira (diogo-mvieira) wrote :

Hey guys, I did:

sudo apt-get install --reinstall libgl1-mesa-dri:i386

sudo apt-get install libvdpau1 vdpauinfo

installed appart libg3dvl-mesa

rm -rf .wine-pipelight/

restarted

So, my glxinfo is ok:

name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:

But now unity cant be downloaded again. It raises:
[install-dependency] ERROR: Download of wine-unity3d-installer failed.

My internet connection is ok

Revision history for this message
Sebastian Lackner (slackner) wrote :

Please run:

sudo pipelight-plugin --update

To update the plugin database. There was another Unity3D update recently, and when they push out a new version the old entry in the plugin database is not valid anymore.

Afterwards just try again.

Revision history for this message
dmvieira (diogo-mvieira) wrote : Re: [Bug 1283558] Re: unity web player crashes

I did it :(

I followed the installation from scratch

2014-02-25 11:49 GMT-03:00 Sebastian Lackner <email address hidden>:

> Please run:
>
> sudo pipelight-plugin --update
>
> To update the plugin database. There was another Unity3D update
> recently, and when they push out a new version the old entry in the
> plugin database is not valid anymore.
>
> Afterwards just try again.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1283558
>
> Title:
> unity web player crashes
>
> Status in Pipelight:
> New
>
> Bug description:
> Hey guys, I'm running ubuntu 13.10 with firefox and google chrome.
>
> Unity web player is crashing with a blank error box with ok button.
> Then appears the attachment.
>
> How could I debug better?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/pipelight/+bug/1283558/+subscriptions
>

Revision history for this message
Sebastian Lackner (slackner) wrote :

Please just retry this command - Unity3D changes its checksum really often, and often we have a small delay until we notice such an update. When you ran it the checksum most likely wasn't updated yet, but at the moment everything seems up-to-date for me.

If it still doesn't work after updating I can also give you some instructions how to manually download & install the plugin, but often this is not necessary.

Revision history for this message
dmvieira (diogo-mvieira) wrote :

Perfect Sebastian! Now The problem back :(

Thanks for your help.

Attached the log file generated by Chrome

Revision history for this message
dmvieira (diogo-mvieira) wrote :

Sorry, now the right log attached

Revision history for this message
Sebastian Lackner (slackner) wrote :

Well, based on the log above nothing has changed. :-/ But I assume you didn't install the new versions of the drivers yet, is this right? This could probably help as mentioned above (see answer #9).

If this also doesn't help I'm running out of ideas. Do you know if the same graphic card works on Windows? What you could also try out, but this is really a hack: Does it work over SSH? When it falls back to Software Rendering it could maybe even work better if there is a problem with the graphic card.

Revision history for this message
dmvieira (diogo-mvieira) wrote :

Now, as #9 I upgraded my drivers, reinstaled pipelight and the runned it:

firefox http://virtualautonomy.com/unity/light_shadow/ &> firefox.log

I think windows runs because I remember there was a windows here and my brother plays this games.

It's attached. Thx for all Sebastian...

Revision history for this message
Michael Müller (mqchael) wrote :

Hi,

please create a log with Direct3D debug messages:

WINEDEBUG=+d3d,+d3d9,+wgl firefox http://virtualautonomy.com/unity/light_shadow/ &> d3d.log

Michael

Revision history for this message
dmvieira (diogo-mvieira) wrote :

Did, same error, but better log atached

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.