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
    27
    Posts
    66
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    340
    Level
    6
    vBActivity - Bars
    Lv. Percent
    74.42%

    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 01:36 AM. Reason: Clarification

  2. #2
    OBEY GOVERNMENT GOD ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,779
    Mentioned
    256 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,676
    Level
    32
    vBActivity - Bars
    Lv. Percent
    96%
    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.
    "Protocols of the Learned Elders of Zion" (British Royal Institute, 1906)
    "The International Jew: The World's Foremost Problem" �Henry Ford
    "Dope Inc. - Britain Opium War Against The U.S." (LaRouche; Konstandinos Kalimtgis; David Goldman; Jeffrey Stienberg, 1978)
    "Fundamental Laws: A Report of the 68th Convocation of the Rose Cross Order" 1916
    "War is a Racket" �Major General Smedley Butler
    "The Secret Destiny of America" �Manly P. Hall
    "A Strategy for Israel in the Nineteen Eighties" Oded Yinon (English Translation)
    The WWI Conspiracy: Part 1 - Part 2 - Part 3 "A New World Order"
    The War You Don't See
    Psywar

    �The modern theory of the perpetuation of debt has drenched the earth with blood, and crushed its inhabitants under burdens ever accumulating.� �Thomas Jefferson
    �It is well enough that the people of the nation do not understand our banking and monetary system for, if they did, I believe there would be a revolution before tomorrow morning.� �Henry Ford
    �Man will ultimately be governed by God or by tyrants.� �Benjamin Franklin

    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
    27
    Posts
    66
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    340
    Level
    6
    vBActivity - Bars
    Lv. Percent
    74.42%
    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 02:40 AM.

  4. #4
    OBEY GOVERNMENT GOD ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,779
    Mentioned
    256 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,676
    Level
    32
    vBActivity - Bars
    Lv. Percent
    96%
    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.
    "Protocols of the Learned Elders of Zion" (British Royal Institute, 1906)
    "The International Jew: The World's Foremost Problem" �Henry Ford
    "Dope Inc. - Britain Opium War Against The U.S." (LaRouche; Konstandinos Kalimtgis; David Goldman; Jeffrey Stienberg, 1978)
    "Fundamental Laws: A Report of the 68th Convocation of the Rose Cross Order" 1916
    "War is a Racket" �Major General Smedley Butler
    "The Secret Destiny of America" �Manly P. Hall
    "A Strategy for Israel in the Nineteen Eighties" Oded Yinon (English Translation)
    The WWI Conspiracy: Part 1 - Part 2 - Part 3 "A New World Order"
    The War You Don't See
    Psywar

    �The modern theory of the perpetuation of debt has drenched the earth with blood, and crushed its inhabitants under burdens ever accumulating.� �Thomas Jefferson
    �It is well enough that the people of the nation do not understand our banking and monetary system for, if they did, I believe there would be a revolution before tomorrow morning.� �Henry Ford
    �Man will ultimately be governed by God or by tyrants.� �Benjamin Franklin

    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
    27
    Posts
    66
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    340
    Level
    6
    vBActivity - Bars
    Lv. Percent
    74.42%
    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 09:44 AM. Reason: update

  6. #6
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    36
    Posts
    3,377
    Mentioned
    175 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,188
    Level
    24
    vBActivity - Bars
    Lv. Percent
    29.23%
    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.
    [tèknoláiz]

    ffcscript.zh 1.1.1 - Updated 2014-08-19
    ghost.zh 2.8.4 - Updated 2019-07-15
    tango.zh 1.3.1 - Updated 2017-12-27

  7. #7
    Keese Samer's Avatar
    Join Date
    Jan 2015
    Location
    Detroit, MI
    Age
    27
    Posts
    66
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    340
    Level
    6
    vBActivity - Bars
    Lv. Percent
    74.42%
    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
    27
    Posts
    66
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    340
    Level
    6
    vBActivity - Bars
    Lv. Percent
    74.42%
    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