Re: Problems with Screen Resolution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All,

Again my apologies, this is NOT a KDE issue; in fairness though, I thought I would post the working solution I have come up with and let you know that I did post a bug to the appropriate list at bugzilla.redhat.com.

My video adapter is a builtin Intel 82865G. The probe of this device at bootup reports back that it supports only 1024x768, 800x600 and 640x420.  From what I read at Intel's website, that is incorrect, although I never did find a list of supported resolutions.

Using xrandr I got the following:

# xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 2048 x 2048
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9

I had to use the cvt command to get the settings for a new mode: 

# cvt 1280 1024
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync

I then had to enter the following both interactively (to test it) and then add it to /etc/gdm/Init/Default for reboots.

xrandr --newmode "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
xrandr --addmode VGA1 1280x1024_60.00
xrandr --output VGA1 --mode 1280x1024_60.00

These get added right after the PATH and OLD_IFS lines in the Default file.

HTH,

Rich
-----Original Message-----
From: Felix Miata [mailto:mrmazda@xxxxxxxxxxxxx] 
Sent: Monday, January 31, 2011 10:59 AM
To: kde@xxxxxxxxxxxx
Subject:  Re: Problems with Screen Resolution

On 2011/01/31 16:10 (GMT) Wilson, Richard composed:

> First, my apologies, this is only partially a KDE issue, but I am hopeful that one of you can help me with this.

xorg@xxxxxxxxxxxxxxx or the fedora users list would be better for follow up as the root of your problem has nothing to do with KDE.

> I have just upgraded my workstation from Fedora 12 to Fedora 14 and am now running KDE 4.5.5-1.

> My Flat Panel monitor supports a native mode of 1280x1024 and this is what I have historically run it at under previous versions of Fedora.  When I upgraded to Fedora 12, I had similar problems getting the resolution to 1280x1024, I had to use system-config-display and create an xorg.conf file and add nomodeset to my kernel boot line in grub to get it to work.

> Fedora 14 has deprecated system-config-display; if I add nomodeset to the kernel line, I don't get a login screen and everything I've tried so far has not worked -- at least I have 1024x768 resolution -- with Fedora 12 it defaulted to 800x600.

There is no more nomodeset option for Intel video users.

> Section "ServerLayout"
> Section "Files"
> Section "InputDevice"

Delete all above sections. They have nothing to do with your problem. 
Automatic works for them for most people.

> Section "Module"
> 	Load  "record"
> 	Load  "glx"
> 	Load  "dri2"
> 	Load  "dri"
> 	Load  "extmod"
> 	Load  "dbe"
> EndSection

The above section is probably no longer necessary. Depends on which chip you have maybe.

> Section "Monitor"
> 	Identifier	"Monitor0"
> 	VendorName	"Compaq"
> 	ModelName	"LCD Panel 1280x1024"
> 	HorizSync	31.5 - 64.0
> 	VertRefresh	56.0 - 65.0
> 	Option		"dpms"
> EndSection

Try adding to above section 'Option "PreferredMode" "1280x1024"

> Section "Device"
>          ### Available Driver options are:-
>          ### Values:<i>: integer,<f>: float,<bool>: "True"/"False",
>          ###<string>: "String",<freq>: "<f>  Hz/kHz/MHz",
>          ###<percent>: "<f>%"
>          ### [arg]: arg optional
>          #Option     "NoAccel"            	# [<bool>]
>          #Option     "SWcursor"           	# [<bool>]
>          #Option     "ColorKey"           	#<i>
>          #Option     "CacheLines"         	#<i>
>          #Option     "Dac6Bit"            	# [<bool>]
>          #Option     "DRI"                	# [<bool>]
>          #Option     "NoDDC"              	# [<bool>]
>          #Option     "ShowCache"          	# [<bool>]
>          #Option     "XvMCSurfaces"       	#<i>
>          #Option     "PageFlip"           	# [<bool>]
> 	Identifier  "Videocard0"
> 	Driver      "intel"
> 	BusID       "PCI:0:2:0"
> EndSection

You can see most of those are commented away. Uncommenting NoDDC might have an impact. BusID is probably not needed.

Be sure on follow up to tell exactly which Intel chip is reported by lspci.

> Section "Screen"

AFAICT, this whole section is obsolete for Intel chips, but may be useful for some older chips like MGA.

> 	Identifier "Screen0"
> 	Device     "Videoard0"
> 	Monitor    "Monitor0"
> 	DefaultDepth	24
> 	SubSection "Display"
> 		Viewport   0 0
> 		Depth     1
> 		Modes	"1280x1024" "1024x768" "800x600" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Viewport   0 0
> 		Depth     4
> 		Modes	"1280x1024" "1024x768" "800x600" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Viewport   0 0
> 		Depth     8
> 		Modes	"1280x1024" "1024x768" "800x600" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Viewport   0 0
> 		Depth     15
> 		Modes	"1280x1024" "1024x768" "800x600" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Viewport   0 0
> 		Depth     16
> 		Modes	"1280x1024" "1024x768" "800x600" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Viewport   0 0
> 		Depth     24
> 		Modes	"1280x1024" "1024x768" "800x600" "640x480"
> 	EndSubSection
> EndSection

Fedora 14 maybe impacted by
https://bugs.freedesktop.org/show_bug.cgi?id=32430 unfixed but in need of fix, meaning you may need to move your configs into /etc/X11/xorg.conf.d/ for them to work. You may want to search bugzilla.redhat.com first for a bug referencing 32430.

If none of the above helps, adding xrandr commands to /etc/X11/xinit/xinitrc may be your solution.

http://fm.no-ip.com/Share/DisplaySize may or may not be useful in your case.
--
"How much better to get wisdom than gold, to choose understanding rather than silver." Proverbs 16:16 NKJV

  Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://fm.no-ip.com/
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux