How to enable 4k on Plasma

I have GeForce GTX 1050Ti. How can I get 4k resolution? Do I need to install some nvidia drivers?

It doesn’t allow me to set it higher than 1080p in Display and Monitor settings.

Which Monitor/TV?
How is the Monitor/TV connected?
Wich specification have the connector on the Monitor/TV?
Wich Kernel?
Wich nvidia driver installed?

Sony QE75Q80AATXXH
HDMI 2.0 most probably
5.15.11-arch2-1
No nvida drivers installed yet

Apparently I have already some nvidia drivers installed??

[ravio@ravio-optiplex3060 ~]$ sudo pacman -S nvidia-installer-dkms
[sudo] password for ravio: 
warning: nvidia-installer-dkms-3.3.12-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)                        Old Version  New Version  Net Change

endeavouros/nvidia-installer-dkms  3.3.12-1     3.3.12-1       0,00 MiB

Total Installed Size:  0,02 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n]  

EndeavourOS Nvidia Installer – Discovery

1 Like
[ravio@ravio-optiplex3060 ~]$ nvidia-installer-check
Your graphics card (id: 1c82) is supported by the nvidia-dkms driver.
To install a driver for this card, you can use nvidia-installer-dkms.

[ravio@ravio-optiplex3060 ~]$ 

I did run sudo nvidia-installer-dkms it installed something. Asked reboot. I did. Still cannot select resolution more than 1080p.

[ravio@ravio-optiplex3060 ~]$ sudo nvidia-installer-dkms
[sudo] password for ravio: 
INFO:root:Removing /tmp/nvidia-installer_r.log file...
INFO:root:EndeavourOS Nvidia Installer v3.3.12
2021-12-27 20:48:31 [INFO]: EndeavourOS Nvidia Installer v3.3.12
INFO:root:All logs will be stored in /tmp/nvidia-installer_r.log
2021-12-27 20:48:31 [INFO]: All logs will be stored in /tmp/nvidia-installer_r.log
INFO:root:Updating Nvidia graphics cards database...
2021-12-27 20:48:31 [INFO]: Updating Nvidia graphics cards database...
Database is already up-to-date.
INFO:root:Installing nvidia-dkms driver...
2021-12-27 20:48:36 [INFO]: Installing nvidia-dkms driver...
INFO:root:Removing conflicting packages...
2021-12-27 20:48:36 [INFO]: Removing conflicting packages...
INFO:root:Downloading and installing driver packages, please wait as this may take a few minutes...
2021-12-27 20:48:36 [INFO]: Downloading and installing driver packages, please wait as this may take a few minutes...
INFO:root:Unpatching /usr/share/applications/nvidia-settings.desktop...
2021-12-27 20:49:28 [INFO]: Unpatching /usr/share/applications/nvidia-settings.desktop...
INFO:root:Patching kernel line with nvidia-drm.modeset=1
2021-12-27 20:49:28 [INFO]: Patching kernel line with nvidia-drm.modeset=1
INFO:root:Creating /etc/X11/xorg.conf.d/20-nvidia.conf file...
2021-12-27 20:49:28 [INFO]: Creating /etc/X11/xorg.conf.d/20-nvidia.conf file...
INFO:root:Installation finished. You need to reboot now!
2021-12-27 20:49:28 [INFO]: Installation finished. You need to reboot now!
[ravio@ravio-optiplex3060 ~]$

I opened Nvidia X Server Settings there I can set Auto or 1080p nothing more than that.

Do I need to do something similiar to this or this to get more than 1080p?
I think it should be simpler.

Some more info maybe useful from hwinfo:

