Improve GPU selection on Linux (#50274)

John Tur created

Follow-up to https://github.com/zed-industries/zed/pull/50270

Release Notes:

- N/A

Change summary

crates/gpui_wgpu/src/wgpu_context.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

crates/gpui_wgpu/src/wgpu_context.rs 🔗

@@ -75,7 +75,7 @@ impl WgpuContext {
 
         let adapter = instance
             .request_adapter(&wgpu::RequestAdapterOptions {
-                power_preference: wgpu::PowerPreference::None,
+                power_preference: wgpu::PowerPreference::HighPerformance,
                 compatible_surface: None,
                 force_fallback_adapter: false,
             })
@@ -214,7 +214,7 @@ impl WgpuContext {
 
         instance
             .request_adapter(&wgpu::RequestAdapterOptions {
-                power_preference: wgpu::PowerPreference::None,
+                power_preference: wgpu::PowerPreference::HighPerformance,
                 compatible_surface,
                 force_fallback_adapter: false,
             })