Hi Todd, no, 'cause I have a Radeon 7500 graphics card - the system is a Compaq Evo N800c. Everything else is mostly working fine. If I enable DRI and restart X, glxgears works Ok, it's just that the J3D texture rendering seems to be failing. -- Russell
Did you install the latest NVidia drivers according to the procedure described here: http://www.fedorafaq.org/#nvidia ? You may want to try this if you haven't. I also believe the readme that comes with the drivers discusses "dri" module issues.
~Todd
On Jul 7, 2004, at 3:22 PM, Russell East wrote:
Uh oh.
I've been working my way through the XF86Config/xorg.conf and made it to the "Module" section. Here is what my XF86Config used to have there: Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "glx" Load "record" Load "freetype" Load "type1" Load "dri" EndSection
and here is what the default xorg.conf has (without comments): Section "Module" Load "dbe" SubSection "extmod" Option "omit xfree86-dga" EndSubSection Load "type1" Load "freetype" EndSection
So, I've been adding each of the modules, in turn, from my old XF86Config into the new xorg.conf. Actually, Java3D didn't work until I had added: Load "glx" which I guess is expected.
But, the problem occurs when I add in Load "dri" (direct rendering)
Without this module, MesaGL is being used, with poorer FPS performance as reported by glxgears (about 140).
With this module loaded, glxgears reports about an 8-10 times improvement (about 1000 fps).
However, with DRI loaded, Java3D textures no longer work, on my system at least.
So far, I've tried removing the following section that was in my original XF86Config: Section "DRI" Group 0 Mode 0666 EndSection But with this removed, it seems to disable DRI anyway.
I'm going to investigate this a bit further, but has anyone gone down this path already?
-- Russell
Russell East wrote:
I think I figured it out.
For several versions of RH (8 and 9 I think) as well as FC1, I have a custom rc.local that toggles 3-button emulation value within the XF86Config, based on presence/absence of 3 button USB mouse. It copies one or other private copies of the config into the right place.
Well I forgot it was still there when I installed FC2 and rebooted after the install without turning off the rc.local. So, on the first boot-up, it plonked an XF86Config into /etc/X11. It looks to me like Xorg is willing to work with an XF86Config, so Xorg was getting configured from the older config file. Possibly one of the options was messing Xorg around.
What I did was remove the rc.local behaviour and the XF86Config file. I was hoping the system would notice no config, and try to re-configure a (new) xorg.conf, but it didn't, so everything worked off of supposedly reasonable defaults. Anyway, after rebooting without the XF6Config, Xorg came up fine, and Java3D textures were working again.
Seems to me like Xorg is a bit slower when modifying the transform of my 3D model when I do rotates and zooms - the animation seems jerkier than just a couple of days ago.
I'm now going to try to set up a custom xorg.conf, since my usb mouse scroller no longer works. With any luck, I can get it to work....
-- Russell
Original email:
Russell East wrote:
Hi, I just installed FC2 as an update over the top of my FC1 (Linux) system. Java+J3D was working fine with FC1. But after the update, my J3D application is failing as follows.
Everything compiles no problem. The app starts up displaying a swing UI, but no J3D at first (correctly). After selecting some stuff, the J3D canvas is shown, and an initial wire-frame is displayed - this works no problem also. After working with the UI some more, some images are supposed to be draped over the wire-frame as J3D textures - here is where it goes haywire. The textures look totally random looking 3d strips of color - actually looks really cool artistically, but not what was expected sadly...
I've tried using JDK 1.5, 1.4.2, J3D 1.3.1 and J3D 1.3.2Alpha. All have the same result.
I also have tried the two available kernel options - 2.6.5-1.358 and the updated 2.6.6-1.435.2.3 - again with same result.
Of course, there are two main changes going from FC1 -> FC2: o change kernel from 2.4 -> 2.6, and o change X server from XFree to Xorg
I'm wondering if there isn't some simple thing I need to do to tweak Xorg to get it to work properly. My computer has an ATI Radeon 7500 (it's a laptop).
This is really a disaster - would anybody else have tried FC2 with positive results?
-- Russell
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
