hmlendea / gfn-electron

Linux Desktop client for Nvidia's GeForce NOW game streaming service
GNU General Public License v3.0
538 stars 63 forks source link

[BUG] Add native wayland support #230

Open vampywiz17 opened 8 months ago

vampywiz17 commented 8 months ago

Describe the bug

About chromium 120 ago, it use wayland natively.

Need to use this flags:

--enable-features=VaapiVideoDecodeLinuxGL 
--use-gl=angle 
--use-angle=gl 
--ozone-platform=wayland

It possible to integrate it?

To Reproduce

Screenshots

No response

Operating System

Zorin OS

Desktop Environment

Gnome 45.2

Display Server

Wayland

Installation method

flatpak

Version

2.0.1

Is this a fresh install of the app or an update from a past version?

Fresh install

Did this issue appear right away upon installation/updating, or spontaneously?

after installation

Additional context

No response

dzmtrzz commented 8 months ago

Weird. For me when i launch chromium under wayland it says that steaming games isn't supported...

vampywiz17 commented 8 months ago

Weird. For me when i launch chromium under wayland it says that steaming games isn't supported...

@dzmtrzz

Which video card? Are you use all flags? VAAPI are installed? What distribution?

dzmtrzz commented 8 months ago

Weird. For me when i launch chromium under wayland it says that steaming games isn't supported...

@dzmtrzz

Which video card? Are you use all flags? VAAPI are installed? What distribution?

  1. Geforce 9500 gt
  2. Yes
  3. idk
  4. debian also i use chromium flatpak if that helps
vampywiz17 commented 8 months ago

I test with Intel card. I dont know that is work with Nvidia card

dzmtrzz commented 7 months ago

I tried with Intel HD 510. It says that Streaming is unsupported. I have org.freedesktop.Platform.VAAPI.Intel installed too.

nickbailuc commented 19 hours ago
--enable-features=VaapiVideoDecodeLinuxGL 
--use-gl=angle 
--use-angle=gl 
--ozone-platform=wayland

How do you apply these flags if im using the npm start method to launch it? (im running on a macbook M2, theres no arm-linux build for gfn-electron so I have to git clone, npm install, npm start

Simply doing npm start --enable-features=VaapiVideoDecodeLinuxGL --use-gl=angle --use-angle=gl --ozone-platform=wayland doesn't change anything, it still launches in xwayland