Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Vindicus999
2025-10-05 23:16:10 +00:00
21 changed files with 654 additions and 256 deletions
-1
View File
@@ -29,7 +29,6 @@
#include "utils/i18n.h"
#include "vk/check.h"
#include "wifi_lock.h"
#include "wivrn_packets.h"
#include "xr/actionset.h"
#include "xr/check.h"
#include "xr/htc_exts.h"
-1
View File
@@ -28,7 +28,6 @@
#include "wifi_lock.h"
#include "wivrn_config.h"
#include "wivrn_discover.h"
#include "wivrn_packets.h"
#include "xr/face_tracker.h"
#include <vulkan/vulkan_raii.hpp>
#include <openxr/openxr.h>
+6
View File
@@ -19,6 +19,12 @@
#pragma once
namespace wivrn
{
// Default port for server to listen, both TCP and UDP
static const int default_port = 9757;
} // namespace wivrn
#cmakedefine01 WIVRN_USE_NVENC
#cmakedefine01 WIVRN_USE_VAAPI
#cmakedefine01 WIVRN_USE_VULKAN_ENCODE
-3
View File
@@ -38,9 +38,6 @@
namespace wivrn
{
// Default port for server to listen, both TCP and UDP
static const int default_port = 9757;
static constexpr int protocol_revision = 2;
enum class device_id : uint8_t
+1
View File
@@ -16,6 +16,7 @@ add_executable(wivrn-dashboard
rectangle_partitionner.cpp
adb.cpp
apk_installer.cpp
firewall.cpp
vulkan_info.cpp
)
+209
View File
@@ -0,0 +1,209 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "firewall.h"
#include "escape_sandbox.h"
#include "utils/flatpak.h"
#include "wivrn_config.h"
#include <QDBusInterface>
#include <QDBusMetaType>
#include <QDBusReply>
#include <QDebug>
#include <QStandardPaths>
#include <filesystem>
#include <string>
class firewall::Impl : public QObject
{
Q_OBJECT
public:
virtual bool need_setup()
{
return false;
}
virtual void do_setup() {}
Q_SIGNALS:
void needSetupChanged(bool);
};
class ufw : public firewall::Impl
{
std::unique_ptr<QProcess> pkexec;
static const std::filesystem::path conf;
public:
bool need_setup() override
{
return not std::filesystem::exists(
(wivrn::is_flatpak() ? "/run/host" : "/") / conf);
}
void do_setup() override
{
pkexec = escape_sandbox("pkexec",
"sh",
"-c",
"printf '[WiVRn]\\ntitle=WiVRn server\ndescription=WiVRn OpenXR streaming server\nports=" + std::to_string(wivrn::default_port) + "' > /" + conf.string() + " && ufw allow wivrn");
pkexec->setProcessChannelMode(QProcess::MergedChannels);
pkexec->start();
QObject::connect(pkexec.get(), &QProcess::finished, this, [this](int exit_code, QProcess::ExitStatus exit_status) {
if (exit_status != QProcess::NormalExit or exit_code)
qWarning() << "ufw configuration exitec with status" << exit_status << "and code" << exit_code;
needSetupChanged(need_setup());
pkexec.release()->deleteLater();
});
}
};
const std::filesystem::path ufw::conf = "etc/ufw/applications.d/wivrn";
class firewalld : public firewall::Impl
{
QDBusInterface fw = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1", "org.fedoraproject.FirewallD1", QDBusConnection::systemBus());
QDBusInterface zone = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1", "org.fedoraproject.FirewallD1.zone", QDBusConnection::systemBus());
QDBusInterface conf = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1/config", "org.fedoraproject.FirewallD1.config", QDBusConnection::systemBus());
public:
bool enabled()
{
return fw.isValid();
}
bool need_setup() override
{
QDBusReply<QStringList> res = zone.call("getServices", "");
if (not res.isValid())
{
qWarning() << "Failed to list enabled firewalld services" << res.error();
return false;
}
return not res.value().contains("wivrn");
}
void do_setup() override
{
if (QDBusReply<void> res = fw.call("authorizeAll"); not res.isValid())
{
qWarning() << "Failed to get firewalld authorization: " << res.error();
return;
}
// Check if configuration needs to be created
QDBusReply<QStringList> res = conf.call("getServiceNames");
if (not res.isValid())
{
qWarning() << "Failed to list firewalld services: " << res.error();
return;
}
if (not res.value().contains("wivrn"))
{
qInfo() << "Creating firewalld wivrn service";
QMap<QString, QVariant> map;
map["short"] = QString("WiVRn");
map["description"] = QString("OpenXR streaming service");
{
QList<QVariant> ports;
for (auto proto: {"tcp", "udp"})
{
QDBusArgument port;
port.beginStructure();
port << QString::number(wivrn::default_port) << QString(proto);
port.endStructure();
ports.push_back(QVariant::fromValue(port));
}
map["ports"] = ports;
}
if (QDBusReply<void> res = conf.call("addService2", "wivrn", map);
not res.isValid())
{
qWarning() << "Failed to create firewalld wivrn service: " << res.error();
return;
}
}
QDBusReply<QString> default_zone = fw.call("getDefaultZone");
if (not default_zone.isValid())
{
qWarning() << "Failed to get firewalld default zone: " << default_zone.error();
return;
}
QDBusReply<QDBusObjectPath> zone_path = conf.call("getZoneByName", default_zone.value());
if (not zone_path.isValid())
{
qWarning() << "Failed to get firewalld zone " << default_zone.value() << " configuration: " << default_zone.error();
return;
}
QDBusInterface zone_conf = QDBusInterface("org.fedoraproject.FirewallD1", zone_path.value().path(), "org.fedoraproject.FirewallD1.config.zone", QDBusConnection::systemBus());
if (QDBusReply<void> res = zone_conf.call("addService", "wivrn"); not res.isValid())
{
qWarning() << "Failed to enable firewalld wivrn service: " << res.error();
return;
}
if (QDBusReply<void> res = fw.call("reload"); not res.isValid())
qWarning() << "Failed to reload firewalld configuration: " << res.error();
needSetupChanged(false);
}
};
std::unique_ptr<firewall::Impl> make_impl()
{
if (auto fwd = std::make_unique<firewalld>(); fwd->enabled())
return fwd;
if (wivrn::is_flatpak())
{
if (not QStandardPaths::findExecutable(
"ufw",
QStringList({"/run/host/usr/sbin", "/run/host/usr/bin"}))
.isEmpty())
return std::make_unique<ufw>();
}
else
{
if (not QStandardPaths::findExecutable("ufw").isEmpty())
return std::make_unique<ufw>();
}
return std::make_unique<firewall::Impl>();
}
firewall::firewall() :
impl(make_impl())
{
connect(impl.get(), &firewall::Impl::needSetupChanged, this, &firewall::needSetupChanged);
}
firewall::~firewall() = default;
bool firewall::needSetup()
{
return impl->need_setup();
}
void firewall::doSetup()
{
return impl->do_setup();
}
#include "firewall.moc"
+46
View File
@@ -0,0 +1,46 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include <QObject>
#include <QProcess>
#include <QtQml/qqmlregistration.h>
class firewall : public QObject
{
public:
class Impl;
Q_OBJECT
QML_NAMED_ELEMENT(Firewall)
QML_SINGLETON
Q_PROPERTY(bool needSetup READ needSetup NOTIFY needSetupChanged)
private:
std::unique_ptr<Impl> impl;
public:
firewall();
~firewall();
bool needSetup();
Q_INVOKABLE void doSetup();
Q_SIGNALS:
void needSetupChanged(bool);
};
+115 -88
View File
@@ -25,6 +25,21 @@ Kirigami.ApplicationWindow {
icon.source: Qt.resolvedUrl("wivrn.svg")
onActivated: root.visible = !root.visible
}
Component{
id: error_template
Kirigami.InlineMessage{
visible: true
property string where
property string message
Layout.fillWidth: true
text: where + (where ? "\n" : "") + message
type: Kirigami.MessageType.Error
showCloseButton: true
}
}
onClosing: Qt.quit()
Core.Settings {
@@ -72,18 +87,21 @@ Kirigami.ApplicationWindow {
switch_pairing.checked = WivrnServer.pairingEnabled;
}
// function onHeadsetConnectedChanged(value) {
// if (value != root.prev_headset_connected) {
// root.prev_headset_connected = value;
//
// if (value && root.pageStack.depth == 1)
// root.pageStack.push(Qt.resolvedUrl("HeadsetStatsPage.qml"));
// }
// }
function onJsonConfigurationChanged() {
config.load(WivrnServer);
}
function onServerError(info) {
console.log(info.where);
console.log(info.message);
messages.append(error_template.createObject(
null,
{
where: info.where,
message: info.message
}
));
}
}
Component.onCompleted: {
@@ -102,93 +120,102 @@ Kirigami.ApplicationWindow {
pageStack.initialPage: Kirigami.ScrollablePage {
ColumnLayout {
anchors.fill: parent
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("The server does not have CAP_SYS_NICE capabilities.")
// type: Kirigami.MessageType.Warning
type: Kirigami.MessageType.Information
showCloseButton: true
visible: !WivrnServer.capSysNice
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: WivrnServer.grant_cap_sys_nice()
Repeater{
model: ObjectModel {
id: messages
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("The server does not have CAP_SYS_NICE capabilities.")
// type: Kirigami.MessageType.Warning
type: Kirigami.MessageType.Information
showCloseButton: true
visible: !WivrnServer.capSysNice
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: WivrnServer.grant_cap_sys_nice()
}
]
}
]
}
Kirigami.InlineMessage {
id: restart_capsysnice
Layout.fillWidth: true
text: i18n("The CAP_SYS_NICE capability will be used when the server is restarted.")
type: Kirigami.MessageType.Information
showCloseButton: true
visible: false
actions: [
Kirigami.Action {
text: i18nc("restart the server", "Restart now")
onTriggered: {
WivrnServer.restart_server();
restart_capsysnice.visible = false;
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Firewall may not allow port 9757.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: Firewall.needSetup
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: Firewall.doSetup()
}
]
}
]
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("NVIDIA GPUs require at least driver version 565.77, current version is %1", VulkanInfo.driverVersion)
type: Kirigami.MessageType.Error
showCloseButton: true
visible: VulkanInfo.driverId == "NvidiaProprietary" && VulkanInfo.driverVersionCode < 2371043328 /* Version 565.77 */
actions: [
Kirigami.Action {
text: i18n("More info")
onTriggered: Qt.openUrlExternally("https://github.com/WiVRn/WiVRn/issues/180")
Kirigami.InlineMessage {
id: restart_capsysnice
Layout.fillWidth: true
text: i18n("The CAP_SYS_NICE capability will be used when the server is restarted.")
type: Kirigami.MessageType.Information
showCloseButton: true
visible: false
actions: [
Kirigami.Action {
text: i18nc("restart the server", "Restart now")
onTriggered: {
WivrnServer.restart_server();
restart_capsysnice.visible = false;
}
}
]
}
]
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Use the Mesa (radv) driver for AMD GPUs\nHardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: VulkanInfo.driverId == "AmdProprietary" || VulkanInfo.driverId == "AmdOpenSource"
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("No OpenVR compatibility detected, Steam games won't be able to load VR.\nInstall xrizer or OpenComposite.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: WivrnServer.openVRCompat.length == 0 && config.openvr == ""
}
Kirigami.InlineMessage {
id: message_failed_to_start
Layout.fillWidth: true
text: i18n("Server failed to start")
type: Kirigami.MessageType.Error
showCloseButton: true
// visible: WivrnServer.serverStatus == WivrnServer.FailedToStart
actions: [
Kirigami.Action {
text: i18n("Open server logs")
onTriggered: WivrnServer.open_server_logs()
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("NVIDIA GPUs require at least driver version 565.77, current version is %1", VulkanInfo.driverVersion)
type: Kirigami.MessageType.Error
showCloseButton: true
visible: VulkanInfo.driverId == "NvidiaProprietary" && VulkanInfo.driverVersionCode < 2371043328 /* Version 565.77 */
actions: [
Kirigami.Action {
text: i18n("More info")
onTriggered: Qt.openUrlExternally("https://github.com/WiVRn/WiVRn/issues/180")
}
]
}
]
}
// RowLayout {
// Controls.Button {
// text: "refresh latest version"
// onClicked: ApkInstaller.refreshLatestVersion()
// }
// Controls.Label {
// text: "current version " + ApkInstaller.currentVersion + "\nlatest version " + ApkInstaller.latestVersion
// }
// }
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Use the Mesa (radv) driver for AMD GPUs\nHardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: VulkanInfo.driverId == "AmdProprietary" || VulkanInfo.driverId == "AmdOpenSource"
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("No OpenVR compatibility detected, Steam games won't be able to load VR.\nInstall xrizer or OpenComposite.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: WivrnServer.openVRCompat.length == 0 && config.openvr == ""
}
Kirigami.InlineMessage {
id: message_failed_to_start
Layout.fillWidth: true
text: i18n("Server failed to start")
type: Kirigami.MessageType.Error
showCloseButton: true
// visible: WivrnServer.serverStatus == WivrnServer.FailedToStart
actions: [
Kirigami.Action {
text: i18n("Open server logs")
onTriggered: WivrnServer.open_server_logs()
}
]
}
}
}
GridLayout {
columns: 2
+1
View File
@@ -472,6 +472,7 @@ Kirigami.ScrollablePage {
scale_slider.value = Math.round(100 - config.scale * 100);
manual_foveation.checked = true;
} else {
scale_slider.value = 50;
manual_foveation.checked = false;
}
+9 -1
View File
@@ -22,7 +22,15 @@ Kirigami.ScrollablePage {
}
TroubleshootCard {
title: i18n("I cannot see my computer in the WiVRn app")
details: i18n("If the server is not visible or the connection fails, check that port 5353 (UDP) and 9757 (TCP and UDP) are open in your firewall.")
details: i18n("If you have a firewall, make sure that port 5353/UDP is open.")
}
TroubleshootCard {
title: i18n("Connecting remains stuck on \"Connection to ...\"")
details: i18n("If you have a firewall, make sure that port 9757 is open both for TCP and UDP.")
}
TroubleshootCard {
title: i18n("Connection fails with \"no route to host\"")
details: i18n("If you have a firewall, make sure that port 9757 is open both for TCP and UDP.")
}
TroubleshootCard {
title: i18n("I have an \"Incompatible WiVRn server\" error on my headset")
+1
View File
@@ -257,6 +257,7 @@ void wivrn_server::on_server_dbus_registered()
server_properties_interface = std::make_unique<OrgFreedesktopDBusPropertiesInterface>("io.github.wivrn.Server", "/io/github/wivrn/Server", QDBusConnection::sessionBus(), this);
connect(server_properties_interface.get(), &OrgFreedesktopDBusPropertiesInterface::PropertiesChanged, this, &wivrn_server::on_server_properties_changed);
connect(server_interface.get(), &IoGithubWivrnServerInterface::ServerError, [this](const QString & w, const QString & m) { serverError(serverErrorData(w, m)); });
serverStatusChanged(m_serverStatus = Status::Started);
refresh_server_properties();
+18
View File
@@ -122,6 +122,23 @@ public:
}
};
class serverErrorData
{
Q_GADGET
QML_VALUE_TYPE(serverError)
Q_PROPERTY(QString where MEMBER m_where CONSTANT)
Q_PROPERTY(QString message MEMBER m_message CONSTANT)
QString m_where;
QString m_message;
public:
serverErrorData() = default;
serverErrorData(QString where, QString message) :
m_where(where), m_message(message) {}
};
class wivrn_server : public QObject
{
Q_OBJECT
@@ -380,4 +397,5 @@ Q_SIGNALS:
void supportedCodecsChanged(QStringList);
void steamCommandChanged(QString);
void serverLogsChanged(QString);
void serverError(serverErrorData);
};
+5
View File
@@ -73,5 +73,10 @@
</property>
<property name="PairingEnabled" type="b" access="read"/>
<property name="EncryptionEnabled" type="b" access="read"/>
<signal name="ServerError">
<arg type="s" name="where"/>
<arg type="s" name="message"/>
</signal>
</interface>
</node>
+4
View File
@@ -38,6 +38,10 @@ finish-args:
# Let outside application access the WiVRn socket
- --filesystem=xdg-run/wivrn:create
- --own-name=io.github.wivrn.Server
# Check firewall configuration
- --filesystem=host-etc
- --system-talk-name=org.fedoraproject.FirewallD1
- --system-talk-name=org.fedoraproject.FirewallD1.config
# QSystemTrayIcon
- --talk-name=org.kde.StatusNotifierWatcher
# Run processes outside of sandbox
+132 -102
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-08-04 09:40+0200\n"
"PO-Revision-Date: 2025-08-04 09:41+0200\n"
"POT-Creation-Date: 2025-10-05 12:07+0200\n"
"PO-Revision-Date: 2025-10-05 12:10+0200\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
@@ -16,47 +16,47 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Gtranslator 48.0\n"
#: dashboard/apk_installer.cpp:167
#: dashboard/apk_installer.cpp:165
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "Téléchargement de l'APK : %1 MB / %2 MB"
#: dashboard/apk_installer.cpp:169
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Téléchargement de l'APK : %1 MB"
#: dashboard/apk_installer.cpp:178
#: dashboard/apk_installer.cpp:176
#, kde-format
msgid "Download cancelled"
msgstr "Téléchargement annulé"
#: dashboard/apk_installer.cpp:194
#: dashboard/apk_installer.cpp:192
#, kde-format
msgid "Cannot download APK: %1"
msgstr "Impossible de télécharger l'APK : %1"
#: dashboard/apk_installer.cpp:217
#: dashboard/apk_installer.cpp:215
#, kde-format
msgid "Installing APK"
msgstr "Installation de l'APK"
#: dashboard/apk_installer.cpp:221
#: dashboard/apk_installer.cpp:219
#, kde-format
msgid "adb failed to start: %1"
msgstr "adb n'a pas pu démarrer : %1"
#: dashboard/apk_installer.cpp:231
#: dashboard/apk_installer.cpp:229
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb a quitté de façon anormale : %1"
#: dashboard/apk_installer.cpp:239
#: dashboard/apk_installer.cpp:237
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "La commande 'adb install' a échoué : code de retour %1"
#: dashboard/apk_installer.cpp:244
#: dashboard/apk_installer.cpp:242
#, kde-format
msgid "Installation successful"
msgstr "Installation réussie"
@@ -82,8 +82,8 @@ msgstr "Vérification de la dernière version..."
msgid "No precompiled APK is available for this version."
msgstr "Aucun APK précompilé n'est disponible pour cette version."
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:341
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:284
#: dashboard/qml/Main.qml:367
#, kde-format
msgid "ADB is not installed."
msgstr "ADB n'est pas installé."
@@ -106,7 +106,7 @@ msgstr ""
"construire votre propre client."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -132,7 +132,7 @@ msgstr "Réinstaller WiVRn"
msgid "Install WiVRn"
msgstr "Installer WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:380
#, kde-format
msgid "Headsets"
msgstr "Casques"
@@ -177,7 +177,7 @@ msgstr "Renommer"
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
#, kde-format
msgid "Cancel"
msgstr "Annuler"
@@ -197,7 +197,7 @@ msgstr "Enlever"
msgid "Pairing enabled, PIN: %1"
msgstr "Appairage activé, PIN : %1 "
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#, kde-format
msgid "Disable pairing"
msgstr "Désactiver l'appairage"
@@ -214,7 +214,7 @@ msgstr ""
"Activez l'appairage pour autoriser votre casque à se connecter à cet "
"ordinateur"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#, kde-format
msgid "Enable pairing"
msgstr "Activer l'appairage"
@@ -229,29 +229,34 @@ msgstr "Appairer un nouveau casque"
msgid "Headset statistics"
msgstr "Statistiques"
#: dashboard/qml/Main.qml:107
#: dashboard/qml/Main.qml:127
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "Le serveur n'a pas la capacité CAP_SYS_NICE"
#: dashboard/qml/Main.qml:114
#: dashboard/qml/Main.qml:134 dashboard/qml/Main.qml:148
#, kde-format
msgid "Fix it"
msgstr "Corriger"
#: dashboard/qml/Main.qml:123
#: dashboard/qml/Main.qml:142
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "Le pare-feu pourrait ne pas autoriser le port 9757."
#: dashboard/qml/Main.qml:157
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr ""
"La capacité CAP_SYS_NICE sera utilisée quand le serveur sera redémarré."
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:163
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Redémarrer"
#: dashboard/qml/Main.qml:140
#: dashboard/qml/Main.qml:174
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
@@ -259,12 +264,12 @@ msgstr ""
"Les GPUs NVIDIA nécessitent au moins le driver 565.77, la version actuelle "
"est %1."
#: dashboard/qml/Main.qml:146
#: dashboard/qml/Main.qml:180
#, kde-format
msgid "More info"
msgstr "Plus d'infos"
#: dashboard/qml/Main.qml:154
#: dashboard/qml/Main.qml:188
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -273,7 +278,7 @@ msgstr ""
"Utilisez le driver Mesa (redv) pour les GPUs AMD\n"
"L'encodage matériel avec vaapi ne fonctionne pas avec AMDVLK et AMDGPU-PRO"
#: dashboard/qml/Main.qml:162
#: dashboard/qml/Main.qml:196
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -283,75 +288,75 @@ msgstr ""
"pourront pas charger le mode VR.\n"
"Veuillez installer xrizer ou OpenComposite."
#: dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:205
#, kde-format
msgid "Server failed to start"
msgstr "Le serveur n'a pas pu démarrer"
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#: dashboard/qml/Main.qml:211 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Ouvrir les logs du serveur"
#: dashboard/qml/Main.qml:214
#: dashboard/qml/Main.qml:239
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Démarré"
#: dashboard/qml/Main.qml:229
#: dashboard/qml/Main.qml:254
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Appairage"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:267
#, kde-format
msgid "PIN: %1"
msgstr "PIN : %1"
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
#: dashboard/qml/Main.qml:275 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Connexion par USB"
#: dashboard/qml/Main.qml:261
#: dashboard/qml/Main.qml:286
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr "Le casque n'est pas connecté ou n'est pas en mode développeur."
#: dashboard/qml/Main.qml:269
#: dashboard/qml/Main.qml:294
#, kde-format
msgid "Disconnect"
msgstr "Déconnecter"
#: dashboard/qml/Main.qml:286
#: dashboard/qml/Main.qml:311
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Application"
#: dashboard/qml/Main.qml:307
#: dashboard/qml/Main.qml:332
#, kde-format
msgid "Steam information"
msgstr "Informations pour Steam"
#: dashboard/qml/Main.qml:325
#: dashboard/qml/Main.qml:351
#, kde-format
msgid "Wizard"
msgstr "Assistant"
#: dashboard/qml/Main.qml:332
#: dashboard/qml/Main.qml:358
#, kde-format
msgid "Install the app"
msgstr "Installer l'appli"
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:387 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Paramètres"
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:394 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Dépannage"
@@ -455,19 +460,19 @@ msgctxt "encoder preset"
msgid "Default preset"
msgstr "Configuration prédéfinie : par défaut"
#: dashboard/qml/SettingsPage.qml:145
#: dashboard/qml/SettingsPage.qml:139
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Configuration prédéfinie : basse latence"
#: dashboard/qml/SettingsPage.qml:170
#: dashboard/qml/SettingsPage.qml:158
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Configuration prédéfinie : sure"
#: dashboard/qml/SettingsPage.qml:193
#: dashboard/qml/SettingsPage.qml:181
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -477,85 +482,85 @@ msgstr ""
"d'un bord.\n"
"Déplacez un bord pour redimensionner ou supprimer un encodeur."
#: dashboard/qml/SettingsPage.qml:220
#: dashboard/qml/SettingsPage.qml:208
#, kde-format
msgid "Encoder:"
msgstr "Encodeur :"
#: dashboard/qml/SettingsPage.qml:229
#: dashboard/qml/SettingsPage.qml:217
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Automatique"
#: dashboard/qml/SettingsPage.qml:234
#: dashboard/qml/SettingsPage.qml:222
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (GPUs NVIDIA)"
#: dashboard/qml/SettingsPage.qml:239
#: dashboard/qml/SettingsPage.qml:227
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (GPUs AMD et Intel)"
#: dashboard/qml/SettingsPage.qml:244
#: dashboard/qml/SettingsPage.qml:232
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (encodage logiciel)"
#: dashboard/qml/SettingsPage.qml:249
#: dashboard/qml/SettingsPage.qml:237
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Vidéo)"
#: dashboard/qml/SettingsPage.qml:272
#: dashboard/qml/SettingsPage.qml:260
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr ""
"\"Automatique\" utilisera l'accélération matérielle si elle est disponible"
#: dashboard/qml/SettingsPage.qml:278
#: dashboard/qml/SettingsPage.qml:266
#, kde-format
msgid "Codec:"
msgstr "Codec :"
#: dashboard/qml/SettingsPage.qml:285
#: dashboard/qml/SettingsPage.qml:273
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Automatique"
#: dashboard/qml/SettingsPage.qml:289
#: dashboard/qml/SettingsPage.qml:277
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:293
#: dashboard/qml/SettingsPage.qml:281
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:297
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:319
#: dashboard/qml/SettingsPage.qml:307
#, kde-format
msgid "Advanced options"
msgstr "Paramètres avancés"
#: dashboard/qml/SettingsPage.qml:325
#: dashboard/qml/SettingsPage.qml:313
#, kde-format
msgid "Enable debug window"
msgstr "Activer la fenêtre de débogage"
#: dashboard/qml/SettingsPage.qml:332
#: dashboard/qml/SettingsPage.qml:320
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Activer le support des manettes SteamVR"
#: dashboard/qml/SettingsPage.qml:335
#: dashboard/qml/SettingsPage.qml:323
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -569,44 +574,44 @@ msgstr ""
"WiVRn.\n"
"Un utilitaire tiers tel que motoc est nécessaire pour la calibration."
#: dashboard/qml/SettingsPage.qml:343
#: dashboard/qml/SettingsPage.qml:331
#, kde-format
msgid "Custom adb location"
msgstr "Spécifier l'emplacement d'adb"
#: dashboard/qml/SettingsPage.qml:354
#: dashboard/qml/SettingsPage.qml:342
#, kde-format
msgid "Adb location:"
msgstr "Emplacement d'adb"
#: dashboard/qml/SettingsPage.qml:363
#: dashboard/qml/SettingsPage.qml:351
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Parcourir"
#: dashboard/qml/SettingsPage.qml:373
#: dashboard/qml/SettingsPage.qml:361
#, kde-format
msgid "Default"
msgstr "Par défaut"
#: dashboard/qml/SettingsPage.qml:387
#: dashboard/qml/SettingsPage.qml:375
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personnalisé"
#: dashboard/qml/SettingsPage.qml:392
#: dashboard/qml/SettingsPage.qml:380
#, kde-format
msgid "Disabled"
msgstr "Désactivé"
#: dashboard/qml/SettingsPage.qml:400
#: dashboard/qml/SettingsPage.qml:388
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Compatibilité OpenVR :"
#: dashboard/qml/SettingsPage.qml:426
#: dashboard/qml/SettingsPage.qml:414
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Chemin de la bibliothèque, en enlevant bin/linux64/vrclient.so"
@@ -643,7 +648,7 @@ msgstr "Commande de lancement Steam copiée"
msgid "I cannot find the WiVRn app on my headset"
msgstr "Je ne trouve pas l'application WiVRn sur mon casque"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
@@ -657,21 +662,37 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "Je ne vois pas mon ordinateur dans l'application WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr ""
"Si le serveur n'est pas visible ou que la connexion échoue, vérifiez que les "
"ports 5353 (UDP) et 9757 (TCP et UDP) sont ouverts dans le pare-feu."
"Si vous avez un pare-feu, assurez-vous d'avoir autorisé le port 5353/UDP."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "La connexion est bloquée à \"Connexion à ...\""
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
msgstr ""
"Si vous avez un pare-feu, assurez vous que le port 9757 soit ouvert en TCP "
"et UDP."
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "La connexion échoue avec \"no route to host\""
#: dashboard/qml/TroubleshootPage.qml:36
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "J'ai une erreur « Serveur WiVRn incompatible »"
#: dashboard/qml/TroubleshootPage.qml:29
#: dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -682,12 +703,12 @@ msgstr ""
"correspondre.</p><ul><li>La version de l'application sur le casque est dans "
"la page « À propos »</li><li>La version du serveur est <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:32
#: dashboard/qml/TroubleshootPage.qml:40
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "J'ai une erreur « L'appairage est désactivé »"
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -696,22 +717,22 @@ msgstr ""
"Si vous avez réinstallé le serveur ou le client ou que vous voulez connecter "
"un autre casque, activez l'appairage avant la connexion."
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "L'appairage est activé avec le PIN %1."
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently disabled."
msgstr "L'appairage est désactivé."
#: dashboard/qml/TroubleshootPage.qml:49
#: dashboard/qml/TroubleshootPage.qml:57
#, kde-format
msgid "I have no sound on my headset"
msgstr "Je n'ai pas de son sur mon casque"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -720,12 +741,12 @@ msgstr ""
"Quand le casque est connecté, sélectionnez \"WiVRn\" comme sortie audio par "
"défaut pour que les applications l'utilisent."
#: dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "Signaler un problème"
#: dashboard/qml/TroubleshootPage.qml:72
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "Demander sur Discord"
@@ -736,9 +757,9 @@ msgid "Getting started"
msgstr "Commencer"
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
#: dashboard/qml/WizardPage.qml:484
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
#: dashboard/qml/WizardPage.qml:485
#, kde-format
msgid "Back"
msgstr "Retour"
@@ -758,8 +779,8 @@ msgstr ""
"connecter à votre ordinateur."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
#: dashboard/qml/WizardPage.qml:490
#, kde-format
msgid "Next"
msgstr "Suivant"
@@ -859,12 +880,12 @@ msgstr ""
"L'application que vous choisissez sera démarrée automatiquement quand vous "
"connectez votre casque."
#: dashboard/qml/WizardPage.qml:300
#: dashboard/qml/WizardPage.qml:301
#, kde-format
msgid "Important information"
msgstr "Informations importantes"
#: dashboard/qml/WizardPage.qml:307
#: dashboard/qml/WizardPage.qml:308
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
@@ -873,12 +894,12 @@ msgstr ""
"WiVRn remplace entièrement SteamVR, il ne faut pas lancer SteamVR lorsque "
"WiVRn est démarré."
#: dashboard/qml/WizardPage.qml:358
#: dashboard/qml/WizardPage.qml:359
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Démarrez l'application WiVRn sur votre casque"
#: dashboard/qml/WizardPage.qml:363
#: dashboard/qml/WizardPage.qml:364
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -887,32 +908,41 @@ msgstr ""
"Pour vous connecter en WiFi, démarrez l'application WiVRn sur votre casque, "
"connectez-vous à « %1 » et entrez le PIN « %2 »."
#: dashboard/qml/WizardPage.qml:370
#: dashboard/qml/WizardPage.qml:371
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "Pour vous connecter en USB, cliquez sur « Connexion par USB »"
#: dashboard/qml/WizardPage.qml:383
#: dashboard/qml/WizardPage.qml:384
#, kde-format
msgid "Troubleshooting"
msgstr "Dépannage"
#: dashboard/qml/WizardPage.qml:405
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Si le serveur n'est pas visible ou que la connexion échoue, vérifiez que les "
"ports 5353 (UDP) et 9757 (TCP et UDP) sont ouverts dans le pare-feu."
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
msgstr "Passer"
#: dashboard/qml/WizardPage.qml:425
#: dashboard/qml/WizardPage.qml:426
#, kde-format
msgid "Connection established"
msgstr "Connexion établie"
#: dashboard/qml/WizardPage.qml:430
#: dashboard/qml/WizardPage.qml:431
#, kde-format
msgid "Your headset is now connected."
msgstr "Votre casque est maintenant connecté."
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
@@ -921,22 +951,22 @@ msgstr ""
"Pour connecter un autre casque, assurez-vous que l'appairage est activé dans "
"le tableau de bord avant de vous connecter."
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
#, kde-format
msgid "Finish"
msgstr "Finir"
#: dashboard/qml/WizardPage.qml:472
#: dashboard/qml/WizardPage.qml:473
#, kde-format
msgid "Finished"
msgstr "Terminé"
#: dashboard/wivrn_server.cpp:584
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:585
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+90 -58
View File
@@ -10,57 +10,58 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-12 14:54+0200\n"
"PO-Revision-Date: 2025-08-08 11:56-0300\n"
"Last-Translator: myghi63 <myghi63@disroot.org>\n"
"POT-Creation-Date: 2025-10-05 20:26+0200\n"
"PO-Revision-Date: 2025-10-05 21:37+0200\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 25.04.3\n"
"X-Generator: Lokalize 25.08.1\n"
"Language-Team: Portuguese <>\n"
#: dashboard/apk_installer.cpp:167
#: dashboard/apk_installer.cpp:165
#, kde-format
msgid "Downloading APK: %1 MB / %2 MB"
msgstr "Baixando APK: %1 MB / %2 MB"
#: dashboard/apk_installer.cpp:169
#: dashboard/apk_installer.cpp:167
#, kde-format
msgid "Downloading APK: %1 MB"
msgstr "Baixando APK: %1 MB"
#: dashboard/apk_installer.cpp:178
#: dashboard/apk_installer.cpp:176
#, kde-format
msgid "Download cancelled"
msgstr "Download cancelado"
#: dashboard/apk_installer.cpp:194
#: dashboard/apk_installer.cpp:192
#, kde-format
msgid "Cannot download APK: %1"
msgstr "Não é possível baixar o APK: %1"
#: dashboard/apk_installer.cpp:217
#: dashboard/apk_installer.cpp:215
#, kde-format
msgid "Installing APK"
msgstr "Instalando APK"
#: dashboard/apk_installer.cpp:221
#: dashboard/apk_installer.cpp:219
#, kde-format
msgid "adb failed to start: %1"
msgstr "O adb não conseguiu iniciar: %1"
#: dashboard/apk_installer.cpp:231
#: dashboard/apk_installer.cpp:229
#, kde-format
msgid "adb exited abnormally: %1"
msgstr "adb saiu anormalmente: %1"
#: dashboard/apk_installer.cpp:239
#: dashboard/apk_installer.cpp:237
#, kde-format
msgid "The 'adb install' command failed: exit code %1"
msgstr "O comando 'adb install' falhou: código de saída %1"
#: dashboard/apk_installer.cpp:244
#: dashboard/apk_installer.cpp:242
#, kde-format
msgid "Installation successful"
msgstr "Instalação bem-sucedida"
@@ -86,8 +87,8 @@ msgstr "Verificando a última versão..."
msgid "No precompiled APK is available for this version."
msgstr "Nenhum APK pré-compilado está disponível para esta versão."
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
#: dashboard/qml/Main.qml:342
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:286
#: dashboard/qml/Main.qml:369
#, kde-format
msgid "ADB is not installed."
msgstr "ADB não está instalado."
@@ -110,7 +111,7 @@ msgstr ""
"próprio cliente."
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
#, kde-format
msgctxt "go back to the home page"
msgid "Back"
@@ -136,7 +137,7 @@ msgstr "Reinstalar WiVRn"
msgid "Install WiVRn"
msgstr "Instalar WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:382
#, kde-format
msgid "Headsets"
msgstr "Headsets"
@@ -201,7 +202,7 @@ msgstr "Remover"
msgid "Pairing enabled, PIN: %1"
msgstr "Pareamento ativado, PIN: %1"
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
#, kde-format
msgid "Disable pairing"
msgstr "Desativar pareamento"
@@ -217,7 +218,7 @@ msgid "Enable pairing to allow your headset to connect to this computer"
msgstr ""
"Ative o pareamento para permitir que seu headset conecte-se a esse computador"
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
#, kde-format
msgid "Enable pairing"
msgstr "Ativar pareamento"
@@ -232,40 +233,45 @@ msgstr "Parear um novo headset"
msgid "Headset statistics"
msgstr "Estatísticas do headset"
#: dashboard/qml/Main.qml:107
#: dashboard/qml/Main.qml:128
#, kde-format
msgid "The server does not have CAP_SYS_NICE capabilities."
msgstr "O servidor não tem capabilities CAP_SYS_NICE."
#: dashboard/qml/Main.qml:114
#: dashboard/qml/Main.qml:135 dashboard/qml/Main.qml:149
#, kde-format
msgid "Fix it"
msgstr "Conserte"
#: dashboard/qml/Main.qml:123
#: dashboard/qml/Main.qml:143
#, kde-format
msgid "Firewall may not allow port 9757."
msgstr "O firewall pode não permitir a porta 9757."
#: dashboard/qml/Main.qml:158
#, kde-format
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
msgstr "A capability CAP_SYS_NICE será usada quando o servidor for reiniciado."
#: dashboard/qml/Main.qml:129
#: dashboard/qml/Main.qml:164
#, kde-format
msgctxt "restart the server"
msgid "Restart now"
msgstr "Reiniciar agora"
#: dashboard/qml/Main.qml:140
#: dashboard/qml/Main.qml:175
#, kde-format
msgid ""
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
msgstr ""
"GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1"
#: dashboard/qml/Main.qml:146
#: dashboard/qml/Main.qml:181
#, kde-format
msgid "More info"
msgstr "Mais informações"
#: dashboard/qml/Main.qml:154
#: dashboard/qml/Main.qml:189
#, kde-format
msgid ""
"Use the Mesa (radv) driver for AMD GPUs\n"
@@ -274,7 +280,7 @@ msgstr ""
"Use o driver Mesa (radv) para GPUs AMD\n"
"Codificação de hardware com a vaapi não funciona com AMDVLK e AMDGPU-PRO"
#: dashboard/qml/Main.qml:162
#: dashboard/qml/Main.qml:197
#, kde-format
msgid ""
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
@@ -284,76 +290,76 @@ msgstr ""
"conseguirão carregar em VR.\n"
"Instale o xrizer ou o OpenComposite."
#: dashboard/qml/Main.qml:171
#: dashboard/qml/Main.qml:206
#, kde-format
msgid "Server failed to start"
msgstr "Servidor falhou em iniciar"
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
#: dashboard/qml/Main.qml:212 dashboard/qml/TroubleshootPage.qml:85
#, kde-format
msgid "Open server logs"
msgstr "Abrir logs do servidor"
#: dashboard/qml/Main.qml:214
#: dashboard/qml/Main.qml:241
#, kde-format
msgctxt "whether the server is running, displayed in front of a checkbox"
msgid "Running"
msgstr "Rodando"
#: dashboard/qml/Main.qml:229
#: dashboard/qml/Main.qml:256
#, kde-format
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
msgid "Pairing"
msgstr "Pareando"
#: dashboard/qml/Main.qml:242
#: dashboard/qml/Main.qml:269
#, kde-format
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:277 dashboard/qml/WizardPage.qml:374
#, kde-format
msgid "Connect by USB"
msgstr "Conectar pela USB"
#: dashboard/qml/Main.qml:261
#: dashboard/qml/Main.qml:288
#, kde-format
msgid "No headset is connected or your headset is not in developer mode."
msgstr ""
"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor."
#: dashboard/qml/Main.qml:269
#: dashboard/qml/Main.qml:296
#, kde-format
msgid "Disconnect"
msgstr "Desconectar"
#: dashboard/qml/Main.qml:286
#: dashboard/qml/Main.qml:313
#, kde-format
msgctxt "automatically started application"
msgid "Application"
msgstr "Aplicativo"
#: dashboard/qml/Main.qml:307
#: dashboard/qml/Main.qml:334
#, kde-format
msgid "Steam information"
msgstr "Informações da Steam"
#: dashboard/qml/Main.qml:326
#: dashboard/qml/Main.qml:353
#, kde-format
msgid "Wizard"
msgstr "Assistente"
#: dashboard/qml/Main.qml:333
#: dashboard/qml/Main.qml:360
#, kde-format
msgid "Install the app"
msgstr "Instalar o aplicativo"
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:389 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ajustes"
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:396 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Resolver problemas"
@@ -659,21 +665,38 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "Não consigo ver meu computador no aplicativo do WiVRn"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
#: dashboard/qml/TroubleshootPage.qml:25
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgid "If you have a firewall, make sure that port 5353/UDP is open."
msgstr ""
"Se o servidor não estiver visível ou a conexão falhar, verifique se a porta "
"5353 (UDP) e 9757 (TCP e UDP) estão abertas no seu firewall."
"Se você tem firewall, se certifique que a porta 5353/UDP esteja aberta."
#: dashboard/qml/TroubleshootPage.qml:28
#, kde-format
msgid "Connecting remains stuck on \"Connection to ...\""
msgstr "Conexão permanece travada em \"Conectando a ...\""
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
#, kde-format
msgid ""
"If you have a firewall, make sure that port 9757 is open both for TCP and "
"UDP."
msgstr ""
"Se você tem firewall, certifique-se que a porta 9757 esteja aberta tanto para "
"TCP quando "
"UDP."
#: dashboard/qml/TroubleshootPage.qml:32
#, kde-format
msgid "Connection fails with \"no route to host\""
msgstr "Conexão falha com \"no route to host\""
#: dashboard/qml/TroubleshootPage.qml:36
#, kde-format
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
msgstr "Eu tenho um erro de \"Servidor WiVRn incompatível\" no meu headset"
#: dashboard/qml/TroubleshootPage.qml:29
#: dashboard/qml/TroubleshootPage.qml:37
#, kde-format
msgid ""
"<p>The version of the headset app and the server on your computer must match."
@@ -684,12 +707,12 @@ msgstr ""
"ser a mesma.</p><ul><li>A versão do aplicativo do headset está na página "
"\"Sobre\"</li><li>A versão do servidor é <b>%1</b></li></ul>"
#: dashboard/qml/TroubleshootPage.qml:32
#: dashboard/qml/TroubleshootPage.qml:40
#, kde-format
msgid "I have a \"Pairing is disabled\" error"
msgstr "Eu tenho um erro de \"Pareamento está desabilitado\""
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid ""
"If you have reinstalled the server or the client or if you want to connect "
@@ -698,22 +721,22 @@ msgstr ""
"Se você reinstalou o servidor ou o cliente ou se você quer conectar outro "
"headset, você deve atviar o pareamento antes de conectar."
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently enabled with PIN %1."
msgstr "Pareamento está atualmente ativado com o PIN %1."
#: dashboard/qml/TroubleshootPage.qml:33
#: dashboard/qml/TroubleshootPage.qml:41
#, kde-format
msgid "Pairing is currently disabled."
msgstr "Pareamento está atualmente desativado."
#: dashboard/qml/TroubleshootPage.qml:49
#: dashboard/qml/TroubleshootPage.qml:57
#, kde-format
msgid "I have no sound on my headset"
msgstr "Eu não tenho som no meu headset"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -722,12 +745,12 @@ msgstr ""
"Quando o headset estiver conectado, selecione \"WiVRn\" como o dispositivo "
"de saída default de áudio para as aplicações o usarem."
#: dashboard/qml/TroubleshootPage.qml:67
#: dashboard/qml/TroubleshootPage.qml:75
#, kde-format
msgid "Report an issue"
msgstr "Relatar um problema"
#: dashboard/qml/TroubleshootPage.qml:72
#: dashboard/qml/TroubleshootPage.qml:80
#, kde-format
msgid "Ask on Discord"
msgstr "Perguntar no Discord"
@@ -898,6 +921,15 @@ msgstr "Para conectar pela USB, clique em \"Conectar pela USB\"."
msgid "Troubleshooting"
msgstr "Resolver problemas"
#: dashboard/qml/WizardPage.qml:393
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
msgstr ""
"Se o servidor não estiver visível ou a conexão falhar, verifique se a porta "
"5353 (UDP) e 9757 (TCP e UDP) estão abertas no seu firewall."
#: dashboard/qml/WizardPage.qml:406
#, kde-format
msgid "Skip"
@@ -932,12 +964,12 @@ msgstr "Terminar"
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:592
#: dashboard/wivrn_server.cpp:594
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:593
#: dashboard/wivrn_server.cpp:595
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+1 -1
View File
@@ -19,8 +19,8 @@
#include "accept_connection.h"
#include "wivrn_config.h"
#include "wivrn_ipc.h"
#include "wivrn_packets.h"
#include "wivrn_sockets.h"
#include <sys/poll.h>
+4
View File
@@ -326,6 +326,10 @@ static bool comp_wivrn_init_post_vulkan(struct comp_target * ct, uint32_t prefer
}
catch (const std::exception & e)
{
wivrn_ipc_socket_monado->send(from_monado::server_error{
.where = "Error creating encoder",
.message = e.what(),
});
U_LOG_E("Failed to create video encoder: %s", e.what());
return false;
}
+3
View File
@@ -534,6 +534,9 @@ gboolean control_received(gint fd, GIOCondition condition, gpointer user_data)
[&](const from_monado::bitrate_changed & value) {
wivrn_server_set_bitrate(dbus_server, value.bitrate_bps);
},
[&](const from_monado::server_error & e) {
wivrn_server_emit_server_error(dbus_server, e.where.c_str(), e.message.c_str());
},
},
*packet);
}
+8 -1
View File
@@ -47,12 +47,19 @@ struct bitrate_changed
uint32_t bitrate_bps;
};
struct server_error
{
std::string where;
std::string message;
};
using packets = std::variant<
wivrn::from_headset::headset_info_packet,
wivrn::from_headset::start_app,
headset_connected,
headset_disconnected,
bitrate_changed>;
bitrate_changed,
server_error>;
} // namespace from_monado
namespace to_monado
+1
View File
@@ -31,6 +31,7 @@
#include <magic_enum.hpp>
#include "smp.h"
#include "wivrn_config.h"
#include "wivrn_packets.h"
#if WIRESHARK_VERSION_MAJOR > 4 || (WIRESHARK_VERSION_MAJOR == 4 && WIRESHARK_VERSION_MINOR >= 4)