Bug 2046723 - libnvidia segfault when sharing screen under Wayland
Summary: libnvidia segfault when sharing screen under Wayland
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: wayland
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-27 09:21 UTC by thebudget72
Modified: 2022-02-28 04:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-28 04:26:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journalctl log (87.84 KB, text/plain)
2022-01-27 09:21 UTC, thebudget72
no flags Details

Description thebudget72 2022-01-27 09:21:50 UTC
Created attachment 1855797 [details]
journalctl log

Description of problem:

I have Fedora Workstation 35.

I have the following packages installed:

```
$ dnf list --installed | grep nvidia
akmod-nvidia.x86_64                              3:495.46-1.fc35                        @rpmfusion-nonfree-updates                 
kmod-nvidia-5.15.12-200.fc35.x86_64.x86_64       3:495.46-1.fc35                        @@commandline                              
kmod-nvidia-5.15.16-200.fc35.x86_64.x86_64       3:495.46-1.fc35                        @@commandline                              
nvidia-settings.x86_64                           3:495.46-1.fc35                        @rpmfusion-nonfree-updates                 
xorg-x11-drv-nvidia.x86_64                       3:495.46-1.fc35                        @rpmfusion-nonfree-updates                 
xorg-x11-drv-nvidia-kmodsrc.x86_64               3:495.46-1.fc35                        @rpmfusion-nonfree-updates                 
xorg-x11-drv-nvidia-libs.i686                    3:495.46-1.fc35                        @rpmfusion-nonfree-updates                 
xorg-x11-drv-nvidia-libs.x86_64                  3:495.46-1.fc35                        @rpmfusion-nonfree-updates   
```

I also have Chromium Version 96.0.4664.110 (Official Build) (64-bit).

When I enter the web version of Microsoft Teams, and I try to share the screen, Chromium crashes.

The journalctl shows a segfault of libnvidia:

I hereby attach the journalctl log.

Version-Release number of selected component (if applicable):

How reproducible:

Every time

Steps to Reproduce:

0. Install NVIDIA proprietary drivers and use Wayland
1. Open Chromium
2. Go to teams.microsoft.com
3. Join a meeting
4. Share screen

Actual results:

Crash

Expected results:

Should not crash

Additional info:

I attach the journalctl log

Comment 1 Andrei Nevedomskii 2022-01-27 11:52:56 UTC
I have a similar issue, I also have NVidia proprietary driver installed, but I run Chromium using integrated Intel GPU. 
I reported this to Chromium project here: https://bugs.chromium.org/p/chromium/issues/detail?id=1290566

Also, there's this PR to Chromium flatpak, where Jan Grulich from Red Hat is already trying to help: https://github.com/flathub/org.chromium.Chromium/pull/194

Comment 2 Andrei Nevedomskii 2022-01-27 12:33:37 UTC
I've also reported this issue to NVidia: https://forums.developer.nvidia.com/t/segfault-in-libnvidia-glsi-so-495-46-when-trying-to-share-screen-in-chromium-under-wayland/201765

@thebudget72 I see you also reported it to NVidia, but I think you did that in a wrong forum.

Comment 3 thebudget72 2022-01-27 12:36:16 UTC
(In reply to Andrei Nevedomskii from comment #2)
> I've also reported this issue to NVidia:
> https://forums.developer.nvidia.com/t/segfault-in-libnvidia-glsi-so-495-46-
> when-trying-to-share-screen-in-chromium-under-wayland/201765
> 
> @thebudget72 I see you also reported it to NVidia, but I think you
> did that in a wrong forum.

That's not me sorry

Comment 4 thebudget72 2022-01-27 14:08:41 UTC
(In reply to Andrei Nevedomskii from comment #2)
> I've also reported this issue to NVidia:
> https://forums.developer.nvidia.com/t/segfault-in-libnvidia-glsi-so-495-46-
> when-trying-to-share-screen-in-chromium-under-wayland/201765
> 
> @thebudget72 I see you also reported it to NVidia, but I think you
> did that in a wrong forum.

Sorry I misunderstood your statement.

Yeah I reported it to NVIDIA here: https://www.nvidia.com/en-us/geforce/forums/geforce-graphics-cards/5/483325/libnvidia-segfault-when-sharing-screen-under-wayla/

I also opened an issue.

I'm not familiar with NVIDIA forums.

Comment 5 thebudget72 2022-02-28 04:26:57 UTC
Should have been fixed by: https://webrtc-review.googlesource.com/c/src/+/249795


Note You need to log in before you can comment on or make changes to this bug.