skmp / reicast-emulator

Reicast was a multiplatform Sega Dreamcast emulator
https://reicast.emudev.org
Other
1.1k stars 345 forks source link

Black screen and crash linux #858

Closed Levan7 closed 6 years ago

Levan7 commented 8 years ago

Reicast compiled without errors on ubuntu 14.04 x64 at least it didn't show me any. So i stared the reicast and first it showed black screen no audio no and then it crashed. tried to start spiderman

Ok my fault didn't put the bios in the right place

Config dir is: /home/levan/.config/reicast/
Data dir is:   /home/levan/.local/share/reicast/
Personality: 00000000
Updated personality: 00000000
Linux paging: 00001000 00001000 00000FFF
MAP 00800000 w/ 25165824
MAP 20000000 w/ 25165824
MAP 04000000 w/ 16777216
MAP 06000000 w/ 16777216
MAP 0C000000 w/ 0
A8
vmem reserve: base: B4E10000, aram: d4e10000, vram: B8E10000, ram: C0E10000
Resetting mem
Mem alloc successful!Virtual cfg config:image=/home/levan/Desktop/reicast-emulator-master/shell/linux/Spiderman.cdi
libwebsockets test server - (C) Copyright 2010-2013 Andy Green <andy@warmcat.com> - licensed under LGPL2.1
Initial logging level 7
Library version: 1.3 c11b847
IPV6 not compiled in
libev support not compiled in
 static allocation: 4488 + (16 x 1024 fds) = 20872 bytes

 canonical_hostname = Dreamcast
 per-conn mem: 184 + 1554 headers + protocol rx buf
 Listening on port 5678
Malformed entry on config - ignoring @ 38(ElfFile)
Found 10 matching FB configs.
Chosen visual ID = 0x24
Unable to find bios in 
/home/levan/.local/share/reicast/data/
Exiting...
No nvmem loaded
reios: Init
Did not load bios, using reios
Using Recompiler
Auto-selected audio backend "alsa" (Advanced Linux Sound Architecture).
Initializing audio backend "alsa" (Advanced Linux Sound Architecture)...
recSh4 Init
Freeing fpcb

     CodeCache addr: 0x4a0000 | from: 0x4a0000 | addr here: 0x49f150

Session 1 has 1 track(s)
Saving  Track:  1  Type: Audio/2352  Pregap: 150  Size: 302     LBA: 0       
Track position: 352800

Session 2 has 1 track(s)
Saving  Track:  2  Type: Mode2/2336  Pregap: 150  Size: 349587  LBA: 11702   
Track position: 1413504
gdrom: Opened image "/home/levan/Desktop/reicast-emulator-master/shell/linux/2004-11-05-Spiderman-Pal-DCP.cdi"
Initialising empty vmu...
Initialising empty vmu...
Sh4 Reset
libevdev.so: cannot open shared object file: No such file or directory
WARNING: libevdev is not available. You'll not be able to use button names instead of numeric codes in your controller mappings!

evdev: Trying to open device at '/dev/input/event0'
evdev: open: Permission denied
evdev: Controller 2 disabled by config.
evdev: Controller 3 disabled by config.
evdev: Controller 4 disabled by config.
Legacy Joystick input disabled by config.