22: PCI 100.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: VCu0.Zjpw8wWYkI8
  Parent ID: vSkL.vbcVZCYtSu8
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia GP107 [GeForce GTX 1050 Ti]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x1c82 "GP107 [GeForce GTX 1050 Ti]"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x8626 
  Revision: 0xa1
  Driver: "nvidia"
  Driver Modules: "nvidia"
  Memory Range: 0xe3000000-0xe3ffffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  Memory Range: 0xe0000000-0xe1ffffff (ro,non-prefetchable)
  I/O Ports: 0x4000-0x407f (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 134 (211114 events)
  Module Alias: "pci:v000010DEd00001C82sv00001043sd00008626bc03sc00i00"
  Driver Info #0:
    Driver Status: nouveau is not active
    Driver Activation Cmd: "modprobe nouveau"
  Driver Info #1:
    Driver Status: nvidia_drm is active
    Driver Activation Cmd: "modprobe nvidia_drm"
  Driver Info #2:
    Driver Status: nvidia is active
    Driver Activation Cmd: "modprobe nvidia"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #20 (PCI bridge)

This isnt a answer.

The Problem is very likely the TV. Sadly i didnt find any Site with the Specs in English. Only in Languages i cant read. It seems this TV was sould specific for few Countries.

Would change the HDMI Cables and hdmi ports on the TV. It could be that not all HDMI Ports on the TV are HDMI 2.0 or support the Resolution. Or you must enable it in the Settings.

I can set 4k in windows, so the the hdmi cable is not the problem, it is drivers or settings in OS.

And if i even search for QE75Q80AATXXH, i find only Samsung ones. No single Sony one.

That is never a reason. It could be 973207239009 of Reason why it work with Windows (because the TV this know for example and switch any settings for it internal).

Oops, yes it is Samsung.

1 Like

Ok. Bad luck for you. Its a crap Smart TV :sweat_smile:

There are houndreds of Steps between the HDMI Port and the Display. Processing, Scaling, and so on.

For this Shit to work, its needed that the TV “fakes” his capabilities to the Devices connected to it. This is most likely the reason, why it didnt work with Linux, because the TV gives wrong/fake EDIDs to Linux.

I know because of experience, that a “Game Mode” or similiar (where all Scaling/Processing/other unneeded crap is disabled) could work because then it only acts as a normal Monitor. But if not, you had to force Linux to output specific Resolution anyway.

You two first Links you posted, would be the first step for it.

1 Like

There is some Game Mode setting available. But setting to it didn’t allow me to set higher resolution in Linux though. Should I keep “game mode”?

So as I understand I need to do some magic in terminal?
I’m not familiar with cvt or xrandr or anything like that.

[ravio@ravio-optiplex3060 ~]$ cvt -r 3840 2160 60
# 3840x2160 59.97 Hz (CVT 8.29M9-R) hsync: 133.25 kHz; pclk: 533.00 MHz
Modeline "3840x2160R"  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync
[ravio@ravio-optiplex3060 ~]$ 

What now?

Cant help here a lot, because i have a simple principle about such things… if it didnt use any standard wich use any other company, or is already “to complicated” for the usecase, i didnt buy that.

I could only give hints, because i dont have such devices. The Nvidia Forum would be a better place for this specific problem.

But basically, you have two ways:

  • Force with good luck with xrandr a 4k mode https://wiki.archlinux.org/title/Xrandr
  • Decode and understand the EDID Data from the TV and configure your xorg.conf this way (and here you get more likely help in the nvidia forum)

But, this is definitely a Problem of the TV (or linux, what your point of view is), because this TV simply didnt work, like a Monitor should work.

That it works with Windows, is because like i said the TV and Windows knows how to work with the EDID Data from the TV and vice versa.

But this is never a thing wich would get fixed in Linux/by the different Distribrution, because they already have to much work to do, and not many developers. So they even didnt care about Devices wich didnt work with any Standards. Wich is why exotic Hardware is never (or not good) supported.

(im happy about that. maybe sometimes a manufacture get forced to use good known and good working standards, because linux on desktop have big market share. but this is future. But this is for example why Serverhardware is very good and well supported, because the big manufactures cares about that because they plan to use the server with linux anyway)

1 Like

Does this article help: https://wiki.archlinux.org/title/HiDPI#KDE_Plasma

Or this: https://wiki.archlinux.org/title/Xrandr#Adding_undetected_resolutions

1 Like
[ravio@ravio-optiplex3060 ~]$ xrandr --addmode DP-1 2560x1440_60.00
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  35
  Current serial number in output stream:  36

I’m not really sure how should I go to fix this.
This or this or this or this (btw I dont have such file /usr/share/X11/xorg.conf.d/00-modecrt.conf) ??

/var/log/Xorg.0.log - https://clbin.com/HvncP

My /etc/X11/xorg.conf contents:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 495.46

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

I did a bit of research and apparently this is the result of the OS not reading the EDID File of the monitor (which is marked as unknown in my options) and therefore not setting the proper HorizSync and VertRefresh values.

I noticed I have no such lines in

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

shouldn’t it need something like this

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

I found this reddit post which suggested to use CRU utility in Windows which will read EDID data. Then export it as .bin and use in /etc/X11/xorg.conf.d/10-monitor.conf (Arch Wiki - Editing the EDID file) which I tried

Section "Screen"
    Identifier "Screen0"
    Device "nvidia"
    Monitor "DP1"
    Option “CustomEDID” “DP-1:/home/ravio/Documents/cru.bin”
EndSection

Which resulted into me not being able to boot in EOS. I needed to insert Live USB and remove the file I created. What is wrong???

[ravio@ravio-optiplex3060 ~]$ xrandr --query
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 1872mm x 1053mm
   1920x1080     60.00*+  59.94    50.00    29.97    25.00    23.98    60.00    50.04  
   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  
[ravio@ravio-optiplex3060 ~]$ 

No offense.

But i suggested you, to go with this specific Problem to the nvidia forum, because there are Guys wich know way more about this specific problem. Here are maybe one or two guys too wich can help you with that, but then you have simply to wait.

It is more likely that you get way faster and better help with this specific problem over there.

1 Like