Coder Social home page Coder Social logo

Comments (15)

Lekensteyn avatar Lekensteyn commented on June 28, 2024

I don't know how to depend on a different arch, when I set virtualgl-libs:i386 [amd64], I get a build error. Do you have a clue?

from bumblebee.

jethrogb avatar jethrogb commented on June 28, 2024

No idea. I have found these two pages: http://wiki.debian.org/Multiarch https://wiki.ubuntu.com/MultiarchSpec

from bumblebee.

onny avatar onny commented on June 28, 2024

@jeihrogb: Thanks for mentioning. I installed lib32-virtualgl in ArchLinux and it seems that OpenGL games in Wine have a better result now but for example Warcraft 3 still crashes which seems to be a VirtualGL related issue (how can i create a logfile for VirtualGL?):

[1] onny@eee> optirun wine Frozen\ Throne.exe -opengl
err:menubuilder:init_xdg error looking up the desktop directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory
err:ole:CoCreateInstance apartment not initialised
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
fixme:advapi:SetSecurityInfo stub
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
Direct3D8 is not available without OpenGL.
fixme:win:EnumDisplayDevicesW ((null),0,0x33f5a8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f5d8,0x00000000), stub!
err:xvidmode:ComputeGammaFromRamp inverted or flat gamma ramp (0->0), rejected

from bumblebee.

jethrogb avatar jethrogb commented on June 28, 2024

[extremely off-topic]
onny: For Warcraft III, it is better to run war3.exe directly instead of using the wrapper executables provided by Blizzard. I'm using these command lines to start the game:

TFT: optirun wine "/media/data/Games/Warcraft III/war3.exe" -opengl
ROC: optirun wine "/media/data/Games/Warcraft III/war3.exe" -opengl -classic

For best results (in-game videos, alt-tabbing, etc.) you might also want to play around with the settings in the 'Graphics' tab of the wine configuration.
[/extremely off-topic]

from bumblebee.

onny avatar onny commented on June 28, 2024

Well, somehow VirtualGL has some issues on X64-Systems when running a 32bit application: http://osdir.com/ml/hybrid-graphics-linux/2011-06/msg00023.html (nearly same error)

from bumblebee.

Lekensteyn avatar Lekensteyn commented on June 28, 2024

@onny Please create a new issue for your WoW issue. This does not seem to be a 32-bit vs 64-bit issue.

from bumblebee.

onny avatar onny commented on June 28, 2024

thanks for your support Lekensieyn. Well, it got a bit wired, running: sudo optirun Frozen\ Throne.exe -opengl launched the game without any problems (after a .wine-directory was created for root). I tried it a second time but then it failed, even after removing /root/.wine again. Are there any more temporary or cache folders which I can remove to reproduce this situation? I guess on a 32bit system it wouldn't be so complicated.

from bumblebee.

Lekensteyn avatar Lekensteyn commented on June 28, 2024

Are you crazy? Running wine as root is a BAD idea. Use the command find ~ -user "$USER" -ls to find out what folders in your home directory have the wrong permissions.

from bumblebee.

Lekensteyn avatar Lekensteyn commented on June 28, 2024

Ok, I found out how to make this dependency:

  • bumblebee:amd64 recommends on virtualgl-libs-ia32
  • virtualgl-libs-ia32:i386 is a dummy packages declared Multi-Arch: foreign and depends on virtualgl-libs

What about an alternative that does not involve rebuilding virtualgl:

  • bumblebee:amd64 recommends bumblebee-ia32
  • bumblebee-ia32:i386 is a dummy packages declared Multi-Arch: foreign and depends on virtualgl-libs

Thoughts on the second idea?

from bumblebee.

ArchangeGabriel avatar ArchangeGabriel commented on June 28, 2024

Looks fine.

from bumblebee.

jethrogb avatar jethrogb commented on June 28, 2024

It depends on who's packaging virtualgl. If you go with the first approach, other software could also make use of this package.

from bumblebee.

Lekensteyn avatar Lekensteyn commented on June 28, 2024

I am the VGL packager for the Ubuntu PPA. The point is, virtualgl-libs or virtualgl does not depend on the 32-bit libs itself. Bumblebee on the other hand can profit from the 32-bit virtualgl-libs package.

from bumblebee.

Lekensteyn avatar Lekensteyn commented on June 28, 2024

Fixed in bumblebee/testing on Precise. It'll be copied to stable soon.

from bumblebee.

ArchangeGabriel avatar ArchangeGabriel commented on June 28, 2024

Currently being fixed by Lekensteyn for Oneiric and Precise, will probably be pushed today.

from bumblebee.

ArchangeGabriel avatar ArchangeGabriel commented on June 28, 2024

Fixed, published on testing, will arrive on stable soon. Closing.

from bumblebee.

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.