Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity3D on Linux with Wine: Support thread

Discussion in 'Editor & General Support' started by wnk, Nov 15, 2013.

  1. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    i used notepad from ubuntu menu... But i will try gedit
     
  2. gnumaru

    gnumaru

    Joined:
    Dec 26, 2013
    Posts:
    20
    Seu PlayOnLinux está em português, então o ubuntu também deve estar. Você é brasileiro, de portugal, ou de algum daqueles países africanos que falam português? Independente disso, seja bem vindo =)

    Eu vou responder em inglês mesmo pro pessoal não ficar excluído, beleza?

    ==

    I have had an error similar to yours (and I'm using Ubuntu 13.10 64bits). Unfortunately I don't remember exactly what I have done to fix it, but such as you, I couldn't start a script from PlayOnLinux. It is not unity's script fault. ANY script you give the same error, it is PlayOnLinux fault.

    I think a clean reinstall should suffice to fix the problem. Open a terminal and type
    sudo apt-get purge playonlinux;

    "apt-get purge" is a deeper package removal than "apt-get remove" because it deletes also the some configurations the package leaves behind. After the purge, you cant install it again with "apt-get install playonlinux". If that doesn't work, try purging wine also "apt-get purge wine" and installing PlayOnLinux again. If you are not familiar with terminal comands, you can remove and install packages using synaptic (a gui package manager) or ubuntu software center.

    Even if this makes the error disapear and you become able to execute the script, there is another error while installing something from the script (i think it happens while installing dotnet). PlayOnLinux says something like "Error in sourcePackage installation will fail until you set /proc/sys/kernel/yama/ptrace_scope to 0". So, to avoid this other error, before running the script, open up a terminal and type

    sudo echo "0" > /proc/sys/kernel/yama/ptrace_scope;

    If you can't get permissions to write to that file, even using sudo, then start a super user terminal session typing "sudo su" then you can do

    echo "0" > /proc/sys/kernel/yama/ptrace_scope;

    And thats it. Try it and tell us if it worked =)

    See ya.
     
  3. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    i will post the print of the steps and the script review

    $step1.png

    $step2.png

    $step3.png

    $step4.png

    $step5.png
     
  4. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    continuing...

    then, it's shows the script for review: here it's is what shows...

    $scriptReview1.png

    $scriptReview2.png

    $scriptReview3.png

    $scriptReview4.png
     

    Attached Files:

  5. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    more script
    $scriptReview5.png

    $scriptReview6.png

    $scriptReview7.png

    $scriptReview8.png

    i click in accept, continue and the result is:

    $finalStep.png
     
  6. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    is there a way to execute playonlinux on terminal to have a feedback?

    Gnumaru, i don't had seen your post since i was posting the prints.

    Also, i am from Brazil.
     
    Last edited: Apr 10, 2014
  7. Damian-LinuxFan

    Damian-LinuxFan

    Joined:
    Jan 20, 2014
    Posts:
    10
    Dear drax developer you get a executable for .pol script ??
    if you don't you must get executable premision for pol's script

    Command for you problem:
    chmod +x unity3.pol

    unity3.pol is only a my default name for this script

    plaease and run your script 8)
     
  8. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    ok, i will try, but not i an reinstalling the unit, and the internet on my job are sometimes at 0.01 M 00
     
  9. Pendrokar

    Pendrokar

    Joined:
    Mar 26, 2011
    Posts:
    95
    Probably more to do in having a NVIDIA card. I can live with that, just have to click twice on menus to refresh.

    I noticed that it is possible to set so that Unity launches Linux applications by just choosing their executables in preferences, but of course the windows path that it gives those applications is incompatible. One other way is to set the default file associations within wine's environment to launch native Linux applications. But it doesn't seem to work for me(shows no errors). The fault could be in PlayOnLinux using a different Wine from the natively installed one.
    http://wiki.winehq.org/FAQ#head-bc5b677c29daa2cd16b83bca8c88f31b2341cb98
     
  10. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    It's one of the reasons why I recommend to use OpenSuse 13.1 - you will have problems using other distros. Some time ago, I installed Ubuntu to try it out. I saw its instability. That's why, I came back to OpenSuse 13.1. I know there are distro wars, but you like or not, OpenSuse 13.1 is the best for running Unity3D. I don't need any tricks to run it.
     
  11. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    Again, I recommend to use an Intel graphics card. Sorry, but NVIDIA make only troubles for Linux users. I don't understand that, but it's reality.

    OpenSuse 13.1 + Intel graphics card + Mesa 10.x.x = the best configuration for running Unity3D on Linux

    Of course, you can disagree with me :)
     
  12. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    I didn't know that Ubuntu has Notepad :). I was using this distro very short. I don't like that. I don't know which graphics card you have, but I recommend you to change your distro to OpenSuse 13.1.

    I saw your screenshots. All what you do is OK. This strange behavior of PlayOnLinux at the end is amazing. it looks like something bad with the script, but of course there can be other reasons that I have no idea of because I don't use Ubuntu.
     
  13. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    I have never do that and the script works.
     
  14. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    Do you install PlayOnLinux? After downloading, I just make the main script executable on Console and run the script. That's all. I think no libraries are installed in the system directories and no registration. It's just like portable versions of software for Windows. I used two version of PlayOnLinux at the same time: official and the one downloaded from GIT. Absolutely no conflicts - they were separated standalone versions.
     
  15. Pendrokar

    Pendrokar

    Joined:
    Mar 26, 2011
    Posts:
    95
    And of course I will.

    Tell me I'm wrong but isn't the topic "Unity3D on Linux with Wine: Support thread" and not "Unity3D on OpenSuse with Wine: Support thread", but when a problem arises that you don't know how to fix and it works for you, you propose to get the same specs and status that you have in order to 'fix' the problem. That would be fine if Unity3D was valued at 100'000+ dollars and to get it working on unsupported specs you have to spend some more, but it is not.

    tl;tr
    You should only propose switching to OpenSuse if someone really wants to use Unity3D on Linux and seemingly giving up on his distro, an event I haven't seen here yet. It it just irritating to see that a third of your posts is about switching to OpenSuse and buying an Intel card. Already 3 out of your last 5 subsequent posts is about it.

    Now I never have used another distro in the last 5 years, but I doubt it will fix very few of my problems as they are more likely graphics card related. So switching or buying a new card would be more time consuming than actually trying to fix it on the distro I am on.
     
  16. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    It's the configuration tested by me. This info is for beginners; for people who are making first steps. Not all has such knowledge like you. My tips are for them. Many people read this thread and are lost. I get feedback. Many posts and many opinions - they really don't know. And most of them don't want to have troubles with running Unity3D on Linux. just like under Windows. And other distros can stir troubles. Some people like fixing Linux problems, other don't.

    Some of you wish to have a solution ready to use, out of the box. Such people accept my tips and say thank you. it works like a charm. They only need Unity3D running on Linux. They don't want to play with tricks.

    Others love their own distros and will be doing all to run Unity3D on them. Some of them will give up - they say it doesn't work! But there are such guys who will be successful with their distros, not with OpenSuse 13.1.

    As to draxdeveloper, I thought it was caused by the script. many people copied the scripts in my tutorial in Unicode and then they had problems. They were too lazy to search them on this thread.

    But now it's clear that it's because of Ubuntu. To help draxdeveloper, I need to run Ubuntu on one of my computers. It's impossible.

    For free, I am spending my free time to support people who wish to run Unity3D on Linux . My intention is to make Linux popular among people in the world. I can't know all distros and all configurations. It's simply impossible. That's why, I ask other people to share their knowledge as to running Unity3D on other distros. Some people have tested Unity3D with other distros and shared their results. I can say only THANK YOU!
     
    Last edited: Apr 11, 2014
  17. Pendrokar

    Pendrokar

    Joined:
    Mar 26, 2011
    Posts:
    95
    I understand. Accept my apologies.

    Anyways I wrote a shell scripts that launch native Linux applications. One for image manipulation and the other for script editors. What is left is one for 3D modelling and animation, but Unity does not have the option to set the default program for that. So you have to tinker with the Registry editor to make it open something like Blender, if someone wants this I can provide a heads up on how to proceed.

    Here is the code for the image manipulation, in this case GIMP and gives it the correct path to the file which to open.
    Code (csharp):
    1.  
    2. #!/bin/sh
    3. if [ -z "$1" ]
    4. then
    5.     echo "No file specified"
    6.     exit 1
    7. fi
    8.  
    9. # Change 'gimp' to the command name of your desired image manipulation program.
    10. gimp "`wine winepath -u "$1"`"
    11. # Note that the 'wine winepath', which translates Windows path name to Unix, is the natively installed 'wine'.
    12.  
    13. echo "Opening $1 with GIMP"
    14. exit 0
    15.  
    Save it to a file that Unity can see and set it as an executable(chmod 755), then set it as that file as the Image Manipulation program in Unity Preferences.

    And here is the code for the script editor, in this case Sublime Text and while it gives it the correct path to the file which to open, it also points to the line of code.
    Code (csharp):
    1.  
    2. #!/bin/sh
    3. if [ -z "$1" ]
    4. then
    5.     echo "No file specified"
    6.     exit 1
    7. fi
    8.  
    9. /opt/sublime_text/sublime_text "`wine winepath -u "$1"`:$2:$3"
    10. # Note that the 'wine winepath', which translates Windows path name to Unix, is the natively installed 'wine'.
    11.  
    12. echo "Opening $1 with Sublime Text"
    13. exit 0
    14.  
    Save it to a file that Unity can see and set it as an executable(chmod 755), then set it as that file as the External Script Editor program in Unity Preferences with correct format in its arguments, for Sublime Text they are "$(File)" $(Line).

    Note: My note in shell scripts, I use the natively installed wine in those shell scripts to translate Windows paths to Unix, as I wasn't able to use the wine that Unity3D is installed on(it tries to use my natives 64bit wine prefix). Unless you know how to launch PlayOnLinux's wine version from the terminal with the correct prefix then have a native version of wine installed.
     
  18. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    Still with the same problem, i i have purged everything and reinstalled wine 1.7, nothing is happening :(
     
  19. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    I thought reinstalling wouldn't fix your problem. I know that people had some problems with Unity3D on Ubuntu. I need Ubuntu running on my computer to find how to fix that. Linux on a virtual machine isn't the same. Sorry, I can't help you :(. For me, Ubuntu has too many bugs. I don't like this distro.

    By the way, you can always change distro ;). I wish to know your graphics card.

    Why do I support Intel graphics cards? Because Intel don't do dirty deeds against Linux. Intel supports Linux fully. Mesa is very good. Every next version is better. I really don't have any problems with installing Unity3D on Linux with an Intel graphics card. It's a configuration for the people who wish to have an easy way for installing Unity3D on Linux. I spend a lot of time solving problems with drivers for NVIDIA and ATI Redeon. They aren't game developers, but their graphics often looks very ugly. They can't use their systems.

    I wish all distros and graphics cards worked with Linux flawlessly. So far, it's impossible. So, for the people who want to use Unity3D on Linux, there are two ways to go:

    1/ for beginners - use my tutorial and do all (with using OpenSuse 13.1 and maybe Intel graphics card) what I wrote
    2/ for experts - go your own way and overcome problems

    Many people hate Linux because they see only problems in this system. And I understand them. There a lot of users who can't even install a printer in Windows correctly :). That's why, Linux lost with Windows as a desktop system.
     
  20. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    OK! No problem, bro.

    It's true my posts can be irritating, but Linux have gained many users i hope :). People are lazy and don't want read the whole thread. Therefore, important things have to be repeated from time to time. We should do all to attract game industry to Linux technologies. Many good games on Linux will make this system more popular.
     
  21. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    my mother is far away from a advanced user, but she started with linux, she don't know to use windows well, she says that it's harder
     
  22. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    Can she install a printer underLinux? I think she can't :).

    yes, you are right. For example KDE is very intuitive and good for beginners. However, when your mother try to install something and there are problems with dependencies, she will be lost I think.

    The problem in Linux as a desktop system is its hardness for beginners. They say me: "Linux is too difficult for me. I don't want worry about solving problems. My system should work without any configurations". Linux graphics has really many bugs. Ubuntu was to be the system that would be a very good desktop alternative for Windows. It's a good idea, but Ubuntu isn't good enough and in reality not only you have problems with it. For me, OpenSuse 13.1 is more stable. I have been using it since many years. I see how this distro is developing. There are also some things to fix, but as to running Unity3D it seems perfect.
     
  23. JeffHCross

    JeffHCross

    Joined:
    Apr 12, 2014
    Posts:
    1
    Never mind, solved my issue. Reading comprehension for the win!

    (By the way, Ubuntu 13.10 here working fine, at least for the initial install and launch. No nVidia though ... AMD Radeon-equipped laptop)
     
    Last edited: Apr 12, 2014
  24. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    my mother can`t install a printer on windows. To the common user, is hard even to do this.

    Also, someone have any sugestion left to my problem?
     
  25. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    i will try run playonlinux bash, just don't know how to do this...
     
  26. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    i do't know if was the bash, or if it's because i opened a clean gedit document and named it unity3.pol... but is now installing :D
     
  27. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    $stuck.png

    it's stuck here, what i do? Maybe my connection have down for a while, what i do? i wait, i start all again?

    forget, it's continued
     
    Last edited: Apr 13, 2014
  28. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    It's really strange. All Linux text editors should be good. But I don't know Ubuntu very well. I use gedit for writing this script. Maybe, it's important.

    I'm glad your installation is successful. You didn't give up.
     
  29. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    $oh.png

    is this a know problem?
     
    Last edited: Apr 13, 2014
  30. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    Is it your Unity installation?

    tell me your graphics card. It look as as if you had no 3D acceleration. Run glxinfo - maybe we will know something more.

    I had similar problem before using this script and PlayOnLinux, when I used a virtual machine that didn't support 3D acceleration. And then, when I used the script and PlaOnLinux, my new Mesa drivers were incorrectly installed, so I lost 3d acceleration. In both cases, I saw a similar picture. But to be sure, I need the output of glxinfo.
     
    Last edited: Apr 13, 2014
  31. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: SGI
    server glx version string: 1.4
    server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_multisample, GLX_EXT_create_context_es2_profile,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control
    client glx vendor string: Mesa Project and SGI
    client glx version string: 1.4
    client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
    GLX_EXT_create_context_es2_profile, GLX_EXT_fbconfig_packed_float,
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync
    GLX version: 1.4
    GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address, GLX_ARB_multisample,
    GLX_EXT_create_context_es2_profile, GLX_EXT_import_context,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync
    OpenGL vendor string: Intel Open Source Technology Center
    OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
    OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.1
    OpenGL core profile shading language version string: 1.40
    OpenGL core profile context flags: (none)
    OpenGL core profile extensions:
    GL_3DFX_texture_compression_FXT1, GL_AMD_draw_buffers_blend,
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5,
    GL_APPLE_object_purgeable, GL_ARB_ES2_compatibility,
    GL_ARB_ES3_compatibility, GL_ARB_base_instance,
    GL_ARB_blend_func_extended, GL_ARB_copy_buffer, GL_ARB_debug_output,
    GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, GL_ARB_draw_buffers,
    GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex,
    GL_ARB_draw_instanced, GL_ARB_explicit_attrib_location,
    GL_ARB_fragment_coord_conventions, GL_ARB_fragment_shader,
    GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB,
    GL_ARB_get_program_binary, GL_ARB_half_float_pixel,
    GL_ARB_half_float_vertex, GL_ARB_instanced_arrays,
    GL_ARB_internalformat_query, GL_ARB_invalidate_subdata,
    GL_ARB_map_buffer_range, GL_ARB_occlusion_query2,
    GL_ARB_pixel_buffer_object, GL_ARB_point_sprite, GL_ARB_provoking_vertex,
    GL_ARB_robustness, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
    GL_ARB_shader_bit_encoding, GL_ARB_shader_objects,
    GL_ARB_shader_texture_lod, GL_ARB_shading_language_420pack,
    GL_ARB_shading_language_packing, GL_ARB_sync,
    GL_ARB_texture_buffer_object, GL_ARB_texture_buffer_object_rgb32,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map_array,
    GL_ARB_texture_float, GL_ARB_texture_multisample,
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_lod,
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui,
    GL_ARB_texture_storage, GL_ARB_texture_storage_multisample,
    GL_ARB_texture_swizzle, GL_ARB_timer_query, GL_ARB_uniform_buffer_object,
    GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object,
    GL_ARB_vertex_shader, GL_ARB_vertex_type_2_10_10_10_rev,
    GL_ATI_blend_equation_separate, GL_ATI_texture_float, GL_EXT_abgr,
    GL_EXT_blend_equation_separate, GL_EXT_draw_buffers2,
    GL_EXT_draw_instanced, GL_EXT_framebuffer_blit,
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled,
    GL_EXT_framebuffer_sRGB, GL_EXT_packed_depth_stencil, GL_EXT_packed_float,
    GL_EXT_pixel_buffer_object, GL_EXT_provoking_vertex, GL_EXT_texture_array,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_integer, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode,
    GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm,
    GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback,
    GL_EXT_vertex_array_bgra, GL_IBM_multimode_draw_arrays,
    GL_MESA_pack_invert, GL_MESA_texture_signed_rgba, GL_MESA_ycbcr_texture,
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil,
    GL_OES_EGL_image, GL_OES_read_format, GL_S3_s3tc

    OpenGL version string: 3.0 Mesa 9.2.1
    OpenGL shading language version string: 1.30
    OpenGL context flags: (none)
    OpenGL extensions:
    GL_3DFX_texture_compression_FXT1, GL_AMD_draw_buffers_blend,
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5,
    GL_APPLE_object_purgeable, GL_APPLE_packed_pixels,
    GL_APPLE_vertex_array_object, GL_ARB_ES2_compatibility,
    GL_ARB_ES3_compatibility, GL_ARB_blend_func_extended,
    GL_ARB_color_buffer_float, GL_ARB_copy_buffer, GL_ARB_debug_output,
    GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, GL_ARB_depth_texture,
    GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend,
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced,
    GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
    GL_ARB_fragment_shader, GL_ARB_framebuffer_object,
    GL_ARB_framebuffer_sRGB, GL_ARB_get_program_binary,
    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex,
    GL_ARB_instanced_arrays, GL_ARB_internalformat_query,
    GL_ARB_invalidate_subdata, GL_ARB_map_buffer_range, GL_ARB_multisample,
    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_occlusion_query2,
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
    GL_ARB_provoking_vertex, GL_ARB_robustness, GL_ARB_sampler_objects,
    GL_ARB_seamless_cube_map, GL_ARB_shader_bit_encoding,
    GL_ARB_shader_objects, GL_ARB_shader_texture_lod,
    GL_ARB_shading_language_100, GL_ARB_shading_language_420pack,
    GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_sync,
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map,
    GL_ARB_texture_cube_map_array, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_float,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_multisample,
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_lod,
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui,
    GL_ARB_texture_storage, GL_ARB_texture_storage_multisample,
    GL_ARB_texture_swizzle, GL_ARB_timer_query, GL_ARB_transpose_matrix,
    GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra,
    GL_ARB_vertex_array_object, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_window_pos,
    GL_ATI_blend_equation_separate, GL_ATI_draw_buffers,
    GL_ATI_envmap_bumpmap, GL_ATI_separate_stencil,
    GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_EXT_abgr,
    GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_equation_separate,
    GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, GL_EXT_draw_buffers2,
    GL_EXT_draw_instanced, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
    GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_framebuffer_object,
    GL_EXT_framebuffer_sRGB, GL_EXT_gpu_program_parameters,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
    GL_EXT_packed_float, GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object,
    GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_provoking_vertex,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_shader_objects, GL_EXT_separate_specular_color,
    GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap,
    GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
    GL_EXT_texture_array, GL_EXT_texture_compression_dxt1,
    GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_integer, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
    GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode,
    GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm,
    GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback,
    GL_EXT_vertex_array, GL_EXT_vertex_array_bgra,
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_MESA_pack_invert, GL_MESA_texture_array, GL_MESA_texture_signed_rgba,
    GL_MESA_window_pos, GL_MESA_ycbcr_texture, GL_NV_blend_square,
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_light_max_exponent,
    GL_NV_packed_depth_stencil, GL_NV_primitive_restart,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
    GL_NV_texture_rectangle, GL_OES_EGL_image, GL_OES_read_format,
    GL_S3_s3tc, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

    16 GLX Visuals
    visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
    id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
    ----------------------------------------------------------------------------
    0x020 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x021 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x082 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x083 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x084 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x085 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
    0x086 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 4 1 None
    0x087 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 4 1 None
    0x088 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x089 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x08a 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x08b 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x08c 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
    0x08d 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 4 1 None
    0x08e 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 4 1 None
    0x05d 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None

    36 GLXFBConfigs:
    visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
    id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
    ----------------------------------------------------------------------------
    0x05e 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
    0x05f 0 tc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
    0x060 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x061 0 tc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x062 0 tc 0 16 0 r y . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None
    0x063 0 tc 0 16 0 r . . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None
    0x064 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x065 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x066 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x067 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x068 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x069 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
    0x06a 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x06b 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
    0x06c 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 4 1 None
    0x06d 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 4 1 None
    0x06e 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 4 1 None
    0x06f 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 4 1 None
    0x070 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
    0x071 0 dc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
    0x072 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x073 0 dc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x074 0 dc 0 16 0 r y . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None
    0x075 0 dc 0 16 0 r . . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None
    0x076 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x077 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x078 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x079 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x07a 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x07b 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
    0x07c 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x07d 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
    0x07e 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 4 1 None
    0x07f 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 4 1 None
    0x080 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 4 1 None
    0x081 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 4 1 None
     
  32. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    Everything seems OK. Could you tell me your graphics card? Do you have problems with graphics only with Unity3D installation? Do you use proprietary drivers for your graphics card or Mesa?

    I see you have Mesa Installed. But your Mesa is old. If you want you use Open Source drivers for your graphics card, Mesa should be upgraded to 10.x.x. It's much better for 3D rendering. But I don't know your graphics card.

    Do you have an Intel graphics card?

    To be sure, run the command:

    lspci -v | grep VGA

    I think you have an Intel graphics card. very well! Update Mesa to 10.x.x.

    if it doesn't improve your Unity3D installation, the problem is with Ubuntu.
     
    Last edited: Apr 13, 2014
  33. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    ok, i will do this...
    Yes i think it's intel onboard.
     
  34. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    if you run this command, we will be sure. Very good that you have Intel because you will not have problems with graphic drivers. Intel support Linux fully for their cards. Unfortunately, it isn't true for NVIDIA and ATI Redeon. People use proprietary drivers that have many bugs, and they need some workarounds and fixes to run them. That's why, I prefer Intel to others. OpenSuse and Intel should always work.

    read about Mesa:

    http://www.mesa3d.org/

    i have no idea of where are repos for Ubuntu. use google.

    i wish to warn you that the Mesa 10.1 is unstable. I had some problems when I installed it. You can try it out if you want. However, a better option for you is Mesa 10.0.4
     
    Last edited: Apr 13, 2014
  35. Pendrokar

    Pendrokar

    Joined:
    Mar 26, 2011
    Posts:
    95
    Created a Unity Wiki page for this topic. It is incomplete so I did not add it to the tutorials category yet.
    http://wiki.unity3d.com/index.php/Running_Unity_on_Linux_through_Wine

    It is a better way to give summaries as we are able to cooperatively edit the content. There are too many scripts to choose in Tomza's Blog post, so I didn't add any yet.
     
  36. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    the recent script is the best. All software are developing. So does our script. I wrote the tutorial because people were really lost. They read the thread and had no idea of what to do. I was explaining them patiently and repeating important things. i showed how the script has developed; what changed and what not. It's Open Source so all people can see what is inside and may develop the script. We are doing that for other people for free. It's a beautiful idea.

    In the beginning, there's a small script written by Cauê from Brazil. Now, our idea is being developed very quickly. More and more people are interested in it.

    Pendokar, it's a good idea! i have never written a wiki page. So do what you need. Use my tutorial, please. use what we achieved up to now. maybe it will more accessible for people in the world. maybe translated in other languages.
     
    Last edited: Apr 13, 2014
  37. gnumaru

    gnumaru

    Joined:
    Dec 26, 2013
    Posts:
    20
    Yes, this is a very well known problem.

    It have absolutely nothing to do with PlayOnLinux, with Unity 3D, with your graphics card or with your distro. It is a weird wine bug related with your system's timezone. I stumbled uppon this bug in the past and almost gave up.

    This bug appears because you are in Brazil and your timezone is set as a "named" timezone (probably "America/Sao Paulo"). You must switch your timezone to another wich is not named, wich have only the GMT code, Like GMT+3.

    To do this, open up a terminal and type:

    sudo dpkg-reconfigure tzdata

    And in the menu, go down and chose "etc" and then GMT+3 (or the right timezone code if you are in other country than Brazil).

    After that, this weird rendering bug will disapear.

    "waneck-six" warned about this bug in the very first post of this thread, saying that "If the program installs, but all you get is a blank screen, try changing your system time zone to a more well-known location."

    And that's it. After that, Unity will work just fine =)
     
  38. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    Changing the system time zone... What a stupid bug! One of such bugs in Ubuntu. I have no problem with my timezone.

    By the way, draxdeveloper should update his Mesa for his Intel graphics cards. Quality of 3D rendering is much better with Mesa 10.x.x.
     
  39. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    and now i updated to the most recent drivers and etc...
    Well, ubuntu 14 is coming, anything i just update from the root.

    Before this, you know how can i exclude a repository? I will do this to change the mesa repo to the official one.

    ANd about the bug WTH?
     
  40. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    i can't believe, timezone? it's have to do with datatype? Like a named timezone send a string in the process?
     
  41. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    hum... I don't have a mouse, so how i can zoom in? the ctrl drag is not working...
     
  42. Sisso

    Sisso

    Joined:
    Sep 29, 2009
    Posts:
    196
    It has solved my problem too. I give a try from time to time and was locked on this problem. There still some minor problems (debug and wrong textures) that I will look later, but it is functional, and really fast.

    It was an ubuntu 13 using and works with onboard intel and dedicated nvidia card.

    Congrats guys!
     
  43. gnumaru

    gnumaru

    Joined:
    Dec 26, 2013
    Posts:
    20
    The zooming is not made with control, but with alt+drag.

    Absolutely nothing sucks more than using 3D modelling software with a touch pad. But if you really have nothing besides your touchpad, you can use alt+drag (hold alt with some finger, click with the touchpad left button with a second finger and with a third finger drag in the touchpad).

    You can also navige the camera using a FPS style control. Click and hold with right touchpad button and use WASD to move foward, backward and sideways. You can also use Q and E to move upwards and downwards, respectively.
     
  44. gnumaru

    gnumaru

    Joined:
    Dec 26, 2013
    Posts:
    20
    By the way... Some window managers may get priority over your Alt+Drags and dont let you use them. I use OpenBox as window manager (because in fact I use lubuntu instead of stock ubuntu) and it dont let you use alt drag until you manually edit its configuration file preventing it to do so.
     
  45. draxdeveloper

    draxdeveloper

    Joined:
    Feb 17, 2014
    Posts:
    61
    is there a way to change this on ubuntu?

    also i have a note with touch screen, it's good to work but there is that alt problem with ubuntu
     
    Last edited: Apr 14, 2014
  46. kusari

    kusari

    Joined:
    Apr 10, 2014
    Posts:
    1
    Hi everyone.
    I run arch linux x86_64 on my laptop (amd graphics, I can provide full specs on request).

    First of all, I tried installing unity3d on default wine; install went nicely, but I always got that infamous "licensing system" error, even adding "ProductId" to regedit by hand.
    My second try was on playonlinux, using the latest script found right in this thread,but again, no luck. I always ended up with this error when starting up (both creating new AND editing existing project):
    Code (csharp):
    1. Inconsistency detected by ld.so: dl-close.c: 762: _dl_close: Assertion `map->l_init_called' failed!
    My third attempt was to install unity using the commercial "crossover" software (free trial version), which is basically a custom wrapper for wine (akin to playonlinux). Install went, again, flawlessly, but I got the "cannot initialize 3D graphics" error at runtime. :(

    Then I tried one last-resort mad ploy: I copied the wineprefix created by crossover (although crossover does not call them "wineprefixes"), and pasted it in my playonlinux folder, swapping it with the "older" one, generated using your script.
    To my amazement, unity started without errors! :cool:
    I had to install "tahoma" from POL's settings menu (otherwise the gui text won't show), but I haven't had any other errors so far.
    Hope this was helpful.
     
  47. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    run glxinfo again to know which mesa version you have. Because some repos have different versions.
     
  48. erbridge

    erbridge

    Joined:
    Jul 31, 2013
    Posts:
    1
    Just installed on Linux Mint 15 fine, using the POL script. I haven't tested it fully yet, but the Editor loads without any issue. Thanks!

    Can I suggest you put the script in a Gist on GitHub, or something, and link to it from one of the first posts? I've put what I used to install here: https://gist.github.com/erbridge/11159912.
     
  49. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    For all the people who don't believe me:

    I got this comment on my website. Do you have any doubts that

    OpenSuse 13.1 + Intel graphics card + Mesa 10.x.x

    works the best?

    Kevin T had serious troubles with running Unity3D on Linux because he used ATI, but when he changed his graphics card to Intel, all was solved.
     
  50. Pendrokar

    Pendrokar

    Joined:
    Mar 26, 2011
    Posts:
    95
    Created a new Wiki page regarding running Unity Web Player on native Linux web browsers.
    http://wiki.unity3d.com/index.php/Running_Unity_Web_Player_on_Linux_using_Pipelight

    I contacted the OP to add a wiki page on the first post. Otherwise the old info and seeing the page count in this thread would make visitors flee. Seems he hasn't visited the forums for a long time.

    Any update on this? Especially how you got the Asset store to work?

    Don't make "Unity Technologies" hate Linux by adding a feature like that. :mad: