Project

General

Profile

Actions

Emulator Issues #5740

closed

Black screen / polygons on some linux distros

Added by shree.riju over 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
GFX
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
Yes
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

When we launch the game, the wiimote warning, rayman logo etc are not shown. The graphics are not loading;

I compiled from git;

Here's my video: showing the black screen, new super mario is also black screen only;
http://www.youtube.com/watch?v=Rq8F5A2R5Q8

Here's rayman origins which should
http://www.youtube.com/watch?v=-FpTgqQlTNk

I know that that fedora 18 is just beta now but i386 is working fine with dolphin-emu but not x64; the beta is pretty stable for me. dolphin-emu is faster in fedora 64 bit than 32 bit.

http://fedoraproject.org/en/get-prerelease

I request you to kindly look into the "no graphics" issue in dolhpin-emu in fedora x64.

thanks.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #5765: The Legend of Zelda: The Wind Waker [GZLE01] - Missing Logo and Menu Text on StartDuplicate

Actions
Actions #1

Updated by shree.riju over 11 years ago

Dolphin works excellently in fedora 17 64bit, but in fedora 18 beta it is not; I've been compiling dolphin emu for a month every 3-4 days; thought it was something to do with commits. but when I saw dolphin emu working fine in fedora 18 i686 (x86), i'm submitting this issue here.

Actions #2

Updated by skidau over 11 years ago

Is this a bug in Fedora 18 x64?

Actions #3

Updated by shree.riju over 11 years ago

Don't know, but the "Warning: of using wii mote" is not shown, like in this video first 1-2 seconds; http://www.youtube.com/watch?v=mK4T9KnOLhY; or this image: http://2.bp.blogspot.com/-HGxeju5IzZQ/ThKm4FS9iwI/AAAAAAAAAO4/I7IIKwZr294/s1600/dolphin1.png

I hope that will give a clue on which package is missing or incompatible. Thanks.

Actions #4

Updated by skidau over 11 years ago

Issue 5765 has been merged into this issue.

Actions #5

Updated by justin.oberdorf over 11 years ago

I was noticing reports in earlier version of fedora of packages not being in sync between i686 and x86_64 repositories. I've checked the basic devel packages needing install to compile, and they all seem to match up.

I'm assuming the more information the better

Actions #6

Updated by tenebrarum over 11 years ago

In case stating helps, I've been having this problem for a few months with Gentoo amd64.

Actions #7

Updated by chenxiaolong over 11 years ago

I finally found the cause of this issue (after compiling 10 billion times :P). It's caused by ffmpeg/libav. I'm still trying to figure out how to fix it, but a temporary workaround is attached. Note that the AVI dump feature will no longer work.

Actions #8

Updated by AsifAliRizvan over 11 years ago

chenxiao,

Thank you, now it works in fedora 18 x86_64

#Compiling and installing Dolphin-emu on fedora x86_64 64 bit Linux
#as root
yum groupinstall "Development Tools"
yum install alsa-lib-devel bluez-libs-devel Cg cmake ffmpeg-devel glew-devel libao-devel libXrandr-devel lzo-devel mesa-libGLU-devel openal-soft-devel portaudio-devel pulseaudio-libs-devel SDL-devel SFML-devel SOIL-devel wxGTK-devel zlib-devel rpmdevtools git automake gcc

#as user
mkdir build; cd build
git clone https://code.google.com/p/dolphin-emu/ dolphin-emu
cd dolphin-emu/
patch -p1 < ../../Downloads/0001-Don-t-check-for-libav-ffmpeg.-It-causes-a-black-scre.patch
mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
make
su -c 'make install'

Actions #9

Updated by chenxiaolong over 11 years ago

Hmm...I'm not sure what the cause of the issue is. No matter what FFmpeg I compile against, the black screen issue always occurs. I've tried compiling against the following FFmpeg versions:

  • Fedora 17 SRPM recompiled on Fedora 18
  • Fedora 17 binaries on Fedora 18
  • Manually compiled ffmpeg 0.10.6
  • Manually compiled ffmpeg 1.0.1
  • Manually compiled ffmpeg from git
  • Manually compiled libav from git
  • Arch Linux binaries on Fedora 18

I can compile against any of the FFmpeg versions above on another distro and then run it on Fedora 18 and it will work just fine.

Actions #10

Updated by chenxiaolong over 11 years ago

To dolphin-emu developers:

Please merge the following patch. It's needed to compile against FFmpeg libraries in another prefix (ie. not in /usr). It just takes the path from the pkgconfig.

Actions #11

Updated by Billiard26 over 11 years ago

  • Status changed from New to Questionable
  • Category set to gfx
  • Relates to usability set to Yes
  • Operating system N/A added
Actions #12

Updated by unix34400 over 11 years ago

With the last build it's no work. Order solution ?

Actions #13

Updated by degasus over 11 years ago

On Mageia x64 my screen is also black.

Is this bug also affected to non nvidia gpus?

btw: dumping a good frame by apitrace and replay on the affected system displays correctly.

Actions #14

Updated by degasus over 11 years ago

Actions #15

Updated by unix34400 over 11 years ago

yes thx :)

Actions #16

Updated by degasus over 11 years ago

@ chenxiao and AsifAliRizvan:
As I don't touch libav at all, I'm not sure we are talking about the same bug, so can one of you please confirm my patch?

Actions #17

Updated by AsifAliRizvan over 11 years ago

@wikermarkus

Yes, your patch solved the black screen issue on fedora 18 x86_64.
ffmpeg was not touched in anyway.

Thank you!

#Compiling and installing Dolphin-emu on fedora x86_64 64 bit Linux with the black screen patch
#as root
yum groupinstall "Development Tools"
yum install alsa-lib-devel bluez-libs-devel Cg cmake ffmpeg-devel glew-devel libao-devel libXrandr-devel lzo-devel mesa-libGLU-devel openal-soft-devel portaudio-devel pulseaudio-libs-devel SDL-devel SFML-devel SOIL-devel wxGTK-devel zlib-devel rpmdevtools git automake gcc

#as user
mkdir build; cd build
git clone https://code.google.com/p/dolphin-emu/ dolphin-emu
cd dolphin-emu/
patch -p1 < ../../Downloads/black-screen.patch
mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
make
su -c 'make install'

Actions #18

Updated by degasus over 11 years ago

  • Status changed from Questionable to Work started
Actions #19

Updated by degasus over 11 years ago

  • Status changed from Work started to Fixed

should be fixed in 3.5-325

Actions

Also available in: Atom PDF