Help with Blank White Screen on Wake from Suspend - XBMC on Mac mini
#1
I am new to the forum as well as this HTPC thing. So far, XBMC has worked out great except for this one problem. I have searched extensively on this forum as well as Google before posting this problem. There are other posts where people have had this problem too but they are usually Windows or Linux and the Mac ones dont really have accepted solutions. So I hope someone is able to help me here.

I have a Mac Mini with XBMC on it. Every time I suspend from within XBMC and then wake up the Mac Mini from either the mouse or remote, the mac mini starts up and shows a white blank screen. There are no sounds if I move the mouse around (which means I may not be in XBMC). using Command+Tab to go to a new window doesnt work which seems like the PC may be hung. I have to kill XBMC using a keyboard and then reload it. This kills the purpose of having a HTPC if I am going to need to have a keyboard around.

In addition, on waking up, I can see the XBMC window for a moment before it disappears and I see the blank white screen. Any ideas folks? My set up is described below.

-Mac Mini - 1.83 Ghz Core 2 Duo with 1Gb Ram and on-board graphics
-Connected to Sony Bravia HDTV using VGA cable
-On mac mini side, using the full DVI port (not the mini DVI) connected to an Apple brand DVI to VGA converter and then VGA to VGA cable.
-Apple Remote
-No other apps running in background on the Mac Mini

This problem doesnt happen if XBMC is not running - if any other Mac program is running and I put the Mac into sleep and wake it up, it displays fine 100% of time. This leads me to believe this is not a Mac mini or display issue. Most likely its a XBMC issue or some setting on the TV or the Mac mini that I need to tweak. In addition when putting into sleep with XBMC running and then waking up, this problem is repeatable 100% of the time.

I apologize for the length of this post. I hope I have given sufficient detail. Once again thanks for your help and for reading this far.

Regards!
Reply
#2
all that detailed info and missing the most important piece... xbmc.log.
Reply
#3
Sorry about that. I was trying to be polite and not impose right away with a super long first post. Heres a log from this morning. Thanks again for all your help.

Code:
07:53:20 T:2685277504 M:589754368  NOTICE: -----------------------------------------------------------------------
07:53:20 T:2685277504 M:589742080  NOTICE: Starting XBMC, Platform: Mac OS X (10.7.0 i386). Built on Mar  9 2011 (Git:e9e9099)
07:53:20 T:2685277504 M:589742080  NOTICE: special://xbmc/ is mapped to: /Applications/XBMC.app/Contents/Resources/XBMC
07:53:20 T:2685277504 M:589742080  NOTICE: special://xbmcbin/ is mapped to: /Applications/XBMC.app/Contents/Resources/XBMC
07:53:20 T:2685277504 M:589742080  NOTICE: special://masterprofile/ is mapped to: /Users/john/Library/Application Support/XBMC/userdata
07:53:20 T:2685277504 M:589742080  NOTICE: special://home/ is mapped to: /Users/john/Library/Application Support/XBMC
07:53:20 T:2685277504 M:589742080  NOTICE: special://temp/ is mapped to: /Users/john/.xbmc/temp
07:53:20 T:2685277504 M:589742080  NOTICE: The executable running is: /Applications/XBMC.app/Contents/MacOS/XBMC
07:53:20 T:2685277504 M:589742080  NOTICE: Log File is located: /Users/john/Library/Logs/xbmc.log
07:53:20 T:2685277504 M:589742080  NOTICE: -----------------------------------------------------------------------
07:53:20 T:2685277504 M:589737984  NOTICE: Setup SDL
07:53:20 T:2685277504 M:586076160  NOTICE: load settings...
07:53:20 T:2685277504 M:585879552   ERROR: Unable to load libcrystalhd.dylib, reason: dlopen(libcrystalhd.dylib, 1): image not found
07:53:20 T:2685277504 M:585838592  NOTICE: special://profile/ is mapped to: special://masterprofile/
07:53:20 T:2685277504 M:585838592  NOTICE: loading special://masterprofile/guisettings.xml
07:53:21 T:2685277504 M:585814016  NOTICE: Getting hardware information now...
07:53:21 T:2685277504 M:585809920  NOTICE: Checking resolution 12
07:53:21 T:2685277504 M:585805824  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
07:53:21 T:2685277504 M:585781248  NOTICE: Loaded playercorefactory configuration
07:53:21 T:2685277504 M:585781248  NOTICE: Loading player core factory settings from special://profile/playercorefactory.xml.
07:53:21 T:2685277504 M:585781248  NOTICE: Loaded playercorefactory configuration
07:53:21 T:2685277504 M:585777152  NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
07:53:21 T:2685277504 M:585777152  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <videoextensions>
                                                <add>.html</add>
                                              </videoextensions>
                                            </advancedsettings>
07:53:21 T:2685277504 M:585756672  NOTICE: Getting hardware information now...
07:53:21 T:2685277504 M:585756672  NOTICE: Checking resolution 12
07:53:21 T:2685277504 M:585756672  NOTICE: Default DVD Player: dvdplayer
07:53:21 T:2685277504 M:585756672  NOTICE: Default Video Player: dvdplayer
07:53:21 T:2685277504 M:585756672  NOTICE: Default Audio Player: paplayer
07:53:21 T:2685277504 M:585752576  NOTICE: Loading media sources from special://masterprofile/sources.xml
07:53:22 T:2685277504 M:578871296  NOTICE: GL_VENDOR = Intel Inc.
07:53:22 T:2685277504 M:578867200  NOTICE: GL_RENDERER = Intel GMA 950 OpenGL Engine
07:53:22 T:2685277504 M:578867200  NOTICE: GL_VERSION = 1.4 APPLE-1.6.26
07:53:22 T:2685277504 M:578981888  NOTICE: GL_SHADING_LANGUAGE_VERSION = 1.20
07:53:22 T:2685277504 M:578998272  NOTICE: GL_EXTENSIONS = GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_shading_language_100 GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_geometry_shader4 GL_EXT_transform_feedback GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_APPLE_aux_depth_stencil GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_point_parameters GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_shadow GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_point_sprite GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_EXT_framebuffer_object GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_separate_specular_color GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_sRGB GL_EXT_blend_equation_separate GL_EXT_packed_depth_stencil GL_EXT_framebuffer_sRGB GL_EXT_provoking_vertex GL_APPLE_flush_buffer_range GL_APPLE_ycbcr_422 GL_APPLE_rgb_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_pixel_buffer GL_APPLE_object_purgeable GL_NV_blend_square GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
07:53:23 T:2685277504 M:561618944  NOTICE: start dvd mediatype detection
07:53:23 T:2685277504 M:561610752  NOTICE: initializing playlistplayer
07:53:23 T:2685277504 M:561602560  NOTICE: DONE initializing playlistplayer
07:53:24 T:2685277504 M:554004480  NOTICE: initialize done
07:53:24 T:2685277504 M:553984000  NOTICE: Running the application...
07:53:24 T:2685277504 M:553943040  NOTICE: ES: Starting event server
07:53:24 T:2955956224 M:553902080  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
07:53:24 T:2685277504 M:553889792  NOTICE: starting zeroconf publishing
07:53:24 T:2955956224 M:553889792  NOTICE: UDP: Listening on port 9777
07:53:34 T:2685277504 M:524423168  NOTICE: ES: Starting event server
08:05:38 T:2685277504 M:529641472  NOTICE: OnSleep: Running sleep jobs
08:11:59 T:2685277504 M:519475200  NOTICE: OnWake: Running resume jobs
08:25:43 T:2685277504 M:517079040  NOTICE: OnSleep: Running sleep jobs
Reply
#4
Also, heres a more recent log where the white screen wouldnt go away and i couldnt kill xbmc either (command+alt+esc, enter, enter) and had to hardware reboot. I dont think the logs reflect that it was hung but maybe they do - you probably know better.

Code:
23:22:21 T:2685277504 M:254287872  NOTICE: -----------------------------------------------------------------------
23:22:21 T:2685277504 M:254279680  NOTICE: Starting XBMC, Platform: Mac OS X (10.7.0 i386). Built on Mar  9 2011 (Git:e9e9099)
23:22:21 T:2685277504 M:254279680  NOTICE: special://xbmc/ is mapped to: /Applications/XBMC.app/Contents/Resources/XBMC
23:22:21 T:2685277504 M:254279680  NOTICE: special://xbmcbin/ is mapped to: /Applications/XBMC.app/Contents/Resources/XBMC
23:22:21 T:2685277504 M:254279680  NOTICE: special://masterprofile/ is mapped to: /Users/john/Library/Application Support/XBMC/userdata
23:22:21 T:2685277504 M:254279680  NOTICE: special://home/ is mapped to: /Users/john/Library/Application Support/XBMC
23:22:21 T:2685277504 M:254279680  NOTICE: special://temp/ is mapped to: /Users/john/.xbmc/temp
23:22:21 T:2685277504 M:254279680  NOTICE: The executable running is: /Applications/XBMC.app/Contents/MacOS/XBMC
23:22:21 T:2685277504 M:254279680  NOTICE: Log File is located: /Users/john/Library/Logs/xbmc.log
23:22:21 T:2685277504 M:254279680  NOTICE: -----------------------------------------------------------------------
23:22:21 T:2685277504 M:254279680  NOTICE: Setup SDL
23:22:22 T:2685277504 M:250224640  NOTICE: load settings...
23:22:22 T:2685277504 M:250224640   ERROR: Unable to load libcrystalhd.dylib, reason: dlopen(libcrystalhd.dylib, 1): image not found
23:22:22 T:2685277504 M:250220544  NOTICE: special://profile/ is mapped to: special://masterprofile/
23:22:22 T:2685277504 M:250220544  NOTICE: loading special://masterprofile/guisettings.xml
23:22:22 T:2685277504 M:250200064  NOTICE: Getting hardware information now...
23:22:22 T:2685277504 M:250200064  NOTICE: Checking resolution 12
23:22:22 T:2685277504 M:250200064  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
23:22:22 T:2685277504 M:250187776  NOTICE: Loaded playercorefactory configuration
23:22:22 T:2685277504 M:250187776  NOTICE: Loading player core factory settings from special://profile/playercorefactory.xml.
23:22:22 T:2685277504 M:250146816  NOTICE: Loaded playercorefactory configuration
23:22:22 T:2685277504 M:250146816  NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
23:22:22 T:2685277504 M:250146816  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <videoextensions>
                                                <add>.html</add>
                                              </videoextensions>
                                            </advancedsettings>
23:22:22 T:2685277504 M:250146816  NOTICE: Getting hardware information now...
23:22:22 T:2685277504 M:250146816  NOTICE: Checking resolution 12
23:22:22 T:2685277504 M:250146816  NOTICE: Default DVD Player: dvdplayer
23:22:22 T:2685277504 M:250146816  NOTICE: Default Video Player: dvdplayer
23:22:22 T:2685277504 M:250146816  NOTICE: Default Audio Player: paplayer
23:22:22 T:2685277504 M:250146816  NOTICE: Loading media sources from special://masterprofile/sources.xml
23:22:22 T:2685277504 M:247406592  NOTICE: GL_VENDOR = Intel Inc.
23:22:22 T:2685277504 M:247402496  NOTICE: GL_RENDERER = Intel GMA 950 OpenGL Engine
23:22:22 T:2685277504 M:247398400  NOTICE: GL_VERSION = 1.4 APPLE-1.6.26
23:22:22 T:2685277504 M:247398400  NOTICE: GL_SHADING_LANGUAGE_VERSION = 1.20
23:22:22 T:2685277504 M:247394304  NOTICE: GL_EXTENSIONS = GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_shading_language_100 GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_geometry_shader4 GL_EXT_transform_feedback GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_APPLE_aux_depth_stencil GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_point_parameters GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_shadow GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_point_sprite GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_EXT_framebuffer_object GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_separate_specular_color GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_sRGB GL_EXT_blend_equation_separate GL_EXT_packed_depth_stencil GL_EXT_framebuffer_sRGB GL_EXT_provoking_vertex GL_APPLE_flush_buffer_range GL_APPLE_ycbcr_422 GL_APPLE_rgb_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_pixel_buffer GL_APPLE_object_purgeable GL_NV_blend_square GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
23:22:23 T:2685277504 M:239923200  NOTICE: start dvd mediatype detection
23:22:23 T:2685277504 M:239915008  NOTICE: initializing playlistplayer
23:22:23 T:2685277504 M:239910912  NOTICE: DONE initializing playlistplayer
23:22:24 T:2685277504 M:236494848  NOTICE: initialize done
23:22:24 T:2685277504 M:236490752  NOTICE: Running the application...
23:22:24 T:2685277504 M:236486656  NOTICE: ES: Starting event server
23:22:24 T:2955956224 M:236474368  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
23:22:24 T:2685277504 M:236470272  NOTICE: starting zeroconf publishing
23:22:24 T:2955956224 M:236470272  NOTICE: UDP: Listening on port 9777
23:22:33 T:2685277504 M:210821120  NOTICE: OnSleep: Running sleep jobs
23:23:28 T:2685277504 M:205578240  NOTICE: OnWake: Running resume jobs
Reply
#5
enable debug in setting. use http://www.pastebin.com.
Reply
#6
got the same problem, ever found a solution to this?
Reply
#7
The Mac is running, but the display does not wake up. I doubt the XBMC log would be of any help. You can probably wake up the screen by pressing the power button on back of the mini.

I did find a solution to this a few days back, but sorry to say, unable to locate the fix. It did have something to do with edit an apple plist file, possible the com.apple.PowerManagement.plist

One solution that seems to work for me, but with a possible negative side effect? is to disable "wake for network access" in power management.
Reply
#8
please do NOT try and out think why we want to see xbmc.log, unless you are very familiar with the source code and the order at which things occur, you will miss the clues.
Reply
#9
Okey. I did reproduce this with the wake for network access setting.

Here is the Debugged Log. First resume is without, the second is with, ending with a black screen when resuming from standby.

http://pastebin.com/YNMwe78F
Reply
#10
I have also noticed that "wake on lan" seems to be an issue for me as well. Potentially having the display shut off before suspend also seems as it may be an issue although I'm not sure on that one yet. I'm looking for a work around because I need it to wake for network access.
Reply
#11
I do believe I figured this one out. I added darkwake=0 as a boot string. It is =1 as default in Lion, and causing the display not to not wakeup using the remote. This only apply when enabling the WOL function in Lion System settings.

Here is what I did in terminal:

sudo nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Kernel Flags</key>
        <string>darkwake=0</string>
</dict>
</plist>
Reply

Logout Mark Read Team Forum Stats Members Help
Help with Blank White Screen on Wake from Suspend - XBMC on Mac mini0