steam + ati + opengl

lhffan
Inlägg: 32
Blev medlem: 05 okt 2006, 21:47

steam + ati + opengl

Inlägg av lhffan »

Lite drivrutins issues har jag. Försökar köra steam men den klagar över för gammla drivrutiner. Spelet går att starta med då med 3d3 lr vad det nu hette. Tänkte spela day of defeat source och det är ju baserat på opengl om jag inte missminner mig. Bifogar min xorg.conf här nedan så kanske ni gurus kan berätta vad jag kan göra för att få igång spelet. Compiz och Beryl är av andra prioritet men jag ser gärna att jag får igång bägge. Vilka är dom bästa ati drivrutinerna just nu under festis?

Altså:
Prio 1: Att få steam och dod:source att flyta på bra
Prio 2: Beryl och Compiz för dom fina effekterna

Kod: Markera allt

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
	Option		"AIGLX"	"true"
	Identifier	"Default Layout"
  screen 0 "aticonfig-Screen[0]" 0 0
	Inputdevice	"Generic Keyboard"
	Inputdevice	"Configured Mouse"
	Inputdevice	"stylus"	"SendCoreEvents"
	Inputdevice	"cursor"	"SendCoreEvents"
	Inputdevice	"eraser"	"SendCoreEvents"
EndSection

Section "Files"
	
	# path to defoma fonts
	Fontpath	"/usr/share/X11/fonts/misc"
	Fontpath	"/usr/share/X11/fonts/cyrillic"
	Fontpath	"/usr/share/X11/fonts/100dpi/:unscaled"
	Fontpath	"/usr/share/X11/fonts/75dpi/:unscaled"
	Fontpath	"/usr/share/X11/fonts/Type1"
	Fontpath	"/usr/share/X11/fonts/100dpi"
	Fontpath	"/usr/share/X11/fonts/75dpi"
	Fontpath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load		"bitmap"
	Load		"ddc"
	Load		"dri"
	Load		"extmod"
	Load		"freetype"
	Load		"glx"
	Load		"int10"
	Load		"type1"
	Load		"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"se"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"	"/dev/input/mice"
	Option		"Protocol"	"ExplorerPS/2"
	Option		"ZAxisMapping"	"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	
	# /dev/input/event
	# for USB
	Identifier	"stylus"
	Driver		"wacom"
	Option		"Device"	"/dev/wacom"# Change to 
	Option		"Type"	"stylus"
	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
	
	# /dev/input/event
	# for USB
	Identifier	"eraser"
	Driver		"wacom"
	Option		"Device"	"/dev/wacom"# Change to 
	Option		"Type"	"eraser"
	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
	
	# /dev/input/event
	# for USB
	Identifier	"cursor"
	Driver		"wacom"
	Option		"Device"	"/dev/wacom"# Change to 
	Option		"Type"	"cursor"
	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
EndSection

Section "Monitor"
	Identifier	"Philips 200W"
	Horizsync	30.0	-	70.0
	Vertrefresh	50.0	-	160.0
	Option		"DPMS"
EndSection

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

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon X850 XT PE (R481)"
	Driver		"fglrx"
	Busid		"PCI:1:0:0"
	Option		"XAANoOffscreenPixmaps"
	Option		"AGPMode"	"8"
	Option		"AGPFastWrite"	"true"
	Option		"DisableGLXRootClipping"	"true"
	Option		"AddARGBGLXVisuals"	"true"
	Option		"AllowGLXWithComposite"	"true"
	Option		"EnablePageFlip"	"true"
        Option          "ColorTiling"   "true"
        Option          "DynamicClocks" "true"
        Option          "AccelMethod"   "EXA"
EndSection

Section "Device"
	Identifier	"aticonfig-Device[0]"
	Driver		"radeon"
	Option		"VideoOverlay"	"on"
	Option		"OpenGLOverlay"	"on"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon X850 XT PE (R481)"
	Monitor		"Philips 200W"
	Defaultdepth	24
	SubSection "Display"
		Depth	1
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
	SubSection "Display"
		Depth	4
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
	SubSection "Display"
		Depth	8
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
	SubSection "Display"
		Depth	15
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
	SubSection "Display"
		Depth	16
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
	SubSection "Display"
		Depth	24
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"aticonfig-Screen[0]"
	Device		"aticonfig-Device[0]"
	Monitor		"aticonfig-Monitor[0]"
	Defaultdepth	24
	SubSection "Display"
		Viewport	0	0
		Depth	24
	EndSubSection
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "Extensions"
	Option		"Composite"	"Enable"
	Option		"Composite"	"0"
EndSection
Gigabyte GA-P35-DS4, Intel Core 2 QUAD Q6600, NIVIDIA 8800GTX snart....
Emil.s
Inlägg: 6633
Blev medlem: 12 dec 2006, 23:20
OS: Ubuntu
Ort: /Dalarna/Hedemora/
Kontakt:

SV: steam + ati + opengl

Inlägg av Emil.s »

Hm, det sista såg ju mysko ut:

Kod: Markera allt

Section "Extensions"
	Option		"Composite"	"Enable"
	Option		"Composite"	"0"
EndSection
Ta bort första raden.
Så att det ser ut så här:

Kod: Markera allt

