Ryzom on Ubuntu 10.10 64 bit

Added by Gilgameesh over 7 years ago

I have successfully installed and executed the client.

I have only 2 small problems (not affecting general gameplay):

1. there is a heavy sound stuttering with some effect (specifically the sound played when an animal is killed). Music and other fx sounds (ie: spell casting) play pretty well.

2. this other issue is in common with the Windows client but I never sent any ticket in the past due the fact i use in Windows the directX: with opengl ATI drivers the water is completely missing, except some glitch moving the camera. In the log file i've seen there is a failure in enabling some GLX effect, specifically related to the water.

About the sound, the only thing i tried was to force openal to use only pulseaudio, avoiding all the other engines. I also played a bit with the openal settings (in /etc/openal), with no luck.
My system sound, outside of ryzom, works pretty well, with no problems at all.

About the ATI drivers, they are the proprietary drivers bundled with Ubuntu. I tested several other 3D games, such as OpenArena, but I know there is no game around in Linux with the same complexity and demanding resources as Ryzom.
Anyway (expecially in WIndows) I never got water problems with OpenGL games (such as City of Heroes, in example).
I suppose this is related to some very old warkaround written in the code long time ago, when there were many problems with ATI opengl drivers, and never fixed because people would have used DirectX anyway (in fact, the windows client try to force the DirectX choice for ATI cards).

In linux, being opengl the only choice, I think you have to look at that old piece of code and fix it for all the linux ATI users.

I have Compiz enabled with a multitude of effects, but I didn't tried disabling it (I would prefer to have compiz enabled anyway).

My specs:

Intel Core 2 duo 2.66 (conroe)
2GB RAM
WD HD 500 GB sata 2
ATI Radeon HD4350 1GB VRAM
Ubuntu 10.10 64bit with compiz enabled
single monitor

Except from those issues, the game runs smooth at max settings and, after I moved my save folder I found everything (keyboard, macro and UI settings) exactly the same of the Windows counterpart.

The same machine runs Windows XP 32bit in dual boot.

Finally, congratulations on reaching this important step in the Linux world.


Replies (9)

RE: Ryzom on Ubuntu 10.10 64 bit - Added by kervala over 7 years ago

The problem is no current developer has a ATI card to experiment with :(

The OpenGL code uses a lot of OpenGL 1.x fixed functions and, at this time, nvidia and ATI were using different extensions for similar functionalities, later most of them have been unified by ARB, but parts of code would need to be recoded. And now with latest OpenGL version, a lot of extensions are deprecated in favor of shaders (which are not supported on old cards).

In OpenGL driver, there are too some workaround to fix bugged drivers (mostly for ATI), we should try to remove them and test if it works better, but again we don't have developers with ATI cards...

Anybody is welcome to tweak/test OpenGL driver on a ATI card :)

About sound, that's strange because OpenAL always worked, are you using the last version of Ryzom client ?

RE: Ryzom on Ubuntu 10.10 64 bit - Added by aquiles over 7 years ago

Ive got an ATI :)

But atm ill only have time test possible fixes/changes.

aquiles

RE: Ryzom on Ubuntu 10.10 64 bit - Added by kervala over 7 years ago

Ok, good to know :) Thanks aquiles :p

RE: Ryzom on Ubuntu 10.10 64 bit - Added by Gilgameesh over 7 years ago

kervala wrote:

About sound, that's strange because OpenAL always worked, are you using the last version of Ryzom client ?

I downloaded it 3 or 4 days ago. I will check the version, to be sure it's the latest.

I could look at the code but frankly I have little free time and never seen the code extensively. I successfully built everything both in linux and windows but never started doing anything, due to lack of time (I can't even play the game atm).

I'll do some other check on my system and if I have any news about the sound, I'll post it.

RE: Ryzom on Ubuntu 10.10 64 bit - Added by Naush over 7 years ago

Bingo !

2010/11/30 19:30:38 INF 1018 client_ryzom_rd.exe driver_opengl.cpp 3530 NL3D::CDriverGL::initFragmentShaders : WATER: Try ARB_fragment_program
2010/11/30 19:30:38 WRN 1018 client_ryzom_rd.exe driver_opengl.cpp 3475 NL3D::loadARBFragmentProgramStringNative : Fragment program isn't supported natively; purging program
2010/11/30 19:30:38 WRN 1018 client_ryzom_rd.exe driver_opengl.cpp 3475 NL3D::loadARBFragmentProgramStringNative : Fragment program isn't supported natively; purging program
2010/11/30 19:30:38 WRN 1018 client_ryzom_rd.exe driver_opengl.cpp 3475 NL3D::loadARBFragmentProgramStringNative : Fragment program isn't supported natively; purging program
2010/11/30 19:30:38 WRN 1018 client_ryzom_rd.exe driver_opengl.cpp 3475 NL3D::loadARBFragmentProgramStringNative : Fragment program isn't supported natively; purging program
2010/11/30 19:30:38 WRN 1018 client_ryzom_rd.exe driver_opengl.cpp 3542 NL3D::CDriverGL::initFragmentShaders : WATER: fragment 0 is not loaded, not using ARB_fragment_program at all

This is a Vista/32 client.log

RE: Ryzom on Ubuntu 10.10 64 bit - Added by Naush over 7 years ago

Got it !
driver_opengl_extension.cpp near line 1392

// In my tries ATI_fragment_shader doesn't like to be used With ARB_fragment_program (maybe a driver bug, display become corrupted)
if (ext.IsATI9500OrAbove)
{
    ext.ATIFragmentShader = false;
}

Every shader seems to work perfectly
Water :

Under Water

Clouds

Hard to say if it's was due to bugged driver or graphic cards limitation. R300 was released in 2k2 so ... :p

Regards,

RE: Ryzom on Ubuntu 10.10 64 bit - Added by kervala over 7 years ago

Thanks Naush and well done :)

