MacBook Pro 2016: 13” detected as 15”, wrong video mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On a vanilla install of Ubuntu 22.04 and 21.10, boot is in a video mode with 2880 vertical pixels, not the real 2560x1600
Impact: at the bottom of the display are 6–12 invisible lines, and during boot and console work, the cursor is below the bottom of the screen
— external display has same problem
Root cause: the computer is detected as MacBookPro13,3 (2016 15” 2880x1800) when it is MacBookPro13,2 (2016 13” 2560x1600)
It appears impossible to change the video mode in grub, there is only one device and it only has one mode. edid seems to claim that the display supports both 2560x1400 and 2880x1800 which is false
The dumb thing of course picks 2880x1800
I have noticed that linux-hardware.org probes incorrectly lists the computer as MacBookPro13,3
— no kernel setting can fix this
— once efi or grub chose a video mode during boot, it cannot be changed
— the hidden lines is where the cursor is, error messages are displayed
after boot, one can find:
get-edid | parse-edidThis is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 5
No EDID on bus 6
1 potential busses found: 4
256-byte EDID successfully retrieved from i2c bus 4
Looks like i2c was successful. Have a good day.
Checksum Correct
Section "Monitor"
Identifier "Color LCD"
ModelName "Color LCD"
VendorName "APP"
# Monitor Manufactured week 37 of 2015
# EDID version 1.4
# Digital Display
DisplaySize 290 180
Gamma 2.20
Option "DPMS" "false"
Modeline "Mode 0" 260.73 2560 2568 2600 2640 1600 1632 1640 1646 +hsync -vsync
Modeline "Mode 1" 328.92 2880 2888 2920 2960 1800 1838 1846 1852 +hsync -vsync
EndSection
for p in /sys/class/
DP-1: disconnected
DP-2: disconnected
eDP-1: connected
HDMI-A-1: disconnected
HDMI-A-2: disconnected
kernel command-line options tested:
video=eDP-
# does not work
video=eDP-1:640x480
# works but number of rows still wrong
grub:
videoinfo
List of supported video modes:
Legend: mask/position=
Adapter ‘Bochs PCI Video Driver’:
No info available
Adapter ‘Cirrus CLGD 5446 PCI Video Driver’:
No info available
Adapter ‘EFI GOP driver’:
* 0x0000 2880 x 1800 x 32 (115200) Direct color, mask: 8/8/8/8 pos: 16/8/0/24
does not work:
videotest 2560x1600
videotest 640x480
videotest 1280x900
vbetest 640-480
error: can’t find command ‘vbetest’.
vbeinfo
error: can’t find command ‘vbeinfo’.
hwinfo --framebuffer
# has no output
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.15.0-37-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CasperMD5CheckR
Date: Sat Jun 11 21:42:57 2022
HibernationDevice: RESUME=none
InstallationDate: Installed on 2021-10-31 (223 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
MachineType: Apple Inc. MacBookPro13,2
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
TERM=screen
PATH=(custom, no user)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
SourcePackage: linux
UpgradeStatus: Upgraded to jammy on 2022-06-11 (1 days ago)
dmi.bios.date: 09/25/2021
dmi.bios.release: 0.1
dmi.bios.vendor: Apple Inc.
dmi.bios.version: 447.40.12.0.0
dmi.board.name: Mac-66E35819EE2
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro13,2
dmi.chassis.type: 9
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.family: MacBook Pro
dmi.product.name: MacBookPro13,2
dmi.product.
dmi.sys.vendor: Apple Inc.
This change was made by a bot.