Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
69 user(s) are online (49 user(s) are browsing Forums)

Members: 0
Guests: 69

more...

Headlines

 
  Register To Post  

« 1 ... 3 4 5 (6) 7 »
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
@walkero

Thanks, but can you please test again using the *release* kernel. I asked for that in my reply above because the debug version changes the memory layout and it might be an annoying memory trashing bug.

Also, what's the kernel version?

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Reborn return to castle Wolfenstein
Site Builder
Site Builder


See User information
@Hans
Sorry I missed your request for the kernel.
I use Kernel v53.98 which is the latest beta one.

Below you can find the crashlog with the non debug kernel
http://os4coding.net/node/2316

Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
@walkero

Thanks. It's consistent with your other new logs. However, the new logs crash in a totally different way to the previous ones (ISI instead of DSI).

The whole thing is even more confusing now. I wonder if this might be a clue (from one of your newer logs):

[_impl_ObtainSemaphore:108] *** WARNING: "Semaphore might be uninitialized", called from 0x0184BDDC

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
@walkero


Could you try executing the following from within your SYS:kickstart directory:
addr2line -e kernel.debug -j .text 0x30ac

Thomas said it might be a list function like AddHead(), Remove(), etc. Running the command above may help identify what it is.


Quoting Thomas directly:
If it's really a list function, then it's going to be difficult to trace. The most likely candidate for a cause is a buffer overflow.

From the rest of the log posted, I would say the list it was manipulating was the task list :| Also, the fact that you get frequent "suspending already suspended tasks" shows that there is something wrong with the task list.

What I found to be a frequent problem with corrupted task lists (apart from buffer overflows or general memory corruption) is the execution of system functions that cause preemption in a context that shouldn't be preempted. Good example is an interrupt handler. Dunno if RtcW uses any, but maybe a callback for sound or joystick...

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
Might as well pass this one on too. It relates to walkero's last crash log:
> Temporary stack trace:
> #0: 0x12141350
> #1: 0x7F549EDC
> #2: 0x7F549F4C
> #3: 0x7F56BEE4
> #4: 0x7F55CA50

> Crashed process: reborn-sp (0x6A464E00)
> 0: 6FFAE000 6A6568C0 00000002 4DE1ECE8 00000000 6A6567B8 00000002 6A462184
> 8: 6386A610 7F4097C8 0000001C 12141352 0000015C 60CA0CAC 33504449 60C99724
> 16: 6A656A5C 6A656A40 43504449 00000000 6A656B48 6A656A38 638F0A28 63969BA0
> 24: 00000000 00000001 00000000 00000000 00000003 60879534 60C9C660 60879000
> CR: 39955593 XER: A000007E CTR: 12141352 LR: 7F4097D8

The crash address is basically an address-corrected version of CTR, which would imply that in this case, the faulty address was jumped to via a CTR jump. To the best of my knowledge, the compiler doesn't create code like that, but it's the default method for jumping into an interface function, which would hint at either a defective interface, or a pointer to a not-so-much-an-interface was used as an interface (if you get what I mean)

Really hope these clues will help track down the root cause.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Reborn return to castle Wolfenstein
Site Builder
Site Builder


See User information
@Hans

Quote:
Could you try executing the following from within your SYS:kickstart directory:
addr2line -e kernel.debug -j .text 0x30ac


To do that I must boot with the debug kernel or not?

Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
@walkero

Quote:
To do that I must boot with the debug kernel or not?

It doesn't matter, so long as you execute the command from within your kickstart drawer.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Reborn return to castle Wolfenstein
Site Builder
Site Builder


See User information
@Hans
AmigaOS:Kickstart> addr2line -e kernel.debug -j .text 0x30ac
??:0

Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
@Hans

I would think you needed a debug build (ie built with -gstabs unstrippped) of the kernel to get meaningful results from addr2line. That'a not what kernel.debug is it's a kernel with extra debug code.


Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
well finally got the HD version to work tonight ! Turns out it was the pakHD02.pk3 file that was corrupt and a re-download solved the problem....game looks and runs like a beauty on my X1000

donation sent over to our man HUNO

_______________________________
c64-dual sids, A1000, A1200-060@50, A4000-CSMKIII
Catweasel MK4+= Amazing
! My Master Miggies-Amiga1000 & AmigaONE X1000 !
mancave-ramblings

Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
@broadblues

Yes, but it was Thomas' suggestion, so I hoped that him suggesting it meant that the debug kernel was unstripped. Obviously not.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
@all
I tried on my x5k with all latest ogles2, warp3dnova and radeonhd.

With default settings it crash for me as for everyone else when i start to load level, and there is what i got on serial:

[HAL_DfltTrapHandler] *** WarningFatal exception in task 0x6FE5D130 (p5020sata.device Port 0etask 0xEFFF4540at ip 0x01DCCFC8
Dump of context at 0xEFFEFBA0
Trap type
DSI exception
Exception Syndrome Register 
(ESR): 0x00000000
Machine State 
(raw): 0x0002F030
Machine State 
(verbose): [Critical Ints on] [ExtInt on] [User] [FPU on] [IAT on] [DAT on]
DSISR00000000  DAR0000000C
No matching page found
Temporary stack trace
:
#0: in module p5020sata.device.kmod+0x0000A788 (0x01DCCFC8)
#1: in module p5020sata.device.kmod+0x00002DC0 (0x01DC5600)
#2: in module p5020sata.device.kmod+0x000022B8 (0x01DC4AF8)
#3: in module p5020sata.device.kmod+0x00002C8C (0x01DC54CC)
#4: in module p5020sata.device.kmod+0x000039BC (0x01DC61FC)
#5: in module p5020sata.device.kmod+0x000047CC (0x01DC700C)
#6: in module kernel+0x00028FCC (0x01828FCC)

Crashed taskp5020sata.device Port 0 (0x6FE5D130)
DSI verbose error descriptionPage not found in hash table (page fault)
Access not allowed by page protection (protection violation)
Access was a load operation
 0
00000000 6FE4C850 00000002 6FE3C9B0 6FE5E450 80000000 00000000 6FE36000
 8
00003DCD 00000000 6FE36000 00000000 FFFFFE00 0000000D 02128EC0 02128EE0
16
00000010 80000000 40000000 10000000 D000F000 021828D4 00020000 6FFB2680
24
00000100 6FE36000 6FE5E450 6F902750 6FFB2680 6FE36000 6FE3C9B0 6FE5E450
CR
28000488   XER00000000  CTR01DC55C0  LR01DC5600
DSISR
00000000  DAR0000000C

FP0 
FFF8000000000000 0000000000000000 3FEFFFEB000DC7F7 3FC7466496CB03DE
FP4 
3FCC71C51D8E78AF 3FD2492494229359 4080A80000000000 4050000000000000
FP8 
4080880000000000 4050000000000000 4030000000000000 43300000800002A8
FP12
4070000000000000 41E0000000000000 6130240A624A2668 C2005F24FAB0C790
FP16
943105273903CD3C 0F1446FB74B3E2C4 8A86924B503CC930 B302110F84184813
FP20
683740041C2A08E2 8220756FB592D1D4 1260821EF540C830 090000AEF334C827
FP24
98FE643E746B61D0 94323E0661FAD873 2844AB831A49312E 1104DEB6D0B654B1
FP28
0000000000000000 0000000000000000 41D724255530D41F 4097800000000000
FPSCR
00000000

Disassembly of crash site
:
 
01DCCFB880E90000   lwz               r7,0(r9)
 
01DCCFBC80070010   lwz               r0,16(r7)
 
01DCCFC0812772B0   lwz               r9,29360(r7)
 
01DCCFC4700B0004   andi.             r11,r0,4
>01DCCFC880A9000C   lwz               r5,12(r9)
 
01DCCFCC40820148   bne-              0x1DCD114
 01DCCFD0
2F850000   cmpwi             cr7,r5,0
 01DCCFD4
8127684C   lwz               r9,26700(r7)
 
01DCCFD8419E013C   beq-              cr7,0x1DCD114
 01DCCFDC
7CA903A6   mtctr             r5

Kernel command line
serial munge debuglevel 0

Registers pointing to code
:
r14native kernel module p5020sata.device.kmod+0x00366680
r15
native kernel module p5020sata.device.kmod+0x003666a0
r21
native kernel module kernel+0x009828d4
ip 
native kernel module p5020sata.device.kmod+0x0000a788
lr 
native kernel module p5020sata.device.kmod+0x00002dc0
ctr
native kernel module p5020sata.device.kmod+0x00002d80

Stack trace
:
(
0x6FE4C850native kernel module p5020sata.device.kmod+0x0000a788
(0x6FE4C860native kernel module p5020sata.device.kmod+0x00002dc0
(0x6FE4C880native kernel module p5020sata.device.kmod+0x000022b8
(0x6FE4C8C0native kernel module p5020sata.device.kmod+0x00002c8c
(0x6FE4C900native kernel module p5020sata.device.kmod+0x000039bc
(0x6FE4C9C0native kernel module p5020sata.device.kmod+0x000047cc
(0x6FE4CA30native kernel module kernel+0x00028fcc

Disassembly of crash site
:
 
01DCCFB880E90000   lwz               r7,0(r9)
 
01DCCFBC80070010   lwz               r0,16(r7)
 
01DCCFC0812772B0   lwz               r9,29360(r7)
 
01DCCFC4700B0004   andi.             r11,r0,4
>01DCCFC880A9000C   lwz               r5,12(r9)
 
01DCCFCC40820148   bne-              0x1DCD114
 01DCCFD0
2F850000   cmpwi             cr7,r5,0
 01DCCFD4
8127684C   lwz               r9,26700(r7)
 
01DCCFD8419E013C   beq-              cr7,0x1DCD114
 01DCCFDC
7CA903A6   mtctr             r5
Stack pointer 
(0x6FE4C850is inside bounds
Redzone is OK 
(4)

68k register dump
DATA
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Page information
:
Page not found



Reducing those optiosn from High to Medium make game pass init screen , and loading till first videos.

Geometric Detail
Character Textures
General Texture

But still crashes.

And only when i set those 3 options to the Low, i can play in game.

That all remind me what issues i noticed few days ago in Jedi, when i set textures to High, and it lockup, while there is still 1gb of free system memory, and only 700 was in use. And crash was in RadeonHD module, but that mean nothing if memory trashed..



Edited by kas1e on 2019/3/20 22:11:11
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
@Huno

I found some new issue with RCTW Reborn. Well, more precissely with EGL_Wrap.

For some reassons you put in prefs/env-archive special GL4ES settigns, like noone else but only EGL_Wrap will use them :)

So they stay there forver, which in turn mean that all the other GL4ES games/apps, will use those environemnts you set just for EGL_Wrap all the time automatically.

In my case, few GL4ES games just looks wrong by colors because of this, so i loose a hour before understand what going on :)

What i mean, is that saving LIBGL environments just for EGL_Wrap should't be done in the main system env: of course, as it cause issues with all other GL4ES stuff.

It can be instead in the game's directories, or dunno, maybe inside of EGL_Wrap code, or alternatively envs can be called EGL_WRAP_LIBGL_ and inside of EGL_Wrap make a redefine of GL4ES ones to those ones , so in ENV: and ENV_ARC: will be those with EGL_WRAP_ at begining, and other GL4ES stuff will not use them.

Because as it now, everyone who will release anything with GL4ES, should note users that they should clean LIBGL_* entries in the system:prefs/env-archive because EGL_Wrap save special environments for their own needs, which in turn will have impact on everything else done via GL4ES :)

Plz fix it, i will happy betatest fixed version if you need tester.

Thanks !


Edited by kas1e on 2019/3/21 19:19:28
Edited by kas1e on 2019/3/21 19:54:47
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Reborn return to castle Wolfenstein
Not too shy to talk
Not too shy to talk


See User information
@kas1e
Hi
Yes you're right this can impact other games or applications that take advantage of gl4es. I apologize for the inconvenience caused by studying a solution internally not to make unnecessary excesses on other work
Thank you very much for these feedbacks that help me move forward in my EGL dev
Yes and no problems for betatest
Thanks
HunoPPC

AmigaOS 4.1 Rulez
Resized Image
Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
@Huno
What i also noticed, is that in the Level3 , there is major-strange slowdown of the game to just 5-8fps (and that with low textures settings). Dunno to what component that related of course..

Its very visibly when you come to the funicular, and watch on it. Also you can't enter to the room at right of the funicular, you can see soldier, but you can't kill him , and can't come to the room, while door is open. Just like some bug.


Also noticed that when you break a barrel, those parts of barrel which drops on floor have no textures (white ones). Or maybe have, but didn't rendered correctly.

ps. Can you also rebuild RTCW Reborn with latest gl4es (at least with Mar 31, 2019) : ptitSeb add there some new environment by which possible to dump shaders of different types (vertes, fragments, both, before shader conversion, after, etc, etc). So it will be easy to see what shaders in use when rendering bugs happens.


Edited by kas1e on 2019/4/1 13:09:38
Edited by kas1e on 2019/4/1 14:43:28
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Reborn return to castle Wolfenstein
Not too shy to talk
Not too shy to talk


See User information
@kas1e
The preferences are now in ENVARC: EGL_Wrap and not at the root so more conflicts. By cons it is not yet functional in the bookstore that I made available because I work on it now. As for the level 3 actually it is very slow, the map has too many 3D objects and PC version rallenti aussimais it is more obvious on the amigaos4, should I see if by modifying some small thing on the map if I can win FPS.
I will test this .
Download the executable and the lib on the ftp and ask me if you want other things.
HunoPPC

AmigaOS 4.1 Rulez
Resized Image
Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
@Huno
Checked v8 of egl_wrap: nope, there still the same issue.

You have all LIBGL settings in the Prefs:Env-Archive still.

As well as file "Install_LIB_EGL_to_SYS" have at end of the file that:

copy Prefs/Env-Archive to Sys:Prefs/Env-Archive

So there 2 errors:

1). all LIBGL files should be now in the Prefs/Env-Archive/EGL_wrap directory

2) there should be no need for that second copy command, enough to have previous one, which will copy Prefs/Env-Archive/EGL_Wrap to Sys:Prefs/Env-Archive/EGL_Wrap, just all the LIBGL files should be placed there, and not in the Sys:Prefs/Env-Archive/ , as it then still copies as before

I double checked, it still copy those LIBGL files to the wrong place in the root of env-archive.

Maybe you just upload old version, and not new one ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Reborn return to castle Wolfenstein
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Rhooooo!!!! excuse me the problem is just on installer.
Now i have fixed an envarc internal functions.
I create a new archive for you
Please wait 10 minutes
HunoPPC

AmigaOS 4.1 Rulez
Resized Image
Go to top
Re: Reborn return to castle Wolfenstein
Not too shy to talk
Not too shy to talk


See User information
@kas1e

It's good now

Best regards

HunoPPC

AmigaOS 4.1 Rulez
Resized Image
Go to top
Re: Reborn return to castle Wolfenstein
Home away from home
Home away from home


See User information
@Huno
Yeah, now all fine , thanks :)

Also checked your new reboorn_sp : yeah, new env works fine and i was able to catch necessary shaders with it, thanks !

ps. And Mattew says he will send you privately links on beta version of Nova now


Edited by kas1e on 2019/4/2 23:27:16
Edited by kas1e on 2019/4/2 23:27:50
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post
« 1 ... 3 4 5 (6) 7 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project