cntx // fpcb offset: -68157440 // pc offset: -184 // pc A0000000
Get MemPtr unsupported area : addr=0xA0000000
-----------------
REIOS: Booting up
-----------------
reios: loading ip.bin from FAD: 11852
reios: bootfile is '1ST_READ.BIN    '
reios: iso9660 PVD found
reios: iso9660 root_directory, FAD: 11875, len: 38912
Found 1ST_READ.BIN at 000093
filename len: 14
file LBA: 11810
file LEN: 3854308
Freeing fpcb
recSh4:Dynarec Cache clear at AC0082FE
Sh4: i-cache invalidation AC0082FE
Freeing fpcb
recSh4:Dynarec Cache clear at AC0082FE
VREG = 03 ARMRST 00
VREG = 03 ARMRST 00
new tactx
ALSA: underrun occurred
GL context version: 3.1
OSD: 6
Error opening /home/levan/.local/share/reicast/data/buttons.png
DIV32S matched 1% @ 0x8C0098D8
DIV32S matched 100% @ 0x8C0098DE
div32s 1/0/3
DIV32S matched 1% @ 0x8C009A36
DIV32S matched 100% @ 0x8C009A3E
div32s 1/0/3
DIV32S matched 1% @ 0x8C009AC0
DIV32S matched 1% @ 0x8C009ACA
reicast git/n - 10.85 (0.00) - 92.13 - V: 55.23 (113.00, NTSC480i59.95) R: 0.49+0.00 VTX: 0.00 , MIPS: 0.00
reios_sys_misc - r7: 0x00000000, r4 0x00000000, r5 0x00000064, r6 0x00C3C1C1
Sh4: i-cache invalidation AC00E0DA
Freeing fpcb
recSh4:Dynarec Cache clear at AC00E0DA

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18
reicast git/n - 9.97 (0.00) - 100.26 - V: 60.10 (inf, NTSC480i59.95) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
Freeing fpcb
recSh4:Dynarec Cache clear at AC00FFFE
Sh4: i-cache invalidation AC00FFFE
Freeing fpcb
recSh4:Dynarec Cache clear at AC00FFFE
Invalid GD-DMA start, SB_GDEN=0.Ingoring it.
Sh4: i-cache invalidation 8C048686
Freeing fpcb
recSh4:Dynarec Cache clear at 8C048686
Sh4: i-cache invalidation AC0476BA
Freeing fpcb
recSh4:Dynarec Cache clear at AC0476BA
DIV32S matched 1% @ 0x8C19E38E
DIV32S matched 100% @ 0x8C19E394
div32s 1/0/3

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
MEM remap 0 : 0x0 to 0x0
Sh4: i-cache invalidation AC0484D6
Freeing fpcb
recSh4:Dynarec Cache clear at AC0484D6
reios_sys_misc - r7: 0xFF00001C, r4 0x00000001, r5 0x00000000, r6 0xF4004000

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18

GDROM:  HLE GDROM_INIT
GDROM:  CMD INIT PRM:18
reicast git/n - 9.91 (0.00) - 100.86 - V: 60.46 (inf, NTSC480i59.95) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.20 (0.00) - 98.00 - V: 58.75 (inf, NTSC480i59.95) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
reicast git/n - 9.96 (0.00) - 100.35 - V: 60.16 (inf, NTSC480i59.95) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.02 (0.00) - 99.79 - V: 59.82 (inf, NTSC480i59.95) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.01 (0.00) - 99.92 - V: 59.90 (inf, NTSC480i59.95) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
DIV32S matched 1% @ 0x8C19E4EC
DIV32S matched 100% @ 0x8C19E4F4
div32s 1/0/3
DIV32S matched 1% @ 0x8C19E576
DIV32S matched 1% @ 0x8C19E580
reicast git/n - 9.97 (0.00) - 100.25 - V: 60.10 (inf, NTSC480i59.95) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.02 (0.00) - 99.85 - V: 59.85 (inf, NTSC480i59.95) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.01 (0.00) - 99.91 - V: 59.89 (inf, NTSC480i59.95) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
reicast git/n - 9.98 (0.00) - 100.23 - V: 60.09 (inf, NTSC480i59.95) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
reios_sys_misc - r7: 0x000002E3, r4 0x00000001, r5 0x8C1C407C, r6 0x8C1C3E14

Unimplemented opcode: 0000FFFF next_pc: AC000012 pr: 8C1A6FF2 msg: Unknown opcode
Fatal error : iNimp reached

 in cpu_iNimp -> ../../core/hw/sh4/interpr/sh4_opcodes.cpp : 66 
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28102006-black-screen-and-crash-linux?utm_campaign=plugin&utm_content=tracker%2F500311&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F500311&utm_medium=issues&utm_source=github).
legluondunet commented 8 years ago

Hello,

the answer is in your log:

Unable to find bios in /home/levan/.local/share/reicast/data/ Exiting...

you have to put Dreamcast bios files in this folder.

LGDN

Levan7 commented 8 years ago

@legluondunet Thank you for the reply, Yes i know this and I edited the post that says that I fixed it.

AbandonedCart commented 6 years ago

This appears to be fixed. Please reopen if it is not.