[Streak 5 Android Development] KDerrida:
Thanks, that's really cool, but my bug report was premature (sorry). In fact, the framebuffer is also locked when the screen is off. So whenever it pauses with the screen off (bluetooth headphones, incoming call, etc.) it has this same problem. Is this US Streaks only?

Here's Logcat output, hope it helps.

I/MediaButtonIntentReceiver( 1788): --isInCall:false

E/BroadcastReceiver( 1788): BroadcastReceiver trying to return result during a non-ordered broadcast

E/BroadcastReceiver( 1788): java.lang.RuntimeException: BroadcastReceiver trying to return result during a non-ordered broadcast

E/BroadcastReceiver( 1788): at android.content.BroadcastReceiver.checkSynchronousHint(BroadcastReceiver.java:451)

E/BroadcastReceiver( 1788): at android.content.BroadcastReceiver.abortBroadcast(BroadcastReceiver.java:374)

E/BroadcastReceiver( 1788): at com.android.music.MediaButtonIntentReceiver.onReceive(MediaButtonIntentReceiver.java:170)

E/BroadcastReceiver( 1788): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2810)

E/BroadcastReceiver( 1788): at android.app.ActivityThread.access$3200(ActivityThread.java:125)

E/BroadcastReceiver( 1788): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2083)

E/BroadcastReceiver( 1788): at android.os.Handler.dispatchMessage(Handler.java:99)

E/BroadcastReceiver( 1788): at android.os.Looper.loop(Looper.java:123)

E/BroadcastReceiver( 1788): at android.app.ActivityThread.main(ActivityThread.java:4627)

E/BroadcastReceiver( 1788): at java.lang.reflect.Method.invokeNative(Native Method)

E/BroadcastReceiver( 1788): at java.lang.reflect.Method.invoke(Method.java:521)

E/BroadcastReceiver( 1788): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:876)

E/BroadcastReceiver( 1788): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)

E/BroadcastReceiver( 1788): at dalvik.system.NativeStart.main(Native Method)

V/AudioPlayer( 1392): buffer->size() = 4608, mPositionTimeMediaUs=64.44 mPositionTimeRealUs=64.44

V/AudioPlayer( 1392): buffer->size() = 4608, mPositionTimeMediaUs=64.47 mPositionTimeRealUs=64.47

I/MediaButtonIntentReceiver( 1788): --isInCall:false

E/BroadcastReceiver( 1788): BroadcastReceiver trying to return result during a non-ordered broadcast

E/BroadcastReceiver( 1788): java.lang.RuntimeException: BroadcastReceiver trying to return result during a non-ordered broadcast

E/BroadcastReceiver( 1788): at android.content.BroadcastReceiver.checkSynchronousHint(BroadcastReceiver.java:451)

E/BroadcastReceiver( 1788): at android.content.BroadcastReceiver.abortBroadcast(BroadcastReceiver.java:374)

E/BroadcastReceiver( 1788): at com.android.music.MediaButtonIntentReceiver.onReceive(MediaButtonIntentReceiver.java:170)

E/BroadcastReceiver( 1788): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2810)

E/BroadcastReceiver( 1788): at android.app.ActivityThread.access$3200(ActivityThread.java:125)

E/BroadcastReceiver( 1788): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2083)

E/BroadcastReceiver( 1788): at android.os.Handler.dispatchMessage(Handler.java:99)

E/BroadcastReceiver( 1788): at android.os.Looper.loop(Looper.java:123)

E/BroadcastReceiver( 1788): at android.app.ActivityThread.main(ActivityThread.java:4627)

E/BroadcastReceiver( 1788): at java.lang.reflect.Method.invokeNative(Native Method)

E/BroadcastReceiver( 1788): at java.lang.reflect.Method.invoke(Method.java:521)

E/BroadcastReceiver( 1788): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:876)

E/BroadcastReceiver( 1788): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)

E/BroadcastReceiver( 1788): at dalvik.system.NativeStart.main(Native Method)

I/MediaPlaybackService( 1788): -----onStartCommand com.android.music.musicservicecommand / togglepause

W/TimedEventQueue( 1392): Event 639 was not found in the queue, already cancelled?

E/AudioHardwareQSD( 1392): AudioStreamOutMSM72xx::setParameters() routing=0

