Cannot change screen resolution on unknown display in Centos7
I am running a fresh version of CentOS Linux release 7.2.1511 on an HP 640 G2 laptop and the screen resolution settings are defaulting to "Unknown Display" at 1024x768 (4:3). I know that the screen is actually 1920x1080.
When I run xrandr to try and change the modes available, i receive: Code:
$xrandr which implies that I may be using a default vesa driver. Running cvt gives the result: Code:
$ cvt 1920 1080 60 |
Look at Xorg log.
|
Take a look into /var/log/Xorg.0.log (or _whereever_ that is now with systemd...). In there you can see with the (W) or (E) where the xorg system found warnings or errors. I guess your graphics hardware isn't detected properly or a driver is missing.
|
Quote:
Code:
[ 16.254] (II) VESA: driver for VESA chipsets: vesa |
What graphics card do you have? How can we tell what driver to use if you do not let us know what card you have. I expected you to put the entire log into a pastebin site using pastebinit utility (or similar).
|
Quote:
I am pretty sure it is internal Intel Graphics HD 520. Cheers, |
OK, the graphics driver comes in two parts. One is in kernel and is loaded at boot time.
Code:
[ 16.262] (EE) open /dev/dri/card0: No such file or directory The second part of the driver is loaded when Xorg loads. Code:
[ 16.253] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: |
In the end I decided not to install the driver but installed a new kernel from elrepo:
Code:
$ rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org |
All times are GMT -5. The time now is 08:11 PM. |