diff --git a/app/gui/main.qml b/app/gui/main.qml index 78b773c4..606fda89 100644 --- a/app/gui/main.qml +++ b/app/gui/main.qml @@ -70,12 +70,7 @@ ApplicationWindow { function hasHardwareAccelerationChanged() { if (!SystemProperties.hasHardwareAcceleration && StreamingPreferences.videoDecoderSelection !== StreamingPreferences.VDS_FORCE_SOFTWARE) { - if (SystemProperties.isRunningXWayland) { - xWaylandDialog.open() - } - else { - noHwDecoderDialog.open() - } + noHwDecoderDialog.open() } } @@ -467,14 +462,6 @@ ApplicationWindow { helpUrl: "https://github.com/moonlight-stream/moonlight-docs/wiki/Fixing-Hardware-Decoding-Problems" } - ErrorMessageDialog { - id: xWaylandDialog - text: qsTr("Hardware acceleration doesn't work on XWayland. Continuing on XWayland may result in poor streaming performance. " + - "Try running with QT_QPA_PLATFORM=wayland or switch to X11.") - helpText: qsTr("Click the Help button for more information.") - helpUrl: "https://github.com/moonlight-stream/moonlight-docs/wiki/Fixing-Hardware-Decoding-Problems" - } - NavigableMessageDialog { id: wow64Dialog standardButtons: Dialog.Ok | Dialog.Cancel diff --git a/app/main.cpp b/app/main.cpp index 1ffe7812..ac874e87 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -882,10 +882,6 @@ int main(int argc, char *argv[]) // After the QGuiApplication is created, the platform stuff will be initialized // and we can set the SDL video driver to match Qt. if (QGuiApplication::platformName() == "xcb") { - if (WMUtils::isRunningWayland()) { - SDL_LogWarn(SDL_LOG_CATEGORY_APPLICATION, - "Detected XWayland. This will probably break hardware decoding! Try running with QT_QPA_PLATFORM=wayland or switch to X11."); - } qputenv("SDL_VIDEODRIVER", "x11"); } else if (QGuiApplication::platformName().startsWith("wayland")) {