Webtiles nearly unplayable on Windows7


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

Lair Larrikin

Posts: 27

Joined: Wednesday, 21st March 2012, 18:33

Post Wednesday, 21st March 2012, 18:37

Webtiles nearly unplayable on Windows7

Hey, long time player and lurker first time poster here.

I've been playing Crawl since 0.7 and just recently got into playing online after getting my first win offline. The problem is webtiles runs like absolute dirt on Windows 7 64 bit. I recently even did a fresh format and it still runs as bad. I get about 1 second of input delay on every single action, playable but extremely not enjoyable.

Webtiles work perfectly on the same machine using ubuntu, almost indistinguishable from playing locally, which makes the problem even more frustrating. If anyone has any ideas what could be causing it I'd like to know. All my drivers are up to date and I've tried using all of the 3 big browsers (Chrome, Firefox and Firefox Nightly and Opera) and its exactly the same.
Last edited by phonix on Wednesday, 21st March 2012, 19:20, edited 1 time in total.

Dungeon Master

Posts: 1531

Joined: Saturday, 5th March 2011, 06:29

Post Wednesday, 21st March 2012, 19:15

Re: Webtiles nearly unplayable on Windows7

Hmm, this makes me wonder if I'm seeing the same problem. The game itself runs a bit better than what you're describing but it still always feels a bit laggy (perhaps more like 200-400ms), but I've noticed when spectating that other people's games seem to run really well. I just assumed it was my proximity to the server but I haven't tested any other OS's.

Ziggurat Zagger

Posts: 3163

Joined: Friday, 6th January 2012, 18:45

Post Wednesday, 21st March 2012, 19:17

Re: Webtiles nearly unplayable on Windows7

Phonix, which browser do you use under Ubuntu?

Lair Larrikin

Posts: 27

Joined: Wednesday, 21st March 2012, 18:33

Post Wednesday, 21st March 2012, 19:19

Re: Webtiles nearly unplayable on Windows7

BlackSheep wrote:Phonix, which browser do you use under Ubuntu?


Firefox or Chrome. Its the same.
User avatar

Eringya's Employee

Posts: 1782

Joined: Friday, 7th October 2011, 19:24

Location: Athens, Greece

Post Wednesday, 21st March 2012, 19:50

Re: Webtiles nearly unplayable on Windows7

Running win7 64 too, got into online tiles for the tournament, cause I normally only play offline. Webtiles input lags quite a lot for me but so does ASCII online, (I've tried it with PuTTy). Webtiles is not unplayable, but fairly annoying. What was killing it for me during the tournament was Shoals and Swamp. The delay was terrible between input and the screen drawing. I did notice that making the game window smaller helped a bit. I'm normally running webtiles in a maximised window on my laptop's 1920x1080 resolution. On firefox.
MuCK;
  Code:
612 | D:1      | Xom revived you
614 | D:1      | Xom revived you
614 | D:1      | Slain by a gnoll
User avatar

Vestibule Violator

Posts: 1593

Joined: Thursday, 19th May 2011, 16:38

Location: Penza, Russia

Post Thursday, 22nd March 2012, 05:59

Re: Webtiles nearly unplayable on Windows7

Is Websocket technology using something like OpenGL?
If you find any mistakes or typos in my post, feel free to PM me about it. Thanks in advance!

The Verse flows throughout Aquaria...
Through each ripple and wave...
Through every living being...
The Verse binds us all as one.

Dungeon Master

Posts: 1531

Joined: Saturday, 5th March 2011, 06:29

Post Thursday, 22nd March 2012, 06:35

Re: Webtiles nearly unplayable on Windows7

MyOtheHedgeFox wrote:Is Websocket technology using something like OpenGL?


It certainly shouldn't be ... Websockets is about persistent web connections, nothing to do with graphics.

Shoals Surfer

Posts: 258

Joined: Monday, 4th July 2011, 16:26

Post Thursday, 22nd March 2012, 08:16

Re: Webtiles nearly unplayable on Windows7

I've run it on XP, 7, and whatever recent MacOS my girlfriend uses. It lags on all three with Chrome. (7 is the worst, but it is also running with the crappiest Internet connection of the three).

Lair Larrikin

Posts: 27

Joined: Wednesday, 21st March 2012, 18:33

Post Thursday, 22nd March 2012, 10:33

Re: Webtiles nearly unplayable on Windows7

I'm almost certain it has nothing to do with my internet connection. I have a 100/10 line with outstanding stability, never ever had any kind of packet loss or other issues with it.

Upon looking closer into it seems like my turn timer updates right away after the action but the delay is with the screen being updated.

Dungeon Master

Posts: 1531

Joined: Saturday, 5th March 2011, 06:29

Post Thursday, 22nd March 2012, 15:57

Re: Webtiles nearly unplayable on Windows7

What spec is your machine (processor, graphics card)? Have you installed the latest versions of motherboard and graphics card drivers?

Webtiles uses the html5 canvas system for rendering the graphics. This is always going to be way less performant than a proper native graphics library. So this might be purely a performance thing and Ubuntu only works better because that OS has less overhead.

Lair Larrikin

Posts: 27

Joined: Wednesday, 21st March 2012, 18:33

Post Thursday, 22nd March 2012, 16:34

Re: Webtiles nearly unplayable on Windows7

mumra wrote:What spec is your machine (processor, graphics card)? Have you installed the latest versions of motherboard and graphics card drivers?

Webtiles uses the html5 canvas system for rendering the graphics. This is always going to be way less performant than a proper native graphics library. So this might be purely a performance thing and Ubuntu only works better because that OS has less overhead.


My processor is E5400 clocked to 3.3ghz and my GPU is a 9800gt. I have my drivers up to date.

Dungeon Master

Posts: 125

Joined: Sunday, 8th May 2011, 21:54

Post Thursday, 22nd March 2012, 16:54

Re: Webtiles nearly unplayable on Windows7

Is there a lag only when you move by hand, or are the steps slow even when autoexploring? Especially if you're not in Europe, there will be a certain amount of lag since CDO is located in Germany. Other ways to check this are pinging tiles.crawl.develz.org and trying to play via SSH.
If you're sure the problem is the drawing speed, please mention the exact browser versions you've tried, and for chrome go to about:gpu and check whether hardware acceleration for canvas works. Also, make sure you have the newest drivers by the graphics card vendor, not the ones that came with Windows (the OpenGL support in Windows 7 is abysmal out of the box).

Lair Larrikin

Posts: 27

Joined: Wednesday, 21st March 2012, 18:33

Post Thursday, 22nd March 2012, 17:32

Re: Webtiles nearly unplayable on Windows7

edlothiol wrote:Is there a lag only when you move by hand, or are the steps slow even when autoexploring? Especially if you're not in Europe, there will be a certain amount of lag since CDO is located in Germany. Other ways to check this are pinging tiles.crawl.develz.org and trying to play via SSH.
If you're sure the problem is the drawing speed, please mention the exact browser versions you've tried, and for chrome go to about:gpu and check whether hardware acceleration for canvas works. Also, make sure you have the newest drivers by the graphics card vendor, not the ones that came with Windows (the OpenGL support in Windows 7 is abysmal out of the box).


Indeed I went to check about:gpu on chrome and it says Canvas: Software only. Hardware acceleration disabled. Like I said drivers are up to date and it works perfectly on ubuntu.
edit: fixed it, no effect.

Dungeon Master

Posts: 1531

Joined: Saturday, 5th March 2011, 06:29

Post Friday, 23rd March 2012, 12:38

Re: Webtiles nearly unplayable on Windows7

This is weird. I wasn't aware of the GPU canvas option in Chrome either. So I tried enabling it. Manually walking around the dungeon seemed the same as ever, perhaps slightly better. But the really strange thing: autoexplore was noticably slower. Normally it's pretty nippy, but with GPU acceleration it was only about as fast as just using the arrow keys.

For comparison: my graphics card is a GTX 275 (two generations newer), and my processor is an E6550 (twice the cache, and a faster FSB). From what I know about the technology, I suspect that a full-screen canvas @ 1080p will actually be very demanding on both graphics and CPU. I'd be interested to hear other players' experiences with system specs and webtiles.

Couple of questions:

1. When spectating, do other players' games move much faster than yours?

2. Whereabouts in the world are you?

3. Are you on wi-fi?

4. What firewall are you using? (And can you try disabling it temporarily...)

What I'm trying to determine is if it's either your system spec, or a network issue (since you're not affected in Ubuntu this would imply a Windows network bug or a firewall problem).

Also: I want to absolutely eliminate the possibility of simple coincidence. How many times have you tried it in Ubuntu, is it just once, or lots?

Lair Larrikin

Posts: 27

Joined: Wednesday, 21st March 2012, 18:33

Post Friday, 23rd March 2012, 14:17

Re: Webtiles nearly unplayable on Windows7

mumra wrote:This is weird. I wasn't aware of the GPU canvas option in Chrome either. So I tried enabling it. Manually walking around the dungeon seemed the same as ever, perhaps slightly better. But the really strange thing: autoexplore was noticably slower. Normally it's pretty nippy, but with GPU acceleration it was only about as fast as just using the arrow keys.

For comparison: my graphics card is a GTX 275 (two generations newer), and my processor is an E6550 (twice the cache, and a faster FSB). From what I know about the technology, I suspect that a full-screen canvas @ 1080p will actually be very demanding on both graphics and CPU. I'd be interested to hear other players' experiences with system specs and webtiles.

Couple of questions:

1. When spectating, do other players' games move much faster than yours?

2. Whereabouts in the world are you?

3. Are you on wi-fi?

4. What firewall are you using? (And can you try disabling it temporarily...)

What I'm trying to determine is if it's either your system spec, or a network issue (since you're not affected in Ubuntu this would imply a Windows network bug or a firewall problem).

Also: I want to absolutely eliminate the possibility of simple coincidence. How many times have you tried it in Ubuntu, is it just once, or lots?

I never play full screen. Window size doesn't seem to have any kind of effect I'd notice.

1. Not really much faster. They seem smoother though.
2. Finland
3. No
4. Windows default. Disabling had no effect.

I've played about 20 hours online on ubuntu so it's not just coincidence.

Dungeon Master

Posts: 1531

Joined: Saturday, 5th March 2011, 06:29

Post Friday, 23rd March 2012, 14:21

Re: Webtiles nearly unplayable on Windows7

If other players' games aren't faster then (in my opinion) it's your system spec. If it's any form of network lag then it shouldn't really matter for a continuous stream of data like spectating. Ubuntu just works better because it's less resource intensive than Windows 7. It'd be good to hear from users with similar spec to get a comparison.

Although, do you still have the canvas GPU acceleration enabled? Disable if so, in light of my findings with autoexplore.

Lair Larrikin

Posts: 27

Joined: Wednesday, 21st March 2012, 18:33

Post Friday, 23rd March 2012, 16:58

Re: Webtiles nearly unplayable on Windows7

mumra wrote:If other players' games aren't faster then (in my opinion) it's your system spec. If it's any form of network lag then it shouldn't really matter for a continuous stream of data like spectating. Ubuntu just works better because it's less resource intensive than Windows 7. It'd be good to hear from users with similar spec to get a comparison.

Although, do you still have the canvas GPU acceleration enabled? Disable if so, in light of my findings with autoexplore.


Disabling all settings but WebGL in about:flags and formally allowing chrome through windows firewall seems to have improved the performance. still not quite as smooth as on ubuntu but definitively playable now.

Dungeon Master

Posts: 1531

Joined: Saturday, 5th March 2011, 06:29

Post Friday, 23rd March 2012, 17:16

Re: Webtiles nearly unplayable on Windows7

Interesting ... I enabled "GPU Accelerated Drawing" (separate option to the canvas one) and it feels way more responsive.

edlothiol: I have a theory that I'm thinking could slightly improve responsiveness on slower systems. My theory is that if the user is pressing keys quickly, the client is waiting until after the screen updates before it sends the next keypress up to the server. Can you confirm or deny this theory? If so, the lag could be slightly improved by sending the next queued keypress up to the server before the display update.

Dungeon Master

Posts: 125

Joined: Sunday, 8th May 2011, 21:54

Post Friday, 23rd March 2012, 17:57

Re: Webtiles nearly unplayable on Windows7

Keys are sent as soon as they are pressed.
User avatar

Slime Squisher

Posts: 365

Joined: Friday, 17th December 2010, 15:27

Post Tuesday, 27th March 2012, 10:06

Re: Webtiles nearly unplayable on Windows7

I have been playing Webtiles since it came out but recently it's been impossible to play because of the lag. I used to be able to play Webtiles from different locations and on different networks and it was fine anywhere.

Now it's just frustrating for me. I think I'd have to go back to the offline version.
Mangled by Mennas

Spider Stomper

Posts: 231

Joined: Saturday, 18th February 2012, 04:40

Post Saturday, 31st March 2012, 18:16

Re: Webtiles nearly unplayable on Windows7

Phoenix wrote: “The problem is webtiles runs like absolute dirt on Windows 7 64 bit. I recently even did a fresh format and it still runs as bad. I get about 1 second of input delay on every single action, playable but extremely not enjoyable.”

I have exactly this problem as well.
I started trying to play the 2012 tournament but gave up, the lag was so severe. The lag is constant and if I spectate other player’s games it gets worse - the tiles freezes, then 10 things happen in 1 sec. Then the default hefty lag until it freezes again. This cycle is ever repeating and not only in tournament (as in not only when servers were crowded with players).
Trying out a game now after the tournaments finished but no difference.

Playing from Sweden, 10/1 line (getting 100/10 within a month or two) on a dualcore 2,93 Ghz, 4 RAM, Windows 7 64byte, GeForce 240 1GB DDR5, using up to date drivers.
I changed from XP to W7 bout 5 months ago, sad to say I never tried Webtiles out in XP.
Anyways, will update once I get the faster line to see how/if it affects lagg.
Last edited by graffen69 on Saturday, 22nd June 2013, 17:28, edited 1 time in total.

Dungeon Master

Posts: 125

Joined: Sunday, 8th May 2011, 21:54

Post Sunday, 8th April 2012, 21:35

Re: Webtiles nearly unplayable on Windows7

starless, graffen69: same questions as for phonix: What (exact) browser versions are you using, and what does about:gpu in chrome say?
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Sunday, 8th April 2012, 22:52

Re: Webtiles nearly unplayable on Windows7

Try this.
Be aware that this is a workaround, and it can have some side effects. Like doubling your upstream bandwidth usage for many things. Also, editing the registry can break the computer and burn down your house and we're not responsible yaddi yaddi yadda...
Here is some technical explanations of this registry key.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...

Temple Termagant

Posts: 6

Joined: Monday, 9th April 2012, 13:39

Post Monday, 9th April 2012, 19:43

Re: Webtiles nearly unplayable on Windows7

i have the same issue which kinda forces me to play local. i m also using win7 64bit. i made a screenshot of chromes about:cpu so you can see the detail if you want to. you can see it here: http://i41.tinypic.com/erx4cj.jpg
i m from germany, so my ping to tiles.crawl.develz.org is always around 50ms. the fix from your last post didnt change the lag. even after rebooting.

Dungeon Master

Posts: 125

Joined: Sunday, 8th May 2011, 21:54

Post Monday, 9th April 2012, 21:30

Re: Webtiles nearly unplayable on Windows7

What's your score in this?

Temple Termagant

Posts: 6

Joined: Monday, 9th April 2012, 13:39

Post Monday, 9th April 2012, 21:36

Re: Webtiles nearly unplayable on Windows7

Benchmark Score: 1873
Average FPS: 40

Im running this on a Laptop with a Core2Duo 2,53GHz and an ATI Mobility HD4650 it still runs most games fine in lower settings.
User avatar

Slime Squisher

Posts: 365

Joined: Friday, 17th December 2010, 15:27

Post Monday, 23rd April 2012, 14:53

Re: Webtiles nearly unplayable on Windows7

It seems it was a browser issue, as suggested by the previous posts.

And that is quite strange because I had been playing Webtiles on Firefox (OSX) since it came out. On Chrome the game runs smoothly - no problems.
Mangled by Mennas

Temple Termagant

Posts: 8

Joined: Monday, 6th June 2011, 14:11

Post Thursday, 26th April 2012, 14:10

Re: Webtiles nearly unplayable on Windows7

Played dozens of webtile games over the past year on my windows 7 - 64 bit, chrome machine and never really had a problem. Until last week when it suddenly became very laggy, nearly unplayable. The machine at my work (also W7-64bit, chrome) doesn't have this problem, I don't really have an opportunity to play at work though, and I really want to finish my promising lvl 19 HOAr of Beogh.

Dungeon Master

Posts: 125

Joined: Sunday, 8th May 2011, 21:54

Post Thursday, 26th April 2012, 16:33

Re: Webtiles nearly unplayable on Windows7

Have you tried it in Firefox? Are you using the stable version or a beta/unstable channel?

Temple Termagant

Posts: 8

Joined: Monday, 6th June 2011, 14:11

Post Friday, 27th April 2012, 14:43

Re: Webtiles nearly unplayable on Windows7

Will try Firefox this weekend. I tried playing (stable 10.0 version) despite the lag a bit last night and noticed the following things:

-It's worse in Shoals compared to Lair.
-The screen updates after some 3-8 sec, or about 1sec if I press another button. Pressing enter after every movement command helps speed up things (the enter is received as an "unknown command" and is put on the waiting list, until the next key or if I wait long enough).
-Stepping in water, stepping on a tile with items or combat slows things down. Actions which do not cause any message to be generated are fastest.

Couldn't immediately find the canvas GPU acceleration setting in my Dutch version of Chrome, but I might try that as well. I'm a bit apprehensive about meddling in my registry though, as galehar suggested.

Temple Termagant

Posts: 8

Joined: Monday, 6th June 2011, 14:11

Post Saturday, 28th April 2012, 13:30

Re: Webtiles nearly unplayable on Windows7

turned out to be a router problem. Switching my router off and on solved it completely.

Spider Stomper

Posts: 231

Joined: Saturday, 18th February 2012, 04:40

Post Wednesday, 9th May 2012, 22:22

Re: Webtiles nearly unplayable on Windows7

Aight, so I got the bandwidth boost up to 100/50 now. Rechecked with both Firefox & Chrome and and although Firefox worked slightly better the lag is still there. I did the enable GPU thingys at http://www.gaslampmedia.com/blog/how-en ... ion-chrome
for Chrome and it seemed to improve the FPS.
Problem I have with Chrome is that there seem to be some missing shortkey commands - like CTRL+? to check learned items, SHIFT+^ for diety status, CTRL+T to tell Followers – instead that opens a new Chrome Tab - and a lot of others many which are crucial with my current HOPr Summoner build.

Checking my Firefox GPU Settings now and supposedly it’s on.

Adapter Description NVIDIA
GeForce GT 240
GPU Accelerated Windows1/1 Direct3D 10

I really don’t know much about computers but I love this game so I’m trying really hard to make this work, hence any help greatly appreciated. If theres a similar fix for Firefox let me know.
Last edited by graffen69 on Saturday, 22nd June 2013, 17:30, edited 1 time in total.
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Thursday, 10th May 2012, 06:15

Re: Webtiles nearly unplayable on Windows7

you can do * then letter instead of ctrl+letter
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...

Spider Stomper

Posts: 231

Joined: Saturday, 18th February 2012, 04:40

Post Wednesday, 27th June 2012, 13:41

Re: Webtiles nearly unplayable on Windows7

Thx for the tip.
Tried everything i can think of, still same issue.

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 6 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.