Mirroring My Desktop to my Samsung 55" Oled Smart TV using Nvidia

Can anyone suggest the best way to be able to see my Manjaro Plasma KDE desktop on my 55" Samsung Smart TV. I have it working really well with Windows 11 but I cannot get it to work with Manjaro.

System:
  Kernel: 6.12.4-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12-x86_64
    root=UUID=9fb3e1d9-3b14-40d0-a8d1-7907cafe2031 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.2.4 tk: Qt v: N/A info: frameworks v: 6.8.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: X870 AORUS ELITE WIFI7 ICE v: x.x
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: F3i date: 12/03/2024
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 32 GiB available: 30.46 GiB used: 2.46 GiB (8.1%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: no module installed
  Device-2: Channel-A DIMM 1 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 6000 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK32GX5M2E6000C36 serial: N/A
  Device-3: Channel-B DIMM 0 type: no module installed
  Device-4: Channel-B DIMM 1 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 6000 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK32GX5M2E6000C36 serial: N/A
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 9 7900X bits: 64 type: MT MCP arch: Zen 4 gen: 4
    level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
    model-id: 0x61 (97) stepping: 2 microcode: 0xA601209
  Topology: cpus: 1x dies: 2 clusters: 2x1 cores: 12 threads: 24 tpc: 2
    smt: enabled cache: L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 12 MiB
    desc: 12x1024 KiB L3: 64 MiB desc: 2x32 MiB

:bangbang: Tip :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:

As I’m a moderator on the forum, I have taken the liberty of doing this for you, this time.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Note that the above text is pre-prepared as a general introduction for new forum Users. Please take the time to to understand how it is done and encourage quality responses.

As you tagged with plasma

  • AltF2 to enter search mode
  • search for display configuration

Which protocol do you want to use? The best option would probably be a HDMI cable.

Other methods may not works as nicely or natively.

I am using HDMI. Which is the simplest but I get my screen on the PC going off and on and the Samsung TV being made the primary display and thus I dont see the system icons and taskbar on my screen as it is on the Samsung Display.

I also cant see how to mirror using the Nvidia Control panel as there is no option that I can see.

Which device are you using? Normally the devices have hardware keys (Fn) where you can switch displays if any is connected externally.

At least it works on my HP device, independent from which OS i am using.

I have a desktop wired Logitech K290 keyboard which does not look like it has FN key to swap the displays.

Please provide the output of:

xrandr

Edit:

Have you tried:


xrandr                                                                                                                      ✔ 
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   2560x1440    180.06*+ 165.06   143.97   120.00    99.95    59.95  
   1920x1080    119.88   100.00    60.00    59.94    50.00  
   1280x720      59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94    59.93  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 1872mm x 1053mm
   3840x2160     30.00 +  59.94    50.00    29.97    25.00    23.98  
   4096x2160     59.94    50.00    29.97    24.00    23.98  
   2560x1440     59.95* 
   1920x1080     60.00    59.94    50.00    29.97    25.00    23.98  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  

Note: I added the missing ~s for you. :wink:

Since I installed xrandr I can now mirror without any problems.

Why is that?

Why could I not do it with the Nvidia software alone?

Since I installed randr then everything is working properly for duplicating my desktop display,

Thanks for all the help.

2 Likes

The problem stills persists if I allow the PC to go into sleep mode and I then try and wake it up and put in my password. This occurs if the Samsung TV is not in PC HDMI Connection mode but actually showing a normal TV programme. I have to pull out the HDMI cable so I get log in on my desktop.

I want to be able to leave the HDMI cable connected all the time.

I do have a Sony TV with several HDMI connectors. Once the device is switching from HDMI to TV because the signal is lost (sleep mode of notebook) he never came back to the HDMI signal, i have to select the input manually via remote control.

Same happens if i am switching on the connected X-Box. It never changes the channel automatically.

I see this as an issue with the TV, not the connected devices. I gave up, searching for a solution.

2 Likes

I dont see it as an issue with the TV at all. Manjaro should be able to realise that the TV is not in a mode to share the desktop and default to showing me my normal desktop.

Does randr run automatically when I reboot and can I set something in randr to control how it displays my desktop when the TV is not in a mode to display my desktop in it.

You have to overlay the screens. Go to “X Server Display Configuration” and place the screens in the same place. Then apply the changes.

Doing that means both screens get the same part of the frame-buffer/picture.


I can’t try it on Wayland, as I use Mate on my desktop and it doesn’t support Wayland yet.

I have managed to keep them in the same place. Not an obvious setting I must say.

But it all seems to be working.

I will wait and see what happens when my screen times out and then try and resume.

Thanks
Raymond

2 Likes

this is unfortunately an issue on Windows too.
the possibility to enter the password only shows on what it consider the main screen.

i have a PC connected to a projector and an additional small screen;
when booting up,the second small screen stays dark until i type the password on the main one.
and even if the projector is turned off,it is still recognized by the PC,meaning i have no display on the small one.

two workarounds are;

  • disable password.
    -type the password blindly.
1 Like

This is due to a small circuit which is powered via the monitor connection (e.g. HDMI) even when the monitor is otherwise disconnected from power, to report the EDID.

Depending on the capabilities, it may or may not also be able to report the “power” state. Also, I would think that the lack of such signalling when the input is changed is intentional.

The simplest way round this might possibly to use the Display Configuration icon in the Plasma Panel (you may want to set that to “Always Shown” — right-click the ^ on the Panel → Configure System Tray then select Settings). This way you can easily switch monitor layouts. (Hopefully.)