LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-17-2010, 01:14 PM   #1
konqi
Member
 
Registered: Oct 2007
Distribution: Gentoo, Slackware
Posts: 162

Rep: Reputation: 16
problem with xserver resolution: screen is bigger than useable space


I have a strange problem with my xserver.

A few days ago I changed my resolution from 1024x768 to 1280x1024. I edited xorg.conf for this. However, after restarting the xserver, GDM only uses a part of the screen (i think 1024x768), the rest is just flat color. After logging in in Xfce, there are also problems. My panel was half way on my screen (again in the bottom of a 1024x768 box). I can't make my windows larger than 1024x768.

My xorg.conf file without the comments.
Code:
Section "ServerLayout"
	Identifier     "Simple Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/lib/X11/fonts/local/"
	FontPath     "/usr/lib/X11/fonts/misc/"
	FontPath     "/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath     "/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath     "/usr/lib/X11/fonts/Type1/"
	FontPath     "/usr/lib/X11/fonts/TrueType/"
	FontPath     "/usr/lib/X11/fonts/freefont/"
	FontPath     "/usr/lib/X11/fonts/75dpi/"
	FontPath     "/usr/lib/X11/fonts/100dpi/"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "dbe"  	# Double buffer extension
	SubSection "extmod"
		Option	    "omit xfree86-dga"   # don't initialise the DGA extension
	EndSubSection
	Load  "freetype"
#    Load        "xtt"
	Load  "glx"
# This loads the DRI module
EndSection

Section "ServerFlags"
	Option	    "AutoAddDevices" "false"
	Option	    "DontZap" "off"
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option	    "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc104"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option	    "Protocol" "Auto"	# Auto detect
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "m782p"
	HorizSync    30.0 - 85.0
	VertRefresh  50.0 - 160.0
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"

	# HorizSync 75.0 - 85.0 
	# VertRefresh 70.0 - 80.0 
	Modeline "1280x1024" 151.83  1280 1360 1544 1888  1024 1024 1027 1072 

	# HorizSync 63.0 - 73.0 
	# VertRefresh 80.0 - 90.0 
	Modeline "1024x768" 97.41  1024 1072 1192 1416   768  768  771  809 
EndSection

Section "Device"
	Identifier  "Standard VGA"
	Driver      "vga"
	VendorName  "Unknown"
	BoardName   "Unknown"
EndSection

Section "Device"

    #VideoRam    32768
    # Insert Clocks lines here if appropriate
	Identifier  "tnt2"
	Driver      "radeon"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
#	Option	    "XAANoOffscreenPixmaps" "true"
#	Option	    "UseFastTLS" "2"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen 1"
	Device     "tnt2"
	Monitor    "m782p"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes    "1024x768" "1152x864" "1280x1024" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1024x768" "1152x864" "1280x1024" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "enable"
EndSection


I have never seen a problem like this before? What's the problem? I'm running the fglrx drivers from ATI.

Edit
A few other problems: In xfce I can select backgrounds for 2 monitors. When I change it for monitor 1, i get a small background (the well known 1024x768) in front of the background I choosed for monitor 2.

Last edited by konqi; 01-17-2010 at 01:17 PM.
 
Old 01-17-2010, 10:09 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
I think when using the proprietary ATI drivers it may be worth trying to use the gui configuration tool that comes with them.

Evo2.
 
Old 01-18-2010, 07:07 AM   #3
konqi
Member
 
Registered: Oct 2007
Distribution: Gentoo, Slackware
Posts: 162

Original Poster
Rep: Reputation: 16
Thanks! When I saw 2 monitors in the catalyst control center, I got an idea.

I removed all from the settings from aticonfig from xorg.conf. Then after running aticonfig --intial, everything worked OK again!
 
  


Reply



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
Screen Resolution: bigger than 800x600? naitogunjin Linux - Desktop 7 08-14-2009 05:33 PM
Right resolution but blank space on right side of screen... BallsOfSteel Linux - Laptop and Netbook 6 06-27-2008 02:58 PM
How to increase the screen resolution of the text console (No Xserver installed)? Akhran Debian 1 11-10-2005 03:32 PM
can i pretend to have a bigger resolution??? kinbote Linux - Newbie 2 05-11-2004 02:41 PM
slackware - xserver screen resolution fatum Linux - Software 6 01-20-2004 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:06 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
Open Source Consulting | Domain Registration