GithubHelp home page GithubHelp logo

Packages for Ubuntu 12.10 about primus HOT 19 CLOSED

LiamDawe avatar LiamDawe commented on September 28, 2024
Packages for Ubuntu 12.10

from primus.

Comments (19)

Azd325 avatar Azd325 commented on September 28, 2024

You can install it manual in your ubuntu!
FYI: http://wiki.ubuntuusers.de/Hybrid-Grafikkarten/primus (German)

from primus.

Lekensteyn avatar Lekensteyn commented on September 28, 2024

We'll soon add primus packages to bumblebee/testing (and later bumblebee/stable).

Compiling is not confusing, really. What is the difficult part of:

git clone git://github.com/amonakov/primus.git
cd primus
make
./primusrun foo

from primus.

LiamDawe avatar LiamDawe commented on September 28, 2024

The fact that those instructions are not on the readme...

from primus.

amonakov avatar amonakov commented on September 28, 2024

@Lekensteyn Well you know that make part is not that simple. The readme has full instructions for that part, though.

from primus.

LiamDawe avatar LiamDawe commented on September 28, 2024

Yes but i don't understand that as a plain user and not anykind of desktop developer or actual git user it isn't simple - especially the ubuntu bit thats not simple at all, thats my point where as a PPA package is :).

I appreciate the work, but i don't appreciate people thinking what's simple to them is simple to everyone - bear that in mind.

from primus.

LiamDawe avatar LiamDawe commented on September 28, 2024

I anyway and got this error;

liam@liam-laptop:~/primus$ LIBDIR=i386-linux-gnu CXX=g++\ -m32 make
mkdir -p i386-linux-gnu
g++ -m32 -Wall -g -DBUMBLEBEE_SOCKET='"/var/run/bumblebee.socket"' -DPRIMUS_SYNC='"0"' -DPRIMUS_VERBOSE='"1"' -DPRIMUS_DISPLAY='":8"' -DPRIMUS_LOAD_GLOBAL='"libglapi.so.0"' -DPRIMUS_libGLa='"/usr/lib32/nvidia-current/libGL.so.1"' -DPRIMUS_libGLd='"/usr/lib/$LIB/mesa/libGL.so.1"' -fvisibility=hidden -fPIC -shared -Wl,-Bsymbolic -o i386-linux-gnu/libGL.so.1 libglfork.cpp -lX11 -lpthread -lrt
In file included from /usr/include/dlfcn.h:23:0,
from libglfork.cpp:1:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
make: *** [i386-linux-gnu/libGL.so.1] Error 1

from primus.

Azd325 avatar Azd325 commented on September 28, 2024

Are you needing multilib support ?
Try this ... only one single make

git clone git://github.com/amonakov/primus.git
cd primus
make
./primusrun foo

from primus.

LiamDawe avatar LiamDawe commented on September 28, 2024

Im not sure if i do or not, if i don't have it won't that stop it being able to run 32bit games?

from primus.

zhurikhin avatar zhurikhin commented on September 28, 2024

I copied the packages from Precise to Quantal in my PPA - check if everything is OK with them. I'll do the same for newer version when they are ready.

from primus.

merlinblack avatar merlinblack commented on September 28, 2024

You need the g++ multilib support. This confused me for a while as lots of google results on that error simply said install 'gcc-multilib', which I already had installed. However you also need 'g++-multilib' for the C++ side of things. So in short try this:

sudo apt-get install g++-multilib

If you don't already have gcc-multilib, I'm guessing the auto dependancy rules will install that too for you.

from primus.

LiamDawe avatar LiamDawe commented on September 28, 2024

After installing what was suggestion above i still get this:

liam@liam-laptop:~/primus$ LIBDIR=i386-linux-gnu CXX=g++\ -m32 make
mkdir -p i386-linux-gnu
g++ -m32 -Wall -g -DBUMBLEBEE_SOCKET='"/var/run/bumblebee.socket"' -DPRIMUS_SYNC='"0"' -DPRIMUS_VERBOSE='"1"' -DPRIMUS_DISPLAY='":8"' -DPRIMUS_LOAD_GLOBAL='"libglapi.so.0"' -DPRIMUS_libGLa='"/usr/lib32/nvidia-current/libGL.so.1"' -DPRIMUS_libGLd='"/usr/lib/$LIB/mesa/libGL.so.1"' -fvisibility=hidden -fPIC -shared -Wl,-Bsymbolic -o i386-linux-gnu/libGL.so.1 libglfork.cpp -lX11 -lpthread -lrt
libglfork.cpp:833:2: warning: #warning Enabled workarounds for applications demanding more than promised by the OpenGL ABI [-Wcpp]
/usr/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status
make: *** [i386-linux-gnu/libGL.so.1] Error 1

I will try the PPA and report back.

from primus.

LiamDawe avatar LiamDawe commented on September 28, 2024

Testing using the ppa and get this error when trying to use it:

libglfork.cpp:73: CapturedFns::CapturedFns(const char*): Assertion `lib && lib[0] == '/'' failed.

from primus.

amonakov avatar amonakov commented on September 28, 2024

This will happen if you invoke primusrun in the shell where you were trying to build primus from source. Simply use a different shell instead.

from primus.

LiamDawe avatar LiamDawe commented on September 28, 2024

Ah ha good one :)

Well i tested using Minecraft and just wow, optirun doesn't work right with it where as primusrun does gives me at least 15 more FPS.

Looks like the PPA works great, will continue testing and feedback here.

from primus.

LiamDawe avatar LiamDawe commented on September 28, 2024

Urban Terror - average of 12 more FPS with primusrun, just wow guys this is really much better than the current optirun!

from primus.

zhurikhin avatar zhurikhin commented on September 28, 2024

I just scheduled copying a new package version from Precise - try updating the packages to get some improvements.

from primus.

LiamDawe avatar LiamDawe commented on September 28, 2024

No update yet may take a while to filter through I guess.

from primus.

zhurikhin avatar zhurikhin commented on September 28, 2024

Should be up now.

from primus.

LiamDawe avatar LiamDawe commented on September 28, 2024

Well it seems to work far better than optirun, hope it does become the default.

from primus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.