Section "Extensions"
	Option		"Composite"	"0"
EndSection
Och sen i "ServerLayout" så tar du bort:

Kod: Markera allt

	Option		"AIGLX"	"true"
Och i:

Kod: Markera allt

Section "Device"
	Identifier	"aticonfig-Device[0]"
	Driver		"radeon"
	Option		"VideoOverlay"	"on"
	Option		"OpenGLOverlay"	"on"
EndSection
Så byter du "Driver" till "fglrx", och sen tar du bort hela:

Kod: Markera allt

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon X850 XT PE (R481)"
	Driver		"fglrx"
	Busid		"PCI:1:0:0"
	Option		"XAANoOffscreenPixmaps"
	Option		"AGPMode"	"8"
	Option		"AGPFastWrite"	"true"
	Option		"DisableGLXRootClipping"	"true"
	Option		"AddARGBGLXVisuals"	"true"
	Option		"AllowGLXWithComposite"	"true"
	Option		"EnablePageFlip"	"true"
        Option          "ColorTiling"   "true"
        Option          "DynamicClocks" "true"
        Option          "AccelMethod"   "EXA"
EndSection
Sen lägger du till:

Kod: Markera allt

SubSection "Display"
		Depth	24
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
Till:

Kod: Markera allt

Section "Screen"
	Identifier	"aticonfig-Screen[0]"
	Device		"aticonfig-Device[0]"
	Monitor		"aticonfig-Monitor[0]"
	Defaultdepth	24
	SubSection "Display"
		Viewport	0	0
		Depth	24
	EndSubSection
EndSection
Och så tar du bort hela:

Kod: Markera allt

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon X850 XT PE (R481)"
	Monitor		"Philips 200W"
	Defaultdepth	24
	SubSection "Display"
		Depth	1
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
	SubSection "Display"
		Depth	4
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
	SubSection "Display"
		Depth	8
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
	SubSection "Display"
		Depth	15
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
	SubSection "Display"
		Depth	16
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
	SubSection "Display"
		Depth	24
		Modes		"1680x1050"	"1600x1200"	"1280x1024"	"1280x960"	"1152x864"	"1024x768"	"800x600"	"640x480"
	EndSubSection
EndSection
Sen bör det funka bättre. :)
Home sweet ~/ = http://sandnabba.se
lhffan
Inlägg: 32
Blev medlem: 05 okt 2006, 21:47

SV: steam + ati + opengl

Inlägg av lhffan »

testade en liten bench och nu får jag detta

Kod: Markera allt

lhffan@ubuntu:~$ glxgears
48357 frames in 5.0 seconds = 9671.296 FPS
53076 frames in 5.0 seconds = 10615.141 FPS
53108 frames in 5.0 seconds = 10621.530 FPS
53266 frames in 5.0 seconds = 10653.034 FPS
53193 frames in 5.0 seconds = 10638.445 FPS
53436 frames in 5.0 seconds = 10687.023 FPS
53411 frames in 5.0 seconds = 10682.050 FPS
52906 frames in 5.0 seconds = 10581.141 FPS
55303 frames in 5.0 seconds = 11060.586 FPS
82812 frames in 5.0 seconds = 16562.318 FPS
81703 frames in 5.0 seconds = 16340.554 FPS
79897 frames in 5.0 seconds = 15979.218 FPS
52063 frames in 5.0 seconds = 10412.425 FPS

Vilket kanske är ganska så ok.

Det går inte att köra med denna? Tänkte på ifall man vill aktivera beryl eller compiz?

Kod: Markera allt

Section "Extensions"
	Option		"Composite"	"Enable"
EndSection
^ Har inte implementerat denna ovan. Utan som du sa. Dock så får jag bara en svart skärm när spelet startar.
Senast redigerad av 1 lhffan, redigerad totalt 7 gånger.
Gigabyte GA-P35-DS4, Intel Core 2 QUAD Q6600, NIVIDIA 8800GTX snart....
lhffan
Inlägg: 32
Blev medlem: 05 okt 2006, 21:47

SV: steam + ati + opengl

Inlägg av lhffan »

En halv bump här:

Har installerat om steam och wine och tror det kommer funka bra denna gång. Har fått mycket bättre värden med glxgear testet nu än tidigare. Dock en konstig bugg?

När skärmen går ned i strömspar, vet inte om det är ubuntu som styr detta eller om det är via min skärm. Så tappar den färger, och kontrast verkar det som... allt blir så otroligt fult
Gigabyte GA-P35-DS4, Intel Core 2 QUAD Q6600, NIVIDIA 8800GTX snart....
Emil.s
Inlägg: 6633
Blev medlem: 12 dec 2006, 23:20
OS: Ubuntu
Ort: /Dalarna/Hedemora/
Kontakt:

SV: steam + ati + opengl

Inlägg av Emil.s »

Om man ska ha Composit med ATI så lär man använda XGL. ATI's drivrutiner har inte stöd för AIGLX.  :-\

Sök på "ati + fglrx + xgl + beryl" på Ubuntuforums så får du en hel del som kan hjälpa dig. Hittar inte howton jag använde...
Home sweet ~/ = http://sandnabba.se
Skriv svar

Återgå till "Använda X/K/Ubuntu - inaktuell"