You are not logged in.
Pages: 1
I am having trouble with wine and I am worried that it is symptomatic of some larger issue.
Whenever I try to run dwarf-fortress, from term or wine-explorer, I get an "Error creating OpenGL window" dialog. I have yet to try other apps. I just wondered if others had encountered something similar.
Offline
Why would a console game need OpenGL? Can you run anything else?
Offline
DF renders ncurses in an OpenGL window instead of inside a terminal-emulator.
Offline
With wine from the repos?
Offline
Yup, 1.1.2 IIRC.
Offline
My guess is that it may have something to do with my GL, but I'm not sure what it could be.
Some info I should have included:
I use Nvidia cards(2, SLI'd) and drivers.
I've tried reinstalling all of my GL software but I don't know what to look at. I'm sort of wondering how wine deals with the OpenGL libraries and if there is some way to get more info out of it than that paltry error.
I haven't been able to see anyone else having similar problems.
Offline
Anything on glxgears or glxinfo?
Offline
glxgears:
46979 frames in 5.0 seconds = 9393.702 FPS
47703 frames in 5.0 seconds = 9538.440 FPS
47671 frames in 5.0 seconds = 9534.149 FPS
47778 frames in 5.0 seconds = 9555.527 FPS
glxinfo gives me a whole lot of output. Should I be looking for some specific warning? I don't see anything troubling there.
Offline
Try out some linux native games that need openGL.
Offline
Neverball and Oolite work fine.
Curious.
Offline
Not related to the problem, but I think I once saw the message when I compiled a version of wine with --disable-opengl.
Well, google mentions something about disabling GLX/AIGLX in xorg.conf, try to add this to serverflags:
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
Offline
This doesn't seem to have any effect. Maybe it is the compiled with --disable-opengl issue, but I would think the repo'd version would work fine with it.
My linux openGL programs work fine but my wine ones are failing. DF gives me the above message and I just tried another game and got this:
err:d3d:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:wine_d3d:WineDirect3DCreate Direct3D9 is not available without opengl
err:ole:CoUninitialize Mismatched CoUninitialize
I'm actively looking at this, but if this sends up a warning beacon, speak up.
Offline
I just went to play DF again for the first time in a long while, and I get the same problem. Did you ever find a solution? I did notice a relevant upgrade or two in my logs about the time you started having trouble. Could either of these upgrades be causing our troubles?
[2008-12-02 15:32] upgraded nvidia-utils (177.80-1 -> 177.82-1)
[2008-12-14 10:11] upgraded lib32-libgl (7.0.3-2 -> 7.2-1)
Offline
I'll try downgrading those. I think the lib32-libgl may well be the culprit. It seems plausible at least.
Offline
Theres a package for DF (dev version) for linux here: http://aur.archlinux.org/packages.php?ID=22795
No need for wine anymore
Just make sure to backup your data/save files and copy them to /usr/bin/df_linux/data/save if you want to keep your same game...
Last edited by djnm (2009-01-05 17:09:02)
br0tat0chip in #archlinux and on freenode
Offline
!
Hotness.
Offline
Hmm. One last issue along this vain. I tried out the aur package and am having trouble. I run Arch64, so I am well aware of the dreaded ELFCLASS64 error. I got this because I did not have lib32-(sdl or sdl_image) installed but once it got running I got all sorts of ELF errors thrown by pango as well some others below:
I get the following repeated a number of times.
(dwarfort.exe:14665): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
Then a dialog box with open boxes for text, which is probably what this error is all about.
I assumed that this was the fullscreen? yes or no? dialog. I pressed the "NO" button, marked with red circle, and got the following error.
(dwarfort.exe:14673): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `<invalid>'
(dwarfort.exe:14673): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwarfort.exe:14673): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `<invalid>'
(dwarfort.exe:14673): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
I'm not quite sure what to make of this.
I made sure that I have lib32-pango and pango for 64 installed, so I have no idea why this would cause problems. And I just don't know what to make of glib errors. I installed lib32-glib just in case, but got the same error.
Any thoughts?
Last edited by syntaxvorlon (2009-01-06 02:56:52)
Offline
Pages: 1