Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
143 user(s) are online (89 user(s) are browsing Forums)

Members: 1
Guests: 142

rwo, more...

Headlines

Forum Index


Board index » All Posts (Hypex)




Re: AllocBitMap vs AllocBitMapTags
Just popping in
Just popping in


@joerg

Quote:
1 bit RGB😲
1/3 bit R, 1/3 bit G and 1/3 bit B, or 1/4 bit Alpha, 1/4 bit R, 1/4 bit G and 1/4 bit B? 🤣


LOL.

None of the above. I mean palette based with an index. So even if we compare with 8 bit chunky it needs scaling with a LUT to a direct value. Indirect to direct.

Go to top


Re: AllocBitMap vs AllocBitMapTags
Just popping in
Just popping in


@FlynnTheAvatar
The figures returned from the AllocBitMap() attributes don't look right. I wonder what is returned from OS3/68K?

The BMA_DEPTH is 1 but the rest are 0. I would expect BMA_BYTESPERPIXEL to be 1 at least. Though each pixel takes less with 1/8 a byte. But BMA_BITSPERPIXEL should definitely be 1.

Go to top


Re: SFS Problems
Just popping in
Just popping in


@devils_advisor

What version of SFS? OS4 or Enhancer one? It was updated with Enhancer.

And have you tried using Partition Wizard? The SFSCheck program is a bit old and crusty. It may not understand an newer SFS.

I've got a new problem in the last week. Saving a single file or installing 1TB of files stalls on a file. CPU goes 100%, it silently crashes and system stops responding.

Go to top


Re: AllocBitMap vs AllocBitMapTags
Just popping in
Just popping in


@msteed

Quote:
I imagine you're running the example program on a 32-bit truecolor Workbench screen, which means your friend BitMap is also 32-bit truecolor. But the backBuffer BitMap you're allocating has a depth of only one bit. So the question is, what happens when you ask for a one-bit color-mapped BitMap, but pass a 32-bit truecolor friend BitMap?


In both cases, 1 bit depth was asked for, but AllocBitMapTags() returned a different result.

Quote:
Back in the OS 3.1 days even graphics cards typically supported planar displays when the depth was less than eight. So for compatibility with programs from that era, you may well be getting a one-plane planar BitMap from AllocBitMap(). Of course that's going to require planar to chunky conversion when blitted to a 32-bit BitMap, which is going to be slow.


Well, actually, at 1 bit depth they are both chunky in a sense. The difference is one is palette based and the other is RGB based but both exist on one plane. So it would need to scale 1 bit to 32 bits for each pixel. But also, would need look up the palette colours, and write that in. It surely would have HW acceleration to scale 1 bit up to 32 per pixel but converting from bitmap to pixmap would kill it.

Go to top


Re: RadeonHD V.5 driver
Just popping in
Just popping in


@Hans

Quote:
The ring buffer is likely the first place where you'd hit problems with lack of cache coherency. However, if you're using an SI card or newer, then the problem could also be that their drivers can't handle big-endian.


In this case it was a 9200SE so certainly old enough to support big endian.

Quote:
IIRC, ACube did have a Linux driver that worked with GART enabled. I don't know for which cards, or how it worked.


That's interesting. Rarely are Linux drivers superior to OS4 drivers. In this kind of way.

Quote:
I can think of one way to get GART working, and that's to mark all memory used for GART as non-cacheable (or disable the data cache entirely). The L2 cache might need to be disabled too. Needless to say, doing so would come with a serious performance penalty.


I can imagine so. It would be impractical to keep it off. But also if it was disabled for each transfer.

Go to top


Re: RadeonHD V.5 driver
Just popping in
Just popping in


@Hans

Quote:
It's a Sam460 limitation. The Sam460 doesn't have cache coherency. I tried doing manual cache flushing everywhere where it's needed, but couldn't get it working. It would always lock up.


That makes me wonder if Linux cannot use HW acceleration on the Sam graphic drivers? The A1/XE had the same limitation so Linux was slower to use. I actually did enable it to test and it ran well and was fluent on screen. Unfortunately it only lasted a few moments until a system freeze. Said to be related to ring buffer and issues with DMA engine I also recall.

Go to top


Re: RadeonHD V.5 driver
Just popping in
Just popping in


@LiveForIt

