Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

macos 10.13 issues #149

Open
Open
@starpit

Description

@starpit
Member

two issues with macos 10.13:

  1. screen shows blank for a short duration, then flashes over to the actual content
  2. the terminal shows this message:
IBM Cloud Functions Shell[61208:2254181] *** WARNING: Textured window <AtomNSWindow: 0x7fefb4e978b0> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.

this electron issue may cover it: electron/electron#10559
or this? electron/electron#11150

Activity

starpit

starpit commented on Jan 23, 2018

@starpit
MemberAuthor

user @thomassuedbroecker reports a related issue:

ibm-functions/composer#25

hmontes

hmontes commented on Feb 12, 2018

@hmontes

Same issue here with a simple code.

const electron = require('electron');

const { app } = electron;

app.on('ready', () => {
  console.log('App is now ready');
});

my console

App is now ready
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 4
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 5
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 6
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 7
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 9
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 10
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 11
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/

hmontes

hmontes commented on Feb 12, 2018

@hmontes

Update. If i add app.disableHardwareAcceleration() to the code, the app works fine.

const electron = require('electron');

const { app } = electron;
app.disableHardwareAcceleration();

app.on('ready', () => {
  console.log('App is now ready');
})

console

App is now ready

starpit

starpit commented on Feb 12, 2018

@starpit
MemberAuthor

thanks for digging into this @hmontes !

disableHardwareAcceleration doesn't seem to remove this message:

*** WARNING: Textured window <AtomNSWindow: 0x7fe84d46d900> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.
hmontes

hmontes commented on Feb 12, 2018

@hmontes

@starpit I updated my code. You need to put that line before the app is ready.

(My mistake. Sorry)

Official doc: https://github.com/electron/electron/blob/master/docs/api/app.md#appdisablehardwareacceleration

I think the problem is related with the Macbook models. Some models have Nvidia gpu's, others (like my laptop) has an intel gpu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @starpit@hmontes

        Issue actions

          macos 10.13 issues · Issue #149 · ibm-functions/shell