My Pi is currently suffering the same "picture frame" problem that many others have described, losing 96 pixels vertically and horizontally (48 from each edge) from the native resolution of a good quality 27" Dell 2408 1920x1200 LCD monitor, feeding into its HDMI port. The monitor data is being read fine, and includes:
Group CEA has 8 modes:
(native) mode 16: 1920x1080 @ 60Hz, progressive
Group DMT has 11 modes:
mode 68: 1920x1200 @ 60Hz, progressive
HDMI status:
state 0x120016, 1920x1200 @ 60Hz, progressive
To match the monitor's expectations, I set up /boot/config.txt with:
hdmi_group=2
hdmi_mode=68
So far so good, but when I bring up X11, /var/log/Xorg.0.log shows:
(--) FBDEV(0): Virtual size is 1824x1104 (pitch 1824)
which is confirmed by /proc/cmdline:
dma.dmachans=0x3c bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=1104
bcm2708.boardrev=0x2 bcm2708.serial=0x25f2f590 smsc95xx.macaddr=B8:27:EB:F2:F5:90
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200
console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
This looks like a simple problem of overscan, but setting the four overscan_* parameters to 0 in /boot/config.txt does not change the situation.
So, although the display and HDMI are running at 1920x1200, only 1824x1104 is being used for visible data. Now this is the same problem that others have reported and so it may get sorted out, but there is a 2nd problem that I haven't seen reported and which is causing me trouble which this post is about.
If I add "bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1200" to /boot/cmdline.txt (as people have suggested), then sure enough the system makes the change and /var/log/Xorg.0.log shows that it's heading in the right direction:
(--) FBDEV(0): Virtual size is 1920x1200 (pitch 1920)
The trouble is, X11's 1920x1200 area is now mapped into the old 1824x1104 letterbox section of the screen, so instead of better it's actually worse. Unsurprisingly the fonts look horrible and there is moire patterning as 1920 virtual screen pixels are squashed into 1824 real ones, and correspondingly 1200->1104 on the y axis. And what's even worse is that in this configuration there is also a lot of USB data loss from both keyboard and mouse, possibly because the drivers are spending so much time converting the virtual screen resolution to the real one. It's really quite bad.
This may be related to the rather ambivalent state of /proc/cmdline under these conditions, which shows both resolutions!
dma.dmachans=0x3c bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=1104
bcm2708 boardrev=0x2 bcm2708.serial=0x25f2f590 smsc95xx.macaddr=B8:27:EB:F2:F5:90
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200
console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1200
I don't really know what it means when it displays both resolutions like that, but the end result is wrong. A lot of threads have already been written in the RPF forums on this general topic, but I don't think I see a clear way forward. Any suggestions?
Morgaine.







