Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185789 - games-simulation/dangerdeep-0.3.0 binary linking fails with ati-drivers
Summary: games-simulation/dangerdeep-0.3.0 binary linking fails with ati-drivers
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-18 18:12 UTC by Steffen 'j0inty' Stollfuß
Modified: 2007-08-03 15:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dangerdeep-0.3.0 elog file (games-simulation:dangerdeep-0.3.0:20070718-174733.log,30.48 KB, text/plain)
2007-07-18 18:14 UTC, Steffen 'j0inty' Stollfuß
Details
emerge --info (emerge.info,3.55 KB, text/plain)
2007-07-21 21:41 UTC, Steffen 'j0inty' Stollfuß
Details
dangerdeep debug log (dangerdeep.debug.log,5.85 KB, text/plain)
2007-07-22 09:03 UTC, Steffen 'j0inty' Stollfuß
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen 'j0inty' Stollfuß 2007-07-18 18:12:15 UTC
Hy,

I tried to install dangerdeep 0.3.0 but it failed to linking the binary.
Have a look at the elog file that i will attach.

regards
Jointy

Reproducible: Always

Steps to Reproduce:
1. emerge -av dangerdeep
2.
3.

Actual Results:  
!!! ERROR: games-simulation/dangerdeep-0.3.0 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  dangerdeep-0.3.0.ebuild, line 49:   Called die

!!! scons failed

Expected Results:  
emerge complete ;)
Comment 1 Steffen 'j0inty' Stollfuß 2007-07-18 18:14:49 UTC
Created attachment 125279 [details]
dangerdeep-0.3.0 elog file
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2007-07-21 19:41:22 UTC
Please post the output of 'emerge --info' and 'eselect opengl show' too.
Comment 3 Steffen 'j0inty' Stollfuß 2007-07-21 21:39:44 UTC
(In reply to comment #2)
> Please post the output of 'emerge --info' and 'eselect opengl show' too.
> 

Hi,

through some posts in the forum of gentoo I founded out that I have to switch to xorg-x11 opengl libary.

eselect opengl set xorg-x11
emerge -av dangerdeep
eselect opengl set ati

So now the emerge didn't failed.

BUT....If I start the game and select a mission and click on "play" then the game exit (doesn't set my desktop resolution back). For a friend of me (use amd64) the X server restarted.

My emerge --info and soon will attach....

regard
j0inty
Comment 4 Steffen 'j0inty' Stollfuß 2007-07-21 21:41:39 UTC
Created attachment 125599 [details]
emerge --info
Comment 5 Steffen 'j0inty' Stollfuß 2007-07-22 09:03:53 UTC
Created attachment 125622 [details]
dangerdeep debug log

First I ran it with ati opengl support and then I switched to xorg-x11 support.

Hope this help to analyse the problem.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2007-07-23 21:27:10 UTC
dangerdeep makes the incorrect assumption that the OpenGL functions for creating shaders will be present, which in the binary ATI drivers that you are using it is not. As such the symbol lookup fails and the application does not handle that situation gracefully and fails.

This is 100% a coding deficency in the application since by the OpenGL spec and standards, you are suppose to query for your features first and if they're not available, not use them. Blindly assuming causes situations like this.

Switching to the xorg-x11 interface is only useful for linking against a driver and compiling with headers. However, when it comes to running your application, you can not use the xorg-x11 OpenGL driver while you have the ATI binary driver loaded. If you switched to the open source ATI driver and used the xorg-x11 OpenGL interface then you should find that this game will work for you.

Re-assigning back to the games herd since the bug is squarely with dangerdeep. An argument can be made that in this day and age the ATI driver should provide that feature, but it is not required to.
Comment 7 Tristan Heaven (RETIRED) gentoo-dev 2007-08-03 15:16:32 UTC
There is a post here with more information.
http://www.dangerdeep.net/forums/viewtopic.php?t=242

I don't think any of us have an ATI card, so we're not going to be able to fix this.