diff --git a/dashboard/settings.cpp b/dashboard/settings.cpp index 50c1adf9..b917be14 100644 --- a/dashboard/settings.cpp +++ b/dashboard/settings.cpp @@ -438,7 +438,6 @@ void settings::load_settings() ui->combo_select_game->setCurrentIndex(1); set_application(application); } - selected_rectangle_changed(0); ui->partitionner->set_paint([&](QPainter & painter, QRect rect, const QVariant & data, int index, bool selected) { QPalette palette = QApplication::palette(); diff --git a/dashboard/settings.ui b/dashboard/settings.ui index 01546516..acc6c047 100644 --- a/dashboard/settings.ui +++ b/dashboard/settings.ui @@ -6,8 +6,8 @@ 0 0 - 1042 - 1347 + 960 + 762 @@ -42,78 +42,29 @@ 0 0 - 1042 - 1295 + 939 + 1035 - - - - - - Mbit/s - - - 0 - - - 1.000000000000000 - - - 200.000000000000000 - - - 100.000000000000000 - - - - - - - Qt::Orientation::Horizontal - - - - 40 - 20 - - - - - - - - + + Qt::Orientation::Horizontal - - + + - Foveation strength: - - - Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter - - - - - - - Automatic - - - true + Manual group_foveation - + @@ -147,7 +98,7 @@ - + Qt::Orientation::Horizontal @@ -160,49 +111,63 @@ - - + + - A stronger foveation makes the image sharper in the center than in the periphery and makes the decoding faster. This is better for fast paced games. - -A weaker foveation gives a uniform sharpness in the whole image. - -The recommended values are between 20% and 50% for headsets without eye tracking and between 50% and 70% for headsets with eye tracking. + Bitrate: - - true + + Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + + + bitrate - - + + + + Foveation strength: + + + Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + + + + + + + Automatic + + + true + + + group_encoder + + + + + false - - - 0 - 0 - - - - 0 - - - 80 - - - 20 - - - Qt::Orientation::Horizontal - - - QSlider::TickPosition::TicksBelow + + Browse - + + + + Encoder configuration: + + + Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + + + + Manual @@ -212,20 +177,33 @@ The recommended values are between 20% and 50% for headsets without eye tracking - + Qt::Orientation::Vertical - 20 - 40 + 0 + 0 - + + + + Automatic + + + true + + + group_foveation + + + + @@ -237,7 +215,7 @@ The recommended values are between 20% and 50% for headsets without eye tracking - <html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>You can drag an edge to resize or remove encoders.</p></body></html> + <html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>Drag an edge to resize or remove encoders.</p></body></html> @@ -256,7 +234,7 @@ The recommended values are between 20% and 50% for headsets without eye tracking - 0 + 400 400 @@ -409,16 +387,80 @@ The recommended values are between 20% and 50% for headsets without eye tracking - - + + - Manual + Application to start when a headset connects + + + Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter - - group_foveation - + + + + false + + + + 0 + 0 + + + + 0 + + + 80 + + + 20 + + + Qt::Orientation::Horizontal + + + QSlider::TickPosition::TicksBelow + + + + + + + Qt::Orientation::Horizontal + + + + + + + false + + + false + + + % + + + 80 + + + 20 + + + + + + + Qt::Orientation::Horizontal + + + + + + @@ -429,6 +471,62 @@ The recommended values are between 20% and 50% for headsets without eye tracking + + + + Qt::Orientation::Horizontal + + + + 40 + 20 + + + + + + + + Qt::Orientation::Horizontal + + + + + + + + + Mbit/s + + + 0 + + + 1.000000000000000 + + + 200.000000000000000 + + + 100.000000000000000 + + + + + + + Qt::Orientation::Horizontal + + + + 40 + 20 + + + + + + @@ -477,128 +575,20 @@ The recommended values are between 20% and 50% for headsets without eye tracking - - + + - Encoder configuration: - - - Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter - - - - - - - Qt::Orientation::Horizontal - - - - - - - Qt::Orientation::Horizontal - - - - - - - Qt::Orientation::Horizontal - - - - - - - Automatic - - - true - - - group_encoder - - - - - - - You can use several encoders in order to split the workload between your CPU and your GPU and reduce the latency. - - - - - - - Bitrate: - - - Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter - - - bitrate - - - - - - - You can choose a game to be started automatically when the headset connects. - - - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop + A stronger foveation makes the image sharper in the center than in the periphery and makes the decoding faster. This is better for fast paced games. + +A weaker foveation gives a uniform sharpness in the whole image. + +The recommended values are between 20% and 50% for headsets without eye tracking and between 50% and 70% for headsets with eye tracking. true - - - - false - - - Browse - - - - - - - false - - - false - - - % - - - 80 - - - 20 - - - - - - - Qt::Orientation::Horizontal - - - - 40 - 20 - - - - - - - @@ -875,7 +865,7 @@ The recommended values are between 20% and 50% for headsets without eye tracking - + diff --git a/dashboard/wivrn_en.ts b/dashboard/wivrn_en.ts index d42ac744..e91cafa7 100644 --- a/dashboard/wivrn_en.ts +++ b/dashboard/wivrn_en.ts @@ -181,58 +181,62 @@ Settings - + Bitrate: Bi&trate: Bitrate: - + Foveation strength: Foveation strength: - + Manual &Manual Encoder Manual - <html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>You can drag an edge to resize or remove encoders.</p></body></html> <html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>You can drag an edge to resize or remove an encoder.</p></body></html> - <html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>You can drag an edge to resize or remove encoders.</p></body></html> + <html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>You can drag an edge to resize or remove encoders.</p></body></html> - + nvenc (NVIDIA GPUs) nvenc (NVIDIA GPUs) - + vaapi (AMD and Intel GPUs) vaapi (AMD and Intel GPUs) - + x264 (software encoding) x264 (software encoding) - + Manual &Manual Foveation Manual - + + Application to start when a headset connects + Application to start when a headset connects + + + Path Path - + Encoder configuration: Encoder configuration: @@ -241,34 +245,39 @@ <html><head/><body><p>A stronger foveation makes the image sharper in the center than in the periphery and makes the decoding faster. This is better for fast paced games.</p><p>A weaker foveation gives a uniform sharpness in the whole image.</p><p>The recommended values are between 20% and 50% for headsets without eye tracking and between 50% and 70% for headsets with eye tracking.</p></body></html> - + Weaker Weaker - + Stronger Stronger - + + <html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>Drag an edge to resize or remove encoders.</p></body></html> + <html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>Drag an edge to resize or remove encoders.</p></body></html> + + + Encoder Encoder - - + + Auto Auto - + Automatic Encoder Automatic - + A stronger foveation makes the image sharper in the center than in the periphery and makes the decoding faster. This is better for fast paced games. A weaker foveation gives a uniform sharpness in the whole image. @@ -281,44 +290,42 @@ A weaker foveation gives a uniform sharpness in the whole image. The recommended values are between 20% and 50% for headsets without eye tracking and between 50% and 70% for headsets with eye tracking. - + Automatic Au&tomatic Foveation Automatic - + WiVRn settings WiVRn settings - + Codec Codec - + Mbit/s Mbit/s - You can use several encoders in order to split the workload between your CPU and your GPU and reduce the latency. - You can use several encoders in order to split the workload between your CPU and your GPU and reduce the latency. + You can use several encoders in order to split the workload between your CPU and your GPU and reduce the latency. - You can choose a game to be started automatically when the headset connects. - You can choose a game to be started automatically when the headset connects. + You can choose a game to be started automatically when the headset connects. - + Browse Browse - + % % @@ -437,75 +444,75 @@ The recommended values are between 20% and 50% for headsets without eye tracking main_window - + &Show GUI &Show GUI - + &Hide GUI &Hide GUI - + &Exit &Exit - + You have to restart the WiVRn server to use the CAP_SYS_NICE capability. Do you want to restart it now? You have to restart the WiVRn server to use the CAP_SYS_NICE capability. Do you want to restart it now? - + This will disconnect the currently connected headset. This will disconnect the currently connected headset. - + Restart WiVRn Restart WiVRn - + Cannot start setcap: %1 Cannot start setcap: %1 - + %1 ⨯ %2 %1 ⨯ %2 - - + + %1 Hz %1 Hz - - - + + + Supported Supported - - - + + + Not supported Not supported - + Left eye: %1° ⨯ %2°, right eye: %3° ⨯ %4° Left eye: %1° ⨯ %2°, right eye: %3° ⨯ %4° - - + + %n channel(s), %1 Hz %1 channel(s), %2 Hz @@ -514,13 +521,13 @@ Do you want to restart it now? - - + + N/A N/A - + The WiVRn app is not installed on your headset. The WiVRn app is not installed on your headset. @@ -535,33 +542,33 @@ Do you want to install it? WiVRn - + Failed to start Failed to start - + Crashed Crashed - + Time out Time out - + Read error Read error - + Write error write error Write error - + Unknown error Unknown error @@ -570,62 +577,62 @@ Do you want to install it? Server error - + Failed to start server: %1 Failed to start server: %1 - + Unknown error (%1), check logs Unknown error (%1), check logs - + No device detected No device detected - + Start the WiVRn app on your headset and connect to "%1". Start the WiVRn app on your headset and connect to "%1". - + 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. 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. - + Connected Connected - + Not connected Not connected - + Cannot connect to avahi, make sure avahi-daemon service is started Cannot connect to avahi, make sure avahi_daemon.service is started Cannot connect to avahi, make sure avahi-daemon service is started - + Insufficient system resources Insufficient system resources - + Server crashed: %1 Server crashed: %1 - + Timeout starting server Timeout starting server @@ -633,36 +640,36 @@ Do you want to install it? settings - + Invalid settings Invalid settings - + The encoder configuration is invalid, the default values will be restored. The encoder configuration is invalid, the default values will be restored. - + None Game selection combo box None - + Custom... Game selection combo box Custom... - + Not all headsets and GPUs support AV1 Not all headsets and GPUs support AV1 - + Select game Select game diff --git a/dashboard/wivrn_fr.ts b/dashboard/wivrn_fr.ts index 82b6d38d..98227cbc 100644 --- a/dashboard/wivrn_fr.ts +++ b/dashboard/wivrn_fr.ts @@ -181,58 +181,62 @@ Paramètres - + Bitrate: Bi&trate: Débit : - + Foveation strength: Intensité de la fovéation: - + Manual &Manual Encoder Manuelle - <html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>You can drag an edge to resize or remove encoders.</p></body></html> <html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>You can drag an edge to resize or remove an encoder.</p></body></html> - <html><head/><body><p>Pour ajouter un encodeur, découpez un encodeur existant en cliquant près d'un bord.</p><p>Vous pouvez déplacer un bord pour redimensionner ou supprimer un encodeur.</p></body></html> + <html><head/><body><p>Pour ajouter un encodeur, découpez un encodeur existant en cliquant près d'un bord.</p><p>Vous pouvez déplacer un bord pour redimensionner ou supprimer un encodeur.</p></body></html> - + nvenc (NVIDIA GPUs) nvenc (GPUs NVIDIA) - + vaapi (AMD and Intel GPUs) vaapi (GPUs AMD et Intel) - + x264 (software encoding) x264 (encodage logiciel) - + Manual &Manual Foveation Manuelle - + + Application to start when a headset connects + Application à démarrer quand un casque est connecté + + + Path Chemin - + Encoder configuration: Configuration de l'encodeur: @@ -241,34 +245,39 @@ <html><head/><body><p>Une fovéation plus forte rend l'image plus nette au centre qu'en périphérie et accélère le décodage. C'est un meilleur choix pour les jeux rapides.</p><p>Une fovéation plus faible donne une netteté uniforme sur toute l'image.</p><p>Les valeurs recommandées sont entre 20% et 50% pour les casques sans suivi des yeux et entre 50% et 70% pour les casques avec suivi des yeux.</p></body></html> - + Weaker Plus faible - + Stronger Plus forte - + + <html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>Drag an edge to resize or remove encoders.</p></body></html> + <html><head/><body><p>Pour ajouter un encodeur, découpez un encodeur existant en cliquant près d'un bord.</p><p>Déplacez un bord pour redimensionner ou supprimer un encodeur.</p></body></html> + + + Encoder Encodeur - - + + Auto Automatique - + Automatic Encoder Automatique - + A stronger foveation makes the image sharper in the center than in the periphery and makes the decoding faster. This is better for fast paced games. A weaker foveation gives a uniform sharpness in the whole image. @@ -281,44 +290,42 @@ Une fovéation plus faible donne une netteté uniforme sur toute l'image. Les valeurs recommandées sont entre 20% et 50% pour les casques sans suivi des yeux et entre 50% et 70% pour les casques avec suivi des yeux. - + Automatic Au&tomatic Foveation Automatique - + WiVRn settings Paramètres de WiVRn - + Codec Codec - + Mbit/s Mbit/s - You can use several encoders in order to split the workload between your CPU and your GPU and reduce the latency. - Vous pouvez utiliser plusieurs encodeurs pour partager le travail entre votre CPU et votre GPU et réduire la latence. + Vous pouvez utiliser plusieurs encodeurs pour partager le travail entre votre CPU et votre GPU et réduire la latence. - You can choose a game to be started automatically when the headset connects. - Vous pouvez choisir un jeu à démarrer automatiquement quand le casque est connecté. + Vous pouvez choisir un jeu à démarrer automatiquement quand le casque est connecté. - + Browse Parcourir - + % % @@ -437,75 +444,75 @@ Les valeurs recommandées sont entre 20% et 50% pour les casques sans suivi des main_window - + &Show GUI &Afficher la GUI - + &Hide GUI &Cacher la GUI - + &Exit &Quitter - + You have to restart the WiVRn server to use the CAP_SYS_NICE capability. Do you want to restart it now? Vous devez redémarrer le serveur WiVRn pour utiliser la capacité CAP_SYS_NICE. Voulez-vous le redémarrer maintenant? - + This will disconnect the currently connected headset. Cela va déconnecter le casque actuellement connecté. - + Restart WiVRn Redémarrer WiVRn - + Cannot start setcap: %1 Impossible de démarrer setcap: %1 - + %1 ⨯ %2 %1 ⨯ %2 - - + + %1 Hz %1 Hz - - - + + + Supported Supporté - - - + + + Not supported Non supporté - + Left eye: %1° ⨯ %2°, right eye: %3° ⨯ %4° Œil gauche: %1° ⨯ %2°, œil droit: %3° ⨯ %4° - - + + %n channel(s), %1 Hz %1 channel(s), %2 Hz @@ -514,13 +521,13 @@ Voulez-vous le redémarrer maintenant? - - + + N/A Non disponible - + The WiVRn app is not installed on your headset. L'application WiVRn n'est pas installée sur votre casque. @@ -535,33 +542,33 @@ Voulez-vous l'installer ? WiVRn - + Failed to start Impossible de démarrer - + Crashed Planté - + Time out Délai d'attente dépassé - + Read error Erreur de lecture - + Write error write error Erreur d'écriture - + Unknown error Erreur inconnue @@ -570,62 +577,62 @@ Voulez-vous l'installer ? Erreur du serveur - + Failed to start server: %1 Impossible de démarrer le serveur: %1 - + Unknown error (%1), check logs Erreur inconnue (%1), vérifier les logs - + No device detected Aucun périphérique détecté - + Start the WiVRn app on your headset and connect to "%1". Démarrez l'application WiVRn sur votre casque et connectez-vous à « %1 ». - + 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. 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 votre pare-feu. - + Connected Connecté - + Not connected Non connecté - + Cannot connect to avahi, make sure avahi-daemon service is started Cannot connect to avahi, make sure avahi_daemon.service is started Impossible de se connecter à avahi, vérifiez que le service avahi-daemon est démarré - + Insufficient system resources Ressources système insuffisantes - + Server crashed: %1 Le serveur a planté: %1 - + Timeout starting server Délai d'attente dépassé lors du démarrage du serveur @@ -633,36 +640,36 @@ Voulez-vous l'installer ? settings - + Invalid settings Paramètres invalides - + The encoder configuration is invalid, the default values will be restored. La configuration des encodeurs est invalide, les valeurs par défaut seront restaurées. - + None Game selection combo box Aucun - + Custom... Game selection combo box Personnalisé... - + Not all headsets and GPUs support AV1 Tous les casques et GPUs ne supportent pas AV1 - + Select game Choisir un jeu