Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
27 user(s) are online (18 user(s) are browsing Forums)

Members: 0
Guests: 27

more...

Support us!

Headlines

Forum Index


Board index » All Posts




Re: MPlayer 1.5 released!
Just can't stay away
Just can't stay away


@smarkusg

I did some tests with MPlayer only if I use -cpu750cx not altivec the video goes full screen.
If I use -cpu 7457 the video remains in the window even if the window can be maximized but it does not go full screen.
You probably talked about it, I'm not aware of it ?

Thank you

Go to top


Re: Compiling qemu X64 for OS4.1 (Ryzen) and also other CPU (MAC)
Home away from home
Home away from home


@white
Quote:
To put up virtual systems but to do that I need a second graphics card in my specific.
A Geforce 1060 6gb can be found for 100 euros. But an ATI would be better if it is needed for qemu.
There are no AmigaOS drivers for any NVIDIA gfx card. Except for some very ancient ones like Cirrus, Voodoo, etc. only Radeon R100/R200 (ATIRadeon.chip), Radeon HD and Radeon RX cards are supported.

AFAIK only a single user got a passed-through gfx card working with QEmu yet, see https://www.amigans.net/modules/newbb/ ... id=147757#forumpost147757
4 Radeon gfx cards tested:
HD4850, R9 270x and RX560/570 didn't work.
HD7000 does work (requires BBoot 0.7 or newer).

You need to use a separate IOMMU group for the passed-through gfx card. No big problem on Linux, but I don't know how/if at all that works on MacOS or Windows.

Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Home away from home
Home away from home


@balaton
Quote:
And there's a reason for that which is to ensure that GPL code is not used in commercial code ...
Obviously you don't understand what the GPL is about.
At least 90% of the GPL software is sold commercially (Google, Samsung, LG, Sony, etc.: Android, based on the GPL Linux kernels and several other GPL software, Xiaomi: MIUI, which in most parts is based on AOSP, the open source parts of Android, Apple: iOS, based on NextStep (not GPL Linux but a BSD though, but still no big difference), etc.).
For PCs and servers: Red Hat Enterprise, SLES (SUSE), IServ, UCS and several other commercial Linux distributions.

Go to top


Re: MPlayer 1.5 released!
Not too shy to talk
Not too shy to talk


@smarkusg

Thanks for the feedback!

I went back through and found a news video that stopped playing
prematurely without the cache change - stopping around 4m11s
instead of playing to the full 4m33s. Unfortunately, while it
happened a couple times, it wasn't consistent. :/

https://www.youtube.com/watch?v=EgQPCOuUgKQ

Then I tried setting the cache to 20480 as suggested. It
most often meant there was a 15-20 second delay before playing,
but I also didn't see the premature shut-off in a repeated
plays. Maybe it was the inconsistency at play?

I also tried playing that video with a January 2020 build from
Mick and it repeatedly played the video to the end.

When I wasn't playing the video with the 20480 setting in the
config file, I renamed the config file out of view to avoid any
other deviations.

I also made a point not to do any seeking back or forwards to
try to keep that variable out of the mix when playing.

Sorry I didn't come up with a more clearcut results or clues.

Thanks,

PJS

Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Quite a regular
Quite a regular


@joerg
Quote:
OTOH with the GPL you have no choice/control over your own code any more, even just linking with a GPL library will force you to release any sources linked with it, no matter if you want to do that or not. Even worse: Any output/data generated by GPL software is GPL as well.

And there's a reason for that which is to ensure that GPL code is not used in commercial code only in free software so it cannot be exploited without the developer's consent (who still has the right to sell their work under a different license as they own the copyright so commercial vendors could buy a license from the author for code otherwise available as GPL but cannot just copy and use parts of GPL code unless they also publish the result as GPL). If less strict MPL like license is needed there's LGPL for that which only applies it to the code itself and allows it to be combined with non free software (but still does not allow copying part of LGPL code into non LGPL or GPL code and make it non-free).

Go to top


Re: Heretic II Multiplayer Event on 27th April 2024
Just can't stay away
Just can't stay away


Here is a video that I recorded a little later on my Qemu/Pegasos2 system.

