User Tag List

Results 1 to 8 of 8

Thread: Extreme Lag Linux ZC 2.5.2

  1. #1
    Keese Samer's Avatar
    Join Date
    Jan 2015
    Location
    Detroit, MI
    Age
    32
    Posts
    66
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    512
    Level
    8
    vBActivity - Bars
    Lv. Percent
    12.55%

    Extreme Lag Linux ZC 2.5.2

    Normally this wouldn't be considered a bug, but granted the lag is so horrible in 1st quest there has to be something wrong with the code.
    The problem only occurs for me for resolutions above 240p even though I have a pretty decent computer.

    Here are the specs:




    Also another issue which is most definitely a bug.
    (zlaunch-l:15290): GLib-CRITICAL **: Source ID 57 was not found when attempting to remove it
    (zlaunch-l:15290): GLib-CRITICAL **: Source ID 56 was not found when attempting to remove it

    The PIDs don't matter but the same GLib-CRITICAL appears every single time I exit zlaunch-l.
    Last edited by Samer; 02-19-2016 at 02:36 AM. Reason: Clarification

  2. #2
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,817
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,940
    Level
    33
    vBActivity - Bars
    Lv. Percent
    24.21%
    Likely an allegro issue. Try setting "color_depth = 32" and "triplebuffer = 1" under [zeldadx] section in the config file just to see what that does out of curiousity.

    You might have to run gprof or some equivelent on the code to get a better idea of where in allegro it's failing so miserably.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  3. #3
    Keese Samer's Avatar
    Join Date
    Jan 2015
    Location
    Detroit, MI
    Age
    32
    Posts
    66
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    512
    Level
    8
    vBActivity - Bars
    Lv. Percent
    12.55%
    Oh god it's slower and looks like shit (the shitty part is the same in the Windows version)
    I guess I gotta compile from the source for gprof.



    If I can figure out how to fix this myself, I'll make a new branch just for Linux.

    So am I supposed to gprof each individual file in allegro?
    Last edited by Samer; 02-19-2016 at 03:40 AM.

  4. #4
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,817
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,940
    Level
    33
    vBActivity - Bars
    Lv. Percent
    24.21%
    XD. ..okay, okay.... I give up. Make sure you check allegro if you can. Whatever it's doing it doesn't like you very much.

    [edit] Doesn't linux have some profiling tools? I thought it had some built in, but IDK.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  5. #5
    Keese Samer's Avatar
    Join Date
    Jan 2015
    Location
    Detroit, MI
    Age
    32
    Posts
    66
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    512
    Level
    8
    vBActivity - Bars
    Lv. Percent
    12.55%
    I've been using Linux since I started my Operating Systems class. I think there is but I don't know.
    gprof is included with Ubuntu but I wasn't sure what you meant. Everywhere I read it compiles source files slightly differently and shows stats on how long a process takes.

    [edit] Been reading this
    [edit] I'm sorry but allegro 4 is kind of a pain in the ass, allegro 5 has easier installation but I will get back
    Last edited by Samer; 02-19-2016 at 10:44 AM. Reason: update

  6. #6
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,430
    Level
    24
    vBActivity - Bars
    Lv. Percent
    69.6%
    Allegro uses software rendering on Linux. Scaling to higher resolutions is also done in software. It's not a fast way of doing things, and it's not easy to change.

  7. #7
    Keese Samer's Avatar
    Join Date
    Jan 2015
    Location
    Detroit, MI
    Age
    32
    Posts
    66
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    512
    Level
    8
    vBActivity - Bars
    Lv. Percent
    12.55%
    I FINALLY got allegro 4 to compile and install. That took me more time than I thought. I didn't test anything yet except the make install.
    I specifically only got allegro-4.2.3.1 to compile (dev) with allegro-4.4 base. I had 4.4.2 but I wasn't sure if that library was too high for this.

    @Saffith
    I agree, changing anything in software isn't easy. Especially if impacted dependencies are deep potentially will break the chain.

  8. #8
    Keese Samer's Avatar
    Join Date
    Jan 2015
    Location
    Detroit, MI
    Age
    32
    Posts
    66
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    512
    Level
    8
    vBActivity - Bars
    Lv. Percent
    12.55%
    I didn't mean to double post I thought it didn't send since my message was still in quick-reply.
    I assumed I needed to get the libraries from allegro because I only found header files on github.

    I had to do some MAJOR overhauls to configure.ac, install-sh, ltmain.sh, acinclude.m4, and aclocal.m4.
    I had to create a makefile myself: Makefile.am.

    If I didn't do that it wouldn't have worked.

    [edit] Many allegro templates were not there and I had update macros to m4.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social