FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

[Bug]: Libva error in freetube 0.16.0 on fedora 36 causes black window, maybe nvidia proprietary driver's fault ?

Open tracerk opened this issue 2 years ago • 8 comments

Guidelines

Describe the bug

When launched, via rpm, flatpak or even appimage on fedora 36 and with nvidia 510 drivers, the application output just a black screen, and the following error : libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) Capture d’écran du 2022-05-25 18-23-03

Expected Behavior

Normal launch of the application

Issue Labels

causes crash, visual bug

FreeTube Version

v0.16.0

Operating System Version

Fedora 36

Installation Method (If applicable)

No response

Last Known Working FreeTube Version (If Any)

No response

Primary API used

No response

Additional Information

Infos: OS: Fedora Linux 36 (Workstation Edition) (64 bits) Linux Kernel Version: 5.17.9 GNOME Version: 42.1 Window system: Wayland Nvidia Driver: 510.68.02 (obtained via akmod-nvidia package) GPU : Geforce GTX 1650 Freetube Version: 0.16.0

Additional notes: So my guess is that the nvidia proprietary drivers are not supported by Freetube and that installing the nouveau drivers would certainly fix the problem. But I want to stick with the proprietary drivers on Fedora for now. And I have searched for any other similar issues on this github, and on other websites, but I could not find anything like my problem. So I thought that I should report that. Voilà :)

Nightly Build

tracerk avatar May 25 '22 16:05 tracerk

Could you please try the latest nightly build and see if your issue still exists on that build?

absidue avatar May 27 '22 10:05 absidue

Could you please try the latest nightly build and see if your issue still exists on that build?

It doesn't fix the error. Same error and same visual bug again

ghost avatar May 27 '22 21:05 ghost

same issue here (also F36, and proprietary Nvidia). Using X-org mitigates the problem though.

NoeelMoeskops avatar May 31 '22 14:05 NoeelMoeskops

I suspect this issue will be solved when the issue in https://github.com/FreeTubeApp/FreeTube/issues/2190 is solved (updating the electron dependency and fixing problems caused by updating it).

absidue avatar Jun 02 '22 22:06 absidue

OS: Nobara Linux 36 (Thirty Six) x86_64 Kernel: 5.18.13-201.fsync.fc36.x86_64 DE: GNOME 42.3.1 CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz GPU: NVIDIA GeForce RTX 2070 SUPER

just to contribute to the registry and offer to test some possible solution, the same is happening here in wayland, it works normally in xorg.

FGYada1984 avatar Jul 31 '22 11:07 FGYada1984

If you are running Wayland with Nvidia drivers then installing these will probably fix the black window issue (works for me):

dnf install qt qt5-qtbase qt-devel

DanaHolt avatar Aug 14 '22 15:08 DanaHolt

I'm on wlroots and when I did run it through flatpak with --no-sandbox option it worked. Note that --no-sandbox is an electron and not flatpak option so it doesn't break flatpak sandboxing.

pm4rcin avatar Aug 14 '22 19:08 pm4rcin

Is this still an issue on the latest nightly build?

Is this still an issue on the latest nightly build?

I've tried the freetube-git from AUR and it kinda works but not the first time. I think the second time I've launched it worked but it has a chance of going black window when you select video format that it doesn't "like". For example the hdr video it goes black screen or even if you select a bad entry in quality options. So it's not really "stable" Wayland although when it works it's great. Of course I've used --ozone-platform-hint=auto since this flag is supported from Electron20.

pm4rcin avatar Oct 03 '22 20:10 pm4rcin

Is this still an issue on the latest nightly build?

I've tried the freetube-git from AUR and it kinda works but not the first time. I think the second time I've launched it worked but it has a chance of going black window when you select video format that it doesn't "like". For example the hdr video it goes black screen or even if you select a bad entry in quality options. So it's not really "stable" Wayland although when it works it's great. Of course I've used --ozone-platform-hint=auto since this flag is supported from Electron20.

I dont understand. I linked to our nightly builds and u responded with a message related to AUR. AUR is not maintained by us the nightly builds are.

Is this still an issue on the latest nightly build?

I've tried the freetube-git from AUR and it kinda works but not the first time. I think the second time I've launched it worked but it has a chance of going black window when you select video format that it doesn't "like". For example the hdr video it goes black screen or even if you select a bad entry in quality options. So it's not really "stable" Wayland although when it works it's great. Of course I've used --ozone-platform-hint=auto since this flag is supported from Electron20.

I dont understand. I linked to our nightly builds and u responded with a message related to AUR. AUR is not maintained by us the nightly builds are.

You're right, sorry I thought it's essentially the same. I have downloaded this one and from my testing with the same flag it just works. It may take a moment to load the app but looks like everything is just fine. :)

pm4rcin avatar Oct 05 '22 12:10 pm4rcin

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] avatar Oct 07 '22 00:10 github-actions[bot]

Still happening to me when installing trough flatpak or from the package from the website. running in --no-sandbox (for the flatpak) did seem to fix it like pm4rcin said.

info: Downloaded from: Fedora Flatpak Repo Version: 0.17.1 Beta stable OS: Fedora Linux 36 (Workstation Edition) DE: Gnome 42.5 GPU: NVIDIA Geforce 1050 Ti

Using proprietary drivers.

Parkourist avatar Oct 24 '22 17:10 Parkourist

@Parkourist did you install the same package that I linked from github?

pm4rcin avatar Oct 24 '22 20:10 pm4rcin

@Parkourist did you install the same package that I linked from github?

No I currently have 0.17.1 (and its still happening) not 0.16.0 but I'm sure it happened back then too as I've had this for ages now.

Parkourist avatar Oct 24 '22 20:10 Parkourist

@Parkourist Only the nightly builds currently have proper Wayland support because they use electron 21.

absidue avatar Oct 24 '22 21:10 absidue