Announcement

Collapse
No announcement yet.

fglrx: Black 3D or xv windows

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • fglrx: Black 3D or xv windows

    After fighting lots of days with this (googling, read lots of forums) , I decided write this post for help.

    I bought a Sapphire ATI X1650Pro AGP 512Mb DDR2 memory onboard, in order to install on my Ubuntu Hardy Heron O.S.

    First, with fglrx propietary drivers installed, I had completely system freeze just before gdm appears. I've changed to **256Mb AGP aperture size** in BIOS setup (this is the highest value permitted in my motherboard) and it did the trick, BUT, all 3D related windows (like glxgears and games) and XV windows (totem, mplayer) are displayed BLACK. I can hear sounds, but NO images, only a black window. If I try to enable compiz, all disappears, only wallpaper is visible. It seems that all hardware-accelerated is affected.

    I had tried many xorg.conf parameters, I've edited mtrr table, I've tested lastest flgrx drivers from AMD, etc, etc, etc. Xorg.0.log doesn't shows any errors.

    Some my systems specs:
    -2GB RAM in dual mode
    -Pentium IV HT 3.2Ghz
    -Ubuntu Hardy Heron with latest updates

    My Xorg.0.log:
    Code:
    (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    (WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
    (WW) fglrx(0): board is an unknown third party board, chipset is supported
    (WW) fglrx(0): Only one display is connnected,so single mode is enabled
    (WW) fglrx(0): could not detect X server version (query_status=-3)
    (WW) AIGLX: 3D driver claims to not support visual 0x23
    .
    .
    .
    (WW) AIGLX: 3D driver claims to not support visual 0x72
    (WW) Configured Mouse: No Device specified, looking for one...
    My xorg.conf:
    Code:
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"latam"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    EndSection
    
    Section "Device"
    	Identifier	"Configured Video Device"
    	Driver		"fglrx"
    	#Option "UseInternalAGPGART" "yes"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    	Defaultdepth	24
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
      screen "Default Screen"
    EndSection
    Section "Module"
    	Load		"glx"
    EndSection
    dmesg | grep fglrx:
    Code:
    [   47.224349] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
    [   47.477751] [fglrx] Maximum main memory to use for locked dma buffers: 1899 MBytes.
    [   47.477806] [fglrx] ASYNCIO init succeed!
    [   47.479088] [fglrx] PAT is enabled successfully!
    [   47.479642] [fglrx] module loaded - fglrx 8.47.3 [Feb 25 2008] on minor 0
    [   60.595474] [fglrx] Internal AGP support requested, but kernel AGP support active.
    [   60.595481] [fglrx] Have to use kernel AGP support to avoid conflicts.
    [   60.595490] [fglrx] AGP detected, AgpState   = 0x1f004a1b (hardware caps of chipset)
    [   60.595736] [fglrx] AGP enabled,  AgpCommand = 0x1f004312 (selected caps)
    [   60.753049] [fglrx] Reserve Block - 0 offset =  0X1fffb000 length = 0X5000
    [   60.753057] [fglrx] Reserve Block - 1 offset =  0X0 length = 0X1000000
    [   60.753063] [fglrx] Reserve Block - 2 offset =  0Xff80000 length = 0X80000
    [   60.795508] [fglrx] interrupt source 10000000 successfully enabled
    [   60.795514] [fglrx] enable ID = 0x00000008
    [   60.795527] [fglrx] Receive enable interrupt message with irqEnableMask: 10000000
    lspci -vv
    Code:
    00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
    	Subsystem: Giga-byte Technology GA-8IPE1000 Pro2 motherboard (865PE)
    	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
    	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
    	Latency: 0
    	Region 0: Memory at c0000000 (32-bit, prefetchable) [size=256M]
    	Capabilities: [e4] Vendor Specific Information
    	Capabilities: [a0] AGP version 3.0
    		Status: RQ=32 Iso- ArqSz=2 Cal=2 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
    		Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW+ Rate=x8
    
    
    01:00.0 VGA compatible controller: ATI Technologies Inc Radeon X1650 Pro (rev 9e) (prog-if 00 [VGA controller])
    	Subsystem: PC Partner Limited Unknown device 0850
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
    	Latency: 255 (2000ns min), Cache Line Size: 32 bytes
    	Interrupt: pin A routed to IRQ 16
    	Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
    	Region 1: I/O ports at 9000 [size=256]
    	Region 2: Memory at e1000000 (32-bit, non-prefetchable) [size=64K]
    	[virtual] Expansion ROM at e0000000 [disabled] [size=128K]
    	Capabilities: [50] Power Management version 2
    		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
    		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
    	Capabilities: [58] AGP version 3.0
    		Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
    		Command: RQ=32 ArqSz=2 Cal=0 SBA+ AGP+ GART64- 64bit- FW+ Rate=x8
    	Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
    		Address: 0000000000000000  Data: 0000
    
    01:00.1 Display controller: ATI Technologies Inc Radeon X1650 Pro (Secondary) (rev 9e)
    	Subsystem: PC Partner Limited Unknown device 0851
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    	Latency: 32 (2000ns min), Cache Line Size: 32 bytes
    	Region 0: Memory at e1010000 (32-bit, non-prefetchable) [size=64K]
    	Capabilities: [50] Power Management version 2
    		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
    		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
    cat /proc/mtrr (result: only a single line):
    Code:
    reg00: base=0x00000000 (   0MB), size=2048MB: write-back, count=1


    Please helpme, sorry for this large post but I'll not give up!!

  • #2
    Originally posted by cluster_cero View Post
    After fighting lots of days with this (googling, read lots of forums) , I decided write this post for help.

    I bought a Sapphire ATI X1650Pro AGP 512Mb DDR2 memory onboard, in order to install on my Ubuntu Hardy Heron O.S.

    First, with fglrx propietary drivers installed, I had completely system freeze just before gdm appears. I've changed to **256Mb AGP aperture size** in BIOS setup (this is the highest value permitted in my motherboard) and it did the trick, BUT, all 3D related windows (like glxgears and games) and XV windows (totem, mplayer) are displayed BLACK. I can hear sounds, but NO images, only a black window. If I try to enable compiz, all disappears, only wallpaper is visible. It seems that all hardware-accelerated is affected.
    I saw the same with a X1600pro @ 256 aperture, unfortunately the only way I found to make it work was setting it to 512 :-(

    The X1650 is supported by the open radeon/radeonhd driver - but you need recent versions of X server, drm, mesa and the drivers. I don't know what you need to do for your distro, have a look at other threads on here.

    The OSS drivers are actually better than fglrx for compiz (no delay on opening windows, faster scrolling and xv works in windows), but they don't support the latest games like etqw yet - older games run fine.

    As a long shot which I don't expect to work, but never tried (have a HD3850 now), you could as root do -

    aticonfig --max-gart-size=127

    and reboot.

    Comment


    • #3
      Originally posted by legume View Post
      I saw the same with a X1600pro @ 256 aperture, unfortunately the only way I found to make it work was setting it to 512 :-(

      The X1650 is supported by the open radeon/radeonhd driver - but you need recent versions of X server, drm, mesa and the drivers. I don't know what you need to do for your distro, have a look at other threads on here.

      The OSS drivers are actually better than fglrx for compiz (no delay on opening windows, faster scrolling and xv works in windows), but they don't support the latest games like etqw yet - older games run fine.

      As a long shot which I don't expect to work, but never tried (have a HD3850 now), you could as root do -

      aticonfig --max-gart-size=127

      and reboot.
      cluster_cero;

      I am working the EXACT same issue with the EXACT same card right now and I am getting nowhere. I bought a new HIS Radeon x1650 card for my daughter's computer (same 512M), and I cannot get the card to draw the gears in glxgears, video in mplayer and a complete blank desktop with compiz. The 1650 card replaced a 9600 card in the same box so the Catalyst 8-8 driver was already installed and compiz and mplayer had both been working fine.

      The card sits in the AGP slot of an MSI KM2M board running openSuSE 11.0/KDE 3.59. All bios setting are correct. A few screenshots (worth 1000 words):




      I have done just about everything I can think of with xorg.conf and aticonfig. I have tried --max-gart-size 512 (and 256). I have tried tls on/off (--tls=1)(--tls=0) and I have tried removing all xorg.conf "Device" section "Options" and adding them back one at a time (restarting x in between) but still I get blank glxgears. I have tried with and without the Extensions enabled (composite and damage) and with and without AIGLX enabled. No change. Current config details:






      This has got to be a config or fglrx problem. The box is dual-boot with XP and everything is fine with the XP Catalyst 8-8 driver including mplayer, etc... Even the freestone stability test and benchmark under windows are great. So I suspect a configuration problem or, not unexpectedly, a driver problem.

      This problem has me stumped. Any of you fglrx/xorg folks have any other ideas I can try? Thanks as always

      Comment

      Working...
      X