[[RzR]]@[[Debian]]# lspci 0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [[Apollo KT266/A/333]]
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [[Radeon 7000/VE]]
[[RzR]]@[[Debian]]# lspci -n 0000:01:00.0 0300: 1002:5159
[[RzR]]@[[Debian]]# lspci -vs 1:0.0 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon VE QY (prog-if 00 [[VGA]]) Subsystem: C.P. Technology Co. Ltd: Unknown device 2003 Flags: bus master, stepping, 66Mhz, medium devsel, latency 64, IRQ 11 Memory at d0000000 (32-bit, prefetchable) [[size=128M]] I/O ports at a800 [[size=256]] Memory at dfef0000 (32-bit, non-prefetchable) [[size=64K]] Expansion ROM at dfec0000 [[disabled]] [[size=128K]] Capabilities: [[58]] AGP version 2.0 Capabilities: [[50]] Power Management version 2
GPU: ATI Radeon VE (~7000) Powered by ATI / 64Mb SDRAM / vga+tv+dvi out / agp 2x/4X RV6S-B3 @ http://www.cptech.com.tw
The box is black with a glowing sun … and written powered by ATI and made in tawain the bare-code sn is : g01120007826g aka RV6S RV6D
@ http://www.cptech.com.tw/powercolor/web/product_inside.asp?prd_id=RV6SD
Can ATI cards do TvOut under X ? using ati driver could solve this (Mach64 Mobolity M1 )
Finally I have the TV out working under console + Framebuffer with VESA Driver
The important thing is when using Loadlin, watch for defaults common windows drivers that are loaded in CONFIG.SYS (and move them all to win dos etc ) Else you'll get some thing like mplayer -vo vesa … : Broken bios or DOS TSR
But how to make the TVout working under X ?
Some hints :
If you have problems getting your monitor to work, try specifying
/etc/XF86Config-4#Devices : Option "composite_sync" "off"
http://www.stud.uni-hamburg.de/users/lennart/projects/atitvout/ http://gatos.sf.net
root@teuz:~# lspci 00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [[Apollo KT266/A/333]] 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [[Radeon 7000/VE]]
root@teuz:~# pcitweak -l PCI: 01:00:0: chip 1002,5159 card 148c,2003 rev 00 class 03,00,00 hdr 00
I need help w/ Linux + radeon + Framebuffer + TVout + X
Is this model fully supported under Linux ?
I noted all my experiences with that card at http://rzr.online.fr/n/linux-en.htm At the present time I have only the 2D part which is working I miss :
I tested the emovix minilinux distro and the seem that it doesnt load the radeon driver and use vesa instead . Knoppix (2003-04) doesnt load the dri driver too
Here is Knoppix 3.3 status :
root@teuz:~# uname -a Linux teuz 2.4.22-xfs #1 SMP Fr Sep 19 17:55:45 CEST 2003 i686 GNU/Linux
root@teuz:~# XFree86 -version
XFree86 Version 4.3.0 (Debian 4.3.0-0ds4 20030416150820 dstone@aedificator) Release Date: 18 March 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: Linux 2.4.21-pre5 i686 [[ELF]] Build Date: 16 April 2003 Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present OS Kernel: Linux version 2.4.22-xfs (root@Knoppix) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Fr Sep 19 17:55:45 CEST 2003
# file:///etc/X11/XF86Config-4 Section "Device" #-------------------------------------------------- Identifier "Radeon VE" VendorName "ATI" BoardName "RV100 QY [[Radeon 7000/VE]] Powered by ati" Driver "radeon" # radeon | ati | vesa VideoRam 65536 # 64MB # Option "UseFBDev" "true" # must be in kernel Option "AGPMode" "4" # kernel # Option "EnablePageFlip" Option "TwinView" # TVout: Option "sw_cursor" # a big white block instead of the cursor====== Option "SecondMonitorHorizSync" "30-50" # 28-49 Option "SecondMonitorVertRefresh" "60" # 50-60 Option "TwinViewOrientation" "Clone" Option "ConectedMonitor" "CRT, TV" # DFP,TV # CRT Option "TVStandard" "SECAM" # "PAL-N" # FRAnce # duneii/ Option "TVOutFormat" "Composite" Option "composite_sync" "off" Option "MetaModes" "1024x768,NULL;1024x768,640x480+2+22" Option "NoTwinViewXineramaInfo" "true" Option "MetaModes" "640x480,640x480;,640x480;640x480," EndSection # Device/ # http://dri.sf.net # irc://irc.debian.org/ati
http://rzr.online.fr/n/ati.htm
I have a ATI Radeon VE (powered by ati) on Linux 2.4.20 Debian woody (X 4.1.0)
The kernel has been compiled w/ ATI fb support (an anther one w/ VGA 16)
M : Console Driver / Framebuffer / "ATI Radeon display support (EXPERIMENTAL)"
% dmsg says : radeonfb: ref_clk=2700, ref_div=12, xclk=16000 from BIOS
I use Loadlin if it matters, and under the DOS console things are ok, The console has that tux and X is fine … BUT :
Each time I access the frame buffer (mplayer or fbset) my screen toggle to sleep mode
Actually I don't think it sleeps, because when I toggle to another VT and get back to the 1st one the framebuffer is correctly displayed.
Other problem under FB mode is that my TVout (French PAL) is out of sync Is it a bios think ? or modelines ?
I can't make my TV out works under console with Frame buffer built in kernel Actually it works (or almost) under my monitor but not the TV I suppose it is a refresh rate problem
lilo boot option : vga=788 = 800x600x16 fb video=vga16:off disable fb
and Is playing with fbset isn't equal to booting with vga parm ?
mplayer -vo fbdev makes my screen toggle on sleep (console or X)
fbcon
http://dri.sf.net/ http://gatos.sf.net/ http://www.ati.com/support/drivers/linux/radeon-linux.html irc://irc.debian.org/ati irc://irc.debian.org/XFree86 http://www.directfb.org/ http://tldp.org/HOWTO/Framebuffer-HOWTO.html http://tldp.org/HOWTO/Framebuffer-HOWTO-14.html
How to make the DRI functional on a Linux Debian + ATI Radeon VE (7000) Powered by ati the cards works fine in 2D …. BUT I got those errors :
I compiled a 2.4.20 kernel with all the options :
(disabled Framebuffer)
I set my XF86Config with RADEON driver (nor ati ?)
started X, no error in dmesg or log ….
[[teuz 11]] rzr > glxinfo name of display: :1.0 Radeon DRI driver: Compatibility mode for DRM driver version 1.1.1 TCL will be disabled, expect reduced performance (prefer DRM radeon.o 1.3.x or newer) disabling TCL support display: :1 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context client glx vendor string: SGI client glx version string: 1.2 client glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context OpenGL vendor string: Tungsten Graphics, Inc. OpenGL renderer string: Mesa DRI Radeon 20021125 AGP 4x x86/MMX/3DNow=== DRM-COMPAT NO-TCL=== ...
or everything is fine … but the end is tragic :
[[teuz 12]] rzr : glxgears Radeon DRI driver: Compatibility mode for DRM driver version 1.1.1 TCL will be disabled, expect reduced performance (prefer DRM radeon.o 1.3.x or newer) disabling TCL support glxgears: radeon_ioctl.h:165: radeonAllocCmdBuf: Assertion `rmesa-dri.drmMinor >= 3' failed. Aborted
Solution : get the dri-trunck-source :
http://dri.sf.net/
kernel recompiled with :
+ Processor type / MTRR + Character devices / AGP (+ VIA if u have MSI K7T) + Character Devices / DRM DONT Select any DRM driver
and recompile the module (radeon.o)
cd /usr/src/linux || exit tar xvf drm-trunk.tar.gz MODULE_LOC=/usr/src/modules && export MODULES_LOC make-kpkg clean modules_image --revision=$HOSTNAME.1.0 dpkg -i /usr/src/*dri*$HOSTNAME*.deb
Maybe this helps :
http://rzr.online.fr/n/linux-en.htm
http://rzr.online.fr/tmp/XF86Config-4
Here is what my model returned :
Vendor : Tungsten Graphics, Inc. Renderer : Mesa DRI Radeon 20021125 AGP 4x x86/MMX/3DNow=== NO-TCL=== Version : 1.2 Mesa 5.0 Extensions : GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_window_pos GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_convolution GL_EXT_compiled_vertex_array GL_EXT_histogram GL_EXT_packed_pixels GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_texture3D GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_object GL_EXT_texture_lod_bias GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_MESA_window_pos GL_NV_blend_square GL_NV_texgen_reflection GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gatos login && \ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gatos co ati.2 && \
xmkmf /path/to/your/xfree86/tree && \ make && \ make install
wget -c http://prdownloads.sourceforge.net/gatos/ATI-4.1.0.i386.tar.gz
http://127.0.0.1/cgi-bin/dwww?type=file&location=/usr/share/doc/fbset
# uname -a && date && X -version Linux teuz 2.4.22-xfs #1 SMP Fr Okt 3 20:36:25 CEST 2003 i686 GNU/Linux sam oct 16 01:19:44 CEST 2004 XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-8 20040928112350
# lsmod Module Size Used by Not tainted radeon 108324 1 agpgart 38296 3 ...
# glxgears disabling TCL support 2663 frames in 5.0 seconds = 532.600 FPS ...
# xdpyinfo | grep "depth of root window" depth of root window: 16 planes
# dmesg | grep drm [[drm]] AGP 0.99 aperture @ 0xe0000000 64MB [[drm]] Initialized radeon 1.7.0 20020828 on minor 0
# dmesg | grep mtrr mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel
# startx ... X: warning; process set to priority -11 instead of requested priority -10 ... Skipping "/usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o": No symbols found ...
# dmesg ...
# uname -a && date && X -version Linux teuz 2.6.4 #3 Mon Mar 22 10:56:25 CET 2004 i686 GNU/Linux sam oct 16 01:19:44 CEST 2004 XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-8 20040928112350
# startx ... (WW) RADEON(0): Failed to set up write-combining range (0xd0000000,0x4000000) ... waiting for X server to shut down
# dmesg mtrr: 0xd0000000,0x4000000 overlaps existing 0xd0000000,0x1000000
# cat /proc/mtrr reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1 reg05: base=0xe0000000 (3584MB), size= 64MB: write-combining, count=1
# echo "disable=2" > /proc/mtrr
# startx
ati-agp agpgart radeon
# dmesg [[drm:radeon_cp_init]] *ERROR* radeon_cp_init called without lock held [[drm:radeon_unlock]] *ERROR* Process 5360 using kernel context 0 apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac) apm: overridden by ACPI.
#Option “AGPFastWrite” #xdpyinfo|grep 'depth of root' #http://people.debian.org/~daenzer/dri-trunk/
$ glxinfo # or any opengl program
Radeon DRI driver: Compatibility mode for DRM driver version 1.1.1 TCL will be disabled, expect reduced performance (prefer DRM radeon.o 1.3.x or newer) disabling TCL support
main: radeon_ioctl.h:165: radeonAllocCmdBuf: Assertion `rmesa→dri.drmMinor >= 3' failed.
# this error should be corrected w/ # http://people.debian.org/~daenzer/dri-trunk/ # http://lists.debian.org/debian-x/2002/debian-x-200211/
dpkg -S /usr/X11R6/bin/XFree86
$ dmsg [[drm]] Initialized radeon 1.1.1 20010405 on minor 0 [[drm:radeon_unlock]] *ERROR* Process 800 using kernel context 0 [[drm:radeon_unlock]] *ERROR* Process 957 using kernel context 0 [[drm:radeon_unlock]] *ERROR* Process 1419 using kernel context 0
$ grep EE /var/log/XFree86.0.log (EE) RADEON(0): [[dri]] DRIScreenInit failed. Disabling DRI.
(EE) RADEON(0): [[dri]] RADEONInitVisualConfigs failed (depth 8 not
supported). Disabling DRI.
[[teuz 46]] 3d-opengl > glxgears Radeon DRI driver: Compatibility mode for DRM driver version 1.1.1 TCL will be disabled, expect reduced performance (prefer DRM radeon.o 1.3.x or newer) disabling TCL support
glxgears: radeon_ioctl.h:165: radeonAllocCmdBuf: Assertion `rmesa- &glt;dri.drmMinor >= 3' failed. Aborted
root@teuz:~# uname -a Linux teuz 2.4.22-amiloa #21 mer déc 10 17:51:40 CET 2003 i686 GNU/Linux
root@teuz:~# cat /var/log/XFree86.0.log (WW) RADEON(0): Cannot read colourmap from VGA. Will restore with default drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 6, (OK) drmGetBusid returned '' (II) RADEON(0): [[drm]] loaded kernel module for "radeon" driver (II) RADEON(0): [[drm]] created "radeon" driver at busid "PCI:1:0:0" (II) RADEON(0): [[drm]] added 8192 byte SAREA at 0xd0bcf000 (II) RADEON(0): [[drm]] mapped SAREA 0xd0bcf000 to 0x40016000 (II) RADEON(0): [[drm]] framebuffer handle = 0xd0000000 (II) RADEON(0): [[drm]] added 1 reserved context for kernel (WW) RADEON(0): [[agp]] AGP not available (II) RADEON(0): [[drm]] removed 1 reserved context for kernel (II) RADEON(0): [[drm]] unmapping 8192 bytes of SAREA 0xd0bcf000 at 0x40016000 (II) RADEON(0): Memory manager initialized to (0,0) (1024,8191) (II) RADEON(0): Reserved area from (0,768) to (1024,770)