Wrong resolution, and "unknown monitor" since upgraded to 17.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I've never had a problem like this before. Now, after upgraded to Ubuntu 17.04 it was already strange to see the boot logo in a kind of low and fuzzy resolution. And it remained for the LightDM login screen, also for the desktop after logged on. System setting -> Display reports "Unknown Display". System settings -> Software & updates -> Additional drivers shows title "Unknown: Unknown" though after that "Using Processor microcode firmware for Intel CPUs from intel-microcode" is active. I could "work the problem around" (see the end of this writing) but it's really ugly that I need to run a script every time, when it always worked well on the same machine before this Ubuntu release.
According to xrandr:
lgb@vega:~$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
VGA-1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00*
800x600 60.32 56.25
848x480 60.00
640x480 59.94
My GPU:
lgb@vega:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
Monitor is Samsung SyncMaster E2220, standard VGA-cable connection (this monitor hasn't got any other connector like HDMI or DVI).
My workaround was to create this script and run:
DEV=`xrandr | awk '$2 == "connected" { print $1 }'`
xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode $DEV 1920x1080
xrandr --output $DEV --mode 1920x1080
After this, the resolution is fine, but still everything reports "Unknown display" and such. The output of xrandr after running my script (I played with adding some modes, that is the _60.00 stuff):
root@vega:~# xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
VGA-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00
800x600 60.32 56.25
848x480 60.00
640x480 59.94
1920x1080 59.96*
1920x1080_60.00 (0xda) 173.000MHz -HSync +VSync
h: width 1920 start 2048 end 2248 total 2576 skew 0 clock 67.16KHz
v: height 1080 start 1083 end 1088 total 1120 clock 59.96Hz
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: xorg 1:7.7+16ubuntu3
ProcVersionSign
Uname: Linux 4.10.0-21-generic x86_64
.tmp.unity_
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity:Unity7
Date: Thu May 4 15:03:53 2017
DistUpgraded: Fresh install
DistroCodename: zesty
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [1458:d000]
InstallationDate: Installed on 2016-06-10 (328 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/25/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: FC
dmi.board.
dmi.board.name: H61M-S1
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: To be filled by O.E.M.
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz 1:0.9.13.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.76-1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Thu May 4 14:40:25 2017
xserver.configfile: default
xserver.devices:
input Power Button KEYBOARD, id 6
input Video Bus KEYBOARD, id 7
input Power Button KEYBOARD, id 8
input Dell Dell USB Keyboard KEYBOARD, id 9
input PS/2+USB Mouse MOUSE, id 10
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs: Output VGA-1
xserver.version: 2:1.19.3-1ubuntu1
xserver.
I'm really not an xrandr / etc wizard, but what looks strange for me, that it seems something reports "VGA-1" when all the examples on the Net (and in xrandr man page) mentions "VGA". Even in Xorg.log:
root@vega:~# fgrep VGA /var/log/Xorg.0.log
[ 25.034] (II) modeset(0): Output VGA-1 has no monitor section
[ 25.037] (II) modeset(0): EDID for output VGA-1
[ 25.037] (II) modeset(0): Printing probed modes for output VGA-1
[ 25.037] (II) modeset(0): Output VGA-1 connected
[ 25.037] (II) modeset(0): Output VGA-1 using initial mode 1024x768 +0+0