Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xrandr
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 51
    • Issues 51
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • app
  • xrandr
  • Issues
  • #56

Closed (moved)
(moved)
Open
Created Jul 27, 2021 by Johannes Kalliauer@JoKalliauer

--scale scales a rasterized frame-buffer-bitmap to the display-resolution, leading to massive quality losses

Problem

xrandr --scale leads to a quality-loss (generally blurry)

(a)xrandr --output eDP-1 --mode 1920x1080 --scale .5 and (b)xrandr --output eDP-1 --mode 960x540 --scale 1 result in the same Screenshot, however (a) should be a 1920x1080 image and (b) should only use a quarter of the screen (to avoid blurriness).

It is correct that (a) and (b) show the same amount of content and the same relative Windowsizes/Font-sizes, however (a) should have more pixels for the same content, however they end up in the same Screenshot.

actual result

xrandr --scale scales a frame-buffer-bitmap to the display-resolution

expected result

xrandr --scale should scale first and then create raster-image identical to the physical display-resolution, as done by gnome-control-center>Settings>Display>Scale or by gnome-tweaks>Fonts>Scaling Factor.

However gnome-control-center and gnome-tweaks are global for all monitors, and can't compensate different dpi on Monitors.

Examples

xrandr --output eDP-1 --mode 1920x1080 --scale 1 --filter nearest

Screenshot_from_2021-07-27_16-55-21


xrandr --output eDP-1 --mode 1920x1080 --scale .5 --filter nearest

Screenshot_from_2021-07-27_16-57-53


xrandr --output eDP-1 --mode 960x540 --scale 1 --filter nearest

Screenshot_from_2021-07-27_16-57-19


xrandr --output eDP-1 --mode 960x540 --scale 0.5 --filter nearest

Screenshot_from_2021-07-27_16-54-19

Edited Jul 27, 2021 by Johannes Kalliauer
Assignee
Assign to
Time tracking