Bug 413505

Summary: Starmoney/Wine does not start due to X Error (BadAlloc/insufficient resources)
Product: [openSUSE] openSUSE 11.0 Reporter: Stefan Hinz <stefan>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Blocker    
Priority: P5 - None CC: stefan
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stefan Hinz 2008-07-31 08:09:50 UTC
Trying to start Starmoney through Wine fails with this X error:

astrid@aphrodite:~> wine '/home/astrid/.wine/dosdevices/c:/Programme/StarMoney 6.0 S-Edition/StartStarMoney.exe'
astrid@aphrodite:~> X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  53 (X_CreatePixmap)
  Serial number of failed request:  722
  Current serial number in output stream:  726

Graphics controller is Intel 82945G, Wine version is wine-1.1.0.

Googling shows that the error might be related to the Intel graphics driver in openSUSE. The only workaround I found advices to extend the xorg.conf Device section, which I've done:

Section "Device"
  BoardName    "945G"
  BusID        "0:2:0"
  Driver       "intel"
  Identifier   "Device[0]"
  Option       "monitor-VGA" "Monitor[0]"
  VendorName   "Intel"
  # StarMoney didn't start with this error:
  # X Error of failed request:  BadAlloc (insufficient resources for operation)
  # Googled, found a resolution:
  # http://forums.opensuse.org/applications/389147-x-error-failed-request-badalloc-insufficient-resources.html
  Option "Videoram" "65536"
  Option "Cachelines" "1980"
EndSection

This speeds up graphics a bit but doesn't resolve the X error. Since I can't fully use my new box until Starmoney runs on it I'm setting this bug to Blocker severity.
Comment 1 Stefan Dirsch 2008-07-31 09:09:16 UTC
Please try in 'Section "Device"'

  Option "AccelMethod" "XAA"

Restart Xserver afterwards.
Comment 2 Stefan Hinz 2008-07-31 10:55:37 UTC
Did I ever mention that *you guys rock*?!

A couple of days ago you've resolved a bug for me within 12 hours, and I thought that was fast. Now resolving *this* bug took exactly 1 hour. You guys rock. (I think I've said that before. :-) )

Please close this bug.
Comment 3 Stefan Dirsch 2008-07-31 11:16:42 UTC

*** This bug has been marked as a duplicate of bug 411183 ***