The average ping rate for all players was about 200. Here the server was already occupied with 3-5 players in multiplayer.

The interest in the multiplayer mode is apparently not so great, or the time was just wrongly chosen, but it was still really fun.

Thank you TheMagicSN for making sure that there were some servers to join




MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Quite a regular
Quite a regular


@kas1e
I think Linux also uses RTAS on pegasos2 if I remember correctly but I could be wrong. It can be checked in Linux source or you could boot Linux on QEMU pegasos2 and add debug log to RTAS calls to see if they are called. Even if config-l@ can access card regs you can only use that from firmware before OS boots but the BAR addresses are also in the device tree so you could get it from there without reading the register. Otherwise if you need to write or access other regs and can't get it using RTAS then it needs to access PCI directly.

Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Home away from home
Home away from home


@balaton
Quote:

This looks like primarily a problem in AmigaOS kernel. If it can't even see the card then maybe it also does not look behind the bridge like BBoot (so does not even read the device tree below the bridge) and when it did, it might get problems with 64bit BARs and RTAS not supporting bridges.


Both OS4 kernel and Linux kernel do see card in the bridge (Linux kernel by default, os4 kernel with bar fix, or via bboot), see on Linux for example (with Radeon x1950):

0000:00:06.0 PCI bridge [0604]: Pericom Semiconductor PI7C9X111SL PCIe-to-PCI Reversible Bridge [12d8:e111] (rev 02)
....
0000:01:00.0 VGA compatible controller [0300]: Advanced Micro DevicesInc. [AMD/ATIR580+ [Radeon X1950 XT] [1002:7244]


And on OS4 (this time with Radeon HD):

[_impl_AddLibraryAdding library graphics.library to the system
RadeonHD 
(5): findRXCard called
RadeonHD 
(5): Card 0 (0): 0x10020x682BRadeon HD Verde (Mob.), supportedinactive
RadeonHD 
(5): Found supported card
RadeonHD 
(5): initRXCard called
RadeonHD 
(5): Initializing card



Problem comes after, when both, Linux and OS4 kernel tried to find a base video RAM address, which result in 0x000000 for both kernels, see on Linux:

root@debian:/home/kas1e# dmesg | egrep 'drm|radeon'
[   30.283165] [drmInitialized drm 1.1.0 20060810
[   31.088890] [drmradeon kernel modesetting enabled.
[   
31.574171] [drminitializing kernel modesetting (R580 0x1002:0x7244 0x0000:0x0000).
[   
31.675977__ioremap(): phys addr 0x0 is RAM lr radeon_device_init [radeon]
[   
31.760392radeon 0000:01:00.0Fatal error during GPU init
[   32.791013radeonprobe of 0000:01:00.0 failed with error -12
root
@debian:/home/kas1e#


And see on OS4:

RadeonHD (2): Obtaining ITimer interface
RadeonHD (2): Got ITimer interface
RadeonHD (2): Returning from LibOpen().
RadeonHD (0): RadeonHD.chip 5.20 (25.5.2023)
RadeonHD (6): <rxOpen>
RadeonHD (4): Have altivec.
RadeonHD (4): CPU cache line length32
RadeonHD 
(4): PCI device is a graphics card.
RadeonHD (2): Identified the chipset as: VERDE
RadeonHD 
(2): Graphics card name isRadeon HD Verde (Mob.)
RadeonHD (2):   If - and only if - your card does not work or does not work optimally
        please submit a bug report at
:
        
http://www.amiga.org/developer/bugreports
        
Remember to include the driver version, and the following card details:
        
0x682B:0x0000:0x0000: <name of board>
        and *
pleasedescribe the problems you are seeing in detail.
RadeonHD (4): Obtaining memory and I/O addresses and sizes
RadeonHD 
(4): Video RAM at0x00000000size is 268435456 bytes
RadeonHD 
(0): ERRORVideo RAM base address was NULL
RadeonHD 
(6): <rxClose>
[
HAL_DfltTrapHandler] *** WarningFatal exception in task 0x6FFAB240 (exec.tasketask 0xEFFF4000)


Error exactly the same for both cases: 0x00000000 as base address, while shouldn't.

I do not know details about linux kernel for pegasos2 (maybe worth to check source to be 100% sure), but it seems it's the same as OS4 kernel for peg2 tries to use RTAS for getting base address of video card behind the bridge, and can't (in both cases 0x00000000). As i do not know PCI stuff for the moment (reading the doc now), i assume that to know base video address you need to read some configuration registers, which, by some reasons, fail, when RTAS is used (if, that is what Linux use too, same as OS4). That why we worry at all with "config-l@" , so to check if we can from firmware get the base video address of card behind the bridge, because , if we can have this card listed, then we somehow already can read configuration registers behind the bridge, just not for base video address by some reasons.

In other words, interesting to know why RTAS for both kernels (and OS4, and Linux too), can see the video cards behind the bridge (i.e. can read configuration registers via RTAS seems so), but then , can't get the same way the base video address and fail the same with 0x0000000 when trying to read configuration registers again.

But i need to read some pci/marvel pdfs too for now, yep :)


Edited by kas1e on 2024/4/28 18:27:26
Edited by kas1e on 2024/4/28 18:28:28
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Home away from home
Home away from home


@balaton
Quote:
The AROS license is similar to MPL which also says it should be kept free so it's not opposite and completely free like BSD but maybe less strict than GPL.
Main difference: APL/MPL only requires to release changes you did in those sources. Everything which is free code stays free, but it doesn't affect your own/other code used in the same project, which you can release, or not, as open source as well. It's your choise.

OTOH with the GPL you have no choice/control over your own code any more, even just linking with a GPL library will force you to release any sources linked with it, no matter if you want to do that or not. Even worse: Any output/data generated by GPL software is GPL as well. A lot of GPL software like GCC includes special exceptions to the GPL allowing to use the code generated by it to be released with another licence. If GCC or glibc would be just GPL, without such exceptions invalidating the worst parts of the GPL, it wouldn't be usable at all for most software.


Edited by joerg on 2024/4/28 18:01:48
Go to top


Re: MPlayer 1.5 released!
Home away from home
Home away from home


@MickJT
For all of my AmigaOS projects I got the fastest results with -Os.
Reason: The PPC CPUs used for AmigaOS have very small caches, compared to x64 CPUs for example. Theoretically slower (no loop-unrolling, etc.), but smaller code may fit completely into the caches, while "faster" but larger code doesn't. The result is that small, but less optimized code can be faster on such systems. Using cross-module/source optimizations (IIRC enabled with -O3 and -O4) and LTO can make it even worse.
Note1: I only optimized code for G2 (603/604), G3 (750), G4 (74xy) and 405 based CPUs (440/460), but not for the PA6T-1682M nor P5020/40, which may behave completely different.
Note2: Code which is fast on real hardware may be slow on emulation such as WinUAE and QEmu, and the other way round.

Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Quite a regular
Quite a regular


@kas1e
I remember that we've concluded that you can't use my donate button and I can't accept what you can use so we've left it at that. It's OK, it's not about money as I've made it clear before, donations aren't required, it's just there to allow people who want to thank me that way can do so if they wanted. I prefer to work on what I'm interested in and I can't use this bridge support much as I have no real pegasos2 (also no real gfx card or driver for it) and on QEMU even with PCI pass through there's no bridge visible for the guest so there the problem is already solved by current BBoot.

This looks like primarily a problem in AmigaOS kernel. If it can't even see the card then maybe it also does not look behind the bridge like BBoot (so does not even read the device tree below the bridge) and when it did, it might get problems with 64bit BARs and RTAS not supporting bridges. Patching all this from BBoot is too much work (almost like reimplementing a large part of the firmware) which I'm not interested to do just to fix a closed source OS that's not even free and others would want to benefit from it. This is something that should be fixed in the AmigaOS kernel and I'm not the right person for that job.

I remember you've posted info about this before but it's in that long thread somewhere and was a long time ago so I don't remember the details any more. From the firmware listings it seems the firmware did find the card and could access BARs and config registers but the ROM is missing so not sure it could run it and init the card fully. If AmigaOS only needs the data from the device tree then maybe it does not need RTAS just to parse the tree but if it needs access to config regs and ROM then it might need to access PCI directly and not via RTAS if that cannot handle the card behind the bridge.

I think Hans already understands the problem, it just takes time to do all this by him alone.

Go to top


Re: MPlayer 1.5 released!
Just can't stay away
Just can't stay away


Quote:
samo79 wrote:
@ktadd

Maybe its due to FFMpeg, the latest version we use for 1.5 may be slower


I was using -O4 (mplayer's source uses that by default) rather than -O2. I think that would make a noticeable difference. A quick google search says that -O4 is the same as -O3, and probably reserved for future purposes.


Edited by MickJT on 2024/4/28 17:18:19
Go to top


Re: Heretic II Multiplayer Event on 27th April 2024
Not too shy to talk
Not too shy to talk


@MartinW

They will get the updated so file
From me or Alinea. As these were not too many
sales outside alinea sales i suspect they should be able to send the
update to their customers.

Alternatively for people who do not want to
wait for it send me evidence of the sale
(Copy of your order) and i can send you the
archive (it is not a big file). Offer not
limited to customers of Retro Passion.

My Email is tirionareonwe@gmail.com

Best regards,
Steffen

Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Home away from home
Home away from home


@balaton
Quote:

I don't quite know what you get as I only see what you post here so I don't know what beta kernels do or how it appears in firmware. If there's a device node then that means the firmware does look behind the bridge


You probably don't remember it all, as everything started before were with full logs about bridge and card in, to repeat them:

Bridge itself:

ok cd /pci/pci@7
ok ls
display
@0
display
@0,1
ok 
.properties
vendor
-id             0x10B5 (4277)
device-id             0x8112 (33042)
revision-id           0xAA (170)
class-
code            0x60400 (394240)
subsystem-id          0x0 (0)
subsystem-vendor-id   0x0 (0)
.
vendor-name          "PLX"
.class                "Bridge Device"
.subclass             "PCI/PCI"
interrupts            0x1 (1)
devsel-speed          0x1 (1)
66mhz-capable
device_type           
"pci"
#address-cells        0x3 (3)
#size-cells           0x2 (2)
clock-frequency       0x1FCA055 (33333333)
name                  "pci"
reg                   7:0
                      xp7
,0,10,0:10000
assigned
-addresses    xp7,0,10,80000000:10000
bus
-range             1:1
ranges                
[0x40 bytes]
        [
00001000000 00000000 FE002000 01000000
        
[01000000000 FE002000 00000000 00001000
        
[02002000000 00000000 80100000 02000000
        
[03000000000 80100000 00000000 1FF00000


The card in, display0:

ok cd display@0
ok 
.properties
vendor
-id             0x1002 (4098)
device-id             0x7244 (29252)
revision-id           0x0 (0)
class-
code            0x30000 (196608)
subsystem-id          0x1002 (4098)
subsystem-vendor-id   0xB12 (2834)
.
vendor-name          "ATI"
.class                "Display Controller"
.subclass             "PC Compatible"
interrupts            0x1 (1)
devsel-speed          0x0 (0)
min-grant             0x0 (0)
max-latency           0x0 (0)
rom                   [0x20000 bytes]
        [
000FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[010FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[020FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[030FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[040FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[050FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[060FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[070FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[080] FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[090] FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[0A0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[0B0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[0C0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[0D0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[0E0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[0F0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[100FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[110FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[120FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[130FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[140FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[150FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[160FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[170FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[180FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[190FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[1A0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[1B0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[1C0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[1D0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[1E0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
        
[1F0FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
[skipped]

name                  "display"
reg                   0:0
                      xp0
,0,10,0:10000000
                      x0
,0,18,0:10000
                      i0
,0,20,0:100
                      m0
,0,30,0:20000
assigned
-addresses    xp0,0,10,90000000:10000000
                      x0
,0,18,80100000:10000
                      i0
,0,20,FE002000:100
                      m0
,0,30,80120000:20000
ok cd 
..


And the card in display@0,1:

ok cd display@0,1
ok 
.properties
vendor
-id             0x1002 (4098)
device-id             0x7264 (29284)
revision-id           0x0 (0)
class-
code            0x38000 (229376)
subsystem-id          0x1002 (4098)
subsystem-vendor-id   0xB13 (2835)
.
vendor-name          "ATI"
.class                "Display Controller"
.subclass             "Other"
devsel-speed          0x0 (0)
min-grant             0x0 (0)
max-latency           0x0 (0)
name                  "display"
reg                   0,1:0
                      x0
,1,10,0:10000
assigned
-addresses    x0,1,10,80110000:10000
ok


So, firmware definitely can see the card in behind bridge, and it definitely can't be done without reading a proper registers from the card itself , right ?

And what we want to just confirm by this "config-l@", is that indeed firmware can or can't read correctly registers from the card.

I mean, one thing it build devie three, and can see card (mean that it can read registers from card), and another thing how : if we can do it by config-l@ too, then it mean that it works at least from firmware side 100% (just to confirm that building of three mean reading from registers too).

Then, from kernel/driver side, we tried RTAS and fail : but we need to know that RTAS indeed fail (by compare addresses , etc). And if yes, and that true, we need to go this direct register reading way, as OF do (seems so).

Of course doing this in bboot which is opensource are preferable way for all of us, but as you lack interst in, and don't want to do it even for a bit of $ to cover hassle (i asking about before if you remember), then we forced to work with the kernel, which maybe someday will be released :)


Edited by kas1e on 2024/4/28 16:16:36
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Heretic II Multiplayer Event on 27th April 2024
Site Builder
Site Builder


@McFly
Great video. Unfortunately, I couldn't make it. But we should arrange it again, maybe next weekend or an other day.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top


Re: AmigaOS 4.1 Final Edition Update 2 fatal failure
Quite a regular
Quite a regular


@MamePPCA1

And I tried to register my AmigaOS 4.1 FE on Hyperion site and no luck...

Why this happens?

I don't remember my past login to advance or recover my AmigaOS 4.1 ISO.

Amiga 500 1MB Chip RAM with ACA 500+ACA1232,CD32,Amiga 1300 030/50 Mhz,32MB (now on my hands at least)and Amiga One G3 XE PPC 800 Mhz,ATI Radeon 9250 128 MB,256 MB RAM,Seagate 200 GB HD,2 working DVD drives,X-Arcade double for MAME,Sil0680,4 USB ports,LG
Go to top


Anonymous
Re: ScummVM and AmigaOS4.1 F.E.
@afxgroup

finally able tor edo my steps

as soon as i have libSDL2_gl4es.so (softlinks from libSDL2-2.30.so) available,
i get a link error telling me
LINK     scummvm
Development
:Coding/SDK/gcc/ppc-amigaos/bin/ldscummvmhidden symbol `aglSetParams2' in /SDK/local/newlib/lib/libgl4es.a(agl.c.obj) is referenced by DSO
Development:Coding/SDK/gcc/ppc-amigaos/bin/ld: final link failed: Bad value
gmake: *** [scummvm] Error 1

the above libs are the gl4es patched ones.

If i remove any of the above, it will pick up static libSDL2_gl4es.a and all is fine.

Of course, i' d like to have SDL2 as shared object, so any advice would be appreciated

Thank you

Go to top


Re: Heretic II Multiplayer Event on 27th April 2024
Just popping in
Just popping in


@MartinW

vielen Dank

Go to top


Re: New staff member
Just popping in
Just popping in


great, very good reinforcement, I'm happy about that

Go to top


Re: Heretic II Multiplayer Event on 27th April 2024
Not too shy to talk
Not too shy to talk


Nice video. Unfortunately the timing didn't work out for me yesterday. Either I was offline when other people were playing or vice versa. I did spend a few hours on solo play though so that was good.

@TheMagicSN One quick question - how will those of use that bought from other places like RetroPassion be able to pick up updates? Will they be having a similar mechanism, or can Alinea add the downloads to my account (I have one?)

I appreciate you may not have the answers to those questions! Just wondering in advance :D


Amiga x5040 ı 16GB ı RX580
A1200 PiStorm32-Lite CM4
Go to top



TopTop
« 1 ... 376 377 378 (379) 380 381 382 ... 7453 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project