LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-10-2018, 07:30 PM   #1
Apocrolis
LQ Newbie
 
Registered: Apr 2018
Posts: 18

Rep: Reputation: Disabled
Can't change screen resolution on Ubuntu 18.04


Hi,

Everything was working fine while on Ubuntu 17.10

It seems that I'm actually only able to use 18.04 with nomodeset.

this is the output for xrandr :

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected primary 1280x1024+0+0 0mm x 0mm
1280x1024 77.00*

output for inxi -G :

Graphics: Card: Intel 82G33/G31 Express Integrated Graphics Controller
Display Server: x11 (X.Org 1.19.6 )
drivers: fbdev,intel (unloaded: modesetting,vesa)
Resolution: 1280x1024@77.00hz
OpenGL: renderer: llvmpipe (LLVM 6.0, 128 bits)
version: 3.3 Mesa 18.0.0-rc5

I tried with 2 different Monitor (Dell S199WFPf & Acer x213H), both show "unknown display"

I tried to play with various grub_gfxmode=1920x1080 (for example) but I'm still stuck with resolution like 1280x1024 or 1080x728 depending which Monitor I tried.

Any ideas how I could get a proper resolution ?

Thank you
 
Old 05-11-2018, 04:05 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,212
Blog Entries: 7

Rep: Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523
output of
Code:
lspci -k | grep -iEA5 'vga|3d|display'
please.
 
Old 05-11-2018, 06:35 AM   #3
Apocrolis
LQ Newbie
 
Registered: Apr 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Here it is:

00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)
Subsystem: Dell Inspiron 530
Kernel modules: i915
00:19.0 Ethernet controller: Intel Corporation 82562V-2 10/100 Network Connection (rev 02)
Subsystem: Dell Inspiron 530
Kernel driver in use: e1000e
 
Old 05-11-2018, 02:54 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,212
Blog Entries: 7

Rep: Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523
there's no "kernel driver in use".
is this with nomodeset?
what exactly happens when you try to boot normally, without nomodeset?
and is the lspci output different then?
 
Old 05-11-2018, 03:52 PM   #5
Apocrolis
LQ Newbie
 
Registered: Apr 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Without nomodeset, my screen 'freeze' at the startup Ubuntu logo, can't move the mouse. So I can't tell if the output of lspci is different.
 
Old 05-12-2018, 01:27 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,212
Blog Entries: 7

Rep: Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523
can you change to a different tty?
with e.g. Ctrl-Alt-F2, then login with your usual credentials, then try the lspci command again?
and also
Code:
journalctl -b
cat /var/log/Xorg.0.log
again, do NOT boot with nomodeset if you want to see relevant error messages.

what machine is it? specs?
does it have dual graphics?

did you do some research yourself? what did you find?
 
Old 05-12-2018, 05:25 PM   #7
tulu
LQ Newbie
 
Registered: May 2018
Posts: 6

Rep: Reputation: Disabled
Hi. I'm getting the same behavior on a similar machine. A Dell Inspiron 530s. It freezes on the splash screen. I'm unable to get to a tty. Everything is frozen. I tried setting a new resolution with xrandr but the picture ends up being too big for the screen and doesn't all fit in.

There's a question on AskUbuntu which is not exactly the same thing but his Xorg.0.log was similar to mine in that the power button, keyboard, and mouse all get removed at the end. That was booting with nomodeset however.

https://askubuntu.com/questions/1029...buntu-to-18-04

There's a bug filed where he claims xorg freezes up and suggests a workaround of installing an old kernel.

https://bugs.launchpad.net/ubuntu/+s...g/+bug/1756511

Other than that I haven't really found anything that is relevant. I don't want to detract from the OP so I'll just observe. I thought it might be helpful to see that a similar machine is having the same problem. I guess that would make sense though.

Last edited by tulu; 05-12-2018 at 09:36 PM.
 
Old 05-14-2018, 06:16 PM   #8
Apocrolis
LQ Newbie
 
Registered: Apr 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
can you change to a different tty?
with e.g. Ctrl-Alt-F2, then login with your usual credentials, then try the lspci command again?
and also
Code:
journalctl -b
cat /var/log/Xorg.0.log
again, do NOT boot with nomodeset if you want to see relevant error messages.

what machine is it? specs?
does it have dual graphics?

did you do some research yourself? what did you find?

The output for "cat /var/log/Xorg.0.log" is here :

https://pastebin.com/xnq3T48S

What should I look for with journalctl -b ? The output is over 2600 lines ...

I was able to make it work with i915.modeset=0 rather than nomodeset. But I can't still change the screen resolution. If I don't specify something my session "freeze" on the splash screen.
 
Old 05-14-2018, 06:19 PM   #9
Apocrolis
LQ Newbie
 
Registered: Apr 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by tulu View Post
There's a bug filed where he claims xorg freezes up and suggests a workaround of installing an old kernel.

https://bugs.launchpad.net/ubuntu/+s...g/+bug/1756511

Other than that I haven't really found anything that is relevant. I don't want to detract from the OP so I'll just observe. I thought it might be helpful to see that a similar machine is having the same problem. I guess that would make sense though.

Thanks for the info. If you know a workaround which works let me know.
 
Old 05-14-2018, 06:36 PM   #10
tulu
LQ Newbie
 
Registered: May 2018
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by Apocrolis View Post
Thanks for the info. If you know a workaround which works let me know.
Frankly I'm not too anxious to install an old kernel but if I change my mind I will.
 
Old 05-14-2018, 07:44 PM   #11
tulu
LQ Newbie
 
Registered: May 2018
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by Apocrolis View Post
Thanks for the info. If you know a workaround which works let me know.
First you should double and triple check everything I say. I'm no expert. Also I'm on Debian now so I can't check my own computer.

Did you do the upgrade from 17.10 or a clean install? If you did the upgrade it might be worth checking the grub menu to see if the kernel used in 17.10 is still there. Under advanced settings I think there's a list of kernels. You could select a previous kernel and see if that works. If you did a clean install then there won't be any old kernels still hanging around. I remember that much. I did a clean install.

I read that not everything will work with an old kernel. Also I'm not sure if old kernels even get security updates. I wouldn't think so but I don't really know. I haven't tried this myself.

Last edited by tulu; 05-14-2018 at 07:58 PM.
 
Old 05-14-2018, 07:49 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,639

Rep: Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789
There seems to be two conversations going on here. Please maintain the Original Posters thread. Extra reports should wait or post to new thread please.

nomodeset will stop kms video issues. Install the correct video driver or monitor why it is failing. Booting to nomodeset will not provide proper errors to video issues.

kms is a way to manage video from grub to window manager. I am not a fan of it yet. (kernel mode set)

It is possible that it is using wrong driver or such. May have to check if you have two video chips also.

https://01.org/linuxgraphics/gfx-doc...u/drm-kms.html

Last edited by jefro; 05-14-2018 at 07:55 PM.
 
Old 05-15-2018, 01:16 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,212
Blog Entries: 7

Rep: Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523
Quote:
Originally Posted by Apocrolis View Post
The output for "cat /var/log/Xorg.0.log" is here :

https://pastebin.com/xnq3T48S

What should I look for with journalctl -b ? The output is over 2600 lines ...

I was able to make it work with i915.modeset=0 rather than nomodeset. But I can't still change the screen resolution. If I don't specify something my session "freeze" on the splash screen.
the only interesting thing i see in that Xorg log is:
Code:
[    75.973] intel: waited 2020 ms for i915.ko driver to load
after that it seems to fallback on whatever happens if you specify nomodeset, so i don't think that command line makes any difference.

Quote:
Originally Posted by jefro View Post
There seems to be two conversations going on here. Please maintain the Original Posters thread. Extra reports should wait or post to new thread please.
agreed.
i looked at the bug report, it does not seem to describe op's issue.

otoh, op's title could be misleading - all we have now is that the system won't boot to a graphical desktop in its normal configuration.
Apocrolis, have you tried waiting it out? or randomly mashing keys to get some entropy?

how early does the freeze come? is it the graphical login manager, or just the bootup splash screen?

let's try this next:
  1. boot normally (NOT with nomodeset), up until you get to the freeze.
  2. can you change to another tty (see one of my previous posts)?
    • if yes:
      login and post the info requested earlier: Xorg.log, and
      Code:
      journalctl -b
    • if no:
      reboot, either with nomodeset or into recovery, and post this:
      Code:
      journalctl --boot=-1

Quote:
Originally Posted by jefro
It is possible that it is using wrong driver or such. May have to check if you have two video chips also.
that was answered in post #3
 
Old 05-15-2018, 06:44 PM   #14
Apocrolis
LQ Newbie
 
Registered: Apr 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Apocrolis, have you tried waiting it out? or randomly mashing keys to get some entropy?
Yes, I waited until my display shows "No Signal" message. At this point I had to close my computer with the hardware power button.

Quote:
Originally Posted by ondoho
how early does the freeze come? is it the graphical login manager, or just the bootup splash screen?
It freeze just after I decrypt my drive, the screen shows "Cryptsetup(sda5_crypt): set up successfully" with the Ubuntu "logo" over it. Then I can't get the login screen.

Quote:
Originally Posted by ondoho
let's try this next:[list=1][*]boot normally (NOT with nomodeset), up until you get to the freeze.[*]can you change to another tty (see one of my previous posts)?
After Ctrl+Alt+F2 I get a black screen with this :

[ 45.458540] dell_smm_hwmon: unable to get SMM Dell signature

At this point, the mouse and keyboard freeze, but no "No Signal" message from display. I had to reboot with the hardware power button.

Quote:
Originally Posted by ondoho
[*]if no:
reboot, either with nomodeset or into recovery, and post this:
Code:
journalctl --boot=-1
https://pastebin.com/MGqqe0BF
 
Old 05-15-2018, 08:35 PM   #15
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,639

Rep: Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789
Is it possible to boot to a live 18 disc or usb?

Can I assume that you upgraded 17? Some reports of inxi being out of date and causing issues. However there may be some Intel video driver stuff going on there depending on the exact processor.

Last edited by jefro; 05-15-2018 at 08:37 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changed screen resolution and now can't see screen to change it back in Ubuntu lmb6832 Linux - Newbie 1 09-28-2010 11:52 PM
How do i change the screen Resolution in ubuntu 9.04? planetpatrick Linux - Newbie 1 05-04-2009 03:58 PM
Doom3 1.3.1 causing screen resolution change on Ubuntu 8.10 iam_techno Linux - Games 4 03-02-2009 03:40 AM
how to change screen resolution in terminal (ubuntu) sunnior Linux - Newbie 1 09-25-2008 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration