ATI fglrx drivers + kernel 2.6 + Debian Unstable

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

 



OK, so I've installed the drivers and all that other fun stuff. The
module compiled fine and it loads fine, as far as I can tell. I have
merged the config that fglrxconfig makes with the stuff I
custom-made. (FWIW, it seems that xtrap with fglrx causes the X server
to segfault.) Unfortunately, I can't seem to get DRI to actually
initialize. I've tried fiddling with the overlay options to no
avail.

Here is most of my XF86Config-4:

| Section "ServerLayout"
| 	Identifier     "XFree86 Configured"
| 	Screen      0  "Screen0" 0 0
| 	#Screen      1  "Screen1" LeftOf "Screen0"
| 	InputDevice    "Mouse0" "CorePointer"
| 	InputDevice    "Keyboard0" "CoreKeyboard"
| 	#Option         "Xinerama" "True"
| 	Option         "AllowDeactivateGrabs" "True"
| 	Option         "AllowClosedownGrabs"  "True"
| EndSection
| 
| Section "Module"
| 	Load	"bitmap"
| 	Load	"dbe"
| 	Load	"ddc"
| 	Load	"extmod"
| 	#SubSection  "extmod"
| 	#	Option    "omit xfree86-dga" 
| 	#EndSubSection
| 	Load	"freetype"
| 	Load	"glx"
|         Load    "dri"
| 	Load	"record"
| 	Load	"speedo"
| 	Load	"type1"
| 	#Load	"xtrap"
| EndSection
| 
| Section "Monitor"
| 	DisplaySize  312 234
| 	Identifier   "Monitor0"
| 	VendorName   "Sony"
| 	ModelName    "CPD-200GS"
| 	VertRefresh  50-120
| 	HorizSync    30-85
| 	Option	     "DPMS"
| EndSection
| 
| Section "Device"
|     Identifier  "Card0"
|     Driver                              "fglrx"
| # === disable PnP Monitor  ===
|     #Option                              "NoDDC"
| # === disable/enable XAA/DRI ===
|     Option "no_accel"                   "no"
|     Option "no_dri"                     "no"
| # === FireGL DDX driver module specific settings ===
| # === Screen Management ===
|     Option "DesktopSetup"               "0x00000000" 
|     Option "MonitorLayout"              "AUTO, AUTO"
|     Option "IgnoreEDID"                 "off"
|     Option "HSync2"                     "unspecified" 
|     Option "VRefresh2"                  "unspecified" 
|     Option "ScreenOverlap"              "0" 
| # === TV-out Management ===
|     Option "NoTV"                       "yes"     
|     Option "TVStandard"                 "NTSC-M"     
|     Option "TVHSizeAdj"                 "0"     
|     Option "TVVSizeAdj"                 "0"     
|     Option "TVHPosAdj"                  "0"     
|     Option "TVVPosAdj"                  "0"     
|     Option "TVHStartAdj"                "0"     
|     Option "TVColorAdj"                 "0"     
|     Option "GammaCorrectionI"           "0x00000000"
|     Option "GammaCorrectionII"          "0x00000000"
| # === OpenGL specific profiles/settings ===
|     Option "Capabilities"               "0x00000800"
| # === Video Overlay for the Xv extension ===
|     Option "VideoOverlay"               "on"
| # === OpenGL Overlay ===
| # Note: When OpenGL Overlay is enabled, Video Overlay
| #       will be disabled automatically
|     Option "OpenGLOverlay"              "on"
| # === Center Mode (Laptops only) ===
|     Option "CenterMode"                 "off"
| # === Pseudo Color Visuals (8-bit visuals) ===
|     Option "PseudoColorVisuals"         "on"
| # === QBS Management ===
|     Option "Stereo"                     "off"
|     Option "StereoSyncEnable"           "1"
| # === FSAA Management ===
|     Option "FSAAScale"                  "4"
|     Option "FSAADisableGamma"           "no"
|     Option "FSAACustomizeMSPos"         "no"
|     Option "FSAAMSPosX0"                "0.000000"
|     Option "FSAAMSPosY0"                "0.000000"
|     Option "FSAAMSPosX1"                "0.000000"
|     Option "FSAAMSPosY1"                "0.000000"
|     Option "FSAAMSPosX2"                "0.000000"
|     Option "FSAAMSPosY2"                "0.000000"
|     Option "FSAAMSPosX3"                "0.000000"
|     Option "FSAAMSPosY3"                "0.000000"
|     Option "FSAAMSPosX4"                "0.000000"
|     Option "FSAAMSPosY4"                "0.000000"
|     Option "FSAAMSPosX5"                "0.000000"
|     Option "FSAAMSPosY5"                "0.000000"
| # === Misc Options ===
|     Option "UseFastTLS"                 "0"
|     Option "BlockSignalsOnLock"         "on"
|     Option "UseInternalAGPGART"         "no"
|     Option "ForceGenericCPU"            "no"
|     BusID "PCI:1:0:0"    # vendor=1002, device=4e44
|     Screen 0
| EndSection
| 
| Section "Screen"
| 	Identifier "Screen0"
| 	Device     "Card0"
| 	Monitor    "Monitor0"
| 	DefaultDepth 24
| 	SubSection "Display"
| 		Depth     1
| 		Modes		"1152x864" "1024x768" "800x600" "640x480" "400x300"
| 	EndSubSection
| 	SubSection "Display"
| 		Depth     4
| 		Modes		"1152x864" "1024x768" "800x600" "640x480" "400x300"
| 	EndSubSection
| 	SubSection "Display"
| 		Depth     8
| 		Modes		"1152x864" "1024x768" "800x600" "640x480" "400x300"
| 	EndSubSection
| 	SubSection "Display"
| 		Depth     15
| 		Modes		"1152x864" "1024x768" "800x600" "640x480" "400x300"
| 	EndSubSection
| 	SubSection "Display"
| 		Depth     16
| 		Modes		"1152x864" "1024x768" "800x600" "640x480" "400x300"
| 	EndSubSection
| 	SubSection "Display"
| 		Depth     24
| 		Modes		"1152x864" "1024x768" "800x600" "640x480" "400x300"
| 	EndSubSection
| EndSection
| 
| Section "dri"
|     Group 44    # video
|     Mode 0660
| EndSection


