XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Mac and AppleTV Specific Support

XBMC for Mac and AppleTV Specific Support Need help with XBMC for Mac or Apple TV, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2008-02-14, 10:16   #1
paulychamp
Junior Member
 
Join Date: Feb 2008
Location: Costa Mesa, CA
Posts: 11
paulychamp is on a distinguished road
Default Full Screen on 2nd Display

Anyone having any luck with fullscreen output to a 2nd display? I'm running XBMC 0.1.1 on a MacBook Pro. My 2nd display is a 32" TV with a resolution of 1360x768.

I have the environment variables set:

SDL_VIDEO_FULLSCREEN_DISPLAY=2
SDL_SINGLEDISPLAY=1

I can see the variables when I run 'env' in a shell.

When I launch XBMC from my Applications folder (or from a shell), it loads (windowed) on my laptop/primary display.

Code:
There are 2 displays, requested was 2.
Replacing display ID 69671360 with 1317552129
WARNING: The XBMC_HOME environment variable is not set.
Checking for existence of /Users/paul/Library/Application Support/XBMC/UserData/Keymap.xml
There are 2 displays, requested was 2.
Replacing display ID 69671360 with 1317552129
There are 2 displays, requested was 2.
Replacing display ID 69671360 with 1317552129
QZ_SetVideoWindowed(1280, 720)
Using display 1317552129
Trying: /Applications/XBMC.app/Contents/Resources/XBMC/language/English/strings.xml
++ WARN: could not retrieve file info for `image.nrg': No such file or directory
++ WARN: can't open nrg image file image.nrg for reading
CRITSEC[0xa1b424]: Trying to enter destroyed section.
CritSect[0xa1b424]: Some other thread trying to leave our critical section.
Any ideas? Thanks!
paulychamp is offline   Reply With Quote
Old 2008-02-15, 09:24   #2
PaecKe
Junior Member
 
Join Date: Feb 2008
Posts: 3
PaecKe is on a distinguished road
Default

I would love to check this for you, but I am trying to figure out how to set the environment variables (I am running in n00b mode here )
PaecKe is offline   Reply With Quote
Old 2008-02-15, 18:40   #3
loax
Junior Member
 
Join Date: Feb 2008
Posts: 2
loax is on a distinguished road
Default

There are a couple ways to set environment variables, and one is much better than the other. The less-good way is to set them in terminal.app, but unfortunately to make use of these variables you must then launch xbmc from that terminal window (using open /Applications/xbmc.app) for it to see those variables. Since it's les good, I'm not going to tell you how to do that.

So the better way is to do this. Create a file called .MacOSX/environment.plist with the following contents:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>SDL_SINGLEDISPLAY</key>
	<string>1</string>
	<key>SDL_VIDEO_FULLSCREEN_DISPLAY</key>
	<string>2</string>
</dict>
</plist>
loax is offline   Reply With Quote
Old 2008-02-15, 18:43   #4
loax
Junior Member
 
Join Date: Feb 2008
Posts: 2
loax is on a distinguished road
Default

Quote:
Originally Posted by loax View Post
...
Oh, and then you need to log out and back in. Dunno if this will sort out the OP's issues or not.
loax is offline   Reply With Quote
Old 2008-02-15, 19:43   #5
PaecKe
Junior Member
 
Join Date: Feb 2008
Posts: 3
PaecKe is on a distinguished road
Default

Thanks for the hint loax, but unfortunately this feature doesn't work here as well. I get the same console messages as paulychamp.
PaecKe is offline   Reply With Quote
Old 2008-02-15, 21:40   #6
PaecKe
Junior Member
 
Join Date: Feb 2008
Posts: 3
PaecKe is on a distinguished road
Default

Oh hang on, after changing the resolution in XBMC to 'desktop' this works like a charm! HTH.
PaecKe is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 13:32.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project