Mac retina issues

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Mac retina issues

#1 Post by jack_norton »

This was reported by an user in my forums, testing SOTW using latest Ren'Py. He wrote:
I bought a new retina Macbook Pro, which means I get to experience all the funkiness that comes with retina displays.

In this case, I have scaled my normal desktop resolution to 3360x2100 (so really displays as 1680x1050), which means when I launch the game in full-screen mode, I get this.

Going into preferences (which is made a bit more difficult, since my mouse is something like 500 y coordinates lower than the menu visual) and toggling full-screen -> windowed -> full-screen will fix the game, but every time I launch I'll have to do this.
and also he added:
However, another mac-specific bug I've only seen in SotW so far (or perhaps the new version of the RenPy engine?): if I have the game in full screen and hit Command-M (minimize), the OS X genie animation plays where the game is minimized to the dock, but I'm left with a black screen covering my view and have to force a quit to escape. The expected behavior when playing full screen is the minimize action is blocked - mashing Command-M should do absolutely nothing. (Side note: it would be nice if there was a keyboard shortcut to toggle windowed mode. Some games use Command-F, some use Command-M, not sure if there's an official Apple standard, but I end up toggling a lot, even when not writing notes during a beta.)
Just FYI :D
follow me on Image Image Image
computer games

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Mac retina issues

#2 Post by jack_norton »

Also on a positive note, he added:
Sidenote about the new engine and performance improvements. Loren would burn through my laptop battery in just under 90 minutes. I managed to go 3 hours with SotW. (I get 7-8 hours if I just surf the web, so that's pretty good for a game.)
So good job with the new version! 8)
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Mac retina issues

#3 Post by PyTom »

jack_norton wrote:I get this.
You're dangling a pronoun there. Is there a screenshot?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Anima
Veteran
Posts: 448
Joined: Wed Nov 18, 2009 11:17 am
Completed: Loren
Projects: PS2
Location: Germany
Contact:

Re: Mac retina issues

#4 Post by Anima »

Avatar created with this deviation by Crysa
Currently working on:
  • Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Mac retina issues

#5 Post by jack_norton »

Haha sorry, I just copy pasted the post text forgetting that there was an image. Thanks for adding it :D
follow me on Image Image Image
computer games

Anima
Veteran
Posts: 448
Joined: Wed Nov 18, 2009 11:17 am
Completed: Loren
Projects: PS2
Location: Germany
Contact:

Re: Mac retina issues

#6 Post by Anima »

That's what you have minions for, isn't it? :wink:
Avatar created with this deviation by Crysa
Currently working on:
  • Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Mac retina issues

#7 Post by PyTom »

I'll queue this up for 6.18.3.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Mac retina issues

#8 Post by jack_norton »

Thanks, the same users also reported a different behavior in music. On Windows though seems to work like before, so I'm not sure if it's a real bug.
Thorough the game I change the music with this:

Code: Select all

label changemusic(musician,d=1.5):
    if renpy.music.get_playing() != musician:
        stop music fadeout (d)
        queue music musician
    return
calling it like:

Code: Select all

call changemusic("snd/whisper.ogg")
call changemusic("snd/winter.ogg",3)
etc etc, I don't see anything weird about it :?
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Mac retina issues

#9 Post by PyTom »

Music didn't change. (There was an addition of a function to tell if you're using a sound channel, but other than that, there weren't any changes.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Mac retina issues

#10 Post by PyTom »

I've been trying to repeat this issue on my mac, using retina emulation, but haven't been able to cause the problem to recur.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Mac retina issues

#11 Post by jack_norton »

Well, will tell the user to get in touch maybe, since I don't have any way to reproduce it myself either :(
follow me on Image Image Image
computer games

Troyen
Newbie
Posts: 1
Joined: Sat Oct 25, 2014 4:44 am
Contact:

Re: Mac retina issues

#12 Post by Troyen »

I'm the user with the problem. I get it on every Ren'Py game I've tried.

Note: it only happens if you start the game in fullscreen mode. If you start windowed and then toggle full-screen it's fine (until you quit and launch in fullscreen mode). I've had this happen in every Ren'Py game I have, across all publishers, but non-Ren'Py games don't have this particular issue.

My computer is a 2014 15" MacBook Pro Retina on 10.9.5. I doubt it's Mavericks because I have a 2010 15" MBP non-Retina running 10.9.5 and it doesn't have this problem.

I've narrowed it down to something with the embedded intel graphics card. If I disable automatic graphics switching to force it to run on my NVIDIA 750M, it'll run perfectly fine (though drain my battery a lot quicker). Resolution seems to have something to do with it too. I run in a scaled 3360x2100 (native is 2880x1800, but even that doesn't look right, in a different way). If I crank it up to 3840x2400, I see a much smaller piece of the bottom left-hand corner and all the buttons are really big (but still unclickable) - on Intel, all resolutions are OK on NVIDIA.

I don't know if this helps, but here's the spec for the Intel card:
Chipset Model: Intel Iris Pro
Type: GPU
Bus: Built-In
VRAM (Dynamic, Max): 1536 MB
Vendor: Intel (0x8086)
Device ID: 0x0d26
Revision ID: 0x0008
gMux Version: 4.0.8 [3.2.8]
And the fully-functional NVIDIA GeForce GT 750M:
Chipset Model: NVIDIA GeForce GT 750M
Type: GPU
Bus: PCIe
PCIe Lane Width: x8
VRAM (Total): 2048 MB
Vendor: NVIDIA (0x10de)
Device ID: 0x0fe9
Revision ID: 0x00a2
ROM Revision: 3776
gMux Version: 4.0.8 [3.2.8]
Unfortunately, only the 15" model comes with the NVIDIA card option. Everyone with a 13" rMBP is stuck using the Intel card.

Post Reply

Who is online

Users browsing this forum: No registered users