As you noticed, Nevrax made some workaround which are not needed anymore :s

RE: Ryzom on Ubuntu 10.10 64 bit - Added by Naush over 7 years ago

And this is not the only one, they are several workaround in NeL for 7xx series, OpenGL driver for ATI should be flag with a big WIP ;)

RE: Ryzom on Ubuntu 10.10 64 bit - Added by mhd over 7 years ago

Hello

I have the same problem with a Ubuntu 10.10 64bits
The water is completely missing.

Fresh compilation with the source of december, 09

I have a Intel GM 45 Express Chipset with the Intel Open Source driver.
Intel Core 2 Duo CPU P8600 2.4Ghz
4 Go of RAM
Compiz enabled

Log output : ============
2010/12/10 04:13:36 INF 1930176320 <Unknown> driver_opengl.cpp 382 setupDisplay : 3D: OpenGL version 1.2 or above(); Available extensions:
2010/12/10 04:13:36 INF 1930176320 <Unknown> driver_opengl.cpp 382 setupDisplay : 3D: Texturing: ARBMultiTexture EXTTextureEnvCombine(
) ARBTextureCompression NVTextureEnvCombine4 ATITextureEnvCombine3 ARBTextureCubeMap ATIEnvMapBumpMap NVTextureRectangle EXTTextureRectangle ARBTextureRectangle ARBTextureNonPowerOfTwo texture stages
2010/12/10 04:13:36 INF 1930176320 <Unknown> driver_opengl.cpp 382 setupDisplay : 3D: Programs: ARBFragmentProgram ARBVertexProgram NVVertexProgram NVVertexProgramEmulated
2010/12/10 04:13:36 INF 1930176320 <Unknown> driver_opengl.cpp 382 setupDisplay : 3D: Misc: EXTSeparateSpecularColor EXTSecondaryColor EXTBlendColor NVStateVARWithoutFlush
2010/12/10 04:13:36 INF 1930176320 <Unknown> driver_opengl.cpp 382 setupDisplay : 3D: Array/VBO: ARBVertexBufferObject
2010/12/10 04:13:36 INF 1930176320 <Unknown> driver_opengl.cpp 382 setupDisplay : 3D: FBO: FramebufferObject PackedDepthStencil
2010/12/10 04:13:36 DBG 1930176320 <Unknown> driver_opengl_extension.cpp 1510 registerGlXExtensions : 3D: Available GLX Extensions:
3D: GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating
3D: GLX_MESA_copy_sub_buffer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGI_make_current_read
3D: GLX_SGI_swap_control GLX_SGI_video_sync GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer
3D: GLX_SGIX_visual_select_group GLX_EXT_texture_from_pixmap GLX_INTEL_swap_event
2010/12/10 04:13:36 WRN 1930176320 <Unknown> driver_opengl_extension.cpp 1417 setupGLXEXTSwapControl : 3D: OpengGL extension 'GLX_EXT_swap_control' was not found
2010/12/10 04:13:36 DBG 1930176320 <Unknown> driver_opengl_extension.cpp 1430 setupGLXSGISwapControl : 3D: OpengGL Extension 'GLX_SGI_swap_control' found
2010/12/10 04:13:36 DBG 1930176320 <Unknown> driver_opengl_extension.cpp 1443 setupGLXMESASwapControl : 3D: OpengGL Extension 'GLX_MESA_swap_control' found
2010/12/10 04:13:36 INF 1930176320 <Unknown> driver_opengl_vertex.cpp 1663 initVertexBufferHard : 3D: 4294967295 vertices supported
2010/12/10 04:13:36 INF 1930176320 <Unknown> driver_opengl_vertex.cpp 1664 initVertexBufferHard : 3D: Success to allocate 16.8 Mo of AGP VAR Ram
2010/12/10 04:13:36 INF 1930176320 <Unknown> driver_opengl.cpp 1905 initFragmentShaders : WATER: Try ARB_fragment_program
2010/12/10 04:13:36 WRN 1930176320 <Unknown> driver_opengl.cpp 1849 loadARBFragmentProgramStringNative : Fragment program isn't supported natively; purging program
2010/12/10 04:13:36 WRN 1930176320 <Unknown> driver_opengl.cpp 1849 loadARBFragmentProgramStringNative : Fragment program isn't supported natively; purging program
2010/12/10 04:13:36 WRN 1930176320 <Unknown> driver_opengl.cpp 1849 loadARBFragmentProgramStringNative : Fragment program isn't supported natively; purging program
2010/12/10 04:13:36 WRN 1930176320 <Unknown> driver_opengl.cpp 1849 loadARBFragmentProgramStringNative : Fragment program isn't supported natively; purging program
2010/12/10 04:13:36 WRN 1930176320 <Unknown> driver_opengl.cpp 1917 initFragmentShaders : WATER: fragment 0 is not loaded, not using ARB_fragment_program at all

(1-9/9)