You are not logged in.

#1 2008-12-15 04:21:03

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Dwarf Fortress Wine Problem

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

#2 2008-12-15 12:04:58

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: Dwarf Fortress Wine Problem

Why would a console game need OpenGL? Can you run anything else?

Offline

#3 2008-12-15 19:21:18

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Dwarf Fortress Wine Problem

DF renders ncurses in an OpenGL window instead of inside a terminal-emulator.

Offline

#4 2008-12-15 19:36:52

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Dwarf Fortress Wine Problem

With wine from the repos?

Offline

#5 2008-12-15 21:05:48

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Dwarf Fortress Wine Problem

Yup, 1.1.2 IIRC.

Offline

#6 2008-12-15 21:08:54

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Dwarf Fortress Wine Problem

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

#7 2008-12-15 21:28:16

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Dwarf Fortress Wine Problem

Anything on glxgears or glxinfo?

Offline

#8 2008-12-16 04:32:37

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Dwarf Fortress Wine Problem

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

#9 2008-12-16 14:17:07

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Dwarf Fortress Wine Problem

Try out some linux native games that need openGL.

Offline

#10 2008-12-16 23:34:23

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Dwarf Fortress Wine Problem

Neverball and Oolite work fine.

Curious.

Offline

#11 2008-12-17 00:00:17

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Dwarf Fortress Wine Problem

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

#12 2008-12-17 00:43:21

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Dwarf Fortress Wine Problem

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

#13 2008-12-24 13:56:33

AlecTavi
Member
Registered: 2007-10-22
Posts: 3

Re: Dwarf Fortress Wine Problem

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

#14 2009-01-04 00:37:44

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Dwarf Fortress Wine Problem

I'll try downgrading those. I think the lib32-libgl may well be the culprit. It seems plausible at least.

Offline

#15 2009-01-04 00:41:42

djnm
Member
From: USA
Registered: 2008-12-21
Posts: 78

Re: Dwarf Fortress Wine Problem

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

#16 2009-01-05 16:52:28

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Dwarf Fortress Wine Problem

!

Hotness.

Offline

#17 2009-01-06 02:56:04

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Dwarf Fortress Wine Problem

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

Board footer

Powered by FluxBB