TV-Browser Java and get rid of Bildschirmübertragung used by xdg-desktop-portal

I still cannot help with something specific, but i tested a little.
Firstly, i downloaded it from the site. The right download is the tar.gz one at the top, not the zip. Unpack. It contains desktop file that should work on doubleclick, it didn’t (it was missing ./ in the exec line ./tvbrowser.sh, i fixed it), It works, except the tray icon menu. Without any warning for screen sharing.
So at least on XFCE it works as it should. With java 22.

So it has to do either something with the wrong download, or java, but most probably it is Plasma or Wayland stuff, which are both not present in my case.

:point_up:

it’s a good recommendation to switch from wayland to x11 cause a lot of these iptv-programms rely on x11 and fail with wayland. especially because this application uses virtual displays ! wayland still fails on virtual-communication-apps.

second problem is the using of nouveau. that’s a bad decission if you’re running gpu-related stuff on nvidia with nouveau. the possibility that it doesn’t work is very high. switch to the propietary nvidia driver

It does not actually play video, so it is probably not the video driver.
The desktop portal is by the way triggered if you click to open the entry in browser. Shouldn’t be triggered from any other actions. Somehow in your case the app/java/plasma does not know what exactly to trigger and kind of turns on all the portal features…at least looks that way.
But whatever you do, do not remove the portals. They are used for many things behind the scenes so a lot of programs will start to crash.

thanks
but now wayland not boot anymore now I see a blank black screen and my mouse cursor
Only able by strg and alt F3 and startx

how to reverse it again?

sudo mhwd -l  1 ✘

0000:01:00.0 (0300:10de:1f06) Display controller nVidia Corporation:


              NAME               VERSION          FREEDRIVER           TYPE

      video-nvidia            2024.05.03               false            PCI
video-nvidia-470xx            2023.03.23               false            PCI
       video-linux            2024.05.06                true            PCI
 video-modesetting            2020.01.13                true            PCI
        video-vesa            2017.03.12                true            PCI

sudo mhwd -li  :heavy_check_mark:

Installed PCI configs:


              NAME               VERSION          FREEDRIVER           TYPE

       video-linux            2024.05.06                true            PCI
      video-nvidia            2024.05.03               false            PCI

Warning: No installed USB configs!

thank you

Danke für die Hilfe

Ich Installiere Manjaro neu

Nur noch blank screen.

kann geschlossen werden

Tony

A little fast decision in my opinion. Could be mostly fixed by what is described in the first paragraph “Known issues and solutions”:

Thank you I just tried it.

in /etc/default/grub
before GRUB_CMDLINE_LINUX="" and now GRUB_CMDLINE_LINUX="nvidia_drm.fbdev=1"

and

in `/etc/mkinitcpio.conf`
before MODULES=() and now MODULES=(nvidia_drm)

brings no change.

It still boots into black blank screen
than strg + alt 3
login + pssword
than startplasma-wayland
and than I am able to login into the desktop.

And the main problem still persist.

So if I do a new clean install with open source driver,
without the proprietary driver because I would like to have wayland functional.
And it comes up again?

How do I get rid of this screen sharing thing “Bildschirmübertragung”
If it comes up again?

When I click “Abbrechen cancel” everything is function normal.

What process does it use, how can I uninstall it?

thank you

Tony

Have you executed

sudo mkinitcpio -P
sudo update-grub

and rebooted after changing the mentioned configs?

Good Morning,

yes I did and now agai.

    ~  sudo mkinitcpio -P                                                                             ✔
[sudo] Passwort für tony:
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.9-x86_64 -g /boot/initramfs-6.9-x86_64.img
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [kms]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.9-x86_64.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.9-x86_64 -g /boot/initramfs-6.9-x86_64-fallback.img -S autodetect
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.9-x86_64-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
    ~  sudo update-grub                                                                     1 ✘  40s 
GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /usr/share/grub/themes/manjaro/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-6.9-x86_64
Initrd-Abbild gefunden: /boot/intel-ucode.img /boot/initramfs-6.9-x86_64.img
Found initrd fallback image: /boot/initramfs-6.9-x86_64-fallback.img
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober ausgeführt.
Dessen Ausgabe wird zur Erkennung bootfähiger Programmdateien und Erzeugen neuer Boot-Einträge verwendet.
grub-probe: Fehler: Für /dev/sdb1 konnte kein GRUB-Laufwerk gefunden werden. Überprüfen Sie Ihre device.map.
grub-probe: Fehler: Für /dev/sdb1 konnte kein GRUB-Laufwerk gefunden werden. Überprüfen Sie Ihre device.map.
Windows Boot Manager auf /dev/nvme1n1p1@/EFI/Microsoft/Boot/bootmgfw.efi gefunden
Bootmenü-Eintrag für UEFI-Firmware-Einstellungen wird hinzugefügt …
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme1n1.
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme1n1.
abgeschlossen
    ~ 

no result still stays blank at start of Plasma.

But I remember that I try to uninstall after I had that black screen.

sudo pacman -R linux69-nvidia

After someone gave me the tip to run “sudo mhwd -a pci nonfree 0300”

So When I new reinstalling with manjaro-kde-24.0-minimal-240513-linux69.iso.

Should I Install with Open source or proprietary drivers?
When I change to Wayland and reboot?

When I reinstall and tell the Installer that I want a seperate /home partition.
And leave it unformated.
Will the System recognize as my /home and all will be as it was before Install?

Thanks
Tony

Hello @Wollie ,

I later I ran <sudo grub-mkconfig -o /boot/grub/grub.cfg>

sudo grub-mkconfig -o /boot/grub/grub.cfg                                                      ✔
[sudo] Passwort für tony:
GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /usr/share/grub/themes/manjaro/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-6.9-x86_64
Initrd-Abbild gefunden: /boot/intel-ucode.img /boot/initramfs-6.9-x86_64.img
Found initrd fallback image: /boot/initramfs-6.9-x86_64-fallback.img
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober ausgeführt.
Dessen Ausgabe wird zur Erkennung bootfähiger Programmdateien und Erzeugen neuer Boot-Einträge verwendet.
grub-probe: Fehler: Für /dev/sdb1 konnte kein GRUB-Laufwerk gefunden werden. Überprüfen Sie Ihre device.map.
grub-probe: Fehler: Für /dev/sdb1 konnte kein GRUB-Laufwerk gefunden werden. Überprüfen Sie Ihre device.map.
Windows Boot Manager auf /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi gefunden
Bootmenü-Eintrag für UEFI-Firmware-Einstellungen wird hinzugefügt …
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme0n1.
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme0n1.
abgeschlossen
    ~ 

And than Installed “linux69-nvidia”

Reboot and I booted in a Wayland Session.

But my Mail Problem still exsists.

How do I get rid of this screen sharing thing “Bildschirmübertragung”???

Many Thanks for your help

Greetings Tony

PS
should I open a new questions for

So When I new reinstalling with manjaro-kde-24.0-minimal-240513-linux69.iso or newer ISO.

When I reinstall and tell the Installer that I want a seperate /home partition.
And leave it unformated.
Will the System recognize as my /home and all will be as it was before Install?

Thanks
Tony

You did not share your current partition layout.

If you already have a separate /home partition. then you can use the manual installation/partitioning and tell the installer about your partition and that you want to use it as /home in the new install
and(!) that it should not be touched or, god forbid, reformatted.

But I would not trust any installer not to fail at this - nor would I trust myself to not make an error or to not forget to check some box.

If you do not yet have a separate partition for /home, then no - this won’t be possible.

I’d make a backup of /home
and then install and afterward restore the contents of /home from the backup.

You need a backup in any case (IMO).

Then

nvidia_drm.modeset=1

is missing. Please, re-read carefully the link I shared earlier.

Also,

This is not enough, you should have

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

