Opened 11 years ago

Closed 11 years ago

#1829 closed defect (fixed)

Building/Units not shown Linux x86_64 Gentoo

Reported by: gaso Owned by:
Priority: Must Have Milestone:
Component: Core engine Keywords: units building missing
Cc: Patch:

Description

I built 0ad from source in Gentoo, emerged 0ad from hasufell repository. I've seen in 0ad's first screen, that I have build version 12955 .

My sistem is: Gentoo x86_64: gcc (Gentoo 4.6.3 p1.11, pie-0.5.2) 4.6.3 Nvidia x86_64 310.32 linux drivers

I am unable to see buildings and units on map, I see only terraing.

Attachments (3)

logs.zip (16.9 KB ) - added by gaso 11 years ago.
screenshot0004.jpg (123.4 KB ) - added by gaso 11 years ago.
0ad-12995_alpha12.ebuild (2.8 KB ) - added by gaso 11 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 by Erik Johansson, 11 years ago

We'll most likely need more information than that to be able to try and solve the issue you are having. Could you please find the log files (see http://trac.wildfiregames.com/wiki/GameDataPaths for how to find them for your OS) and attach any you find to this ticket.

In this case it would probably be useful if you could provide a screenshot as well.

by gaso, 11 years ago

Attachment: logs.zip added

by gaso, 11 years ago

Attachment: screenshot0004.jpg added

comment:2 by gaso, 11 years ago

I have attached whole log tree and one screenshot.

comment:3 by leper, 11 years ago

ERROR: CRenderer::EndFrame: GL errors occurred
ERROR: DllLoader: dlopen(/usr/games/lib64/0ad/libAtlasUI.so) failed: /usr/games/lib64/0ad/libAtlasUI.so: cannot open shared object file: No such file or directory; dlopen(/usr/games/lib64/0ad/libAtlasUI_dbg.so) failed: /usr/games/lib64/0ad/libAtlasUI_dbg.so: cannot open shared object file: No such file or directory; 
[...]
ERROR: Failed to compile vertex program 'shaders/arb/particle.vp' (line 1): 

I don't see anything about the Collada lib missing so I'm going to ask, but did you restart your X server after the last nvidia update? (That causes something like this for me)

If that doesn't fix it, could you compile a debug build and post the log from running that? That should give us some more information, as we only output more information for OpenGL errors in debug builds.

by gaso, 11 years ago

Attachment: 0ad-12995_alpha12.ebuild added

comment:4 by gaso, 11 years ago

I have installed fresh gentoo system few days ago and the last thing I installed was the 0ad game. I have restarted number of times the whole system after NVidia drivers. I tried with nvidia-drivers from gentoo official repository NVidia drivers 304.64 , but it didn't work eighter.

I have build 0ad with those flags:

games-strategy/0ad-12995_alpha12::hasufell USE="audio fam -editor -pch {-test}" 0 kB

I attached my ebuild if it helps.

I will test 0ad on debug build and post logs form 0ad .

Last edited 11 years ago by gaso (previous) (diff)

comment:5 by leper, 11 years ago

You are using editor, but it doesn't finde libAtlasUI.so? Seems like something did go wrong with the build (or the copying).

comment:6 by gaso, 11 years ago

I suppose libAtlasUI.so is part of 0ad or is it part of the linux system.

Can you tell me which Collada library should be installed as dependency, maybe this ebuild that is in hasufell repository is out of date and it didn't install all depencendies needed. Is this actually opencollada package, because I don't have installed it on my system?

Last edited 11 years ago by gaso (previous) (diff)

comment:7 by leper, 11 years ago

Both libAtlasUI and libCollada are included (Collada being fcollada which has no upstream anymore), but libAtlasUI is only copied when using editor (use editor && doexe ...) so I think something goes wrong somewhere.

I'm pretty sure that hasufell's repository is up to date. If you want you can join #0ad-dev on Quakenet to get some faster responses.

I would still look into getting the output of a debug build.

in reply to:  7 comment:8 by gaso, 11 years ago

I have figured out what is my problem. After starting 0ad in console, I was able to se some Nvidia errors with permission denied. Then I checked my permissions. The problem was the USER was not in VIDEO group, It was my mistake when installing system and I forgot to add user to VIDEO group, I don't know how could I missed that.

You may mark this thread as solved. Thank you for your time.

comment:9 by leper, 11 years ago

Milestone: Backlog
Resolution: fixed
Status: newclosed

Ah, great that you could figure it out!

Note: See TracTickets for help on using tickets.