I upgraded to Ubuntu 18.04 from 16.04 and got a wrong graphics resolution. I tried to add a correct resolution manually but this does not work. I have integrated graphics card Intel(R) Graphics Media Accelerator 3150 running on MS-A923. Possibly, this is connected with errors found in Xorg.0.log:
(EE) No devices detected.
(EE) open /dev/dri/card0: No such file or directory
(EE) open /dev/dri/card0: No such file or directory
(EE) open /dev/fb0: No such file or directory
(EE) open /dev/fb0: No such file or directory
(EE) Screen 0 deleted because of no matching config section.
(EE) Screen 0 deleted because of no matching config section.
(EE) AIGLX: reverting to software rendering
(EE) event5 - IDEACO IDC 6681: libinput bug: missing tablet capabilities: btn
stylus resolution.Ignoring this device.
(EE) libinput: IDEACO IDC 6681: Failed to create a device for /dev/input/event5
(EE) PreInit returned 2 for "IDEACO IDC 6681"
Any idea how to fix this? Thanks!
Update #1
After checking Xorg.0.log:
(II) VESA(0): clock: 72.0 MHz Image Size: 410 x 230 mm
(II) VESA(0): h_active: 1366 h_sync: 1380 h_sync_end 1436 h_blank_end 1500 h_border: 0
(II) VESA(0): v_active: 768 v_sync: 769 v_sync_end 772 v_blanking: 800 v_border: 0
I think that the graphics driver finds a correct mode, but for some reason the correct monitor resolution is not found:
xrandr --output default --mode 1366x768
outputs: xrandr: screen cannot be larger than 1024x768 (desired size 1366x768)
Update #2
Fresh install did not help. I was unable to install 18.04 in graphic mode (again, the installation shows just background and mouse). Text mode would probably help, but I was unsure if I would get working GUI. Therefore, I returned back to 16.04, which works fine (after some manipulation with display setting menu, disabling built-in display). Thanks @heynnema for your support!