Wrong resolution at unlock screen

Bug #1760068 reported by Kev Bowring on 2018-03-30

This bug report will be marked for expiration in 52 days if no further activity occurs. (find out why)

This bug affects 6 people
Affects Status Importance Assigned to Milestone
light-locker (Ubuntu)

Bug Description

After coming out of suspend - the unlock screen is at 640x480 resolution.

Expect to see unlock screen at 1920x1080 resolution.

Using nvidia-340.

Previously tested using nouveau driver where resolution at unlock screen was correct.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: light-locker 1.8.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.9-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Mar 30 11:31:20 2018
InstallationDate: Installed on 2017-09-02 (209 days ago)
InstallationMedia: Xubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170902)
SourcePackage: light-locker
UpgradeStatus: No upgrade log present (probably fresh install)

Kev Bowring (flocculant) wrote :
Sean Davis (bluesabre) wrote :

Doesn't seem to affect Intel graphics.

Card-1: Intel Haswell-ULT Integrated Graphics Controller
Card-2: NVIDIA GK107M [GeForce GT 745M]
Display Server: x11 (X.Org 1.19.6 )
drivers: modesetting,nouveau (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.00hz
OpenGL: renderer: Mesa DRI Intel Haswell Mobile
version: 4.5 Mesa 18.0.0-rc5

Kev Bowring (flocculant) wrote :

doesn't affect nouveau either

Sean Davis (bluesabre) wrote :

Unable to confirm for nvidia-340, but also not sure it's fully installed. Installed via Software & Updates, and it says it's installed, but nvidia-settings has two tabs and this is inxi's output. If this is correct output, it seems to be working on nvidia-340 here.

$ inxi -G
Graphics: Card-1: Intel Haswell-ULT Integrated Graphics Controller
           Card-2: NVIDIA GK107M [GeForce GT 745M]
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting,nouveau (unloaded: nvidia,fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: N/A version: N/A

Sean Davis (bluesabre) wrote :

Also no luck getting nvidia-driver-390 installed to test.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in light-locker (Ubuntu):
status: New → Confirmed
Hélio Nunes (dedalu-dedalu) wrote :

Me too. Xubuntu 18.04, fresh install.

It happens after resume from suspend and when I switch users (dm-tool switch-to-greeter). For the first user the resolution is correct:

user_a$ inxi -G
Graphics: Card: NVIDIA GT215M [GeForce GT 335M]
           Display Server: x11 (X.Org 1.19.6 ) driver: nvidia Resolution: 1600x900@59.98hz
           OpenGL: renderer: GeForce GT 335M/PCIe/SSE2 version: 3.3.0 NVIDIA 340.106

user_a$ xrandr --query
Screen 0: minimum 8 x 8, current 1600 x 900, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected 1600x900+0+0 (normal left inverted right x axis y axis) 345mm x 194mm
   1600x900 59.98*+
HDMI-0 disconnected (normal left inverted right x axis y axis)

But for the second user:

user_b$ inxi -G
Graphics: Card: NVIDIA GT215M [GeForce GT 335M]
           Display Server: x11 (X.Org 1.19.6 ) driver: nvidia
           Resolution: 640x480@73.00hz
           OpenGL: renderer: N/A version: N/A

user_b$ xrandr --query
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 640 x 480, maximum 640 x 480
default connected 640x480+0+0 0mm x 0mm
   640x480 73.00*

Note: user_b screen resolution is fine if he is the only one using the system. The problem happens only when he is the second.


This is a duplicate of bug 1757202.

It affects me too... I have an ATI Mobility Radeon HD 5470. And it has nothing to do with 2 users at the same time, because it happens to me with a single user logged in.

Thiago, this bug may be caused by having two Xorg instances (the user session and the unlock screen which runs in another VT) accessing the graphics driver. And up until now, only the nvidia driver was reported to be part of the problem.

Please check the logs files in /var/log/lightdm for any hints.

Most likely not a bug in light-locker.

Changed in light-locker (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers