[Fwd: Re: PING: David Miller - SPARC64]
Originally posted on linux-kernel, now forwarded to sparc-linux.
-------- Forwarded Message --------
Quoted 7 lines
From: Alex Buell <[email protected]>
Reply-to: [email protected]
To: David Miller <[email protected]>
Cc: [email protected]
Subject: Re: PING: David Miller - SPARC64
Date: Fri, 12 Nov 2010 17:53:12 +0000
[ snip ]
Quoted 22 lines
I have a Sun Blade 2000 here with dual 1.2GHz processors, 2 x 73GB FC-AL disks, 4GB of RAM and a XVR-500 graphic adapter. I am quite happy with the machine, but for one very small problem.
It seems that the XVR-500 console driver has a few problems. If I use the X11 fbdev 0.4.2 driver with xorg-server 1.7.7, in 8 bit colour depth, the X11 display looks quite corrupted. I have checked and the X11 server is definitely running in 8 bit depth, same as the console. I am using the machine in 1600 x 1280 @ 76 video mode, set from PROM. After exiting from X11, console gets restored normally, everything works, I just get a severely corrupted display - but I can move the mouse and use the keyboard to log in as normal. Any ideas why what might be wrong?
As a temporary workaround I just log onto the Blade via GDM from my laptop and everything looks OK in 24bit @ 1600x1200.
I cannot even get the X11 fbdev driver to start in 24 bit as the X11 fbdev driver fails with errors. Is it even possible to force the PROM to start in 24 bit depth?
Perhaps I could do a nouveau and find how how the XVR-500 graphic adapter works? Just thinking things out here
Signature · 1 line
Tactical Nuclear Kittens
From: Alex Buell <[email protected]>
Date: Fri, 12 Nov 2010 20:47:22 +0000
Quoted 16 lines
Quoted 16 lines
I have a Sun Blade 2000 here with dual 1.2GHz processors, 2 x 73GB FC-AL disks, 4GB of RAM and a XVR-500 graphic adapter. I am quite happy with the machine, but for one very small problem.
It seems that the XVR-500 console driver has a few problems. If I use the X11 fbdev 0.4.2 driver with xorg-server 1.7.7, in 8 bit colour depth, the X11 display looks quite corrupted. I have checked and the X11 server is definitely running in 8 bit depth, same as the console. I am using the machine in 1600 x 1280 @ 76 video mode, set from PROM. After exiting from X11, console gets restored normally, everything works, I just get a severely corrupted display - but I can move the mouse and use the keyboard to log in as normal. Any ideas why what might be wrong?
As a temporary workaround I just log onto the Blade via GDM from my laptop and everything looks OK in 24bit @ 1600x1200.
Quoted 6 lines
Quoted 6 lines
I cannot even get the X11 fbdev driver to start in 24 bit as the X11 fbdev driver fails with errors. Is it even possible to force the PROM to start in 24 bit depth?
Perhaps I could do a nouveau and find how how the XVR-500 graphic adapter works? Just thinking things out here
The X500 framebuffer is configured by openfirmware in a interleaved format that requires writing to two different framebuffer locations for every single pixel.
That's why we need to override ->imageblit(), ->fillrect(), and ->copyarea() driver operations and can't just use the normal cfb* ones directly.
Therefore the X11 fbdev driver is never going to work properly, no matter what BPP or resolution you bring up the screen.
There is zero public documentation on this chipset, so yes you will need to reverse engineer everything. But you may look at the openbsd driver for some hints as they've already undertaken reverse engineering some of the chip variants.
This is the graphics card I have on one of my workstations, and the ease by which I can just buy a Radeon based card with openfirmware on it tends to kill my motivation to work on this personally, it's not really a good investment of time.
Quoted 5 lines · David Miller
There is zero public documentation on this chipset, so yes you will need to reverse engineer everything. But you may look at the openbsd driver for some hints as they've already undertaken reverse engineering some of the chip variants.
Hi Alex,
If you are gonna reverse engineer it's good to know Martin Bochnig did work as well on porting the video drivers into OpenSolaris/marTux.
The keywords are: Intense3D, 3Dlabs, Sun Expert 3D & Wildcat 4110.
Frans van Berckel