[Openchrome-users] (II) CHROME(0): direct rendering disabled - problem

fazer fazerxlo
Sun Jun 14 04:12:35 PDT 2009


I still trying to enable 3D accell using openchrome driver on opensuse 11.2 on 11.1 is working fine

I compiled from SVN driver with debug options

and this is what I get


the /dev/dri/card0 is ok

the agpgart is ok
the dri is loading
but finaly xorg says that 

(II) CHROME(0): direct rendering disabled

below are detailed informations

Maybe you have some idea what is wrong

ls -l /dev/dri/
razem 0
crw-rw----+ 1 root video 226, 0 06-14 12:38 card0

#dmesg | grep -e agp -e drm
[    1.096663] Linux agpgart interface v0.103
[    7.528954] agpgart: Detected VIA VT3314 chipset
[    7.548207] agpgart-via 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
[   20.508908] [drm] Initialized drm 1.1.0 20060810
[   20.585814] [drm] Initialized via 2.11.1 20070202 for 0000:01:00.0 on minor 0
[   20.691840] agpgart-via 0000:00:00.0: AGP 3.5 bridge
[   20.691880] agpgart-via 0000:00:00.0: bridge is in legacy mode, falling back to 2.x
[   20.691890] agpgart-via 0000:00:00.0: putting AGP V2 device into 4x mode
[   20.741633] [drm:via_do_init_map] *ERROR* failed to find dma buffer region!


#grep openchrome /var/log/Xorg.0.log
(II) LoadModule: "openchrome"
(II) Loading /usr/lib/xorg/modules/updates//drivers/openchrome_drv.so
(II) Module openchrome: vendor="http://openchrome.org/"
(!!) For support, please refer to http://www.openchrome.org/.

#grep rendering /var/log/Xorg.0.log
(II) CHROME(0): direct rendering disabled

#grep "^(EE)" /var/log/Xorg.0.log
NULL

#grep "^(WW)" /var/log/Xorg.0.log
(...)
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard[0]
(WW) Disabling Mouse[1]
(WW) CHROME(0): Panel on K8M800, PM800, VM800, P4M890, K8M890, CX700 or P4M900 is currently not supported.
(WW) CHROME(0): Using VBE to set modes to work around this.
(WW) CHROME(0): [XvMC] Cannot use XvMC without DRI!
(WW) CHROME(0): Option "PreferredMode" is not used


#cat /etc/X11/xorg.conf
(...)
Section "Module"
  Load         "glx"
  Load         "dri"
  Load         "dbe"
  Load         "extmod"
EndSection 
(...)
Section "Device"
  BoardName    "Framebuffer Graphics"
  Driver       "openchrome"
  Identifier   "Device[0]"
  VendorName   "VESA"
  Option       "XaaNoImageWriteRect"
  Option       "NoAccel"  "False"
  Option       "EnableAGPDMA"  "True"
EndSection
(...)
Section "DRI"
    Group      "video"
    Mode       0666
EndSection



And debug from xorg.0.log

#cat /var/log/Xorg.0.log | grep CHROME

(II) OPENCHROME: Driver for VIA Chrome chipsets: CLE266, KM400/KN400,
(II) CHROME(0): VIAPreInit                                           
(II) CHROME(0): VIAGetRec                                            
(**) CHROME(0): Depth 24, (--) framebuffer bpp 32                    
(==) CHROME(0): RGB weight 888                                       
(==) CHROME(0): Default visual is TrueColor                          
(--) CHROME(0): Chipset: P4M800Pro/VN800/CN700                       
(--) CHROME(0): Chipset revision: 0                                  
(--) CHROME(0): Probed amount of VideoRAM = 65536 kB                 
(II) CHROME(0): Setting up default chipset options.                  
(II) CHROME(0): VIASetupDefaultOptions                               
(II) CHROME(0): Reading config file...                               
(**) CHROME(0): Option "NoAccel" "False"                             
(**) CHROME(0): Option "EnableAGPDMA" "True"                         
(II) CHROME(0): Starting to parse config file options...             
(==) CHROME(0): Shadow framebuffer is disabled.                      
(**) CHROME(0): Hardware acceleration is enabled.                    
(==) CHROME(0): Using XAA acceleration architecture.                 
(==) CHROME(0): Using hardware two-color cursors and software full-color cursors.
(==) CHROME(0): GPU virtual command queue will be enabled.                       
(==) CHROME(0): DRI IRQ will be enabled if DRI is enabled.                       
(**) CHROME(0): AGP DMA will be enabled if DRI is enabled.                       
(==) CHROME(0): AGP DMA will be used for 2D acceleration.                        
(==) CHROME(0): PCI DMA will be used for XV image transfer if DRI is enabled.    
(==) CHROME(0): Will not enable VBE modes.                                       
(==) CHROME(0): VBE VGA register save & restore will not be used                 
(==) CHROME(0): Xv Bandwidth check is enabled.                                   
(==) CHROME(0): Will not impose a limit on video RAM reserved for DRI.           
(==) CHROME(0): Will try to allocate 32768 kB of AGP memory.                     
(==) CHROME(0): Digital output bus width is 12 bits.                             
(==) CHROME(0): DVI Center is disabled.                                          
(==) CHROME(0): Panel size is not selected from config file.                     
(==) CHROME(0): Panel will not be forced.                                        
(==) CHROME(0): TV dotCrawl is disabled.                                         
(==) CHROME(0): TV deflicker is set to 0.                                        
(==) CHROME(0): No default TV type is set.                                       
(==) CHROME(0): No default TV output signal type is set.                         
(II) CHROME(0): VIAMapMMIO                                                       
(--) CHROME(0): mapping MMIO @ 0xd1000000 with size 0x9000                       
(--) CHROME(0): mapping BitBlt MMIO @ 0xd1200000 with size 0x20000               
(II) CHROME(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000  
(==) CHROME(0): Will not print VGA registers.                                    
(==) CHROME(0): Will not scan I2C buses.                                         
(II) CHROME(0): ...Finished parsing config file options.                         
(--) CHROME(0): Detected Fujitsu/Siemens Amilo Pro V2030.                        
(II) CHROME(0): Detected MemClk 3                                                
(II) CHROME(0): ViaGetMemoryBandwidth                                            
(II) CHROME(0): Detected TV standard: PAL.                                       
(==) CHROME(0): Using gamma correction (1.0, 1.0, 1.0)                           
(II) CHROME(0): ViaI2CInit                                                       
(II) CHROME(0): ViaI2CBus1Init                                                   
(II) CHROME(0): I2C bus "I2C bus 1" initialized.                                 
(II) CHROME(0): ViaI2cBus2Init                                                   
(II) CHROME(0): I2C bus "I2C bus 2" initialized.                                 
(II) CHROME(0): ViaI2CBus3Init                                                   
(II) CHROME(0): I2C bus "I2C bus 3" initialized.                                 
(II) CHROME(0): I2C device "I2C bus 1:E-EDID segment register" registered at address 0x60.
(II) CHROME(0): I2C device "I2C bus 1:ddc2" registered at address 0xA0.                   
(II) CHROME(0): ViaOutputsDetect                                                          
(II) CHROME(0): Enabling panel from PCI-subsystem ID information.                         
(II) CHROME(0): VIATVDetect                                                               
(II) CHROME(0): ViaOutputsSelect                                                          
(II) CHROME(0): ViaOutputsSelect: X Configuration: 0x00                                   
(II) CHROME(0): ViaOutputsSelect: BIOS Initialised register: 0x07                         
(II) CHROME(0): ViaOutputsSelect: Panel.                                                  
(WW) CHROME(0): Panel on K8M800, PM800, VM800, P4M890, K8M890, CX700 or P4M900 is currently not supported.
(WW) CHROME(0): Using VBE to set modes to work around this.                                               
(II) CHROME(0): initializing int10                                                                        
(II) CHROME(0): Primary V_BIOS segment is: 0xc000                                                         
(II) CHROME(0): VESA BIOS detected                                                                        
(II) CHROME(0): VESA VBE Version 3.0                                                                      
(II) CHROME(0): VESA VBE Total Mem: 65536 kB                                                              
(II) CHROME(0): VESA VBE OEM: VIA P4N800 PRO                                                              
(II) CHROME(0): VESA VBE OEM Software Rev: 1.0                                                            
(II) CHROME(0): VESA VBE OEM Vendor:                                                                      
(II) CHROME(0): VESA VBE OEM Product:                                                                     
(II) CHROME(0): VESA VBE OEM Product Rev:                                                                 
(II) CHROME(0): Searching for matching VESA mode(s):                                                      
(II) CHROME(0): Monitor[0]: Using hsync range of 29.00-60.00 kHz                                          
(II) CHROME(0): Monitor[0]: Using vrefresh range of 50.00-60.00 Hz                                        
(II) CHROME(0): Not using mode "1024x600" (no mode of this name)                                          
(II) CHROME(0): Not using mode "768x576" (no mode of this name)                                           
(II) CHROME(0): Not using built-in mode "1600x1200" (width too large for virtual size)                    
(II) CHROME(0): Not using built-in mode "1280x1024" (width too large for virtual size)                    
(II) CHROME(0): Not using built-in mode "1280x768" (width too large for virtual size)                     
(II) CHROME(0): Attempting to use 60Hz refresh for mode "1024x768" (118)                                  
(II) CHROME(0): Attempting to use 60Hz refresh for mode "800x600" (115)                                   
(II) CHROME(0): Attempting to use 60Hz refresh for mode "640x480" (112)                                   
(--) CHROME(0): Virtual size is 1024x768 (pitch 1024)                                                     
(**) CHROME(0): *Built-in mode "1024x768": 0.0 MHz, 48363.6 kHz, 60.5 Hz                                  
(II) CHROME(0): Modeline "1024x768"x60.5    0.00  1024 0 0 0  768 0 0 0 (48363.6 kHz)                     
(**) CHROME(0): *Built-in mode "800x600": 0.0 MHz, 37324.7 kHz, 60.5 Hz                                   
(II) CHROME(0): Modeline "800x600"x60.5    0.00  800 0 0 0  600 0 0 0 (37324.7 kHz)                       
(**) CHROME(0): *Built-in mode "640x480": 0.0 MHz, 29825.5 kHz, 60.5 Hz                                   
(II) CHROME(0): Modeline "640x480"x60.5    0.00  640 0 0 0  480 0 0 0 (29825.5 kHz)                       
(**) CHROME(0):  Built-in mode "720x576"                                                                  
(**) CHROME(0):  Built-in mode "720x540"                                                                  
(**) CHROME(0):  Built-in mode "800x480"                                                                  
(**) CHROME(0):  Built-in mode "720x480"                                                                  
(**) CHROME(0): Display dimensions: (345, 259) mm                                                         
(**) CHROME(0): DPI set to (75, 75)                                                                       
(II) CHROME(0): VIAUnmapMem                                                                               
(II) CHROME(0): VIAScreenInit                                                                             
(II) CHROME(0): VIAMapFB                                                                                  
(--) CHROME(0): mapping framebuffer @ 0xf0000000 with size 0x4000000                                      
(--) CHROME(0): Frame buffer start: 0xb384a000, free start: 0x300000 end: 0x4000000                       
(II) CHROME(0): VIAMapMMIO                                                                                
(--) CHROME(0): mapping MMIO @ 0xd1000000 with size 0x9000                                                
(--) CHROME(0): mapping BitBlt MMIO @ 0xd1200000 with size 0x20000                                        
(II) CHROME(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000                           
(II) CHROME(0): VIASave                                                                                   
(II) CHROME(0): Primary                                                                                   
(II) CHROME(0): Crtc...                                                                                   
(II) CHROME(0): TVSave...                                                                                 
(II) CHROME(0): Trying VBE Mode 1024x768 (0xc118) Refresh 75.69:                                          
(II) CHROME(0): ViaVbeSetRefresh                                                                          
(II) CHROME(0): Active Device: 2                                                                          
(II) CHROME(0): Refresh Rate Index: 5                                                                     
(II) CHROME(0): VBESetVBEMode failed...but worked OK without customized refresh and dotclock.             
(II) CHROME(0): VIAAdjustFrame                                                                            
(II) CHROME(0): - Blanked                                                                                 
(II) CHROME(0): [drm] Using the DRM lock SAREA also for drawables.                                        
(II) CHROME(0): [drm] framebuffer handle = 0xf0000000                                                     
(II) CHROME(0): [drm] added 1 reserved context for kernel                                                 
(II) CHROME(0): X context handle = 0x1                                                                    
(II) CHROME(0): [drm] installed DRM signal handler                                                        
(II) CHROME(0): [dri] visual configs initialized.                                                         
(II) CHROME(0): [drm] register handle = 0xd1000000
(II) CHROME(0): [drm] framebuffer handle = 0xf0000000
(II) CHROME(0): [drm] mmio Registers = 0xd1000000
(II) CHROME(0): [dri] mmio mapped.
(II) CHROME(0): - Visuals set up
(II) CHROME(0): VIAInternalScreenInit
(II) CHROME(0): - B & W
(II) CHROME(0): Using 2304 lines for offscreen memory.
(**) CHROME(0): Option "XaaNoImageWriteRect"
(II) CHROME(0): Using XFree86 Acceleration Architecture (XAA)
(==) CHROME(0): Backing store disabled
(II) CHROME(0): - Backing store set up
(II) CHROME(0): - SW cursor set up
(II) CHROME(0): VIAHWCursorInit
(II) CHROME(0): - Def Color map set up
(II) CHROME(0): VIALoadPalette
(II) CHROME(0): VIALoadRgbLut
(II) CHROME(0): VIALoadRgbLut
(II) CHROME(0): - Palette loaded
(**) CHROME(0): DPMS enabled
(II) CHROME(0): - DPMS set up
(II) CHROME(0): - Color maps etc. set up
(II) CHROME(0): [drm] Detected AGP vendor 0x1106, device 0x0314
(II) CHROME(0): [drm] Didn't find any AGP v3 compatible device. Trying AGP 4X mode.
(II) CHROME(0): [drm] Trying to enable AGP fast writes.
(II) CHROME(0): [drm] drmAgpEnabled succeeded
(II) CHROME(0): [drm] agpAddr = 0xe0000000
(II) CHROME(0): [drm] agpBase = (nil)
(II) CHROME(0): [drm] agpAddr = 0xe0000000
(II) CHROME(0): [drm] agpSize = 0x01e00000
(II) CHROME(0): [drm] agp physical addr = 0x00000000
(II) CHROME(0): [dri] Using AGP.
(II) CHROME(0): [drm] Using 54251488 bytes for DRM memory heap.
(II) CHROME(0): [dri] Frame buffer initialized.
(II) CHROME(0): [DRI] installation complete
(II) CHROME(0): [drm] Freeing agp memory
(II) CHROME(0): [drm] Releasing agp module
(II) CHROME(0): [drm] removed 1 reserved context for kernel
(II) CHROME(0): [drm] unmapping 8192 bytes of SAREA 0xf90af000 at 0xb808c000
(II) CHROME(0): [drm] Closed DRM master.
(II) CHROME(0): direct rendering disabled
(II) CHROME(0): Benchmarking video copy.  Less time is better.
(--) CHROME(0): Timed   libc YUV420 copy... 15841087. Throughput: 56.4 MiB/s.
(--) CHROME(0): Timed kernel YUV420 copy... 11956159. Throughput: 74.8 MiB/s.
(--) CHROME(0): Timed    SSE YUV420 copy... 6270181. Throughput: 142.6 MiB/s.
(--) CHROME(0): Timed    MMX YUV420 copy... 6250671. Throughput: 143.1 MiB/s.
(--) CHROME(0): Ditching 3DNow! YUV420 copy. Not supported by CPU.
(--) CHROME(0): Timed   MMX2 YUV420 copy... 6170497. Throughput: 144.9 MiB/s.
(--) CHROME(0): Using MMX2 YUV42X copy for video.
(WW) CHROME(0): [XvMC] Cannot use XvMC without DRI!
(WW) CHROME(0): Option "PreferredMode" is not used
(II) CHROME(0): - Done
(II) CHROME(0): VIALoadPalette
(II) CHROME(0): VIALoadRgbLut
(II) CHROME(0): VIALoadRgbLut
(II) CHROME(0): VIALoadPalette
(II) CHROME(0): VIALoadRgbLut
(II) CHROME(0): VIALoadRgbLut








More information about the Openchrome-users mailing list