Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[SOLVED] Bought a brand new PC and hp 24es Monitor HDMI & VGA.
Linux Mint 18.3 Kernel is 4.13.0-36-generic x86_64 desktop MATE 1.18.0
Hooked it up on HDMI and DP1 with adaptor to VGA.
Both ports work but only in 800x600x75 mode.
I cannot change the resolution.
I have successfully added 1920x1080x60 mode but cannot use it.
I get "could not set configuration for CRTC 621" in /Control Centre/Displays.
~$ sudo lshw -C video says "display UNCLAIMED"
~$ xrandr says failed to get gamma for output default
~$ xandr --props | edit-decode is there but not correct.
I even tried adding i915.alpha_support=1 to /etc/default/grub
which showed some tiny dots top left of screed and lots of errors
in smaller than the usual 800x600 print but did not boot.
xrandr never shows any ports like HDMI-1 or VGA0 etc.
"Brand new PC" is always ominous in Linux. What distro is that with 4.13 kernel and Mate 1.18.0? Does /dev/fb0 exist?
I got Intel HD Graphics 630 and B250 chipset working fine with 4.4 kernel, 1.18.3 server, and Xorg's modesetting driver by installing drm-kmp-default in openSUSE 42.3. Your 3e91 chipset might be incompletely or totally unsupported without a (newer?) drm/kmp or server or driver or possibly kernel. Following is from openSUSE Tumbleweed:
Code:
# lspci -nnk | grep -A3 VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:5912] (rev 04)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
Kernel driver in use: i915
Kernel modules: i915
# inxi -G -c0
Graphics: Card: Intel HD Graphics 630
Display Server: X.org 1.19.6 drivers: modesetting (unloaded: fbdev,vesa)
tty size: 175x56 Advanced Data: N/A for root out of X
[8086:3e91] looks like a Coffee Lake CPU, which is rather new for a November distro release. inxi reports intel Xorg driver in use. The Intel driver has not had an official release in several years. Most Intel video driver development effort has gone into the generic modesetting driver built into the Xorg server. Try purging xserver-xorg-video-intel, and make sure libdrm2, libva-drm1 and libdrm-intel1 are all installed. If that doesn't work, try installing a newer kernel from backports. Coffee Lake seems may be newer than your 4.13 kernel.
how do I do it safely without ending up with no display at all? I wouldn't know how to recover from that.
The kernel provides basic display support. There is a possibility of getting stuck with having the Xorg server not start, leaving you with 6 text-only vttys you can login on, in addition to the possibility of remote login as well, from any of which you can reinstall xserver-xorg-video-intel. Not having xserver-xorg-video-intel installed simply means the Xorg server won't have the virtually obsolete intel-chip-specific driver available to select, leaving it to choose from the framebuffer default built into the Xorg server, or the fbdev or vesa fallback Xorg drivers. All my Intel gfx PCs newer than about 8 years old are using the modesetting driver in every installed distro released in the past 2+ years, including my Kaby Lake.
Quote:
sudo apt-get purge xserver-xorg-video-intel Is that right?
Yes.
Quote:
Quote:
If that doesn't work, try installing a newer kernel from backports. Coffee Lake seems may be newer than your 4.13 kernel.
I'm investigating backports and how to use it. Which one should I add for Linux Mint 18.3?
I don't have any up-to-date Mint 18.3 installation, so can only guess the Debian Stretch backports linux-image-4.14.0-0.bpo.3-amd64 should do the job, unless Mint provides its own backports repo.
Quote:
Update Manager tells me my latest kernel and active kernel is 4.13.0-36. Recently updated.
Thanks again for all your efforts to help a newcomer who has bitten off more than he can chew.
Likely all you did was jump the gun slightly on hardware newness. Marketers generally do a poor job of providing the information Linux users need when PC shopping. You don't have to be a newbie to have that happen.
Before you proceed with my suggestions, you should give a look at the last post in this linuxmint forum thread.
Does the display work without the "adapter" (on different machines)?
You might grab the deets about it without the adapter on other machines.
$ xvidtune -show
(if it's the primary display)
$ xrandr --verbose --properties
(will include the modeline parameters)
You'll probably need to add the modeline manually. With the gotcha of needing to do it for the "adapter" OR the "display". If it's an odd resolution, it might be that the adapter doesn't have the capability. If the monitor works without the adapter, then the adapter could be bad. You probably wont know until you get it working. Which probably means using other hardware to bypass things and verify things work. And to get the specs as they apply to you in order to force it into submission.
What happens if you change it to GRUB_GFXMODE="" or GRUB_GFXMODE= ? How did it get set to 640x480 in the first place? There may be a bug here. Unlike with NVidia and AMD/ATI gfxchips, declaring a video mode via bootloader/cmdline with Intel gfx causes the Xorg server to inherit that mode and reject superior modes, including even the display's EDID preferred mode. The bootloader declared video mode should only affect the vtty framebuffer, not Xorg.
BTW, where did you find Venugopalan Govindan to thank? Can you provide a link to it?
I have been following so many links I can't remember where I found the solution by Venugopalan Govindan. It may have been the Ask Ubuntu or Linux Mint forum site. I can't find my post now.
How did it get set to 640x480 in the first place?
It wasn't, that line started with # so ignored.
We have a saying here. If it's not broken don't fix it. In other words I'm happy it's working now so I won't risk breaking it by more fiddling.
I can live with the mystery of why all the other methods didn't work. I have other more important drivers now to get working. My entire HAM radio setup relies on 2 computers and 3 Raspberry Pis.
Thanks for your assistance too. I appreciate it. Bob vk2byf
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.