E/AudioHardwareQSD( 1392): Routing audio to Handset

E/AudioHardwareQSD( 1392): Switching audio device to

E/AudioHardwareQSD( 1392): Handset

D/PrintK ( 1392): <6>tid = 1396: AUDIO_SWITCH_DEVICE to 0x107ac88

D/PrintK ( 1392): <6>do_rx_routing, tid = 1396: device_id = 0x107ac88, acdb_id = 0

D/PrintK ( 1392): <6>tid = 1396: AUDIO_SWITCH_DEVICE to 0x107ac8d

E/AudioHardwareQSD( 1392): mCurSndDevice = 0, mSpkMuteMode = 0

E/AudioHardwareQSD( 1392): setVoiceVolume called in wrong mode. Rejecting the call

E/MediaPlayer( 1788): pictureEnableHdmi

E/MediaPlayer( 1788): pictureEnableHdmi - enable=0, isPicture=0

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/MediaPlayer( 1788): pictureEnableHdmi - Error opening fb1! chmod and try again

E/MediaPlayer( 1788): changeFileMode (buffer=chmod 666 /dev/graphics/fb1)

E/MediaPlayer( 1788): changeFileMode: Error connect

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

I/SamplingProfilerIntegration( 1788): Wrote snapshot for com.android.music in 86ms.

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/MediaPlayer( 1788): pictureEnableHdmi - Error opening fb1 2nd time, give up!

E/MediaPlayer( 1788): error (-38, 0)

E/ ( 1788): LOGTAG: Error connect

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/ ( 1788): LOGTAG: Failed to open /dev/graphics/fb1

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/ ( 1788): LOGTAG: Failed to open /dev/graphics/fb1

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/ ( 1788): LOGTAG: Failed to open /dev/graphics/fb1

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/ ( 1788): LOGTAG: Failed to open /dev/graphics/fb1

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/ ( 1788): LOGTAG: Failed to open /dev/graphics/fb1

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/ ( 1788): LOGTAG: Failed to open /dev/graphics/fb1

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/ ( 1788): LOGTAG: Failed to open /dev/graphics/fb1

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/ ( 1788): LOGTAG: Failed to open /dev/graphics/fb1

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/ ( 1788): LOGTAG: Failed to open /dev/graphics/fb1

E/PrintK ( 1788): <3>msm_fb_blank_sub: op_enable is zero! mfd->dest=1

E/PrintK ( 1788): <3>msm_fb_open: can't turn on display!

E/ ( 1788): LOGTAG: Failed to open /dev/graphics/fb1

E/ ( 1788): LOGTAG: Failed to open /dev/graphics/fb1

E/ ( 1788): LOGTAG: disableHdmi fail

I/MusicAppWidgetProvider( 1788): ---send pending intnet----

E/MediaPlayer( 1788): Error (-38,0)

D/MultiPlayer( 1788): Error: -38,0

V/AudioPlayer( 1392): AudioPlayer releasing input buffer.

D/A2DP ( 1392): a2dp_stop

D/A2DP ( 1392): bluetooth_stop

E/BluetoothEventLoop.cpp( 1399): event_filter: Received signal org.bluez.AudioSink:Stopped from /org/bluez/2983/hci0/dev_00_0D_FD_

34_BD_16

E/BluetoothEventLoop.cpp( 1399): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/2983/hci0/dev_0

0_0D_FD_34_BD_16

E/BluetoothEventLoop.cpp( 1399): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/2983/hci0/dev_0

0_0D_FD_34_BD_16

D/A2DP ( 1392): Received BT_RESPONSE - BT_STOP_STREAM

V/BluetoothEventRedirector( 1798): Received android.bluetooth.a2dp.action.SINK_STATE_CHANGED

(The bluetooth stuff is from me pausing the music via some A2DP headphones)

It writes to the framebuffer for HDMI, but HDMI isn't plugged in or enabled when it does that. Should it do that? I should mention, this problem happens AFTER I chmod 666 /dev/graphics/*

Also, after this problem with the screen off, it still pauses with the screen on, so it must somehow be unlocking FB1 as the screen turns back on.

I have logcat output of me putting my screen to sleep if that would help any.

Thanks again for your help, sorry this is such a problem.