Jump to content
Eternal Lands Official Forums
Entropy

OpenGL 2.0 test client

Recommended Posts

Segmentation fault for me.

I update every day so I would consider myself reasonably updated.

I did put in the new data from bluap's package.

I already had glew.

 

main_xxx.log had over 172k lines worth of errors. Anything in particular I should look for? I need to get back to work, so I'll have to tinker later. If there is something really obvious I should have done that I might not have done, let me know.

Share this post


Link to post
Share on other sites

Tested a bit walking around fighting some mobs and switching maps. Didn't get it to fail but here are my results:

I have 4 CPU's atm

walking around in 2.0= 36% cpu usage (maxes out one and about 75% of another)

walking around in current= 8-16% cpu usage (50% of one core)

 

Also I noticed that the 2.0 version uses about 16% of GPU where normal one uses 37% but that may be due to 2.0 coding being more efficient to process.

 

 

I put my pc specs back under my siggy.

 

Those things are meaningless without FPSs :D

 

2.0 client= 56-59 fps while walking etc. drops to 16 fps when switching maps

normal= 96-100 fps (capped) with drop to 59 when switching maps

Share this post


Link to post
Share on other sites

Segmentation fault for me.

I update every day so I would consider myself reasonably updated.

I did put in the new data from bluap's package.

I already had glew.

 

main_xxx.log had over 172k lines worth of errors. Anything in particular I should look for? I need to get back to work, so I'll have to tinker later. If there is something really obvious I should have done that I might not have done, let me know.

hmmm :\

 

Can you post gdb output Aisy.

 

$ gdb el-opengl2.x86.linux.dynamic.optimised.korrode.1.bin

(gdb) run

(gdb) bt

 

I may have to give u a binary with debug symbols, but lets see what output u get with this one.

 

Between the fact i build the 32bit binaries in a chroot and that I'm not so up-to-date to be running kernel 3.x yet (but you presumably are), guess there's a few things it could be >.>

Share this post


Link to post
Share on other sites
64bit / x86_64:

http://www.paradoxcomputers.com.au/el-opengl2/el-opengl2.x86_64.linux.dynamic.optimised.korrode.1.bin

 

Should work perfectly on reasonably up-to-date Arch Linux systems, should in theory work fine on other distros so long as you have all the libraries. (On distros that're both highly upstream compliant and cutting edge software/libraries version wise, like Gentoo, i'd wager they'll work just fine.)

Tried to use in up to date amd64 gentoo install and got:
./el-opengl2.x86_64.linux.dynamic.optimised.korrode.1.bin 
./el-opengl2.x86_64.linux.dynamic.optimised.korrode.1.bin: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./el-opengl2.x86_64.linux.dynamic.optimised.korrode.1.bin)
./el-opengl2.x86_64.linux.dynamic.optimised.korrode.1.bin: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./el-opengl2.x86_64.linux.dynamic.optimised.korrode.1.bin)

Edit: the glibc installed is 2.13-r4

Edited by Lorck

Share this post


Link to post
Share on other sites

Ok, i build the client from source, following korrode's step list.

Run in the exact same problems of Nidan and Little tho. Pitch black screen, maps taking ages to load, low fps. I guess its gfx card related.

This is the video card:

Video card: GeForce 7025 / nForce 630a/PCI/SSE2
Vendor ID: NVIDIA Corporation
OpenGL Version: 2.1.2 NVIDIA 275.09.07

And other system specs:

AMD Athlon(tm) II X4 630 Processor
2GB of RAM
Gentoo Linux 64 bits up to date

Share this post


Link to post
Share on other sites
Ok, i build the client from source, following korrode's step list.

Run in the exact same problems of Nidan and Little tho. Pitch black screen, maps taking ages to load, low fps. I guess its gfx card related.

This is the video card:

Video card: GeForce 7025 / nForce 630a/PCI/SSE2
Vendor ID: NVIDIA Corporation
OpenGL Version: 2.1.2 NVIDIA 275.09.07