Quote:
I tried use the reverse load and store instructions I was disappointed with results. If remember correct, I got as poor results as bit mask bits, then shift & Or result code. Yeh it might be I don’t have the instruction, or maybe some trap instruction interrupt bug, some forgot check what CPU has or has not the instructions, not sure how that works.


The instructions should be fine as there is only one needed for read or write direct on memory. Or pointer register direct on PPC.

I did see an issue with GCC endian swap macros. The problem here is it's optimised for x86 which has both register swap and memory R/W swap, or at least optimised for variable data swap. PPC only has memory R/W swap. So if on PPC, the macro wants to swap data already in a register, and PPC doesn't support that. So the code then moves bytes around and ends up as a mess. It really shouldn't be that bad and although PPC has a neat all in one rotate and mask instruction it can't seem to swap bytes quickly. It looks like an after thought. On 68K it's a rol, swap rol. On x86 a bswap.

This is ridiculous really, as PPC can do it natively, though I'm not sure if only some cores support it. Endian is a memory issue at the core. If the macros were designed to R/W from a pointer instead, where the real action is, then it would work well for PPC as it could use the instruction to load reverse from a pointer.


Edited by Hypex on 2023/2/8 12:18:00
Go to top


Re: RadeonHD V.5 driver
Just popping in
Just popping in


@joerg

Quote:
Using an endian-swapping version of GCC might help, like the one which was used for building native x86/x64 Amithlon software.


I wasn't aware of a specific endian swapping version of GCC. There was an Intel compiler to assist with compiling big endian dependant code on x86.

Also, speaking of the Amithlon compiler, where are the programs compiled for it? I thought Aminet would be full of it, but I can't find them anymore. There's more OS4 software on Aminet!

Go to top


Re: RadeonHD V.5 driver
Just popping in
Just popping in


@Hans

Quote:
Hehe. I've seriously thought about designing my own GPU. I'd never be able to beat the big guys in raw performance, but could design something that's a lot easier to use (i.e., simple enough you could easily bit-bang it without a driver just like the old Amiga chipsets). However, I'd need a large enough niche market to make it financially viable.


Well, it's been done before. With the ZZ9000 and Vampire SAGA. And the Vampire now has a 3d engine with Maggie above the AMMX feature. Acting like a blitter I read but AMMX was supposed to give more freedom than a blitter model so don't know why they went back to one. Also I can't decide if Maggie is named after a bird or an old Rod Stewart song but she sounds like an old chipset.


Edited by Hypex on 2023/2/2 15:45:06
Go to top


Re: RadeonHD V.5 driver
Just popping in
Just popping in


@Raziel

With a terminal attached the CFE output appears but I don't recall if it responds to input. I'm sure it would. I've done it before but don't recall if it needs redirecting first.

Go to top


Re: RadeonHD V.5 driver
Just popping in
Just popping in


@PixelHi

Quote:
I don't mind not seeing Uboot, there us not much to do after it's working. I actually would not mind to have an option not to see it at all, I guess Rx 550 should fix that 😁.


You can turn it off on the X1000 so there is just the logo and and also tell it to start booting WB. But then you can't have a boot menu if you kept multiple volumes to chose from. Needing a null modem cable connected to another computer to pick an item off a boot menu would be annoying.

Go to top


Re: How to get rid of AmigaDOS popup at boot up?
Just popping in
Just popping in


@Amigo1

Thanks! That was it. It didn't show up doing a usual search so had the find the file manually.

Go to top


Re: Sam460le - new user experience
Just popping in
Just popping in


@PixelHi

Looks like a similar issue I have on my X1000 with freezing after boot. But in my case Update 2 caused it which I haven't solved. I updated my drivers from the latest Enhancer, thought it had fixed it, but found it came back.

I'm using RadeonHD v3.7 currently. What version do you have?

Go to top


Re: How to get rid of AmigaDOS popup at boot up?
Just popping in
Just popping in


While I'm not getting it at bootup I've found my Workbench has attached a volume to itself it won't let go. I had a plugged in an OS4 disk via USB and and read files from the contents. Somehow it has memorised my Transfers1 volume and won't let it go! Now every time I run RunnInUAE it keeps asking for Transfers! UAE has no mention of it in config files. So something in your OS4 system has attached a System volume from somewhere. It may not be found easily and could be hidden in any system data or text file.

