Wine black screen

Bug #223108 reported by Andy
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Wine
Fix Released
Wishlist
wine (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: wine

When i try launching mafia I get a black screen (it doesnt crash), i can move in menus (i can hear the sounds).
I tried randomly choosing some menu options and started a new game - I could actually see some very dark objects.
This is my terminal output:
fixme:win:EnumDisplayDevicesW ((null),0,0x33e648,0x00000000), stub!
fixme:d3d:test_pbo_functionality >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Loading the PBO test texture
 @ directx.c / 3462
fixme:d3d_shader:vshader_set_limits Unrecognized vertex shader version 0
fixme:d3d_shader:vshader_set_limits Unrecognized vertex shader version 0
fixme:d3d_shader:vshader_set_limits Unrecognized vertex shader version 0
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(1024,768)
fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x1333f8) : stub

Anything else doesnt really matter, except the "d3d:test_pbo_functionality" line - ive found many posts in forums describing same issue and having this same error. In 7.10 wine worked fine - with the same drivers.

Wine 0.9.60
Ubuntu 8.04
GPU: ATI Xtreme X1150 (driver 8.47.3)

Revision history for this message
DarK SouL (jose-nieves) wrote :

I have the same problem with Guild Wars and Sim City 4.

With GW I just get a black screen, no sound. And with SC4 I can hear the background music plus the menu sounds when I move the mouse over them, I just cant see anything.

If I remove the restricted video card driver (fglrx) I can see the images in Sim City (have not tried playing with it), and in Guild Wars I can see something but its very slow.

I am running Hardy and Wine 0.9.59

lspci

nievesj@Ganzotla:~$ lspci
00:00.0 Host bridge: nVidia Corporation Unknown device 0070 (rev c1)
00:00.1 RAM memory: nVidia Corporation Unknown device 007f (rev a1)
00:00.2 RAM memory: nVidia Corporation Unknown device 0075 (rev a1)
00:00.3 RAM memory: nVidia Corporation Unknown device 006f (rev a1)
00:00.4 RAM memory: nVidia Corporation Unknown device 00b4 (rev a1)
00:01.0 RAM memory: nVidia Corporation Unknown device 0076 (rev a1)
00:01.1 RAM memory: nVidia Corporation Unknown device 0078 (rev a1)
00:01.2 RAM memory: nVidia Corporation Unknown device 0079 (rev a1)
00:01.3 RAM memory: nVidia Corporation Unknown device 007a (rev a1)
00:01.4 RAM memory: nVidia Corporation Unknown device 007b (rev a1)
00:01.5 RAM memory: nVidia Corporation Unknown device 007c (rev a1)
00:01.6 RAM memory: nVidia Corporation Unknown device 007d (rev a1)
00:02.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:04.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:05.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:06.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:07.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a2)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a2)
00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a2)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
01:00.0 VGA compatible controller: ATI Technologies Inc RV530 [Radeon X1600]
01:00.1 Display controller: ATI Technologies Inc RV530 [Radeon X1600] (Secondary)
06:06.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
06:0c.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)

Revision history for this message
DarK SouL (jose-nieves) wrote :
Revision history for this message
Andy (andycos) wrote :

I managed to fix my problem by compiling 0.9.58 wine from source.

Revision history for this message
In , Scott Ritchie (scottritchie) wrote :

From launchpad: https://bugs.edge.launchpad.net/ubuntu/+source/wine/+bug/223108

User reports it functioning in 0.9.58 and not in 0.9.59.

---

When i try launching mafia I get a black screen (it doesnt crash), i can move in menus (i can hear the sounds).
I tried randomly choosing some menu options and started a new game - I could actually see some very dark objects.
This is my terminal output:
fixme:win:EnumDisplayDevicesW ((null),0,0x33e648,0x00000000), stub!
fixme:d3d:test_pbo_functionality >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Loading the PBO test texture
 @ directx.c / 3462
fixme:d3d_shader:vshader_set_limits Unrecognized vertex shader version 0
fixme:d3d_shader:vshader_set_limits Unrecognized vertex shader version 0
fixme:d3d_shader:vshader_set_limits Unrecognized vertex shader version 0
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(1024,768)
fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x1333f8) : stub

Anything else doesnt really matter, except the "d3d:test_pbo_functionality" line - ive found many posts in forums describing same issue and having this same error. In 7.10 wine worked fine - with the same drivers.

Wine 0.9.60
Ubuntu 8.04
GPU: ATI Xtreme X1150 (driver 8.47.3)

---

Revision history for this message
Andy (andycos) wrote :

Just tried another go with another PC [with ATI X800 (8.47.3 drivers), Ubuntu 8.04, Wine 0.9.60].
It didnt work, I had same output like I did with my laptop - "test_pbo_functionality". When i googled the error i found that most of the people who get this error own an ATI card.

Changed in wine:
status: New → Confirmed
Changed in wine:
status: Unknown → Confirmed
Revision history for this message
In , Matthias (funny-hangman-gmx) wrote :

Hi, I have the same problem. Since 0.9.58 there was only a black screen, when I try to start varous games (Gothic2, Spellforce, DeusEx... ). So I have done an regression test; the result: [4640be8dc8347f4147cbf87c78b3cfa510fcccc3] wined3d: Fragment processing using GL_ATI_fragment_shader.

tested with a Radeon 9500 and fglrx 8.40.4 (and 8.3).

Revision history for this message
In , Matthias (funny-hangman-gmx) wrote :

Created an attachment (id=12722)
Regression Testing result

Revision history for this message
In , Austin English (austinenglish) wrote :

(In reply to comment #2)
> Created an attachment (id=12722) [details]
> Regression Testing result
>

git bisect bad
Bisecting: 0 revisions left to test after this
[4640be8dc8347f4147cbf87c78b3cfa510fcccc3] wined3d: Fragment processing using GL_ATI_fragment_shader.

You still have one more test to do.

Please post the final output here, no need to attach.

Revision history for this message
In , Matthias (funny-hangman-gmx) wrote :

4640be8dc8347f4147cbf87c78b3cfa510fcccc3 is first bad commit
commit 4640be8dc8347f4147cbf87c78b3cfa510fcccc3
Author: Stefan Dösinger <email address hidden>
Date: Sat Mar 22 14:31:52 2008 +0100

    wined3d: Fragment processing using GL_ATI_fragment_shader.

    This adds code for handling fixed function fragment processing with the
    GL_ATI_fragment_shader extension. This is a sort-of programmable
    interface for fragment processing at the level of shader model 1.4 in
    d3d. This code is of use on r200, r250 and r280 cards(radeon 8500 to
    9200) which do not support GL_ARB_fragment_program, but support pixel
    shader 1.4 on Windows. This code is somewhat a counterpart to the
    existing fragment processing code using GL_NV_register_combiners and
    GL_NV_texture_shader.

:040000 040000 1f98025b56ec69ff0ae262779ce95e40d9514c2c 8691da5c59cc3ecc2ebb39d225e3ed2d16a31111 M dlls

Revision history for this message
In , Matthias (funny-hangman-gmx) wrote :

Is there a possibility to build wine 0.9.61 without this patch?

Revision history for this message
Vladimir Mityukov (mityukov) wrote :

The same problem.

Fresh "Kubuntu 8.04 KDE 4.0 Remix" install + wine from repository...

fgrlx (?8.3) -> also, from default install (proprietary driver enabled).

Revision history for this message
Daedalus (osd-daedalus) wrote :

I have a strange problem in wine that gives me weird resolution... I'm going to signal it in Launchpad, but I think it could be also related to these "black screen" bugreports.
Well, I have resolved by adding this to the end of /etc/X11/xorg.conf:

Section "ServerFlags"
Option "AIGLX" "off"
EndSection

Looks like there is a conflict between wine applications that required a direct-something library and AIGLX.

Let me see if you can resolve by this.

Revision history for this message
Felix Hummel (6-launchpad-felix-hummel-com) wrote :

Disabling AIGLX did not work for me. I tested "Test Drive Unlimited" on a Radeon X1600 Pro.

Versions: Ubuntu 8.04 with wine 1.1.6 and fglrx 1:7.1.0-8-3+2.6.24.12-16.34

Open-GL-based games (like Jedi Knight - Jedi Academy) run smoothly.

Revision history for this message
In , Stefan Dösinger (stefandoesinger) wrote :

Can you retest this bug with a recent wine version?

Changed in wine:
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
In , Matthias (funny-hangman-gmx) wrote :

sorry I can't test it with the old hardware again.

But It works fine with an AMD X2 6000 and nvidia 8200 onboard.

I'm not sure, but I believe it is fixed.

Revision history for this message
misterniark (misterniark) wrote :

same problems with ATI Mobility Radeon HD 3650 and wine from "http://wine.budgetdedicated.com/apt intrepid main"

I try ati drivers from repository and from envy, same result

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 3650
OpenGL version string: 2.1.8087 Release

Revision history for this message
In , Austin English (austinenglish) wrote :

Reported fixed...a long time ago. And no complaints.

Revision history for this message
In , Austin English (austinenglish) wrote :

Is this still an issue in current (1.1.22 or newer) wine?

Changed in wine:
status: Confirmed → Fix Released
Revision history for this message
In , Alexandre Julliard (julliard) wrote :

Closing bugs fixed in 1.1.23.

Changed in wine:
importance: Unknown → Wishlist
Revision history for this message
Amigad (rams-smartchat) wrote :

I discovered some newer drivers don't work. You may need to revert to older versions of Wine &/or drivers that worked before because of regressions!

Revision history for this message
Erkin Alp Güney (erkinalp9035) wrote :

Reappeared in Wine 3 series.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.