And other system specs:

AMD Athlon(tm) II X4 630 Processor
2GB of RAM
Gentoo Linux 64 bits up to date

Starting again from fresh source (before having run cmake or make), add this line:

set(CMAKE_CXX_FLAGS "-O3 ${CMAKE_CXX_FLAGS}")

to elc/CMakeLists.txt

 

then do

cmake ./
make

Share this post


Link to post
Share on other sites
Starting again from fresh source (before having run cmake or make), add this line:
set(CMAKE_CXX_FLAGS "-O3 ${CMAKE_CXX_FLAGS}")

to elc/CMakeLists.txt

 

then do

cmake ./
make

Did that, compiled nicely but the problems remain and the game is unplayable.

Share this post


Link to post
Share on other sites

No relevant info in error log, just some old stuff from before the client update. I will post bellow a screenie of the char in portals room, the old client worked perfectly ofc.

Edit:Little said there was some new kind of log for this new client. I found it, and its almost 1k lines, so i uploaded to Tinypaste. The contents of the log can be found here.vzuhjk.png

Edited by Lorck

Share this post


Link to post
Share on other sites

 

 

Can you post gdb output Aisy.

 

$ gdb el-opengl2.x86.linux.dynamic.optimised.korrode.1.bin

(gdb) run

(gdb) bt

 

I may have to give u a binary with debug symbols, but lets see what output u get with this one.

 

Between the fact i build the 32bit binaries in a chroot and that I'm not so up-to-date to be running kernel 3.x yet (but you presumably are), guess there's a few things it could be >.>

Yes I have the 3.0 kernel.

[sb@precision330 ~]$ cd el_linuxtest
[sb@precision330 el_linuxtest]$ gdb el-opengl2.x86.linux.dynamic.optimised.korrode.1.bin.bin
GNU gdb (GDB) 7.3
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/sb/el_linuxtest/el-opengl2.x86.linux.dynamic.optimised.korrode.1.bin.bin...done.
(gdb) run
Starting program: /home/sb/el_linuxtest/el-opengl2.x86.linux.dynamic.optimised.korrode.1.bin.bin 
[Thread debugging using libthread_db enabled]
[New Thread 0xb4950b70 (LWP 9618)]
[New Thread 0xb414fb70 (LWP 9619)]
[New Thread 0xb394eb70 (LWP 9650)]
[New Thread 0xb314db70 (LWP 9651)]
[New Thread 0xb270fb70 (LWP 9652)]
[New Thread 0xadf0db70 (LWP 9653)]
[New Thread 0xad70cb70 (LWP 9654)]
[Thread 0xadf0db70 (LWP 9653) exited]
AL lib: pulseaudio.c:612: Context did not connect: Connection refused
[Thread 0xad70cb70 (LWP 9654) exited]
[Thread 0xb270fb70 (LWP 9652) exited]
[New Thread 0xb270fb70 (LWP 9655)]
[New Thread 0xad70cb70 (LWP 9656)]
[New Thread 0xadf0db70 (LWP 9657)]
[Thread 0xad70cb70 (LWP 9656) exited]
AL lib: pulseaudio.c:612: Context did not connect: Connection refused
[Thread 0xadf0db70 (LWP 9657) exited]
[Thread 0xb270fb70 (LWP 9655) exited]
[New Thread 0xb270fb70 (LWP 9658)]
[New Thread 0xadf0db70 (LWP 9659)]
[Thread 0xb314db70 (LWP 9651) exited]
[New Thread 0xad70cb70 (LWP 9947)]

