Announcement

Collapse
No announcement yet.

Ue4 cave demo for linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ue4 cave demo for linux

    Hi,
    I have compiled Unreal 4 demo Cave Effects using UE4.1 final..

    I have uploaded demo here: http://www.mediafire.com/download/0r...l784m/cave.rar

    Demo runs by default using GL 3.2 profile and can be run in OGL 4.3 mode via -opengl4 argument.
    It can use other arguments similar to posted ue4 win demos here (http://www.techpowerup.com/downloads...l-tech-demo/):
    like FULLSCREEN -ResX=1920 -ResY=1080

    Tested on nvidia binary (337.19 on GTX470) runs well on both profiles..
    Tested on amd fglrx (catalyst) 14.4: visual issues in both modes (GL3 and GL4) altough GL4 path has more visual artifacts..

    Problems:
    1)On Mesa currently doesn't work.. (bug tracking here:https://bugs.freedesktop.org/show_bug.cgi?id=78716)
    Anyway you should need GL >=3.2 so should be ok with oibaf ppa for nouveau but not radeonsi for that use for example (https://launchpad.net/~nzatkovich/+a...eediergraphics)..

    2) If you use a new Ubuntu distro sound doesn't work with bundled openal library I fixed overwriting libopenal.so.1 from system's one search it (in /usr/..)
    3) Demo can fail with following error:

    setrlimit() failed with error 22 (Invalid argument)
    - Max per-process value allowed is 4096 (we wanted 10000).
    will update post soon with fix I applied (required changing a /etc file)..

  • #2
    Yeah, I'm getting that limit issue. Any suggestions?

    Code:
    $ ./effects 
    Using binned.
    setrlimit() failed with error 22 (Invalid argument)
    - Max per-process value allowed is 4096 (we wanted 10000).
    Could not adjust number of file handles, consider changing "nofile" in /etc/security/limits.conf and relogin.
    Could not set desired per-process limits, consider changing system limits.

    Comment


    • #3
      for fix the error I edited /etc/security/limits.conf
      changing the line with nofile to "* hard nofile 10001" ..


      Originally posted by oliw View Post
      Yeah, I'm getting that limit issue. Any suggestions?

      Code:
      $ ./effects 
      Using binned.
      setrlimit() failed with error 22 (Invalid argument)
      - Max per-process value allowed is 4096 (we wanted 10000).
      Could not adjust number of file handles, consider changing "nofile" in /etc/security/limits.conf and relogin.
      Could not set desired per-process limits, consider changing system limits.

      Comment


      • #4
        Haven't seen the specific error messages I see with latest mesa.

        Intel:
        Code:
        Using binned.
        LogOnline:Warning: No default platform service specified for OnlineSubsystem
        LogRHI:Warning: disabling reporting back of debug groups and markers to the OpenGL debug output callback
        LogRHI:Warning: disabling reporting back of debug groups and markers to the OpenGL debug output callback
        LogHAL:Error: appError called: Assertion failed: MaxComputeUniformComponents != -1 [File:Runtime/OpenGLDrv/Public\OpenGL4.h] [Line: 60]
        
        Stack:
        [Callstack]  02  0x00000000027b5c25  
        [Callstack]  03  0x00000000027a366c  
        [Callstack]  04  0x000000000175b722  
        [Callstack]  05  0x00000000010ce3de  
        [Callstack]  06  0x00000000010d1bb9  
        [Callstack]  07  0x00000000010d7329  
        [Callstack]  08  0x00007f7ba5b70000  
        [Callstack]  09  0x00000000010cc17c  
        
        Signal 11 caught.
        LogLinuxPlatformFile:Warning: open('crashinfo-Effects-pid-17715/diagnostics.txt', Flags=0x00080241) failed: errno=2 (No such file or directory)
        LogLinuxPlatformFile:Warning: open('crashinfo-Effects-pid-17715/wermeta.xml', Flags=0x00080241) failed: errno=2 (No such file or directory)
        LogLinuxPlatformFile:Warning: open('crashinfo-Effects-pid-17715/minidump.dmp', Flags=0x00080241) failed: errno=2 (No such file or directory)
        [1]    17715 abort (core dumped)  ./effects
        Why "Runtime/OpenGLDrv/Public\OpenGL4.h"? Is OpenGL 3 stuff in OpenGL4.h?

        radeonsi:
        Code:
        Using binned.
        LogOnline:Warning: No default platform service specified for OnlineSubsystem
        radeon: Failed to allocate a buffer:
        radeon:    size      : 0 bytes
        radeon:    alignment : 4096 bytes
        radeon:    domains   : 4
        radeon: Failed to allocate a buffer:
        radeon:    size      : 0 bytes
        radeon:    alignment : 4096 bytes
        radeon:    domains   : 4
        LLVM failed to compile shader
        EE si_state.c:2133 si_shader_select - Failed to build shader variant (type=1) -12
        radeon: Failed to allocate a buffer:
        radeon:    size      : 0 bytes
        radeon:    alignment : 4096 bytes
        radeon:    domains   : 4
        radeon: Failed to allocate a buffer:
        radeon:    size      : 0 bytes
        radeon:    alignment : 4096 bytes
        radeon:    domains   : 4
        LLVM failed to compile shader
        EE si_state.c:2133 si_shader_select - Failed to build shader variant (type=1) -12
        Signal 11 caught.
        LogLinuxPlatformFile:Warning: open('crashinfo-Effects-pid-18052/diagnostics.txt', Flags=0x00080241) failed: errno=2 (No such file or directory)
        LogLinuxPlatformFile:Warning: open('crashinfo-Effects-pid-18052/wermeta.xml', Flags=0x00080241) failed: errno=2 (No such file or directory)
        LogLinuxPlatformFile:Warning: open('crashinfo-Effects-pid-18052/minidump.dmp', Flags=0x00080241) failed: errno=2 (No such file or directory)
        [1]    18052 abort (core dumped)  DRI_PRIME=1 ./effects
        edit:

        Oh okay, the segfault is in the logging stuff:
        Code:
        #0  FOutputDeviceAnsiError::Serialize (this=<optimized out>, Msg=<optimized out>, Verbosity=65520, Category=...)                                                                                                                              
            at I:\may2015\UnrealEngine-4.1\UnrealEngine-4.1\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:1167                                                                                                                             
        #1  0x00000000010dbcd0 in Log (Str=0x7300000041 <error: Cannot access memory at address 0x7300000041>, this=0x3b96e90 <GErrorHist>, Category=..., Verbosity=<optimized out>)                                                                  
            at I:\may2015\UnrealEngine-4.1\UnrealEngine-4.1\Engine\Source\Runtime\Core\Private\Misc/OutputDevice.cpp:91                                                                                                                               
        #2  FMsg::Logf (File=<optimized out>, Line=<optimized out>, Category=..., Verbosity=ELogVerbosity::NoLogging, Fmt=<optimized out>)                                                                                                            
            at I:\may2015\UnrealEngine-4.1\UnrealEngine-4.1\Engine\Source\Runtime\Core\Private\Misc/OutputDevice.cpp:515                                                                                                                              
        #3  0x00000000010dc829 in FDebug::AssertFailed (Expr=<optimized out>, File=<optimized out>, Line=60, Format=<optimized out>)                                                                                                                  
            at I:\may2015\UnrealEngine-4.1\UnrealEngine-4.1\Engine\Source\Runtime\Core\Private\Misc/OutputDevice.cpp:176                                                                                                                              
        #4  0x00000000027b5c25 in GetMaxComputeUniformComponents () at Runtime/OpenGLDrv/Public/OpenGL4.h:60                                                                                                                                          
        #5  FOpenGLRHIState::InitializeResources (this=0x495b008, NumCombinedTextures=<optimized out>, NumComputeUAVUnits=<optimized out>) at Runtime/OpenGLDrv/Public/OpenGLState.h:453                                                              
        #6  0x00000000027a366c in FOpenGLDynamicRHI::Init (this=0x495b000) at I:\may2015\UnrealEngine-4.1\UnrealEngine-4.1\Engine\Source\Runtime\OpenGLDrv\Private/OpenGLDevice.cpp:809                                                               
        #7  0x000000000175b722 in RHIInit (bHasEditorToken=<optimized out>) at I:\may2015\UnrealEngine-4.1\UnrealEngine-4.1\Engine\Source\Runtime\RHI\Private/DynamicRHI.cpp:59                                                                       
        #8  0x00000000010ce3de in FEngineLoop::PreInit (this=0x3b95710 <GEngineLoop>, CmdLine=<optimized out>)                                                                                                                                        
            at I:\may2015\UnrealEngine-4.1\UnrealEngine-4.1\Engine\Source\Runtime\Launch\Private/LaunchEngineLoop.cpp:1016                                                                                                                            
        #9  0x00000000010d1bb9 in EnginePreInit (CmdLine=<optimized out>, CmdLine=<optimized out>) at I:\may2015\UnrealEngine-4.1\UnrealEngine-4.1\Engine\Source\Runtime\Launch\Private/Launch.cpp:32                                                 
        #10 GuardedMain (CmdLine=0xfffffffffffffffc <error: Cannot access memory at address 0xfffffffffffffffc>)                                                                                                                                      
            at I:\may2015\UnrealEngine-4.1\UnrealEngine-4.1\Engine\Source\Runtime\Launch\Private/Launch.cpp:111                                                                                                                                       
        #11 0x00000000010d7329 in main (argc=<optimized out>, argv=<optimized out>) at I:\may2015\UnrealEngine-4.1\UnrealEngine-4.1\Engine\Source\Runtime\Launch\Private\Linux/LaunchLinux.cpp:182
        ChrisXY
        Senior Member
        Last edited by ChrisXY; 21 May 2014, 05:09 PM.

        Comment


        • #5
          Originally posted by ChrisXY View Post
          Haven't seen the specific error messages I see with latest mesa.
          This particular error should be fixed with current git version of engine, but RCL said me on IRC that even latest version of engine don't work on Intel drivers yet (he didn't tested it with other drivers).

          If you want join #ue4linux at irc.freenode.net. There is plenty of good guys as well as Epic employees and one of guys was nice and shared pre-compiled shootergame for me, unfortunately it's didn't worked with same errors.

          Comment


          • #6
            Why exactly do they want 10k open files, in a game. Epic, proper programming is calling, you might wanna take that.

            Comment


            • #7
              Originally posted by curaga View Post
              Why exactly do they want 10k open files, in a game. Epic, proper programming is calling, you might wanna take that.
              We don't open upfront anymore and instead let them fail later. This is mostly needed for editor (and uncooked games), packaged game can start Ok without that. In the above demo, just pass "-pak" to avoid having to increase limits.

              Comment


              • #8
                Originally posted by RCL_ View Post
                In the above demo, just pass "-pak" to avoid having to increase limits.
                Worked a charm, thanks.

                In related news, my usually [still] excellent GTX580 sounded pretty asthmatic during some scenes. At 1920*1200 it was down to ~17fps This is the first engine that has truly stretched this card on Linux.

                Comment


                • #9
                  Originally posted by oliw View Post
                  Worked a charm, thanks.

                  In related news, my usually [still] excellent GTX580 sounded pretty asthmatic during some scenes. At 1920*1200 it was down to ~17fps This is the first engine that has truly stretched this card on Linux.
                  Doesn't run for me, running with -pak I get the message "Using binned." and that's it.

                  Running Ubuntu 14.04 64bit with AMD R9 290x + Catalyst 14.4

                  Comment


                  • #10
                    Originally posted by narciso View Post
                    Doesn't run for me, running with -pak I get the message "Using binned." and that's it.

                    Running Ubuntu 14.04 64bit with AMD R9 290x + Catalyst 14.4
                    Check that the rar file has been correctly extracted. Ark didn't do it properly for me, had to use "rar -x" :P

                    For me it does not work, I get this log:
                    Code:
                    LogHAL:Error: appError called: Assertion failed: MaxComputeUniformComponents != -1 [File:Runtime/OpenGLDrv/Public\OpenGL4.h] [Line: 60]

                    Comment

                    Working...
                    X