SirhcZac / cubeslam

Automatically exported from code.google.com/p/cubeslam
0 stars 0 forks source link

Cubeslam broken in 28.0.1500.45 beta on Linux #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
OS: Ubuntu 12.04 LTS
Chrome: 28.0.1500.45 beta

What steps will reproduce the problem?
1. Browse to www.cubeslam.com
2. Start a game with the bear

What is the expected output? 
Cubeslam intro, ability to play with friends and utilize the whole court.

What do you see instead?
Cubeslam intro is not played, cannot play with friends (no invite option and 
when trying to join via an invite you can only play with the bear) and the Bear 
Bob's paddle is too close, see screenshot.

If I do the same with Chrome M29 dev or M27 stable release it works fine.

I have not tested with the same version on Windows or Mac. I have however 
tested with the latest M29 dev and canary on Windows which works OK.

Original issue reported on code.google.com by jansson@google.com on 13 Jun 2013 at 9:19

Attachments:

GoogleCodeExporter commented 9 years ago
It looks like a combination of two issues:

1. It didn't recognize WebGL in your browser. So what you see there is the 
mobile/css version of the game. It doesn't have an intro.

2. The CSS3d is rendered wrong. Somehow it has a messed up matrix calculation. 
We see the same issue in IE10 for instance (which is why it's not supported).

Maybe it's some flags enabled on Beta that causes it or some implementation is 
broken in that particular build. I'm glad it works on Stable and Dev though as 
it seem to have been fixed then. I just hope this issue won't trickle down to 
the next Stable release.

Original comment by rob...@publicclass.se on 13 Jun 2013 at 9:59

GoogleCodeExporter commented 9 years ago
I've got the standard flags on except for --enable-usermedia-screen-capturing 
(WebGL is on by default).

Running standard flags shipped with Beta, command line arguments from 
chrome://version:
/opt/google/chrome/google-chrome --flag-switches-begin --enable-sync-favicons 
--enable-usermedia-screen-capturing  --sync-keystore-encryption 
--flag-switches-end

Original comment by jansson@google.com on 13 Jun 2013 at 10:06

GoogleCodeExporter commented 9 years ago
I've got the same issue on my computer running Chrome 27.0.1453.110 (stable) on 
Ubuntu 12.04. Neither WebGL nor WebRTC is supported on my platform.

Original comment by James.De...@gmail.com on 14 Jun 2013 at 9:28

GoogleCodeExporter commented 9 years ago
same issue on ubuntu 13.04 with chrome tried from stable to dev. in firefox it 
opens fine(in3D) but without play with a friend possibility

Original comment by alexande...@gmail.com on 18 Jun 2013 at 7:51

GoogleCodeExporter commented 9 years ago
Thanks, rob...@publicclass.se.
The problem is in disabled WebGL. (Still, graphics is a bit awful.)

Here what to do to solve the problem:
1. Go to chrome://flags
2. Enable the flag "Override software rendering list".
3. Restart Chrome

Solution taken here: http://so.ee/YLmq .
Tested on LMDE Cinnamon Edition.

Original comment by Rust...@gmail.com on 27 Jun 2013 at 5:55

Attachments:

GoogleCodeExporter commented 9 years ago
So there is a new GPU blacklist in M28 then? Nvidia Quadro 600 with 310.51 has 
been dropped. Hmm. 

The latest M28  beta still states that WebGL is disabled yet chrome://gpu 
states that WebGL is hardware accelerated (M29 is basically identical):
WebGL: Hardware accelerated
WebGL multisampling: Hardware accelerated

From http://get.webgl.org/:
Version 28.0.1500.52 beta:
"While your browser seems to support WebGL, it is disabled or unavailable. If 
possible, please ensure that you are running the latest drivers for your video 
card.

For more help, please click this link."

Version 29.0.1541.2:
Your browser supports WebGL

Looking through the gpu blacklist (software_rendering_list.json) there is no 
intended change that should affect this (as I have a newer than 295 drivers on 
linux and quadro 600 is not explicit listed) however this might be a side 
effect of a change in this file or somewhere else:
Source:
https://code.google.com/p/chromium/codesearch#chromium/src/gpu/config/software_r
endering_list_json.cc&q=software_rendering_list.json&sq=package:chromium&l=6

Revision history:
http://src.chromium.org/viewvc/chrome/trunk/src/gpu/config/software_rendering_li
st_json.cc?view=log

Original comment by jansson@google.com on 28 Jun 2013 at 7:18

GoogleCodeExporter commented 9 years ago
Haha I wrote my previous comment without actually testing cubeslam on latest 
M28 beta, while my previous comment is still valid, cubeslam works in Version 
28.0.1500.52 beta even if http://get.webgl.org/ states its disabled or not 
supported...... Ow well ;)

Original comment by jansson@google.com on 28 Jun 2013 at 7:23

GoogleCodeExporter commented 9 years ago
So now it works in all "current" Chrome versions for you?

Original comment by rob...@publicclass.se on 28 Jun 2013 at 7:24

GoogleCodeExporter commented 9 years ago
It works for me in M27, M28 and M29 however as I wrote http://get.webgl.org/ 
does not work on M28....Strange;)

Original comment by jansson@google.com on 28 Jun 2013 at 7:27

GoogleCodeExporter commented 9 years ago
Yeah that is strange indeed. To me it seems like a change either between 
28.0.1500.45 and 28.0.1500.52 or maybe a graphics driver update?

But either way I'm glad it works :)

Original comment by rob...@publicclass.se on 28 Jun 2013 at 7:30

GoogleCodeExporter commented 9 years ago
This can be caused by 2 options being enabled in chrome://flags:

- accelerated-filters
- enable-webgl-draft-extensions

Original comment by audvare on 1 Aug 2013 at 3:35

GoogleCodeExporter commented 9 years ago
forcing layers acceleration in firefox about:config drastically increases 
performance in Cubeslam, Radeon HD 3650

Original comment by alexande...@gmail.com on 4 Aug 2013 at 3:29