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

未关闭
#123 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
28/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
linux
领域
backend, desktop

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
没有语言数据
星标
10
派生
1
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linuxmint/mint27-beta 的其他 Issue

查看 linuxmint/mint27-beta 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。