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

Re: 3d ускорение в squeeze на radeon



Konstantin Fadeyev пишет:
16 июня 2010 г. 23:35 пользователь Иван Лох <loh@1917.com> написал:
On Wed, Jun 16, 2010 at 11:21:02PM +0600, Konstantin Fadeyev wrote:
Прилично не прилично, но суровая правда жизни подсказывает, что и
бубунта и кноппикс растут из тех же репозиториев, версии пакетов
сопоставимы.
Как я уже писал выше, про несвободные микропрограммы я не забыл.
glxinfo
egrep -B2 'WW|EE' < /var/log/Xorg.0.log


--
To UNSUBSCRIBE, email to debian-russian-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100616173538.GB22080@nano.ioffe.rssi.ru">http://lists.debian.org/20100616173538.GB22080@nano.ioffe.rssi.ru



Что-то у меня вообще сложно. Из-за неустановленного
xserver-xorg-video-ati, подхватывался драйвер vesa. Отсутствие
аппаратного 3d в общем понятно.
При установке этого пакета при запуске иксов, в консоль начинают
сыпаться ошибки связаные с drm. При этом иксы запущены но картинки
нет, чёрный экран и всё.
Сейчас попробую воспроизвести.


Чем бы там дело не закончилось, отсылаю Вам в помощь свои xorg.conf-ы.
У меня был установлен файл "xorg.conf", ён содран с knoppix-a. До него стоял "xorg.conf.bak" -- всё вроде тоже фунциклировало. В обоих случаях, к сожалению, всё было медленнее и глючнее, чем на fglrx-e. Не знаю, как там сейчас дела обстоят, ибо в lenny сполз..
# /etc/X11/xorg.conf
# Created by KNOPPIX # Delete this line if you don't want KNOPPIX to overwrite your /etc/X11/xorg.conf

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us,ru"
	Option		"XkbVariant"	",winkeys"
	Option		"XkbOptions"	"grp:ctrl_shift_toggle,grp_led:scroll"
EndSection

Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	
	# Since evdev, manual keyboard/mice entries are mostly ignored:
	# Keyboard auto-probed
	
	# Touchpad auto-probed
	# USB mouse auto-probed
	# Serial Mouse auto-probed
### AIGLX for compiz 3D-Support with DRI & Composite
### This option doesn't hurt even if it's not supported by the individual card
        Option         "AIGLX"     "true"
	
EndSection

Section "ServerFlags"
	Option "AllowMouseOpenFail"  "true"
	Option	"DPMS"	"true"
	
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi:unscaled"
	FontPath     "/usr/share/fonts/X11/100dpi:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/Speedo"
	FontPath     "/usr/share/fonts/X11/PEX"
# Additional fonts: Locale, Gimp, TTF...
	FontPath     "/usr/share/fonts/X11/cyrillic"
#	FontPath     "/usr/share/fonts/X11/latin2/75dpi"
#	FontPath     "/usr/share/fonts/X11/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
	#FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath     "/usr/share/fonts/truetype"
	FontPath     "/usr/share/fonts/latex-ttf-fonts"
EndSection

Section "Module"
# Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408
	Load  "dbe" # Double Buffering Extension, very important.
	Load  "dri" # This shouldn't be available choice if user has selected driver vga, vesa or nv.
	Load  "glx" # GLX Extension.
	Load  "freetype" # Freetype fonts.
	Load  "type1"  # Type 1 fonts
	Load  "record" # Developer extension, usually not needed
	Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it accesses videoram without consulting X about it.
	SubSection      "extmod"
		Option          "omit xfree86-dga"
	EndSubSection
#	Load  "speedo" # Speedo fonts, this module doesn't exist in Xorg 7.0.17
# The following are deprecated/unstable/unneeded in Xorg 7.0
       Load  "ddc"  # ddc probing of monitor, this should be never present, as it gets automatically loaded.
#	Load  "GLcore" # This should be never present, as it gets automatically loaded.
#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
EndSection

Section "Extensions"
	# compiz needs Composite, but it can cause bad (end even softreset-resistant)
	# effects in some graphics cards, especially nv.
	Option "Composite" "Enable"
EndSection




# Monitor section auto-generated by KNOPPIX mkxorgconfig

Section "Monitor"
	Identifier   "Monitor0"
	ModelName    "Generic Monitor"
#	HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
#	HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
#	VertRefresh  50.0 - 76.0 # Very conservative. May flicker.
#	VertRefresh  50.0 - 60.0 # Extreme conservative. Will flicker. TFT default.
        
	
	Option "MonitorLayout" "LVDS,AUTO"

EndSection


Section "Device"
	### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
        #Option     "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
	Identifier  "Card0"
#       Driver          "radeonhd"
	# Driver (chipset) autodetect
	VendorName  "All"
	BoardName   "All"
#	BusID       "PCI:1:0:0"

# compiz, beryl 3D-Support with DRI & Composite
	Option "XAANoOffscreenPixmaps"
	Option "AllowGLXWithComposite" "true"
	Option "EnablePageFlip" "true"
	Option "TripleBuffer" "true"

# Tweaks for the xorg 7.4 (otherwise broken) "intel" driver
	Option "Tiling" "no"
	Option "Legacy3D" "false"

# These two lines are (presumably) needed to prevent fonts from being scrambled
        Option  "XaaNoScanlineImageWriteRect" "true"
        Option  "XaaNoScanlineCPUToScreenColorExpandFill" "true"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	
	Option "AddARGBGLXVisuals" "true"
	Option "DisableGLXRootClipping" "true"
	SubSection "Display"
		Depth     1
		
	EndSubSection
	SubSection "Display"
		Depth     4
		
	EndSubSection
	SubSection "Display"
		Depth     8
		
	EndSubSection
	SubSection "Display"
		Depth     15
		
	EndSubSection
	SubSection "Display"
		Depth     16
		
	EndSubSection
	SubSection "Display"
		Depth     24
		
	EndSubSection
	SubSection "Display"
		Depth     32
		
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection

Attachment: xorg.conf.bak
Description: application/trash

# /etc/X11/xorg.conf
# Created by KNOPPIX # Delete this line if you don't want KNOPPIX to overwrite your /etc/X11/xorg.conf

Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	
	# Since evdev, manual keyboard/mice entries are mostly ignored:
	# Keyboard auto-probed
	
	# Touchpad auto-probed
	# USB mouse auto-probed
	# Serial Mouse auto-probed
### AIGLX for compiz 3D-Support with DRI & Composite
### This option doesn't hurt even if it's not supported by the individual card
        Option         "AIGLX"     "true"
	
EndSection

Section "ServerFlags"
	Option "AllowMouseOpenFail"  "true"
	Option	"DPMS"	"true"
	
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi:unscaled"
	FontPath     "/usr/share/fonts/X11/100dpi:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/Speedo"
	FontPath     "/usr/share/fonts/X11/PEX"
# Additional fonts: Locale, Gimp, TTF...
	FontPath     "/usr/share/fonts/X11/cyrillic"
#	FontPath     "/usr/share/fonts/X11/latin2/75dpi"
#	FontPath     "/usr/share/fonts/X11/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath     "/usr/share/fonts/truetype"
	FontPath     "/usr/share/fonts/latex-ttf-fonts"
EndSection

Section "Module"
# Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408
	Load  "dbe" # Double Buffering Extension, very important.
	Load  "dri" # This shouldn't be available choice if user has selected driver vga, vesa or nv.
	Load  "glx" # GLX Extension.
	Load  "freetype" # Freetype fonts.
	Load  "type1"  # Type 1 fonts
	Load  "record" # Developer extension, usually not needed
	Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it accesses videoram without consulting X about it.
	SubSection      "extmod"
		Option          "omit xfree86-dga"
	EndSubSection
#	Load  "speedo" # Speedo fonts, this module doesn't exist in Xorg 7.0.17
# The following are deprecated/unstable/unneeded in Xorg 7.0
#       Load  "ddc"  # ddc probing of monitor, this should be never present, as it gets automatically loaded.
#	Load  "GLcore" # This should be never present, as it gets automatically loaded.
#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
EndSection

Section "Extensions"
	# compiz needs Composite, but it can cause bad (end even softreset-resistant)
	# effects in some graphics cards, especially nv.
	Option "Composite" "Enable"
EndSection




# Monitor section auto-generated by KNOPPIX mkxorgconfig

Section "Monitor"
	Identifier   "Monitor0"
	ModelName    "Generic Monitor"
#	HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
#	HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
#	VertRefresh  50.0 - 76.0 # Very conservative. May flicker.
#	VertRefresh  50.0 - 60.0 # Extreme conservative. Will flicker. TFT default.
        
	
	Option "MonitorLayout" "LVDS,AUTO"

EndSection


Section "Device"
	### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
        #Option     "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
	Identifier  "Card0"
	# Driver (chipset) autodetect
	VendorName  "All"
	BoardName   "All"
#	BusID       "PCI:1:0:0"

# compiz, beryl 3D-Support with DRI & Composite
	Option "XAANoOffscreenPixmaps"
	Option "AllowGLXWithComposite" "true"
	Option "EnablePageFlip" "true"
	Option "TripleBuffer" "true"

# Tweaks for the xorg 7.4 (otherwise broken) "intel" driver
	Option "Tiling" "no"
	Option "Legacy3D" "false"

# These two lines are (presumably) needed to prevent fonts from being scrambled
        Option  "XaaNoScanlineImageWriteRect" "true"
        Option  "XaaNoScanlineCPUToScreenColorExpandFill" "true"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	
	Option "AddARGBGLXVisuals" "true"
	Option "DisableGLXRootClipping" "true"
	SubSection "Display"
		Depth     1
		
	EndSubSection
	SubSection "Display"
		Depth     4
		
	EndSubSection
	SubSection "Display"
		Depth     8
		
	EndSubSection
	SubSection "Display"
		Depth     15
		
	EndSubSection
	SubSection "Display"
		Depth     16
		
	EndSubSection
	SubSection "Display"
		Depth     24
		
	EndSubSection
	SubSection "Display"
		Depth     32
		
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection

Reply to: