FedoraForum.org - Fedora Support Forums and Community
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 31
  1. #1
    Join Date
    Feb 2008
    Location
    Italy
    Posts
    64

    Wine, libGL error

    I need help, I installed wine through "yum install wine" and it went alright. I have a new "wine" menu but NO ONE of the programs there work when I click on them. So I tried to start one of them from the terminal, here's what I have:

    [jacopo@localhost ~]$ winefile
    libGL error: drmMap of framebuffer failed (Cannot allocate memory)
    libGL error: reverting to (slow) indirect rendering
    X Error of failed request: GLXBadContext
    Major opcode of failed request: 143 (GLX)
    Minor opcode of failed request: 5 (X_GLXMakeCurrent)
    Serial number of failed request: 23
    Current serial number in output stream: 23
    And, if it's useful:

    [jacopo@localhost ~]$ glxinfo | grep direct
    direct rendering: Yes

  2. #2
    Join Date
    Apr 2005
    Location
    Littleton, CO
    Age
    33
    Posts
    2,857
    I have a couple guesses here. The first is that you have a device permission issue and are using livna's kmod-nvidia. For this, try updating the driver then rebooting the system.

    The second is that your video card driver is missing some opengl extensions. Installing mesa-libGL might help.
    Code:
    su
    yum install mesa-libGL
    The mesa-libGL package contains some libraries that may let you perform the function with indirect rendering.
    S.C.O.U.R.G.E. Heroes of lesser renown, contributor.

  3. #3
    Join Date
    Mar 2007
    Posts
    1,046
    Does this command work or does it produce errors:
    glxgears

  4. #4
    Join Date
    Feb 2008
    Location
    Italy
    Posts
    64
    Thanks for the responses, I followed both of your suggestions, with no result:

    Code:
    Package mesa-libGL - 7.0.2-2.fc8.i386 is already installed.
    "glxgears" seems to work too. It shows me three spinning gear wheels and also outputs:

    Code:
    13439 frames in 5.0 seconds = 2687.621 FPS
    13876 frames in 5.0 seconds = 2775.193 FPS
    14153 frames in 5.0 seconds = 2829.615 FPS
    14131 frames in 5.0 seconds = 2826.126 FPS
    13828 frames in 5.0 seconds = 2765.544 FPS
    14180 frames in 5.0 seconds = 2835.889 FPS
    14009 frames in 5.0 seconds = 2801.623 FPS
    and it keeps going.

    I don't have an Nvidia, I have an Ati and I installed livna's fglrx module following the how-to of this forum. I see the "kmod-fglrx" packages are installed.
    "yum update" says everything is already updated.
    Last edited by De Baimbo; 11th February 2008 at 01:57 AM.

  5. #5
    Join Date
    Mar 2007
    Posts
    1,046
    I am not an expert on wine, but I did some searches on google and found a post where the user downgraded the graphics driver and then wine worked. similar error message

  6. #6
    Join Date
    Apr 2005
    Location
    Littleton, CO
    Age
    33
    Posts
    2,857
    I don't think this is really a wine problem. More of an opengl problem.
    S.C.O.U.R.G.E. Heroes of lesser renown, contributor.

  7. #7
    Join Date
    Feb 2008
    Location
    Italy
    Posts
    64
    I've been away for a while, sorry.
    So, if this is an openGL problem, do you have any suggestions to solve it?
    For the moment, I tried to remove wine and then reinstall it, with no result.
    Next step will be to compile it from the source of the official Wine website, but I doubt it will work if it's something related to openGL.

    I cannot downgrade those graphic drivers (the Ati original ones) because I'm not using them, they are strongly unrecommended in the fedora site, I'm using the livna ati drivers.
    Last edited by De Baimbo; 14th February 2008 at 12:32 AM.

  8. #8
    Join Date
    Feb 2008
    Location
    Italy
    Posts
    64

    Red face

    You were right! Which doesn't mean I'm able to fix this... sigh.
    I was configuring the source files before compiling them and this is what I got at the end of the configure:


    Code:
    configure: libxcursor development files not found, the Xcursor extension won't be supported.
    configure: libxi development files not found, the Xinput extension won't be supported.
    configure: XShm development files not found, X Shared Memory won't be supported.
    configure: XShape development files not found, XShape won't be supported.
    configure: libxxf86vm development files not found, XFree86 Vidmode won't be supported.
    configure: libxrender development files not found, XRender won't be supported.
    configure: libxrandr development files not found, XRandr won't be supported.
    configure: libxinerama development files not found, multi-monitor setups won't be supported.
    configure: libxcomposite development files not found, Xcomposite won't be supported.
    configure: libxml2 development files not found, XML won't be supported.
    configure: libxslt development files not found, xslt won't be supported.
    configure: libhal development files not found, no dynamic device support.
    configure: lib(n)curses development files not found, curses won't be supported.
    configure: libsane development files not found, scanners won't be supported.
    configure: libgphoto2 development files not found, digital cameras won't be supported.
    configure: liblcms development files not found, Color Management won't be supported.
    configure: libldap (OpenLDAP) development files not found, LDAP won't be supported.
    configure: libcapi20 development files not found, ISDN won't be supported.
    configure: libcups development files not found, CUPS won't be supported.
    configure: OpenSSL development files not found, SSL won't be supported.
    
    configure: WARNING: No OpenGL library found on this system.
    OpenGL and Direct3D won't be supported.
    
    configure: WARNING: FontForge is missing.
    Fonts will not be built. Dialog text may be invisible or unaligned.
    
    configure: Finished.  Do 'make depend && make' to compile Wine.

    openGL is not installed. I tried to "yum search" for it but it's not that easy.

    Any help would be really appreciated.

  9. #9
    Join Date
    Feb 2008
    Location
    Italy
    Posts
    64
    I keep updating this post so that for you guys it will be easier to help me if you have time.

    I have bad news I think:

    Code:
    [root@localhost ~]# ldconfig -v | grep -i gl
    /usr/lib/fglrx:
            libfglrx_dm.so.1.0 -> libfglrx_dm.so.1.0
            libfglrx_gamma.so.1 -> libfglrx_gamma.so.1.0
            libfglrx_pp.so.1.0 -> libfglrx_pp.so.1.0
            libGL.so.1 -> libGL.so.1.2
            libfglrx_tvout.so.1 -> libfglrx_tvout.so.1.0
            libglib-2.0.so.0 -> libglib-2.0.so.0.1400.4
            libglibsharpglue-2.so -> libglibsharpglue-2.so
            libnm_glib_vpn.so.0 -> libnm_glib_vpn.so.0.0.0
            libpoppler-glib.so.2 -> libpoppler-glib.so.2.0.0
            libwx_gtk2u_ogl-2.6.so.0 -> libwx_gtk2u_ogl-2.6.so.0.4.0
            libpangosharpglue-2.so -> libpangosharpglue-2.so
            libglibmm-2.4.so.1 -> libglibmm-2.4.so.1.0.24
            libgdkglext-x11-1.0.so.0 -> libgdkglext-x11-1.0.so.0.0.0
            libgssglue.so.1 -> libgssglue.so.1.0.0
            libjinglexmllite-0.3.so.0 -> libjinglexmllite-0.3.so.0.0.0
            libwx_gtk2u_ogl-2.8.so.0 -> libwx_gtk2u_ogl-2.8.so.0.1.1
            libgdksharpglue-2.so -> libgdksharpglue-2.so
            libjinglebase-0.3.so.0 -> libjinglebase-0.3.so.0.0.0
            libx11globalcomm.so.1 -> libx11globalcomm.so.1.0.0
            libjinglesessiontunnel-0.3.so.0 -> libjinglesessiontunnel-0.3.so.0.0.0
            libglade-2.0.so.0 -> libglade-2.0.so.0.0.7
            libgladesharpglue-2.so -> libgladesharpglue-2.so
            libwx_gtk2u_gl-2.6.so.0 -> libwx_gtk2u_gl-2.6.so.0.4.0
            libGLU.so.1 -> libGLU.so.1.3.070002
            libGL.so.1 -> libGL.so.1.2
            libvgagl.so.1 -> libvgagl.so.1.9.25
            libgtksharpglue-2.so -> libgtksharpglue-2.so
            libglibmm_generate_extra_defs-2.4.so.1 -> libglibmm_generate_extra_defs-2.4.so.1.0.24
            libglademm-2.4.so.1 -> libglademm-2.4.so.1.0.5
            libbeagle.so.0 -> libbeagle.so.0.0.0
            libglut.so.3 -> libglut.so.3.8.0
            libjinglep2pclient-0.3.so.0 -> libjinglep2pclient-0.3.so.0.0.0
            libvtesharpglue-2.so -> libvtesharpglue-2.so
            libjinglep2pbase-0.3.so.0 -> libjinglep2pbase-0.3.so.0.0.0
            libgtkglext-x11-1.0.so.0 -> libgtkglext-x11-1.0.so.0.0.0
            libxcb-glx.so.0 -> libxcb-glx.so.0.0.0
            libavahi-glib.so.1 -> libavahi-glib.so.1.0.1
            libjinglexmpp-0.3.so.0 -> libjinglexmpp-0.3.so.0.0.0
            libpulse-mainloop-glib.so.0 -> libpulse-mainloop-glib.so.0.0.3
            libdbus-glib-1.so.2 -> libdbus-glib-1.so.2.1.0
            libnm_glib.so.0 -> libnm_glib.so.0.0.0
            libgnomesharpglue-2.so -> libgnomesharpglue-2.so
    that means openGL is installed in my system right?

  10. #10
    Join Date
    Apr 2005
    Location
    Littleton, CO
    Age
    33
    Posts
    2,857
    Using the drivers from the ati site is a bad idea anyway. Give this a try.
    Code:
    yum install xorg-x11-drv-fglrx-devel xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs
    I don't use ati cards, which means I'm not going to be able to help a whole lot.
    S.C.O.U.R.G.E. Heroes of lesser renown, contributor.

  11. #11
    Join Date
    Feb 2008
    Location
    Italy
    Posts
    64
    it also says:

    checking for -lGL... no


    It can't see the library. so if openGL is actually installed, is there a way to make the "./configure" see it?

  12. #12
    Join Date
    Mar 2007
    Posts
    1,046
    I do not agree that there is a libGL problem because glxgears works.
    It looks like you were trying to compile wine.

    To compile, you usually need several development packages installed.

    I don't know which ones exactly, but I speculate
    Code:
    yum groupinstall "Development Libraries"
    yum groupinstall "X Software Development"
    yum install libuninameslist
    yum install fontforge
    
    and probably others too
    I built wine-0.9.49.tar.bz2 which I got from sourceforge via Winehq
    Installing wine from source did not put any wine on the menus.

    Logged in as a regular user
    Code:
    tar -xjf wine-0.9.49.tar.bz2
    cd wine-0.9.49
    tools/wineinstall
    The wineinstall suggests you take a break for
    a lunch, or two since it takes at least that long to compile.
    No need to rush out for fast food -- watching it does not make it go any faster.
    This installs the wine software package and libraries unde /usr/local
    I think you can give it --prefix=/usr to install under /usr instead.
    But it doesn't that much matter to me.
    I know I can remove it with "make uninstall".

    Afterwards, logged in as a regular user
    Code:
    winecfg
    I am currently on Centos5 which is like Fedora Core 6.
    My GPU is Nvidia Geforce2 MX/MX 400 (old, old, old).
    I am using legacy driver package from Nvidia.
    I am well aware that doing so reportedly forever trashes the libGL for the livna drivers.
    My system and I are able to handle this, but many are not able to handle it.
    Many people find the proprietary drivers to be good for nothing but a lot of hassles.

    Keep in mind that for me, "yum install wine" worked also.

  13. #13
    Join Date
    Feb 2008
    Location
    Italy
    Posts
    64
    Imo! your suggestions almost worked and made me hopeful. Now I get no errors or warnings from the "./configure", and it also seems to compile fine. But then, when I try to do "winecfg" this cursed computer says:

    Code:
    [jacopo@localhost ~]$ winecfg
    libGL error: drmMap of framebuffer failed (Cannot allocate memory)
    libGL error: reverting to (slow) indirect rendering
    X Error of failed request:  GLXBadContext
      Major opcode of failed request:  143 (GLX)
      Minor opcode of failed request:  5 (X_GLXMakeCurrent)
      Serial number of failed request:  23
      Current serial number in output stream:  23
    the same old error message!
    and if I install it from the repos it's the same, d'oh!

    I think I have read a thousand pages on the internet in the last few days, I'm learning a lot and that's good, but I didn't think it would take me so long to make this wine thing work. And still I'm not there. But I won't surrender.
    Now, should I try to drop the livna drivers and try the Ati original fresh new ones? [they were released three days ago].
    Last edited by De Baimbo; 16th February 2008 at 10:19 AM.

  14. #14
    Join Date
    Mar 2007
    Posts
    1,046
    When I search for those messages, I usually see that it is an ATI.

    There isn't an update for the ati driver, is there?
    Since vmsplice exploit, there have been kernel updates.

    I know nothing about ATI because I never used it but there is Firewing1 and leigh123@linux
    Last edited by lmo; 16th February 2008 at 04:44 AM.

  15. #15
    Join Date
    Feb 2008
    Location
    Italy
    Posts
    64
    Installed the Ati drivers. They work exactly like the livna ones, no problem at all, but when I try to start wine:

    Code:
    libGL error: drmMap of framebuffer failed (Cannot allocate memory)
    libGL error: reverting to (slow) indirect rendering
    this is a curse I think

    Everything is fine with my Ati (3D, compizfusion, videoplayers, rendering, everything works).
    And also, I am sure there are many users who have fedora+ati+wine working.
    I need something to bang my head on.

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. build error, libGL.so on FC8 x86_64
    By CopyrightPhilly in forum Using Fedora
    Replies: 2
    Last Post: 4th April 2008, 12:25 PM
  2. libGL error: drmMap of framebuffer failed
    By Kingtu in forum Hardware & Laptops
    Replies: 0
    Last Post: 21st January 2007, 03:52 AM
  3. wine error in yum
    By b3nny in forum Using Fedora
    Replies: 7
    Last Post: 12th January 2007, 04:30 PM
  4. FC5 + Wine error
    By SpkTheD in forum Using Fedora
    Replies: 1
    Last Post: 23rd March 2006, 11:45 PM
  5. libGL error: open DRM failed (Operation not permitted)+I915GM
    By mclaren_fan in forum Fedora Core 5 - Dev
    Replies: 4
    Last Post: 7th March 2006, 03:21 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •