Just discovered this fabulous emulator… After reading up on why shaders don’t work on Android (not nearly enough power), is there anything I can do to get any type of scanline working at all? I just get a black screen when I select the scanline shader. As a matter of fact, every shader gives me a black screen. I have a new Nexus 7 and while I realize it’s not the most powerful device out there, I’m really hoping there’s a way to get some type of scanlines enabled. Are the shaders that CPU intensive that I can’t even get scanlines to show up at reduced performance, or is this an Android 4.3 issue? Thanks for any help
Scanline shaders are absoluetely trivial and even low powered phones should be able to run them. Nexus 7 is more than powerful enough. If it doesn’t work you’ll have to post adb logs or something.
Thank you for trying to help… Let me know if this helps and what else I can do to fix this
---- beginning of /dev/log/main D/dalvikvm(10377): GC_CONCURRENT freed 310K, 4% free 9559K/9896K, paused 3ms+5ms, total 20ms D/libEGL (10377): loaded /system/lib/egl/libEGL_adreno200.so D/libEGL (10377): loaded /system/lib/egl/libGLESv1_CM_adreno200.so D/libEGL (10377): loaded /system/lib/egl/libGLESv2_adreno200.so I/Adreno200-EGL(10377): <qeglDrvAPI_eglInitialize:265>: EGL 1.4 QUALCOMM Build: Iabe52cfaeae4c5fab1acacfe6f056ba15fa93274 D/OpenGLRenderer(10377): Enabling debug mode 0 D/dalvikvm(10377): GC_CONCURRENT freed 442K, 5% free 9575K/10064K, paused 3ms+3ms, total 17ms D/dalvikvm(10377): GC_FOR_ALLOC freed 148K, 7% free 9450K/10064K, paused 13ms, total 13ms I/dalvikvm-heap(10377): Grow heap (frag case) to 9.329MB for 82960-byte allocation D/dalvikvm(10377): GC_FOR_ALLOC freed 1K, 7% free 9529K/10148K, paused 12ms, total 12ms D/dalvikvm(10377): GC_FOR_ALLOC freed 26K, 7% free 9514K/10148K, paused 13ms, total 13ms I/dalvikvm-heap(10377): Grow heap (frag case) to 9.348MB for 36880-byte allocation D/dalvikvm(10377): GC_FOR_ALLOC freed <1K, 7% free 9550K/10188K, paused 13ms, total 13ms D/dalvikvm(10377): GC_FOR_ALLOC freed <1K, 7% free 9550K/10188K, paused 16ms, total 16ms I/dalvikvm-heap(10377): Grow heap (frag case) to 9.427MB for 82960-byte allocation D/dalvikvm(10377): GC_FOR_ALLOC freed 0K, 7% free 9631K/10272K, paused 17ms, total 17ms D/dalvikvm(10377): GC_FOR_ALLOC freed 37K, 7% free 9603K/10272K, paused 11ms, total 11ms I/dalvikvm-heap(10377): Grow heap (frag case) to 9.479MB for 82960-byte allocation D/dalvikvm(10377): GC_FOR_ALLOC freed <1K, 7% free 9684K/10356K, paused 14ms, total 14ms D/dalvikvm(10377): GC_FOR_ALLOC freed 3K, 7% free 9693K/10356K, paused 11ms, total 11ms I/dalvikvm-heap(10377): Grow heap (frag case) to 9.566MB for 82960-byte allocation D/dalvikvm(10377): GC_FOR_ALLOC freed <1K, 7% free 9774K/10440K, paused 15ms, total 15ms D/dalvikvm(10377): GC_FOR_ALLOC freed 4K, 7% free 9781K/10440K, paused 13ms, total 13ms I/dalvikvm-heap(10377): Grow heap (frag case) to 9.653MB for 82960-byte allocation D/dalvikvm(10377): GC_FOR_ALLOC freed 0K, 7% free 9862K/10524K, paused 13ms, total 13ms D/dalvikvm(10377): GC_FOR_ALLOC freed 4K, 7% free 9870K/10524K, paused 16ms, total 16ms I/dalvikvm-heap(10377): Grow heap (frag case) to 9.740MB for 82960-byte allocation D/dalvikvm(10377): GC_FOR_ALLOC freed <1K, 7% free 9950K/10608K, paused 13ms, total 13ms D/dalvikvm(10377): GC_FOR_ALLOC freed 3K, 7% free 9959K/10608K, paused 12ms, total 13ms I/dalvikvm-heap(10377): Grow heap (frag case) to 9.826MB for 82960-byte allocation D/dalvikvm(10377): GC_FOR_ALLOC freed 0K, 7% free 10040K/10692K, paused 14ms, total 14ms D/dalvikvm(10377): GC_FOR_ALLOC freed 4K, 6% free 10084K/10692K, paused 13ms, total 13ms I/dalvikvm-heap(10377): Grow heap (frag case) to 9.948MB for 82960-byte allocation D/dalvikvm(10377): GC_FOR_ALLOC freed 0K, 6% free 10165K/10776K, paused 15ms, total 15ms D/dalvikvm(10377): GC_FOR_ALLOC freed 40K, 6% free 10136K/10776K, paused 12ms, total 12ms I/dalvikvm-heap(10377): Grow heap (frag case) to 10.000MB for 82960-byte allocation D/dalvikvm(10377): GC_FOR_ALLOC freed 0K, 6% free 10217K/10860K, paused 12ms, total 12ms D/dalvikvm(10377): GC_FOR_ALLOC freed 4K, 6% free 10261K/10860K, paused 14ms, total 14ms I/dalvikvm-heap(10377): Grow heap (frag case) to 10.122MB for 82960-byte allocation D/dalvikvm(10377): GC_FOR_ALLOC freed <1K, 6% free 10341K/10944K, paused 15ms, total 15ms I/Choreographer(10377): Skipped 30 frames! The application may be doing too much work on its main thread.
That doesn’t tell us anything unfortunately except that the garbage collector is having a field day (Android…)
How can I collect better, more helpful logs? Scanline shaders don’t work on my Nexus 4 either, (black screen) so can this be a problem with the latest 4.3 update? I’m not an Android expert; just a huge fan of emulators and scanlines so I’m committed to solving the issue. Maybe a different shader I can try… Please let me know what I can do. Thanks in advance…
It is working fine on my first gen Nexus 7 running 4.3
Can you please tell me exactly how you’re enabling scanlines so I can try to figure out why it’s not working for me. I would really appreciate the help. Thanks
I went in Settings>Video settings
Checked “Enable first pass shader”
Clicked the option right below that, “XML shader,” and chose “scanline.glsl”
Hmmmm… that’s what I’ve been doing as well… all I get is a black screen but I can still hear the sound. Same thing on my Nexus 4… What am I missing? Any other suggestions?
It seems to be a sporadic issue. I’ve got one phone where shaders work(ed) fine (last time I checked) and another where they don’t work at all (same black screen problem you described). I’m going to pull out my old phone this weekend and see if there’s been a regression or if it varies device-to-device.
Great… Thanks for the help… If there’s anything I can do to troubleshoot, I will…