DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

display problems: 3D shading with v17.2 3D max on vista laptop

Started by vexed, November 30, 2012, 11:30:16 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Dr PR

Mark,

SSDs have a feature (can't recall the name right now) that remaps system addresses into the FLash memory every time there is a write. So if a program writes to address 1 the hardware may remap it to address 883,405. Next time the system reads from "address 1" the hardware reads address 883,405. Then it the program tries to write to address 1 again the hardware remaps it to some other address, say 4,356,778, and so on.

The SSD keeps a "used" map of addresses in the Flash memory, and every write is remapped to a least used address. This ensures that all memory cells are used the same amount. It also means that when one cell reaches it's maximum write limit the whole SSD is about to go belly up.

I haven't checked lately, but the last time I looked the limit was only about 100,000 writes. It will take you a long time to do 100,000 writes on a USB memory stick, but you could do that in a few minutes on a SSD in a high speed system.

****

There is one other factor to consider. There are essentially two types of Flash memory cells, single level and multi level (or whatever each manufacturer's marketing morons call it). Single level cells store a simple high or low charge for a binary 1 or 0, so you get one bit per cell.

Multi level cells store multi level charges, up to four levels the last time I looked. This allows four addresses per cell. If a charge exists at a voltage level it is a "1" and if there is no charge at the level it is a "0." These Flash devices give four times the data density as single level cells on the same amount of silicon, so they are cheaper.

Multi level devices are a bit slower than single level, and, as you might expect, they have a lower maximum write count and are less reliable.

****

Flash memory is very different from dynamic or static RAM. With ordinary RAM you can write directly to any individual address. Flash memory is organized so you can write to "blocks" of addresses only. A block may be as small as 256 addresses, or much larger.

When a program tries to write to address X the Flash memory controller figures which block address X is in and the reads the entire block into normal RAM. Next it writes the new data for address X into the RAM. Then it erases the entire block and writes from RAM into the Flash cells. The reason for this is that you can write only 1s or 0s to Flash memory (it depends upon the type). So for Flash that can write only 1s the block is first erased to all 0s and then the appropriate 1s are written.

This necessity to do block writes exacerbates the write limit problem. Write to one address and you run up the count on the entire block.

This read-modify-write operation is much slower than simple RAM writes directly to single addresses. SSDs have a small  amount of normal RAM as a buffer. Reads and writes pass through this buffer, and the buffer contents are written into Flash cells only when it is necessary. This speeds up the effective write times and reduces repetitive writes to the Flash cells. It also means that if there is a power failure before the latest changes have been copied from the RAM buffer into Flash cells the data is lost. Some SSDs have an internal capacitor to store enough charge to allow RAM buffer contents to be written to Flash cells.

****

If this all sounds complicated (and it is) just remember that hard drives have been doing this sort of thing for years. Instead of blocks they have sectors, and you have to write an entire sector if you want to change a single bit. They have had error mapping functions that automatically translates writes to defective locations into writes to reliable locations, and remmeber where to read out the data when it is called for. They also use RAM buffers to speed up data transfers, and if power fails the data may be lost. Some drives use the motor as a generator during power fails, driven by the inertia of the spinning disks, to provide enough power to complete writes from the RAM buffer to the disks.

So, don't let the complications bother you, but also don't believe all of the marketing BS you hear about SSDs. They have a shorter lifetime than hard drives in computers that do not move. SSDs are much more durable than hard drives in lap tops, and they consume much less power (longer battery life).

Phil
DesignCAD user since 1987

vexed

I made a discovery today which might  provide closure for the problem that caused me to start this thread over a year ago.  I say "might" because I'm still looking for the "gotcha" which means my discovery doesn't work.

It turns out that there is OpenGL support on this machine (a Gateway P170X with an Intel graphics chipset and running Vista).   I don't know how one is supposed to discover it; I stumbled on it by sheer accident when I opened "Intel GMA Driver For Mobile" in the control panel.

There is a button labled "3D Settings".  Clicking on this opens another window titled "OpenGL Settings".  Really?  Wow!

None of the settings seem to be documented so I just picked one at random and changed it.  The one I chose is called "Flipping Policy".  It defaulted to "Flip" and I toggled it to "Blit".  No other changes.

To my utter amazement, I can now ask DC17 to display smooth shading and even hidden line mode and for the last hour or so, the display has worked correctly!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


The irony here is that earlier today, I had been reviewing the system requirements generously posted back on 12/23/13 by Dr. PR with an eye on replacing this laptop with one which might be DC compatible.  For almost 7 years, I've struggled with DC, as anyone who  has read any of my postings probably realizes.   

Documentation errors (my opinion) and features which just don't work have slowed my mastery of DC and may continue to do so, but the erratic, intransigent graphics behavior has been an insurmountable barrier.    I'm hoping that has changed.

Jim

Dr PR

Jim,

Congratulations! Let's hope that problem is solved. Thanks for sharing your results - you probably aren't the only one having a similar problem.

Later versions of DesignCAD have more features and fewer bugs than V17. However, dimensions work differently in later versions. They are not nearly as versatile as in V15-V17, but they are AutoCRUD compatible if you need to share drawings with others.

Windows 7 is much faster than Vista and it seems to have far fewer bugs and design errors. I have been using win 7 Pro 64 for about a year and I think it is even better than XP.

When you do get another computer try to find one with an Nvidia video system. Nvidia's OpenGL drivers are probably the best.

Integrated graphics controllers are a poor choice for CAD work, but, unfortunately, that is probably your only choice for a laptop.

Out of curiosity, did you ever search the Intel web site for OpenGL drivers for the video chip in your system? I realize that the Intel web site may be the worst ever created, but if you have patience you may eventually find something useful.

Phil
DesignCAD user since 1987

vexed

Quote from: Dr PR on February 09, 2014, 07:59:04 PM
Later versions of DesignCAD have more features and fewer bugs than V17. However, dimensions work differently in later versions. They are not nearly as versatile as in V15-V17, but they are AutoCRUD compatible if you need to share drawings with others.

Wow, what a mixed bag. 

Many of the features of V17 baffle me; I really don't need any new ones.   Thankfully (I guess) one of the baffling features of V17 has been dimensions so I dimension my drawings manually.  Nothing to unlearn here if I ever convert to a different version of DC. 

However one of the original reasons I bought DC was the ability to share files, in particular to generate and read IGES files.   I've never been able to make that feature work and, as I recall, it's no longer listed as a feature on newer versions of DC.   So what other formats does DC (any version) actually recognize and generate?

QuoteWindows 7 is much faster than Vista and it seems to have far fewer bugs and design errors. I have been using win 7 Pro 64 for about a year and I think it is even better than XP.

When you do get another computer try to find one with an Nvidia video system. Nvidia's OpenGL drivers are probably the best.

Integrated graphics controllers are a poor choice for CAD work, but, unfortunately, that is probably your only choice for a laptop.

I hear you.   I don't do enough drawings to justify a custom built tower system though.  On the other hand, one reason for not doing many drawings has been the difficulty of doing so (imagine the only view of a complex drawing being wireframe).  Catch 22.   On balance, though, whatever replaces this Gateway system is almost certainly going to be another laptop.

And that brings me to what I was discovering during the several hours yesterday I spent looking at offerings from Dell, Gateway, HP, MSI, and others. 

1. 17" screens (my  preference) and anything other than Intel i3 processors seem to be mutually exclusive.  Want an i5 or i7 processor?  14" or 15.6" screens are the norm.

2. Want nvidia graphics?   That seems to command a 50% premium in price.

2a. Just want to know what graphics chipset is inside a laptop?  Good luck getting some manufacturers to reveal that information.

3. Want windoze 7?  (I do.)  Well that removes about 90% of the available laptops from consideration.

I have no feel for the performance differences among i3, i5, and i7 processors or even how important processor performance is if a good graphics chip set is in the computer.    Any thoughts?
Quote

Out of curiosity, did you ever search the Intel web site for OpenGL drivers for the video chip in your system? I realize that the Intel web site may be the worst ever created, but if you have patience you may eventually find something useful.

Yes, a long time ago I did.  I remember seeing some caveats about the drivers..... warnings that the computer manufacturer (Gateway, in this case) might have needed to customize the drivers (for unknown reasons) such that generic replacements might not work.   That gave me pause.   I depend on this laptop.  It positively has to work.  I don't tinker with it unless something quits working.   So to risk rendering the display inoperative by loading a new video driver wasn't attractive and I let the matter drop.

Jim

Dr PR

I understand "If it isn't broke, don't fix it!"

I'm not familiar with i3s and i5s, so I don't know how many cores they have. My i7 has six cores, and each corer can run two threads, for a total of 12 threads. I have occasionally run Task Manager while working on a DesignCAD drawing, and I have seen as many as 11 threads running at once. Some are probably operating system things like disk operations and keyboard/cursor operations. But I have seen six to eight threads running while the machine is busy on a long shading operation. My 3.4 GHz i7 is 12 times as fast as my old 3 GHz P4 (one core, two threads) - I ran the same version of DesignCAD and shaded the same large drawing and measured the time.

One other important speed enhancement is to get a 64 bit system. It will access memory almost twice as fast as a 32 bit system, and DesignCAD reads/writes to memory a lot.

I think you can "retrograde" (or whatever Microsoft calls it) a Win 8 machine to Win 7. SOme users reported problems with Win 8 and DesignCAD when Win 8 came out, but I don't know if those problems have been resolved.

****

IGES was a good idea that was totally screwed up by idiots who thought they could improve it - or by business morons who did not want customers to be able to move files to a different program. In any case, different companies created their own versions and expected the entire universe to change to be compatible. It didn't, and now there are many conflicting versions of IGES. Because of this lack of standardization IGES is essentially obsolete. DesignCAD has stopped trying to support IGES.

I suspect STL will become the defacto 3D file exchange format. 3D printers are driving this and every CAD software  manufacturer will have to become 3D printer compatible. You can convert DesignCAD DXF file output to STL using the AccuTrans 3D program $25C). It works amazingly well.

Phil
DesignCAD user since 1987