Here is some of the output in the X server log:

| (II) LoadModule: "glx"
| (II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
| (II) Module glx: vendor="The XFree86 Project"
| 	compiled for 4.2.1.1, module version = 1.0.0
| 	ABI class: XFree86 Server Extension, version 0.1
| (II) Loading sub module "GLcore"
| (II) LoadModule: "GLcore"
| (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
| Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:debug_xform.o":  No symbols found
| (II) Module GLcore: vendor="The XFree86 Project"
| 	compiled for 4.2.1.1, module version = 1.0.0
| 	ABI class: XFree86 Server Extension, version 0.1
| (II) Loading extension GLX
| (II) LoadModule: "dri"
| (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
| (II) Module dri: vendor="The XFree86 Project"
| 	compiled for 4.2.1.1, module version = 1.0.0
| 	ABI class: XFree86 Server Extension, version 0.1
| (II) Loading sub module "drm"
| (II) LoadModule: "drm"
| (II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
| [...]
| (II) Module vgahw: vendor="The XFree86 Project"
| 	compiled for 4.2.1.1, module version = 0.1.0
| 	ABI class: XFree86 Video Driver, version 0.5
| (II) fglrx(0): PCI bus 1 card 0 func 0
| (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
| (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
| (==) fglrx(0): Default visual is TrueColor
| (**) fglrx(0): Option "NoAccel" "no"
| (**) fglrx(0): Option "NoDRI" "no"
| (**) fglrx(0): Option "Capabilities" "0x00000800"
| (**) fglrx(0): Option "GammaCorrectionI" "0x00000000"
| (**) fglrx(0): Option "GammaCorrectionII" "0x00000000"
| (**) fglrx(0): Option "OpenGLOverlay" "on"
| (**) fglrx(0): Option "VideoOverlay" "on"
| (**) fglrx(0): Option "DesktopSetup" "0x00000000"
| (**) fglrx(0): Option "MonitorLayout" "AUTO, AUTO"
| (**) fglrx(0): Option "HSync2" "unspecified"
| (**) fglrx(0): Option "VRefresh2" "unspecified"
| (**) fglrx(0): Option "ScreenOverlap" "0"
| (**) fglrx(0): Option "IgnoreEDID" "off"
| (**) fglrx(0): Option "UseInternalAGPGART" "no"
| (**) fglrx(0): Option "Stereo" "off"
| (**) fglrx(0): Option "StereoSyncEnable" "1"
| (**) fglrx(0): Option "UseFastTLS" "0"
| (**) fglrx(0): Option "BlockSignalsOnLock" "on"
| (**) fglrx(0): Option "ForceGenericCPU" "no"
| (**) fglrx(0): Option "CenterMode" "off"
| (**) fglrx(0): Option "FSAAScale" "4"
| (**) fglrx(0): Option "FSAADisableGamma" "no"
| (**) fglrx(0): Option "FSAACustomizeMSPos" "no"
| (**) fglrx(0): Option "FSAAMSPosX0" "0.000000"
| (**) fglrx(0): Option "FSAAMSPosY0" "0.000000"
| (**) fglrx(0): Option "FSAAMSPosX1" "0.000000"
| (**) fglrx(0): Option "FSAAMSPosY1" "0.000000"
| (**) fglrx(0): Option "FSAAMSPosX2" "0.000000"
| (**) fglrx(0): Option "FSAAMSPosY2" "0.000000"
| (**) fglrx(0): Option "FSAAMSPosX3" "0.000000"
| (**) fglrx(0): Option "FSAAMSPosY3" "0.000000"
| (**) fglrx(0): Option "FSAAMSPosX4" "0.000000"
| (**) fglrx(0): Option "FSAAMSPosY4" "0.000000"
| (**) fglrx(0): Option "FSAAMSPosX5" "0.000000"
| (**) fglrx(0): Option "FSAAMSPosY5" "0.000000"
| (**) fglrx(0): Option "NoTV" "yes"
| (**) fglrx(0): Option "TVStandard" "NTSC-M"
| (**) fglrx(0): Option "TVHSizeAdj" "0"
| (**) fglrx(0): Option "TVVSizeAdj" "0"
| (**) fglrx(0): Option "TVHPosAdj" "0"
| (**) fglrx(0): Option "TVVPosAdj" "0"
| (**) fglrx(0): Option "TVHStartAdj" "0"
| (**) fglrx(0): Option "TVColorAdj" "0"
| (**) fglrx(0): Option "PseudoColorVisuals" "on"
| (**) fglrx(0): Qbs disabled
| (==) fglrx(0): RGB weight 888
| (II) fglrx(0): Using 8 bits per RGB (8 bit DAC)
| (**) fglrx(0): Gamma Correction for I is 0x00000000
| (**) fglrx(0): Gamma Correction for II is 0x00000000
| (==) fglrx(0): Buffer Tiling is ON
| (II) Loading sub module "int10"
| (II) LoadModule: "int10"
| (II) Loading /usr/X11R6/lib/modules/linux/libint10.a
| (II) Module int10: vendor="The XFree86 Project"
| 	compiled for 4.2.1.1, module version = 1.0.0
| 	ABI class: XFree86 Video Driver, version 0.5
| (II) fglrx(0): initializing int10
| (II) fglrx(0): Primary V_BIOS segment is: 0xc000
| (--) fglrx(0): Chipset: "ATI R300 ND (R9700 PRO)" (Chipset = 0x4e44)
| (--) fglrx(0): (PciSubVendor = 0x1002, PciSubDevice = 0x0002)
| (--) fglrx(0): board vendor info: original ATI grafics adapter
| (--) fglrx(0): Linear framebuffer (phys) at 0xd0000000
| (--) fglrx(0): MMIO registers at 0xe1000000
| (--) fglrx(0): ChipExtRevID = 0x00
| (--) fglrx(0): ChipIntRevID = 0x02
| (--) fglrx(0): VideoRAM: 131072 kByte (64-bit SDR SDRAM)
| (II) fglrx(0): board/chipset is supported by this driver (original ATI board)
| [...]
| (II) fglrx(0): DesktopSetup 0x0000
| (**) fglrx(0):  PseudoColor visuals enabled
| (**) fglrx(0): Pseudo Color Vsuals enabled
| (**) fglrx(0): OpenGL Overlay enabled
| (II) Module ramdac: vendor="The XFree86 Project"
| 	compiled for 4.2.1.1, module version = 0.1.0
| 	ABI class: XFree86 Video Driver, version 0.5
| (**) fglrx(0): NoAccel = NO
| (II) Loading sub module "xaa"
| (II) LoadModule: "xaa"
| (II) Loading /usr/X11R6/lib/modules/libxaa.a
| (II) Module xaa: vendor="The XFree86 Project"
| 	compiled for 4.2.1.1, module version = 1.0.0
| 	ABI class: XFree86 Video Driver, version 0.5
| (**) fglrx(0): FSAAScale=4
| (**) fglrx(0): FSAA Gamma 140049499
| (**) fglrx(0): FSAA Multisample Position is 140051371
| (**) fglrx(0): NoDRI = NO
| (II) Loading sub module "fglrxdrm"
| (II) LoadModule: "fglrxdrm"
| (II) Loading /usr/X11R6/lib/modules/linux/libfglrxdrm.a
| (II) Module fglrxdrm: vendor="Fire GL - ATI Research GmbH, Germany"
| 	compiled for 4.2.0, module version = 3.2.8
| 	ABI class: XFree86 Server Extension, version 0.1
| (II) fglrx(0): Depth moves disabled by default
| (**) fglrx(0): Capabilities: 0x00000800
| (**) fglrx(0): cpuFlags: 0x4000000f
| (**) fglrx(0): cpuSpeedMHz: 0x000005b4
| (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
| (**) fglrx(0): using built in AGPGART module: no
| (**) fglrx(0): UseFastTLS=0
| (**) fglrx(0): BlockSignalsOnLock=1
| (==) fglrx(0): EnablePrivateBackZ = YES
| (II) fglrx(0): using CAIL version [ATI LIB=CAIL.LIB,IA32,2.0024]
| (--) Depth 24 pixmap format is 32 bpp
| (II) do I need RAC?  No, I don't.
| (II) resource ranges after preInit:
| 	[0] 0 0	0xe1000000 - 0xe100ffff (0x10000) MX[B]
| 	[1] 0 0	0xd0000000 - 0xd7ffffff (0x8000000) MX[B]
| 	[2] -1 0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
| 	[3] -1 0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
| 	[4] -1 0	0x000f0000 - 0x000fffff (0x10000) MX[B]
| 	[5] -1 0	0x000c0000 - 0x000effff (0x30000) MX[B]
| 	[6] -1 0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
| 	[7] -1 0	0xe3404000 - 0xe3404fff (0x1000) MX[B]
| 	[8] -1 0	0xe3403000 - 0xe34030ff (0x100) MX[B]
| 	[9] -1 0	0xe3401000 - 0xe34010ff (0x100) MX[B]
| 	[10] -1 0	0xe3400000 - 0xe3400fff (0x1000) MX[B]
| 	[11] -1 0	0xe3402000 - 0xe3402fff (0x1000) MX[B]
| 	[12] -1 0	0xe3000000 - 0xe33fffff (0x400000) MX[B]
| 	[13] -1 0	0xe1010000 - 0xe101ffff (0x10000) MX[B](B)
| 	[14] -1 0	0xd8000000 - 0xdfffffff (0x8000000) MX[B](B)
| 	[15] -1 0	0xe1000000 - 0xe100ffff (0x10000) MX[B](B)
| 	[16] -1 0	0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
| 	[17] 0 0	0x000a0000 - 0x000affff (0x10000) MS[B]
| 	[18] 0 0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
| 	[19] 0 0	0x000b8000 - 0x000bffff (0x8000) MS[B]
| 	[20] 0 0	0x0000d000 - 0x0000d0ff (0x100) IX[B]
| 	[21] -1 0	0x0000ffff - 0x0000ffff (0x1) IX[B]
| 	[22] -1 0	0x00000000 - 0x000000ff (0x100) IX[B]
| 	[23] -1 0	0x0000ec00 - 0x0000ec07 (0x8) IX[B]
| 	[24] -1 0	0x0000e800 - 0x0000e81f (0x20) IX[B]
| 	[25] -1 0	0x0000e400 - 0x0000e4ff (0x100) IX[B]
| 	[26] -1 0	0x0000e000 - 0x0000e0ff (0x100) IX[B]
| 	[27] -1 0	0x00004000 - 0x0000400f (0x10) IX[B]
| 	[28] -1 0	0x0000d000 - 0x0000d0ff (0x100) IX[B](B)
| 	[29] 0 0	0x000003b0 - 0x000003bb (0xc) IS[B]
| 	[30] 0 0	0x000003c0 - 0x000003df (0x20) IS[B]
| (II) fglrx(0): UMM area:     0xd05cc000 (size=0x07a34000)
| (II) fglrx(0): driver needs XFree86 version: 4.2.x
| (II) fglrx(0): detected XFree86 version: 4.2.1
| (II) Loading extension ATIFGLRXDRI
| (II) fglrx(0): doing DRIScreenInit
| drmOpenDevice: minor is 0
| drmOpenDevice: node name is /dev/dri/card0
| drmOpenDevice: open result is 5, (OK)
| drmOpenDevice: minor is 0
| drmOpenDevice: node name is /dev/dri/card0
| drmOpenDevice: open result is 5, (OK)
| drmOpenDevice: minor is 0
| drmOpenDevice: node name is /dev/dri/card0
| drmOpenDevice: open result is 5, (OK)
| drmOpenDevice: minor is 1
| drmOpenDevice: node name is /dev/dri/card1
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 2
| drmOpenDevice: node name is /dev/dri/card2
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 3
| drmOpenDevice: node name is /dev/dri/card3
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 4
| drmOpenDevice: node name is /dev/dri/card4
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 5
| drmOpenDevice: node name is /dev/dri/card5
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 6
| drmOpenDevice: node name is /dev/dri/card6
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 7
| drmOpenDevice: node name is /dev/dri/card7
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 8
| drmOpenDevice: node name is /dev/dri/card8
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 9
| drmOpenDevice: node name is /dev/dri/card9
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 10
| drmOpenDevice: node name is /dev/dri/card10
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 11
| drmOpenDevice: node name is /dev/dri/card11
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 12
| drmOpenDevice: node name is /dev/dri/card12
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 13
| drmOpenDevice: node name is /dev/dri/card13
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| drmOpenDevice: minor is 14
| drmOpenDevice: node name is /dev/dri/card14
| drmOpenDevice: open result is -1, (No such device)
| drmOpenDevice: Open failed
| (II) fglrx(0): [drm] drmOpen failed
| (EE) fglrx(0): DRIScreenInit failed!
| (WW) fglrx(0): ***********************************************
| (WW) fglrx(0): * DRI initialization failed!                  *
| (WW) fglrx(0): * (maybe driver kernel module missing or bad) *
| (WW) fglrx(0): * 2D acceleraton available (MMIO)             *
| (WW) fglrx(0): * no 3D acceleration available                *
| (WW) fglrx(0): ********************************************* *
| (II) fglrx(0): FBADPhys: 0xd0000000 FBMappedSize: 0x08000000
| (==) fglrx(0): Write-combining range (0xd0000000,0x8000000)
| (II) fglrx(0): FBMM initialized for area (0,0)-(1152,8191)
| (II) fglrx(0): FBMM auto alloc for area (0,0)-(1152,864) (front color buffer - assumption)
| (==) fglrx(0): Backing store disabled
| (==) fglrx(0): Silken mouse enabled
| (II) fglrx(0): Using hardware cursor (scanline 864)
| (II) fglrx(0): Largest offscreen area available: 1152 x 7326
| (**) Option "dpms"
| (**) fglrx(0): DPMS enabled
| (II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
| 	Screen to screen bit blits
| 	Solid filled rectangles
| 	Solid Horizontal and Vertical Lines
| 	Offscreen Pixmaps
| 	Setting up tile and stipple cache:
| 		32 128x128 slots
| 		32 256x256 slots
| 		16 512x512 slots
| (II) fglrx(0): Acceleration enabled
| (II) fglrx(0): Direct rendering disabled


Any assistance or advice is appreciated. TIA.

--
Rahul Jain

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux