Screen resolution too low (SOLVED)

Hi guys

I just got the missus a Dell Optiplex 755 PC which is much faster than her old PC so she’s happy with that but I have a problem which is the screen resolution is too low the best setting offered in Monitor Settings is 1024x768 is there any way to get a higher resolution because I dont think it’s possible to replace the graphics card on this machine, I.ve also checked in “Additional Drivers” and nothing is being offered

pat@Linux2 ~ $ lshw -c display
WARNING: you should run this program as super-user.
  *-display:0             
       description: VGA compatible controller
       product: 82Q35 Express Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 32 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:44 memory:fea00000-fea7ffff ioport:ec90(size=8) memory:d0000000-dfffffff memory:feb00000-febfffff
  *-display:1 UNCLAIMED
       description: Display controller
       product: 82Q35 Express Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2.1
       bus info: pci@0000:00:02.1
       version: 02
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: latency=0
       resources: memory:fea80000-feafffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
pat@Linux2 ~ $

Many thanks

Graeme

What resolution would you ike to add ?

and what’s the output from:

xrandr
pat@Linux2 ~ $ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 32767 x 32767
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0* 
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9  
DVI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
pat@Linux2 ~ $ 

I share another PC with this monitor which has a resolution of 1680x1050 and that’s good so that would be ok

Graeme

is the other PC that shares the monitor Linux ?

is the other PC that shares the monitor Linux ?

Yes,same OS Peppermint 5

On the PC with the high resolution (with the same monitor connected), what happens if you run:

sudo apt-get install read-edid

then

get-edid > emegra-edid

then

parse-edid < emegra-edid
chloe@Linux3 ~ $ sudo apt-get install read-edid
[sudo] password for chloe: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libwxbase2.8-0 libwxgtk2.8-0 libwxsqlite3-2.8-0 linux-headers-3.13.0-29
  linux-headers-3.13.0-29-generic linux-image-3.13.0-29-generic
  linux-image-extra-3.13.0-29-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libx86-1
The following NEW packages will be installed
  libx86-1 read-edid
0 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
Need to get 99.4 kB of archives.
After this operation, 340 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://gb.archive.ubuntu.com/ubuntu/ trusty/main libx86-1 i386 1.1+ds1-10 [81.7 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe read-edid i386 3.0.1-2 [17.6 kB]
Fetched 99.4 kB in 0s (482 kB/s)
Selecting previously unselected package libx86-1:i386.
(Reading database ... 223933 files and directories currently installed.)
Preparing to unpack .../libx86-1_1.1+ds1-10_i386.deb ...
Unpacking libx86-1:i386 (1.1+ds1-10) ...
Selecting previously unselected package read-edid.
Preparing to unpack .../read-edid_3.0.1-2_i386.deb ...
Unpacking read-edid (3.0.1-2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libx86-1:i386 (1.1+ds1-10) ...
Setting up read-edid (3.0.1-2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
chloe@Linux3 ~ $ get-edid > emegra-edid
This is read-edid version 3.0.1. Prepare for some fun.
Attempting to use i2c interface
Looks like no busses have an EDID. Sorry!
Attempting to use the classical VBE interface
mmap /dev/zero: Operation not permitted
error initialising realmode interface
do you have full superuser (root) permissions?
I'm sorry nothing was successful. Maybe try some other arguments
if you played with them, or send an email to Matthew Kern <pyrophobicman@gmail.com>.
chloe@Linux3 ~ $ parse-edid < emegra-edid
Partial Read... Try again
chloe@Linux3 ~ $ 

The screen resolution of 1680x1050 on other PC sharing the monitor may not be accurate

I’ll try to explain

the 2 PC’s share the same monitor through a KVM box (Pats PC & Chloes PC) both running Peppermint 5
Chloes PC packed up so I got another PC (Dell Optiplex)

the plan was to give Pat the Dell and give Chloe Pats old PC, so I took the Hard drive from Chloes PC and put it in Pats old PC which at first seemed to work ok

However I’ve realised there’s a problem because Chloes first PC had a nvidia graphics card and the PC i’ve put her hard drive in has a ATI card and I think it’s causing some confusion because if the monitor settings are set at 1680x1050 Cairo Dock, Chromium or XBMC wont load but they will load if I drop the resolution to the next level down (1400x1050) although XBMC only partially loads

I hope this isn’t as difficult to understand as it was to explain

Graeme

Have you tried to plug the monitor in directly (bypassing the KVM switch)?
The reason I ask because my missus has an identical PC and the resolution is somewhat higher than yours booted to Debian 7 LiveCD (XFCE) .
So it is not the graphics adaptor limitation (using the i915 driver)

user@debian:~$ sudo lshw -c display
*-display:0
description: VGA compatible controller
product: 82Q35 Express Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:45 memory:fea00000-fea7ffff ioport:ec90(size=8) memory:d0000000-dfffffff memory:feb00000-febfffff
-display:1 UNCLAIMED
description: Display controller
product: 82Q35 Express Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2.1
bus info: pci@0000:00:02.1
version: 02
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: latency=0
resources: memory:fea80000-feafffff
user@debian:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 4096 x 4096
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0 + 75.0

1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1

The monitor is an ageing Dell 19".
Win 7 also uses the same max. resolution

Hi SeZo

I did as you suggested and bypassed the KVM box and it’s made no difference the best I can get is still 1024x768, the monitor is certainly capable of higher resolution as the other PC connected to it is running at 1600x1050

I’m not sure if this significant but the graphics card doesn’t have a VGA socket so I have a DVI to VGA adaptor connected

Graeme

Well that’s odd because xrandr says you’re connected to VGA1 and DVI1 is disconnected ??

Did you run the “get-edid” and “parse-edid” on the PC that the monitor works properly on, and with the monitor directly attached ?

Did you run the "get-edid" and "parse-edid" on the PC that the monitor works properly on, and with the monitor directly attached ?

I did it on the PC it works properly on but it was connected through the KVM box

Graeme

Can you try again with it connected directly.

[EDIT]

I’ve also just realised “get-edid” needs to be run as root … so run:

sudo get-edid > my-edid.bin

then

parse-edid < my-edid.bin

As requested :slight_smile:

pat@Linux2 ~ $ sudo get-edid > my-edid.bin
[sudo] password for pat: 
This is read-edid version 3.0.1. Prepare for some fun.
Attempting to use i2c interface
Looks like no busses have an EDID. Sorry!
Attempting to use the classical VBE interface

	Performing real mode VBE call
	Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
	Function supported
	Call successful

	VBE version 300
	VBE string at 0xc01d8 "ATI ATOMBIOS"

VBE/DDC service about to be called
	Report DDC capabilities

	Performing real mode VBE call
	Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
	Function supported
	Call successful

	Monitor and video card combination does not support DDC1 transfers
	Monitor and video card combination supports DDC2 transfers
	0 seconds per 128 byte EDID block transfer
	Screen is not blanked during DDC transfer

Reading next EDID block

VBE/DDC service about to be called
	Read EDID

	Performing real mode VBE call
	Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
	Function supported
	Call successful

Looks like VBE was successful. Have a good day.
pat@Linux2 ~ $ parse-edid < my-edid.bin
Checksum Correct

Section "Monitor"
	Identifier "LCD-MONITOR"
	ModelName "LCD-MONITOR"
	VendorName "LCD"
	# Monitor Manufactured week 44 of 2007
	# EDID version 1.3
	# Analog Display
	DisplaySize 430 270
	Gamma 2.20
	Option "DPMS" "true"
	Horizsync 31-82
	VertRefresh 56-76
	# Maximum pixel clock is 160MHz
	#Not giving standard mode: 1152x864, 75Hz
	#Not giving standard mode: 1280x1024, 60Hz
	#Not giving standard mode: 1280x960, 60Hz
	#Not giving standard mode: 1280x960, 75Hz
	#Not giving standard mode: 1280x720, 75Hz
	#Not giving standard mode: 1440x900, 60Hz
	#Not giving standard mode: 1680x1050, 60Hz
	#Not giving standard mode: 1400x1050, 60Hz
	Modeline 	"Mode 0" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync 
EndSection
pat@Linux2 ~ $ 

OK, try this…

Copy the “my-edid.bin” file from that PC (should be in home dir) to say a USB stick.

On the new PC, create a directory:

sudo mkdir /lib/firmware/edid

and place the “my-edid.bin” file into it.

Now run:

sudo gedit /etc/default/grub

Find the line that reads:

GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash”

and change it to

GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash drm_kms_helper.edid_firmware=edid/my-edid.bin”

SAVE the file and exit gedit

Now run:

sudo update-grub

Now reboot and check available resolutions.

BTW, if it fails to boot … remember, you can edit the GRUB entry from the GRUB menu and remove the added kernel boot parameter.

Sorted

Upon reboot it automatically set a resolution of 1680x1050 which is perfect it also gives me a lot more options of resolutions lower than 1650x1050

Thank you very much, I’ll mark this SOLVED :slight_smile:

Graeme

You’re most welcome :slight_smile:

Seems the DVI > VGA adapter is stopping it from receiving the EDID directly from the monitor.

It would now probably NOT be a good idea to attach a different monitor to that PC
(unless you remove that kernel boot parameter first)