LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-15-2008, 07:32 PM   #1
kslen
Member
 
Registered: Nov 2008
Distribution: Slackware & LMDE.
Posts: 74

Rep: Reputation: 19
ATI drivers will not stretch overlay over entire screen.


Hai there.

I'm having some trouble with the ATI drivers and fullscreen games.

No matter the resolution, the screen still displays 1440x900 which means I'm stuck with black bars around the overlay which renders at whatever lower resolution.

Code:
Section "ServerLayout"
	Identifier     "Simple Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
	InputDevice    "Mouse1" "CoreMouse"
	InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

#    ModulePath "/usr/lib/xorg/modules"
	RgbPath      "/usr/share/X11/rgb"
	FontPath     "/usr/share/fonts/local/"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/CID/"
	FontPath     "/usr/share/fonts/Speedo/"
	FontPath     "/usr/share/fonts/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/75dpi/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/cyrillic/"
EndSection

Section "Module"
	Load  "dbe"
	SubSection "extmod"
		Option	    "xfree86-dga"
	EndSubSection
	Load  "type1"
	Load  "freetype"
        #Load  "speedo"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option	    "XbdModel" "pc105"
	Option	    "XkbLayout" "no"
EndSection

Section "InputDevice"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/mouse"
	Option	    "CorePointer"
	Option	    "Resolution" "1000"
	Option	    "SampleRate" "500Hz"
	Option	    "Sensitivity" "0.75"
	Option	    "Buttons" "8"
	Option	    "ButtonMapping" "1 2 3 6 7 8"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "false"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	HorizSync    30.0 - 81.0
	VertRefresh  56.0 - 75.0
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Samsung 940BW"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
	Option	    "DesktopSetup" "horizontal"
	Option	    "OverlayOnCRTC2" "0"
	Option	    "ForceMonitors" "lvds"
	Option	    "Centermode" "off"
	Option	    "VideoOverlay" "off"
	Option	    "OpenGLOverlay" "on"
	BusID       "PCI:3:0:0"
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    "1440x900" "1024x768" "800x600"
	EndSubSection
EndSection
Anyone spot the obvious mistake or lack of options?
 
Old 12-15-2008, 08:18 PM   #2
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
It doesn't really sound like a driver issue as it does a game issue. I have ran a few games with the fglrx and not suffered the issue you explain. I also run dual monitors. The opengl and video overlays are depreciated and textured video is now the default. That is from what I have read.

Have you tried not using these.
Code:
	Option	    "OverlayOnCRTC2" "0"
	Option	    "ForceMonitors" "lvds"
	Option	    "Centermode" "off"
	Option	    "VideoOverlay" "off"
	Option	    "OpenGLOverlay" "on"
Also try disabling AIGLX and compositing, unless this is something you use. I have heard those cause some rendering issues. Im shooting in the dark here but I thought I would throw out some suggestions.
 
Old 12-15-2008, 09:09 PM   #3
kslen
Member
 
Registered: Nov 2008
Distribution: Slackware & LMDE.
Posts: 74

Original Poster
Rep: Reputation: 19
This is actually an aspect ratio issue.

Changed my resolution from 1280x800 to 1280x720, whammo. Fullscreen.

Sometimes Slackware makes me want to hide in shame...

Thanks for the suggestion none the less, man. I guess my sight were set a bit too hard on xorg.conf, not the simple things... ^^

Last edited by kslen; 12-15-2008 at 09:25 PM.
 
Old 12-15-2008, 09:27 PM   #4
kslen
Member
 
Registered: Nov 2008
Distribution: Slackware & LMDE.
Posts: 74

Original Poster
Rep: Reputation: 19
And yes, it seems that your assumption about this being a game specific issue is true aswell.

War§ow 0.42 still refuses to render over the entire screen.

After poking around a bit more and finally got to testing out War§ow, I noticed this in the console after changing between resolutions.

Code:
..XFree86-VidMode Extension Version 2.2
..XFree86-Xinerama Extension Version 1.1
..Got colorbits 24, depthbits 24, stencilbits 0
Xinerama: Using screen 0: 1440x900+0+0
This is after changing to the 1280x720 resolution which works perfectly in fullscreen with other games. I do get to use the 1280x720 resolution, but the black bars are there and the screen tells me the same as Xinerama does. 1440x900. Arrhrhhrhrhhrhh.....

Anyone know how to pry Xinerama or War§ow into 1280x720?
 
  


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
ATI Driver Dual-Head doesn't overlay galliar Red Hat 1 07-31-2008 10:16 PM
Video overlay on tv out cut off with ati 9600 mcwizard Linux - General 0 09-14-2006 01:29 AM
games don't stretch to fill screen after X11 update quip Slackware 10 02-04-2006 10:24 AM
Visual Boy Advance SDL, how to stretch to full screen? hkl8324 Linux - Games 0 06-25-2005 03:23 PM
ATI drivers freeze up Screen Saver RedRaven Fedora 3 02-09-2005 10:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:49 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