Jump to content

clever_nick_here

Community Newbie
  • Posts

    4
  • Joined

  • Last visited

Posts posted by clever_nick_here

  1. I can't play 0ad currently. The problem seemed to start when mesa and related packages were updated to mesa 10.3.1-1, though this could have been a coincidence as i don't get to play but once a week or two. I was still using 0ad 16.4(? or whatever was previous to 17.1 in arch repos) then. the problem persists with 17.1 unfortunately.

    the problem: when i start 0ad the graphics are very corrupted looking and i can't get any button in 0ad gui to do anything except make input sound effects. 0ad also shows javascript errors. I have to exit runlevel 5 and restart gdm to get back to my desktop, though there may be a shortcut i'm not aware of to get out of crashed 0ad.

    thanks in advance

    crashlog.txt

  2. Perhaps you can have a look at the profiler during a game and look at the timings. The profiler can be brought up with F11 (and framerate with alt+F ). It shows how many milliseconds were spent on each separate step, info that help determine where your computer has a bottleneck.

    I have attached an example of the profiler, at the start of the Mauryan Punjab demo with 1 Aegis AI bot:

    post-14722-0-64760200-1365163120_thumb.p

    The sim parts (simulation, pathfinding, AI and such) and the render parts (drawing the models to screen) are the most important (the rest should be fairly quick, plus there isn't that much that can be done about those). In my example you can see that the sim steps take up about 26 ms per frame, whereas rendering takes 81 milliseconds. No surprise the framerate is just 7fps.

    If you would open the Settings dialog from the top right corner menu, you can turn on and off different things and see it reflected in the render time. For example, turning off particles and shadows each reduces the render time by about 10 ms/frame for me. None of it is going to help me much, because my computer won't ever come close to a bearable framerate (anything 20+ fps) on a dense map like Punjab. Even on the lowest settings quite empty maps like Oases give me only 25 fps. But such stark differences show that for my computer the graphics are the main bottleneck. In my case I could switch from OS X to Windows on the same machine to improve the performance by quite a bit (30 fps should be possible with low AI action going on).

    So, profiling can help you determine what causes a low framerate. In my case I could switch to a lower resolution (1920x1080 is clearly too much) to improve performance. On the other hand, even if rendering took no time at all, the framerate would still be just 40 fps.

    thanks for the info. my rendering stays somewhere between 15ms and 25ms(30 maybe?) but sim update is spiking to 125-210ms or so right at/after the freeze occurs so i'm guessing it has something to do with that (unless that's just a coincidence/indirectly related and is within acceptable limits). I'm not seeing anything else taking any time to speak of. also, turning off all graphics extras in settings doesn't seem to have a noticeable effect and i never had to turn any of that off before, either(assuming i keep it at or below 3 players on a 4 player map with default pop limit).

  3. Well that's not good. Perhaps something actually is messed up. I haven't experienced such a problem at all however, from Alpha 10 to Alpha 13 (actually 13 feels faster, probably thanks to sbte's work). Are you using up-to-date graphics drivers?

    well i certainly don't mean to criticize anyone's work. 0ad is the only game i play. :) just seems like it's something with the game to me, but i'm not 100% sure that a package update didn't cause it.

    environ details: mesa and related: 9.1.1-1, xf86-video-ati: 1.7.1.0-3, xorg 1.14.0-2, linux 3.8.5-1.

  4. this appears to be a regression. I think there was a previopus alpha that did this(2-3 versions back?). my desktop is fairly well spec'd (fx8350, 16GB 1866mhz ram, 990fx MB, Radeon HD 5800 Series) and the previous alpha ran just fine at least until 3-4 players on 4 player map with all eye candy had reached their full population, chaotic war on all fronts, etc. Now it's freezing as if on a timer from early in the game.

×
×
  • Create New...