Go to top


Re: Does AOS4 continue to keep the pointer to Exec library at address 0x4?
Just popping in
Just popping in


@rjd324

Quote:
Looking through the adtools code I have seen it many times before and just never thought about it. In the code, the address of the Exec library is sought from address 0x4 - just like on classic machines.


Yes I've seen that a bit in OS4 code. Some in system examples. It's unnecessary as in all cases I checked ExecBase is already supplied, such as binary startup and interrupt entry. Not sure about library vectors.

Obviously $4 is still in place for 68K. But PPC shouldn't use it directly. This goes against the advice of caching ExecBase. Once we were told to cache it. Now there is still code that causes a hit by reading it instead of a pointer.

Go to top


Re: Download Speed from Internet
Just popping in
Just popping in


@Chris

I recall playing with some. I needed to fix MTU at one point when a new router broke my ADSL. But I don't know what changes are needed for an RTL8169 to act "normal" in my X1000. I took a look and recall playing with some settings but never fixed it. It's just one of those Amigaisms that network speed on OS4 drivers is slow.

Go to top


Re: Download Speed from Internet
Just popping in
Just popping in


@rjd324

There is something wrong with OS4 network drivers. On my XE I have managed full throughput with the built in 3Com Ethernet. Both with OS4 and Linux.

On my X1000 I need to use an RTL8169 adapter but I have never got full speed. For some reason the RealTek drivers are crippled on OS4. I don't recall but it may have been a tenth of what the card can do. My comparison is Linux which, unlike in OS4, can use both the RTL8169 and built in Ethernet. On Linux it easily maxes out my net speed.

Apart from that downloading from Amiga servers can be slow. It always is for me. No computer in my house can max my net speed. I've only got 12.5Mbps currently so it can't be that hard. I just did a 15MB download from OS4Depot. It started off slow but did reach 1.2MB/s max so manged to peak close to my top speed. But from OS4 it never gets any higher. I get about 200 to 400KB/s.

However, I've found that location can affect it. I thought I was in a slow country because the distance between me and the Amiga server was worlds apart thus causing the way slow speeds. And all other Amiga people must have been close as their speed was always good. But, I've taken my XE and X1000 to my Amiga club which is closer to the city, and the speed was way faster. In fact the speed I was getting would be the top speed of my connection. From Linux at least. So, somehow OS4 net speed is affected by OS4 drivers and your internet location.


Edited by Hypex on 2023/1/17 8:45:20
Go to top


Re: Amiga X5040 ByTech Backlite USB Keyboard Issue
Just popping in
Just popping in


@Raziel

Not sure, possible it may go to sleep. I see no reason to because I take my focus away from the keyboard to the mouse for just a few moments. I do see a few 0x70000000 unknown code errors.

It also has a hub so there is always a hub connected with the keyboard. Possible this could drain too much power. The X1000 ports may not be providing enough power and not up to the job of an iMac built ten years before it when computers were more powerful.

I also tested it without mouse plugged in and it still goes dead. I really should replace I suppose since OS4 cannot handle it. But I don't know of any other keyboards where the logo keys are in the right spot.

Go to top


Re: AmigaOne G3-SE DMA-fix instructions
Just popping in
Just popping in


The SE is a hard one. I've used one and it is a bit of a frustrater. It's generally recommended to use a powered USB hub but it can only go so far.

It would be good if a MFC existed with IDE/SATA and USB. Years ago maybe. But with a supported chipset available now would be rare.

However, the specification says it has four PCI slots and AGP. So should be enough space for an IDE card and USB card.

This may have the benefit of being slightly faster. And also adding USB2 ports. If they are stable in an SE.

If possible using the ECC and registered RAM should be best.

Go to top


Re: Amiga X5040 ByTech Backlite USB Keyboard Issue
Just popping in
Just popping in


@TearsOfMe

You could be right. I have an Apple keyboard hooked up to my X1000. I practically have to keep an extension on my knee because it keeps going dead a few times an hour usually. It might not help that I like to keep my mouse plugged into it. The strange thing is the mouse can still work but the keyboard can go dead so it's confusing. I've checked the log and there isn't always a disconnect before it goes dead so it's hard to tell why it went missing. But I must pull the plug and push it back in to get both back.

Go to top



TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 12 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project