Wrong resolution, and "unknown monitor" since upgraded to 17.04

Bug #1688253 reported by LGB [Gábor Lénárt] on 2017-05-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)

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

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
ProcVersionSignature: Ubuntu 4.10.0-21.23-generic 4.10.11
Uname: Linux 4.10.0-21-generic x86_64

ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity:Unity7
Date: Thu May 4 15:03:53 2017
DistUpgraded: Fresh install
DistroCodename: zesty
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
 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=/boot/vmlinuz-4.10.0-21-generic root=UUID=c6e12cf5-267b-49d3-83eb-87a1464a2633 ro quiet splash vt.handoff=7
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.asset.tag: To be filled by O.E.M.
dmi.board.name: H61M-S1
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrFC:bd02/25/2013:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH61M-S1:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz 1:
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.76-1
version.libgl1-mesa-dri: libgl1-mesa-dri 17.0.3-1ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 17.0.3-1ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.3-1ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.5-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.9.0-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20170309-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.14-0ubuntu1
xserver.bootTime: Thu May 4 14:40:25 2017
xserver.configfile: default
 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.logfile: /var/log/Xorg.0.log
xserver.outputs: Output VGA-1
xserver.version: 2:1.19.3-1ubuntu1
xserver.video_driver: modeset

LGB [Gábor Lénárt] (lgb) wrote :
LGB [Gábor Lénárt] (lgb) wrote :

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

LGB [Gábor Lénárt] (lgb) wrote :

Another interesting finding with grep'ing around in /var/log for VGA-1:

root@vega:/var/log# grep VGA-1 syslog
May 4 14:27:10 vega unity-settings-[1644]: unable to get EDID for xrandr-VGA-1: unable to get EDID for output

And maybe the even more interesing part in /var/log/gpu-manager.log

log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /run/u-d-c-nvidia-was-loaded file
can't access /run/u-d-c-fglrx-was-loaded file
Looking for fglrx modules in /lib/modules/4.10.0-21-generic/updates/dkms
Looking for nvidia modules in /lib/modules/4.10.0-21-generic/updates/dkms
Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is fglrx loaded? no
Was fglrx unloaded? no
Is fglrx blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is nouveau loaded? no
Is nouveau blacklisted? no
Is fglrx kernel module available? no
Is nvidia kernel module available? no
Vendor/Device Id: 8086:152
BusID "PCI:0@0:2:0"
Is boot vga? yes
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card0", driven by "i915"
Found "/dev/dri/card0", driven by "i915"
output 0:
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
last cards number = 1
Has amd? no
Has intel? yes
Has nvidia? no
How many cards? 1
Has the system changed? No
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
Current alternative: /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf
Current core alternative: (null)
Current egl alternative: /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf
Is nvidia enabled? no
Is nvidia egl enabled? no
Is fglrx enabled? no
Is mesa enabled? yes
Is mesa egl enabled? yes
Is pxpress enabled? no
Is prime enabled? no
Is prime egl enabled? no
Is nvidia available? no
Is nvidia egl available? no
Is fglrx available? no
Is fglrx-core available? no
Is mesa available? yes
Is mesa egl available? yes
Is pxpress available? no
Is prime available? no
Is prime egl available? no
Single card detected
Nothing to do
No change - nothing to do

LGB [Gábor Lénárt] (lgb) wrote :

Please tell me, if you need further information of some kind of co-operation to resolve this issue. Thanks a lot, in advance.

LGB [Gábor Lénárt] (lgb) wrote :

With wayland, the problem is even worse, with X11 I could at least use xrandr to set the correct resolution. This is not an option with wayland though, so I cannot even use my desktop normally, I guess I should downgrade ubuntu, since no way to use the machine in a sane way anymore, and not so much other solution I could find :(

LGB [Gábor Lénárt] (lgb) wrote :

Ok, I've found a workaround, to specify this kernel parameter in GRUB:


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers