> Hello all,
> 
> I have a Sapphire Radeon 9800 SE graphic card. I tried to install the 
> DRM provided by minskey.
> But I have a problem, when I rebooted the computer, it tell me that:
> "DRM current don't support this graphic card."
> 
> I searched a bit in the sourcecode provided by minskey, and I found in 
> the card list that my graphic card is not listed.
> I added it, but I have a problem, I do not know how compile the 
> sourcecode in order to have a beautiful new libdrm :'(
> 
> If somebody can help me, my graphic card ID's are : 0x4148 and 0x4168 
> (secondary head).
> 
> Regards,
> 
> Damien


Hello Damien,

I think we can walk you through. First of all you need to start here: 

#Get ON#  
http://dlc.sun.com/osol/on/downloads/current/

#Learn how to build it, and give it a try#
http://opensolaris.org/os/downloads/on/

#Now cd inside the ON src tree and apply Minskey's great patches#
(This step could normally also come first, before you start the initial build)

gpatch -p0 < yourpatchfilehere.patch

(for more info, always feel free to ask this list on demand)

#do an incremental re-build#
(not necessarily with nightly, but rather set up a ON build environment with 
"bldenv ./opensolaris.sh"

Then go to the one drm subdir wich contains the Makefile, then issue "make 
clean;make && make install"
This will install your fresh drm driver into your proto area. From there copy 
it onto a real system and reload the driver with "update_drv -v radeon" (drm 
module is a dependency of it in misc). Or just reboot.

Much luck, and always feel free to keep in touch.

BTW, list: I'm currently busy with Indiana_SPARC and conary, but back in early 
January I changed Miskey's excellent Radeon_DRM port to make it compile as part 
of OS/Net_SPARC, this was easy.
The main hurdle is the low level interface to the console driver, as vgatext 
makes no real sense on SPARC. Yet for "pfb" I don't have the src. Well, with 
binutils you manage to find similar sounding function names, but I don't have 
their prototypes either. So it would all be about guessing. That's where I have 
stopped so far. Afterwards I burned lots of time with trying to make progress 
with the Xsun-ddx wrapper, and then came the conary port already, and now 
SPARC-Indiana.

Minor glitch: On x86 I witnessed the serious performance problem of Minskey's 
current radeon DRM port, just as he had mentioned back then. I browsed 
Xorg-devel's archives and found out, that this problem also occurred on other 
OS's in the past, such as on Debian3_x86. But my focus is to first get it 
working *at all* on SPARC. Only about 8 vgatext functions are affected, we need 
to establish similar functionality on SPARC, which the radeon module depends 
on. I have not given up on this, only deferred it a bit. But actually it looks 
quite promising.

%martin

Reply via email to