FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2009
    Location
    Hungary
    Age
    51
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Many games under Wine segfaulting with recent Nvidia drivers

    I'm not a tech savvy person so can't decide whether it is a distro specific issue or a bug in the latest Nvidia drivers (both 285.xx and 290.06 are affected). What I'm sure it's not a Wine issue because at least one native Linux game is also affected (Bzflag, from the Fedora repos).

    The problem: since I've upgraded to F16 I noticed that many of my games under Wine are segfaulting on start, while others seem to run fine. This affects at least 20-30% of my Windows games. There was no such problem on F15 and with Nvidia 280.13.

    A typical backtrace looks like this in Wine:
    Backtrace:
    =>0 0x6800cdb4 _dl_relocate_object+0xd74() in ld-linux.so.2 (0x0033ef48)
    1 0x680143ab dl_open_worker+0x2aa() in ld-linux.so.2 (0x00000000)
    0x6800cdb4 _dl_relocate_object+0xd74 in ld-linux.so.2: movl %edi,0x0(%ecx,%edx,1)

    A more verbose backtrace with glibc debug symbols installed can be found here:
    http://pastebin.com/4urDVEd2

    I discussed the issue with some of the developer guys in the winehq IRC channel, and after doing some tests and debugging, they came to the conclusion that "ld can't relocate the nvidia gl libs on f16". I don't know what does this exactly mean, and I wonder if anyone else observed similar problems on F16 and with the latest Nvidia drivers.
    The native Linux game, Bzflag can also be used to reproduce the problem: it segfaults after starting.

    I found a workaround to the problem: after reinstalling the Nvidia drivers, I had to disable prelinking on the Nvidia libs. So I placed these lines in /etc/prelink.conf:
    -b /usr/lib/nvidia
    -b /usr/lib/nvidia/tls
    -b /usr/lib/libGL*

    I'm not sure exactly which libs should be omitted from prelinking, so I added all the above ones.

    Fedora 16 x86
    Kernel 3.1.0-7.fc16.i686.PAE
    Nvidia 250 GTS
    Nvidia proprietary drivers 290.06

  2. #2
    Join Date
    Aug 2009
    Location
    Hungary
    Age
    51
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Many games under Wine segfaulting with recent Nvidia drivers

    They fixed the problem in the latest Nvidia drivers (290.10):

    Release highlights since 290.06:

    Fixed a bug that would cause OpenGL applications to crash when run with recent releases of glibc such as glibc 2.14.90.
    ...

  3. #3
    Join Date
    May 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Many games under Wine segfaulting with recent Nvidia drivers

    I still have the problem with 290.10 driver. I played nwn2 without any problem on fc15

  4. #4
    Join Date
    Aug 2009
    Location
    Hungary
    Age
    51
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Many games under Wine segfaulting with recent Nvidia drivers

    Quote Originally Posted by elpredicador
    I still have the problem with 290.10 driver. I played nwn2 without any problem on fc15
    Yeah, I think something is still fishy with prelinking on F16.
    Try these (as root):

    prelink -ua
    rm /etc/prelink.cache
    cd to /etc/cron.daily and execute the prelink script

    The segfaults should be gone now (until you update the Nvidia drivers again...or someone fixes this bug for good).

  5. #5
    Join Date
    Apr 2011
    Location
    Netherlands
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Many games under Wine segfaulting with recent Nvidia drivers

    Quote Originally Posted by guybrush
    Yeah, I think something is still fishy with prelinking on F16.
    Try these (as root):

    prelink -ua
    rm /etc/prelink.cache
    cd to /etc/cron.daily and execute the prelink script

    The segfaults should be gone now (until you update the Nvidia drivers again...or someone fixes this bug for good).
    You sir, are a genius! Thank you for posting this info, because now my games run again. I can get my Civilization fix

  6. #6
    Join Date
    Nov 2004
    Location
    Australia
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Many games under Wine segfaulting with recent Nvidia drivers

    Quote Originally Posted by guybrush
    Yeah, I think something is still fishy with prelinking on F16.
    Try these (as root):

    prelink -ua
    rm /etc/prelink.cache
    cd to /etc/cron.daily and execute the prelink script

    The segfaults should be gone now (until you update the Nvidia drivers again...or someone fixes this bug for good).
    Many thanks <3
    Cheese
    ==========
    twolofbees.com

Similar Threads

  1. nvidia GLX segfaulting: Blender
    By raschko in forum Using Fedora
    Replies: 4
    Last Post: 8th July 2009, 10:15 PM
  2. Recent wine update
    By Ray Ward in forum Using Fedora
    Replies: 8
    Last Post: 8th December 2008, 10:32 AM
  3. Issues with WINE and X (or nVidia drivers)
    By marfee in forum Using Fedora
    Replies: 1
    Last Post: 5th April 2007, 11:35 PM

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
  •