Search Unity

Unity 5.5.1f1 Personal and Debian 8.7 amd64 Xfce

Discussion in 'Linux' started by dpchrist, Feb 22, 2017.

  1. dpchrist

    dpchrist

    Joined:
    Feb 18, 2017
    Posts:
    4
    Unity -> Platforms -> Linux:

    I have installed Unity 5.5.1f1 Personal on Windows 7 Professional 64-bit:

    https://store.unity.com/download?ref=personal

    I have completed the "Roll a Ball" tutorial:

    https://unity3d.com/learn/tutorials/projects/roll-ball-tutorial

    I have created a build for Linux Universal and copied the Linux build tree to a computer with the current stable release of Debian amd64 Xfce (and updated/upgraded as of now):

    cdimage.debian.org/debian-cd/current/amd64/jigdo-cd/debian-8.7.1-amd64-xfce-CD-1.jigdo

    Code (csharp):
    1. jesse@jesse:~/build/Unity/roll-a-ball/Linux-x86-x86_64$ cat /etc/debian_version
    2. 8.7
    3.  
    4. jesse@jesse:~/build/Unity/roll-a-ball/Linux-x86-x86_64$ uname -a
    5. Linux jesse 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u1 (2017-02-22) x86_64 GNU/Linux
    6.  
    7. jesse@jesse:~/build/Unity/roll-a-ball/Linux-x86-x86_64$ dpkg-query --show libc6
    8. libc6:amd64     2.19-18+deb8u7
    When I run "rollaball.x86_64", the "Roll a Ball Configuration" dialog appears. When I click OK, the screen flashes and then nothing -- no game, no error messages. Here is the terminal session:

    Code (csharp):
    1. jesse@jesse:~/build/Unity/roll-a-ball/Linux-x86-x86_64$ ./rollaball.x86_64
    2. Set current directory to /home/jesse/build/Unity/roll-a-ball/Linux-x86-x86_64
    3. Found path: /home/jesse/build/Unity/roll-a-ball/Linux-x86-x86_64/rollaball.x86_64
    4. Mono path[0] = '/home/jesse/build/Unity/roll-a-ball/Linux-x86-x86_64/rollaball_Data/Managed'
    5. Mono path[1] = '/home/jesse/build/Unity/roll-a-ball/Linux-x86-x86_64/rollaball_Data/Mono'
    6. Mono config path = '/home/jesse/build/Unity/roll-a-ball/Linux-x86-x86_64/rollaball_Data/Mono/etc'
    7. displaymanager : xrandr version warning. 1.4
    8. displaymanager : trying .X11-unix
    9. client :0 has 1 screens
    10. displaymanager screen (0): 1920 x 1080
    11. Using libudev for joystick management
    12.  
    13.  
    14. Importing game controller configs
    Please advise how to get the Roll a Ball executable working on Debian 8.

    Please provide a link to Q/A test reports for all platforms supported by Unity.

    TIA,

    David
     
  2. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    Hi, please post your player log as well (~/.config/unity3d/CompanyName/ProjectName/Player.log or run the player with -logfile /path/to/my/log).
     
  3. dpchrist

    dpchrist

    Joined:
    Feb 18, 2017
    Posts:
    4
    Thanks for the reply. Here is the Player.log:

    Code (csharp):
    1. jesse@jesse:~$ cat .config/unity3d/DefaultCompany/Roll\ a\ Ball/Player.log
    2.  
    3. Selecting FBConfig
    4. GLX_FBCONFIG_ID=123
    5. GLX_BUFFER_SIZE=32
    6. GLX_DOUBLEBUFFER=1
    7. GLX_RED_SIZE=8
    8. GLX_GREEN_SIZE=8
    9. GLX_BLUE_SIZE=8
    10. GLX_ALPHA_SIZE=8
    11. GLX_DEPTH_SIZE=24
    12. GLX_STENCIL_SIZE=8
    13. GLX_SAMPLES_ARB=0
    14. GLX_SAMPLE_BUFFERS_ARB=0
    15. GLX_STEREO=0
    16. GLX_CONFIG_CAVEAT=NONE
    17.  
    18. Desktop is 1920 x 1080 @ 60 Hz
    19. XError: GLXBadFBConfig (error 181, opcode 156/34, serial 53, XID 000000a5, display 0x2e37530
    20. XError: GLXBadFBConfig (error 181, opcode 156/34, serial 56, XID 000000a5, display 0x2e37530
    21. XError: GLXBadFBConfig (error 181, opcode 156/34, serial 59, XID 000000a5, display 0x2e37530
    22. XError: GLXBadFBConfig (error 181, opcode 156/34, serial 62, XID 000000a5, display 0x2e37530
    23. XError: GLXBadFBConfig (error 181, opcode 156/34, serial 65, XID 000000a5, display 0x2e37530
    24. XError: GLXBadFBConfig (error 181, opcode 156/34, serial 68, XID 000000a5, display 0x2e37530
    25. XError: GLXBadFBConfig (error 181, opcode 156/34, serial 71, XID 000000a5, display 0x2e37530
    26. XError: GLXBadFBConfig (error 181, opcode 156/34, serial 74, XID 000000a5, display 0x2e37530
    27. Failed to create valid graphics context: please ensure you meet the minimum requirements
    28. E.g. OpenGL core profile 3.2 or later for OpenGL Core renderer
    Apparently, Debian 8 Xfce does not include any OpenGL packages by default:

    Code (csharp):
    1. jesse@jesse:~$ dpkg-query --list opengl
    2. dpkg-query: no packages found matching opengl
    There are many packages containing "opengl". Which one(s) does Unity want?

    Code (csharp):
    1. jesse@jesse:~$ apt-cache search opengl | wc
    2.     485    4178   31419
    David
     
  4. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    These are generally provided by your graphics driver.
    You can run glxinfo (from the mesa-utils package) to see what's supported by your current driver - the minimum supported core profile version needs to be 3.2 or higher (as mentioned in your error message).

    For example, in my case:
    OpenGL vendor string: NVIDIA Corporation
    OpenGL renderer string: GeForce GT 420/PCIe/SSE2
    OpenGL core profile version string: 4.5.0 NVIDIA 367.57
    OpenGL core profile shading language version string: 4.50 NVIDIA
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
     
  5. Ahmed_BENTALEB

    Ahmed_BENTALEB

    Joined:
    Jul 16, 2017
    Posts:
    2
    hey , i have the same issue :

    OpenGL vendor string: Intel Open Source Technology Center
    OpenGL renderer string: Mesa DRI Intel(R) G41
    OpenGL version string: 2.1 Mesa 18.0.5
    OpenGL shading language version string: 1.20

    how to upgrade the openGL to 3.2
    ?