Cinnamon display settings: live session offers only two resolutions, and screen scaling is stuck at 100%

Đang mở
#123 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
28/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux
Lĩnh vực
backend, desktop

Hướng nghiên cứu

Start by reproducing the live session on the reported 1920x1200 AMD Rembrandt laptop and capture xrandr --query, journalctl -b | grep -iE 'amdgpu|edid|drm|nomodeset', and the DRM driver path under /sys/class/drm/. Compare the advertised modes with Cinnamon Display settings to distinguish missing KMS modes from the X11 scaling controls described in /usr/share/cinnamon/cinnamon-settings/modules/cs_display.py. Done means identifying which behavior occurred and documenting or fixing the confirmed cause; the report does not identify a specific source file or provide reproduction output.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Booting the Mint 27 Cinnamon beta live session on a laptop with an AMD Radeon 680M (Rembrandt) and a 1920x1200 internal panel, the Display settings panel offered only two choices: the native 1920x1200 and one small size (roughly 900x600 as I remember it - possibly 960x600 or 800x600; I did not record the exact string). There was no way to pick any of the intermediate resolutions that the same machine offers under Mint 22.3, and no usable screen scaling - the panel would not go anywhere except 100%.

This was the deciding factor in not installing 27. I had already backed up my data and was ready to install, but a laptop desktop that cannot be scaled or set to an intermediate resolution is not usable for me.

I am reporting it so you can decide whether it is a real defect, a live-session-only artifact, or documented behaviour. I have not root-caused it, and I could not reproduce it on the installed system because I did not install.


Environment

  • Distribution: Linux Mint 27 "Adrien" BETA, Cinnamon 64-bit, live session booted from the ISO.
  • ISO: linuxmint-27-cinnamon-64bit-beta.iso, sha256 c2023b0f60d4a9eb19ee73cb4fd04a3b7430b6867a48439846c1cd92249dd85a (matches the official beta checksum, so the image is intact).
  • GPU: AMD Rembrandt [Radeon 680M], pci id 1002:1681, driver amdgpu.
  • Panel: 1920x1200, 302mm x 188mm.
  • Session: X11. In the ISO, /etc/lightdm/lightdm.conf.d/70-linuxmint.conf sets user-session=cinnamon, and /usr/share/xsessions/cinnamon.desktop is the X11 session; cinnamon-wayland.desktop exists but is not the default.
  • Compared against: the same laptop running Mint 22.3 (kernel 7.0.0-43-generic), where the panel offers 1920x1200, 1920x1080, 1600x1200, 1680x1050, 1280x1024, 1440x900, 1280x800, 1280x720, 1024x768, 800x600, 640x480 - 11 modes.

What I checked in the ISO, and what it rules out

  1. The kernel is not older than the installed system's. casper/vmlinuz in the beta ISO is 7.0.0-44-generic. My working 22.3 runs 7.0.0-43-generic. So this is not a "newer kernel regressed the panel" case in the obvious sense - if anything the beta has the newer build.

  2. The AMD firmware for this GPU is present in the ISO. All 11 yellow_carp_* firmware files that Rembrandt needs are in /usr/lib/firmware/amdgpu/ (667 amdgpu firmware files total). So this is not "the live image shipped without the firmware and amdgpu fell back".

  3. The live session does not force a low resolution except in one specific case. /usr/bin/bump-virtualbox-resolution only acts when the session is X11, the output name contains "Virtual", and the monitor height is below 768 - it then sets 1024x768. On real hardware it does nothing. So nothing in the live session is deliberately clamping the mode list on this machine.

  4. Fractional scaling on X11 is behind an experimental switch, and it is off by default. /usr/share/cinnamon/cinnamon-settings/modules/cs_display.py only adds the "Enable fractional scaling controls (experimental)" switch and the "Fractional scaling mode" combo when the session is not Wayland:

    X11_FRACTIONAL_FEATURE = "x11-randr-fractional-scaling"
    if util.get_session_type() != "wayland":
        switch = Switch(_("Enable fractional scaling controls (experimental)"))
        ...
        self.fractional_switch.set_active(X11_FRACTIONAL_FEATURE in features)
    

    With that feature off, the layout controls are the coarse ones. This may be exactly the behaviour I hit, and if so it is intentional and pre-existing rather than new in 27 - but a user has no way to know that from the panel, because the switch is on the Settings tab, not next to the resolution list.


Two possible explanations, both testable

Hypothesis A: the mode list really was short because the display was in a fallback state.
That would mean amdgpu never took over KMS, and the two entries came from the firmware/VESA fallback pool rather than the panel's EDID. A boot using the "compatibility mode" menu entry would produce this, because that entry passes nomodeset:

menuentry "Start Linux Mint 27 Cinnamon 64-bit (compatibility mode)" {
    linux /casper/vmlinuz ... noapic noacpi nosplash irqpoll nomodeset --

I do not know which entry I booted, so I cannot rule this out.

Hypothesis B: the mode list was fine and what I was reading as "two resolutions" was actually "native, and the 2x-scaled logical size".
1920x1200 at 200% scaling gives a logical 960x600, which is close to the number I remember seeing. If the panel was showing native plus a scaled option, then the real complaint is narrower: on a 1920x1200 laptop panel, the only scaling steps offered are 100% and 200%, with nothing in between unless the experimental fractional-scaling switch is turned on. On a 14 inch 1920x1200 screen (302mm x 188mm, so about 14.0 inch diagonal), 100% is too small and 200% is too large, so the machine is effectively unusable at either setting.

I cannot distinguish A from B from memory. Both are consistent with what I saw.


What would settle it (for anyone who can boot the live session again)

# 1. Which modes does the driver actually advertise?
xrandr --query

# 2. Did amdgpu take over, and did it read the panel?
journalctl -b | grep -iE 'amdgpu|edid|drm|nomodeset'

# 3. Is KMS active? (nomodeset leaves this empty or shows efifb/vesafb)
ls /sys/class/drm/card*/device/driver

If xrandr lists the full 11-mode ladder, it is a Display panel problem (B). If it lists two modes, it is a graphics bring-up problem (A), and the kernel command line of the boot entry is the first thing to check.

I can re-run these and attach the output if you want them; I did not capture them at the time.


Why I am reporting it rather than assuming it is my mistake

  • The same panel on the same laptop offers 11 modes under 22.3. Two is not a hardware limit.
  • The ISO ships complete Rembrandt firmware, so the driver had what it needed.
  • The live session is the first thing a person evaluating 27 sees. If display configuration is not workable there, the beta cannot be evaluated on a laptop, which is a large part of the audience for a release that advertises improved HiDPI and fractional scaling.
  • If the answer is "turn on the experimental switch", that is fine - but the switch is on a different tab and nothing points to it from the resolution list. A one-line hint next to the layout controls would turn a dead end into a setting.

I am not asking for a specific fix. If this is expected behaviour on X11, say so and I will close it myself; if it is a live-session artifact, that is still worth knowing because it is what people see when they try the ISO.


Possibly related, for triage only

  • #80 "Cinnamon Wayland session reliably crashes when changing display settings for secondary monitor" (open)
  • #36 "Large menu in firefox when using fractional scaling in the wayland session" (closed)
  • #10 "Cinnamon Wayland: apps run as root via pkexec ignore the user's font size and text scaling" (closed)

None of these is the same report; they are listed only because they touch the same panel and the same subsystem.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
10
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/mint27-beta

Tất cả issue của linuxmint/mint27-beta

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.