kevinatown / MMM-Screencast

A module to cast to the magic mirror
MIT License
166 stars 34 forks source link

devices shows up on casting options but won't play #124

Open AnghelCC opened 2 years ago

AnghelCC commented 2 years ago

my phone tries to connect to the mirror but does not actually load anything

BottomNine commented 2 years ago

Have you resolved this? I am having the same issue.

AnghelCC commented 2 years ago

Unfortunately not,and no one seems to know what is wrong

BeeGass commented 2 years ago

can also confirm its happening to me as well

Sniperson2002 commented 2 years ago

I have run across a number of forums mentioning a similar fix for other platforms using electron. Ex https://github.com/UnchartedBull/OctoDash/issues/2467 I am not familiar enough to try to test this for our situation though. --disable-seccomp-filter-sandbox I can cough up full logs and configs if needed and I'm more than willing to help test.

My error being

[03.04.2022 11:47.37.304] [LOG]   screencast stderr: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0403

[03.04.2022 11:47.40.186] [LOG]   screencast stderr: [15437:0403/114740.185139:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.

[03.04.2022 11:47.42.390] [LOG]   screencast stderr: /home/pi/MagicMirror/modules/MMM-Screencast/node_modules/electron/dist/electron exited with signal SIGTRAP
vinaynaik121 commented 2 years ago

my phone tries to connect to the mirror but does not actually load anything

Having Same Issue

log file1

log file 2

And Here is my config file

/ MagicMirror² Config Sample

{ module: "MMM-NowPlayingOnSpotify", position: "bottom_left",

config: { clientID: "9e7f6a29f91047409a3c7305cfff2d82", clientSecret: "a07e3196d01a4207918275def92a0898", accessToken: "BQDMozbYoE_9eLAz2nhdSs9sksgR7YPN7UOnBMMGOe-R0nOHOO1K381JYRm8i9_bvkufBg43ykfeqyHlGoRcq9X6xNx7_x0BM5HnG_qpCJOHnDZvjb0b3SCi_FON7Drzy1PRESXxk_rpAfrHrcyfshXS3rp6JVDSo1QBEi2Gt51SWg", refreshToken: "AQAd1sutePX8ZjxdBScJyYYHh1OMvN1-nU3L9s99Wvk9srCKonS7vZJBbpRcN2m8MN7HU3iuTEN3ZAOPG5UdHnjUVMAUefrn-2YqpqmJpPSQWUJXlq4CF60dPteozP_84wQ" } }, { module: 'MMM-Remote-Control', // uncomment the following line to show the URL of the remote control on the mirror // position: 'bottom_left', // you can hide this module afterwards from the remote control itself config: { apiKey: '' } }, { module: "MMM-kalliope", position: "upper_third", config: { max: "5", title: "Mycroft", keep_seconds: "0" } }, { module: "MMM-EyeCandy", position: "top_center", config: { maxWidth: "90%", // Sizes the images. Retains aspect ratio. style: '36', // Style number or use ownImagePath to override style ownImagePath: '', // ex: 'modules/MMM-EyeCandy/pix/YOUR_PICTURE_NAME.jpg', or internet url to image } }, { module: 'voicecontrol', position: 'bottom_left', config: { models: [ { keyword: "playMusic", // keyword description: "Say 'Play Music' to start playing", file: "playMusic.pmdl", // trained model file name message: "PLAY_MUSIC" // notification message that's broadcast in the MagicMirror app }, { keyword: "stopMusic", description: "Say 'Stop Music' to stop playing", file: "stopMusic.pmdl", message: "STOP_MUSIC" }, ] } }, { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "https://www.officeholidays.com/ics-clean/india" } ] } }, { module: "compliments", position: "lower_third" }, { module: "weather", position: "top_right", config: { weatherProvider: "openweathermap", type: "current", location: "", locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "" } }, { module: "weather", position: "top_right", header: "Weather Forecast", config: { weatherProvider: "openweathermap", type: "forecast", location: "", locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "" } }, { module: "MMM-Jast", position: "bottom_right", config: { maxWidth: "100%", updateIntervalInSeconds: 300, fadeSpeedInSeconds: 3.5, scroll: "vertical", // One of ["none", "vertical", "horizontal"] useGrouping: false, currencyStyle: "code", // One of ["code", "symbol", "name"] lastUpdateFormat: "HH:mm", showColors: true, showCurrency: true, showChangePercent: true, showChangeValue: false, showChangeValueCurrency: false, showLastUpdate: false, showPortfolioValue: false, showPortfolioGrowthPercent: false, showPortfolioGrowth: false, numberDecimalsValues: 2, numberDecimalsPercentages: 1, virtualHorizontalMultiplier: 2, stocks: [ { name: "NIFTY 50", symbol: "^NSEI",}, { name: "BANKNIFTY", symbol: "^NSEBANK" }, { name: "RELIANCE IND", symbol: "RELIANCE.NS" }, { name: "TCS", symbol: "TCS.NS"}

    ]
}

}, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, ] };

/ DO NOT EDIT THE LINE BELOW / if (typeof module !== "undefined") {module.exports = config;}