[MPlayer-dev-eng] Radeon 9800 vidix support

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Thu Oct 30 13:45:29 CET 2003


Following patch adds ID of Radeon 9800 (non pro) (R350) to mplayer pci
database, thus enabling vidix for it. Vidix works great on it... Well,
not exactly great, just the same way it works on other radeons.

There are other R350 cards, but I don't know their IDs.

Btw, I just noticed that xv is broken for large resolutions (when x*y is
more than 500000 or such - you can play 800x600 video but x11 returs
error on 900x600 or 800x700), but xvidix works great.

-- 

Vladimir
-------------- next part --------------
diff -uNr main.orig/libdha/oth/pci.db main/libdha/oth/pci.db
--- main.orig/libdha/oth/pci.db	2003-10-30 15:26:25.000000000 +0300
+++ main/libdha/oth/pci.db	2003-10-30 15:27:05.000000000 +0300
@@ -272,6 +272,8 @@
 d	10024e46	Radeon R300 NF [Radeon 9700]	0	
 d	10024e47	Radeon R300 NG [Radeon 9700]	0	
 d	10024e64	Radeon R300 [Radeon 9700] (Secondary)	0	
+d	10024e48	Radeon R350 NH [Radeon 9800]	0	
+d	10024e68	Radeon R350 [Radeon 9800] (Secondary)	0	
 d	10025041	Rage 128 PA/PRO	0	
 d	10025042	Rage 128 PB/PRO AGP 2x	0	
 d	10025043	Rage 128 PC/PRO AGP 4x	0	
diff -uNr main.orig/vidix/drivers/radeon_vid.c main/vidix/drivers/radeon_vid.c
--- main.orig/vidix/drivers/radeon_vid.c	2003-10-30 15:26:34.000000000 +0300
+++ main/vidix/drivers/radeon_vid.c	2003-10-30 15:27:47.000000000 +0300
@@ -861,7 +861,8 @@
  DEVICE_ATI_RADEON_R300_ND,
  DEVICE_ATI_RADEON_R300_NE,
  DEVICE_ATI_RADEON_R300_NF,
- DEVICE_ATI_RADEON_R300_NG
+ DEVICE_ATI_RADEON_R300_NG,
+ DEVICE_ATI_RADEON_R350_NH
 #endif
 };
 
@@ -993,6 +994,9 @@
             case DEVICE_ATI_RADEON_R300_NG:
               RadeonFamily = 300;
               break;
+            case DEVICE_ATI_RADEON_R350_NH:
+              RadeonFamily = 350;
+              break;
             default:
               break;
           }


More information about the MPlayer-dev-eng mailing list