Program received signal SIGSEGV, Segmentation fault.
0x0827e563 in eternal_lands::InstanceBuilder::build(eternal_lands::FreeIds&, std::vector<eternal_lands::InstanceData, std::allocator<eternal_lands::InstanceData> >&, std::vector<eternal_lands::ObjectData, std::allocator<eternal_lands::ObjectData> >&) ()
(gdb) bt
#0  0x0827e563 in eternal_lands::InstanceBuilder::build(eternal_lands::FreeIds&, std::vector<eternal_lands::InstanceData, std::allocator<eternal_lands::InstanceData> >&, std::vector<eternal_lands::ObjectData, std::allocator<eternal_lands::ObjectData> >&) ()
#1  0x080feb0b in done_object_adding ()
#2  0x08265611 in do_load_map ()
#3  0x08265698 in load_map ()
#4  0x082105a1 in el_load_map ()
#5  0x08210675 in change_map ()
#6  0x081e50de in process_message_from_server ()
#7  0x08217869 in start_rendering ()
#8  0x08218101 in main ()
(gdb) 

Share this post


Link to post
Share on other sites

Also for kicks I'm compiling one myself.

Still waiting for it to finish.

 

[sb@precision330 ~]$ cd el_linuxtest
[sb@precision330 el_linuxtest]$ ./el_client
I/O warning : failed to load external entity "languages/en/strings/console.xml"
I/O warning : failed to load external entity "languages/en/strings/console.xml"
I/O warning : failed to load external entity "languages/en/strings/errors.xml"
I/O warning : failed to load external entity "languages/en/strings/errors.xml"
I/O warning : failed to load external entity "languages/en/strings/help.xml"
I/O warning : failed to load external entity "languages/en/strings/help.xml"
I/O warning : failed to load external entity "languages/en/strings/options.xml"
I/O warning : failed to load external entity "languages/en/strings/options.xml"
I/O warning : failed to load external entity "languages/en/strings/spells.xml"
I/O warning : failed to load external entity "languages/en/strings/spells.xml"
I/O warning : failed to load external entity "languages/en/strings/stats.xml"
I/O warning : failed to load external entity "languages/en/strings/stats.xml"
I/O warning : failed to load external entity "languages/en/strings/titles.xml"
I/O warning : failed to load external entity "languages/en/strings/titles.xml"
terminate called after throwing an instance of 'eternal_lands::FileNotFoundException'
 what():  std::exception
Aborted
[sb@precision330 el_linuxtest]$

 

main_xxx.log

[09:46:46, engine/logging.cpp:301] Log started at: Sat Aug 13 09:46:46 2011 EDT
[09:46:46, engine/logging.cpp:304] version: 1.9.2
[09:46:46, elconfig.c:1460] Error: Can't find var 'server_address = game.eternal-lands.com

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'server_port = 2001

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'use_vertex_array = 0

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'use_mipmaps = 0

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'text_filter_replace = smeg

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'compass_north = 1

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'near_plane= 0.1

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'transparency_resolution_fix= 0

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'dim_sounds_on_rain= 0

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'anisotropic_filter= 2

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'render_skeleton= 0

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'render_mesh= 1

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'use_display_actors= 1

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'use_actor_bbox_check= 1

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'use_render_mesh_shader= 1

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'use_set_transformation_buffers= 1

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'use_build_actor_bounding_box= 1

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'use_model_attach_and_detach_mesh= 1

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'use_render_attached_meshs= 1

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'use_ext_gpu_program_parameters= 0

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'skybox_update_every_frame= 0

', type 2
[09:46:46, elconfig.c:1460] Error: Can't find var 'seconds_between_shadows_updates= 10

', type 2
[09:46:48, io/elfilewrapper.c:294] Error: Can't load zip file /home/sb/.elc/unofficial_custom_clothes.zip
[09:46:48, sound.c:4789] Error: Warning: Points defined for default boundary. Points will be ignored.
[09:46:52]Last message repeated 14times
[09:46:52, sound.c:4035] Warning: ALC_ENUMERATION_EXT not found. Retrieving list of sound devices may fail.
[09:46:52, sound.c:4039] Error: Sound devices detected: ,µ_3µ_3¯_3©_3£_3_3—_3‘_3‹_3…_3_3]c3^g3Vg3–g3Žg3†g3~g3vg3ng3fg3Bf3c3	g3,g3÷f3îf3åf3Üf3Óf3Êf3Áf3¸f3%s: out of memory
,xmlSAX2Characters,xmlSAX2TextNode,xmlSAX2StartElementNs,xmlSAX2AttributeNs,xmlSAX2StartElement,xmlns:%s: %s not a valid URI
,Attribute %s in %s redefined
,xml:id,xmlSAX2StartDocument,Failure to process entity %s
,xmlSAX2ExternalSubset,xmlSAX2InternalSubset,xmlSAX2Characters overflow prevented
[09:46:52, sound.c:4044] Error: Soundcard device attempted: 
[09:46:52, sound.c:4061] Error: Soundcard device specified () failed. Using default device: 
[09:47:02, map.c:478] Error: Error: Can't open file "servermarks_aislinn.dat"

Share this post


Link to post
Share on other sites

No relevant info in error log, just some old stuff from before the client update. I will post bellow a screenie of the char in portals room, the old client worked perfectly ofc.

Edit:Little said there was some new kind of log for this new client. I found it, and its almost 1k lines, so i uploaded to Tinypaste. The contents of the log can be found here.

 

The location of the logs is not different than that of the previous client..

Share this post


Link to post
Share on other sites

Ok, thanks all for testing first. After careful checking your answers, I worked on the client and hopefully fixed the problems.

Just one comment. With cmake an "out-of-source" (CMake FAQ) build is recommended. That way, you can have different builds too btw.

For Linux, you do it like that:

git clone git://git.berlios.de/elc
cd elc
git checkout feature/opengl2
cd ..
mkdir release
cd release
cmake ../elc
make

if you want to build a debug build (too)

mkdir debug
cd debug
cmake -DCMAKE_BUILD_TYPE=Debug ../elc
make

Share this post


Link to post
Share on other sites

Did you only copy the new binary after compile or also the new shaders from the 'shaders' subfolder of the git sourcefolder?

When compiling the client yourself, always check, if there are new shaders, too!

Share this post


Link to post
Share on other sites

Latest client, still having trouble with the new dress. I can wear the skirt part, with the top on I turn all black.

Here is a picture of the dress in question: radu_dressed_up.png

Edited by Maxine
added image

Share this post


Link to post
Share on other sites

Did you only copy the new binary after compile or also the new shaders from the 'shaders' subfolder of the git sourcefolder?

When compiling the client yourself, always check, if there are new shaders, too!

I have the new shaders too. :(

It looks as though somebody turned off the lights.

Share this post


Link to post
Share on other sites

I recompiled the client and got the same problems of Aislinn. All pitch black. The log can be found here, and i posted my system's specs earlier in this thread.

PS.: my main char was in idaloran, and the map simply took forever to load, and i grued. My alt logged in normally in nordcarn, but all pitch black.

Share this post


Link to post
Share on other sites

Lorck, this binary is compiled on Frugalware 1.5, which uses glibc 2.13, so unlike my previous binaries may run for you, give it a try. ^^

 

http://www.paradoxcomputers.com.au/el-opengl2/el-opengl2.x86_64.linux.dynamic.optimised.korrode.2.bin

 

edit:

Lorck and Aislinn, are you both running 280.xx series nvidia driver?

Edited by Korrode

Share this post


Link to post
Share on other sites

edit:

Lorck and Aislinn, are you both running 280.xx series nvidia driver?

extra/libcl 1.0-1 [0.01 MB] [installed]

OpenCL library and ICD loader from NVIDIA

 

extra/libvdpau 0.4.1-1 [0.04 MB] [installed]

Nvidia VDPAU library

 

extra/nvidia 280.13-1 [3.99 MB] [installed]

NVIDIA drivers for linux.

 

extra/nvidia-utils 280.13-1 [8.06 MB] [installed]

NVIDIA drivers utilities and libraries.

 

extra/opencl-nvidia 280.13-1 [9.99 MB] [installed]

OpenCL implemention for NVIDIA

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×