Have you tried to start a session in X11 mode?

Thanks @Nachlese,

I did in my second Posts

Partition:

ID-3: /home raw-size: 190.42 GiB size: 186.37 GiB (97.87%)
used: 119.86 GiB (64.3%) fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:7
label: home-PC uuid: N/A

I have a Backup, therefore I hope with creating a new seperate Partition for my /home it will be easyer for future Installs.

Thank you

How do I get rid of this screen sharing thing “Bildschirmübertragung”???

Greetings
Tony

I overlooked that one - so /home is already separate and you have a backup as well
there should be no problem then

I do not know - that is a question for people who actually use Plasma …
That “people” isn’t me. :grinning:

Thanks @Wollie,

after I done my steps listed in above Posts
see here again

My /etc/default/grub

# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash udev.log_priority=3"
GRUB_CMDLINE_LINUX="nvidia_drm.fbdev=1"

and

/etc/mkinitcpio.conf

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(usbhid xhci_hcd)
MODULES=(**nvidia_drm**)

And than I Installed “linux69-nvidia” in pamac-manager GUI

Run sudo update-grub and mkinitcpio -P and later also sudo grub-mkconfig -o /boot/grub/grub.cfg

Reboot and I booted in a Wayland Session.

-#####-

Should I still change it to

GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=“Manjaro”
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash udev.log_priority=3”
GRUB_CMDLINE_LINUX=“nvidia_drm.fbdev=1” to

“nvidia_drm.fbdev=1 nvidia_drm.modeset=1”

???

and
/etc/mkinitcpio.conf
MODULES=(nvidia_drm) to MODULES=

to

(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

I have not tried to start in X11 becuase wayland functions for now.

Thanks
Tony

Yes, change

into

GRUB_CMDLINE_LINUX="nvidia_drm.modeset=1 nvidia_drm.fbdev=1"

and

MODULES=(**nvidia_drm**)

into

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

Then run

sudo mkinitcpio -P
sudo update-grub

and reboot.

Also, trying to start an X11 session is so simple that you should try it. Just select it from menu where you login.

Thanks @Wollie,

made the changes and run booth commands.
rebooted
all fine
logged out and in X11 again.

And that silly screen sharing thing “Bildschirmübertragung”
didn’t came up anymore

So it is an ISSUE with Wayland and not of my NVIDIA configuration.

So PLEASE
All I want is
How do I get rid of this screen sharing thing “Bildschirmübertragung” under Wayland

Thank you :grinning:

Da steht ja, unter der Titelleiste:
“Bildschirm zum teilen mit der anfragenden Anwendung auswählen”

Meine Frage daraufhin wäre:
Welche Anwendung würde denn das Bildschirmteilen anfragen?
… irgendwas Wayland spezifisches, was automatisch gestartet wird?

Außerdem is da unten eine Checkbox (die ist auf englisch):
Allow restoring on future settings.

Vielleicht mal dieses Häkchen entfernen?



the essence in english:

re the screenshot
“Bildschirm zum teilen mit der anfragenden Anwendung auswählen”
means:
“choose the screen to share with the requesting application”

and I suggested to ask:
what application would request to share and why?

Remove/uninstall the version of tvbrowser that you downloaded from their site, then delete/rename your ~/.config/tvbrowser folder, and then install the version that is in the AUR (pamac build tvbrowser): AUR (en) - tvbrowser

I just installed it on my Plasma Wayland machine and had no issues opening it and downloading an Australian TV Guide:

I can’t guarantee that will get rid of the screen-sharing popups (they could be related to having multiple video outputs & having to choose the correct screen for Wayland to display the application on), but using the version in the AUR will at least ensure that you have the correct dependencies for an Arch-based distro such as Manjaro.

1 Like

When this is all you are concerned about then simply stay logging in X11 until this is solved or is there any disadvantage for you to use X11? Wayland on Plasma is still immature in some belongings and it’s no shame to stay on X11 until it’s fixed.