Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
163 user(s) are online (127 user(s) are browsing Forums)

Members: 2
Guests: 161

skynet, Gregor, more...

Headlines

 
  Register To Post  

« 1 ... 3 4 5 (6) 7 8 9 ... 36 »
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@kas1e
You are right. I thought you were talking about the loading during startup. It really cut map loading time, plus now I'm able to get ingame with just 512MB RAM :P Sweet!

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@BSzili

i think we will need to make a small bounty for make you have 1 or 2gb pegasos II :)

Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@tlosm
Don't worry, I already ordered an another 512MB module of the same brand, model, etc. Only Rev. 2B5 Pegasos II motherboards work reliably with 2GB RAM, so I'm limited to 1GB, but it will be more than enough.

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Not too shy to talk
Not too shy to talk


See User information
@BSzili

nice work with rttr..

i did have a look at the linux port of Fallout 2 (falltergeist).. its c++ and sdl, but does it need warp3d?

we with newer gpu card don't have warp3d yet, and would like to play some rpg on my AmigaOne:))

just asking

Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@noXLar
You will probably be able to play RTTR using Wazp3D + MiniGL, since it's a 2D game.

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Not too shy to talk
Not too shy to talk


See User information
@BSzili

alright, cool.. hope it would be fast enough for my sam460, i realy like RTTR

Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@noXLar
There's no harm in trying :) falltergeist is on my list, and unless they have moved to C++11 recently it should be portable.

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Not too shy to talk
Not too shy to talk


See User information
@BSzili

i will off course try, i not home from work just yet.. almost 3 weeks left. just in time for cristmas:)

its better to have a complete full working port than 5 not so good port.

keep up the good work:)

Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
(Off-topic)
Quote:
Sometime it happens also in vorbis's ov_read() fucntion , which also want to know Endianes and bring such kind of distortion too.

@kas1e

I've also noticed occasional strange output from that. Does libvorbis on MorphOS do this? First time that I remember anyone else mentioning this issue.

Go to top
Re: BSzili port requests
Home away from home
Home away from home


See User information
@Thematic
Quote:

I've also noticed occasional strange output from that. Does libvorbis on MorphOS do this? First time that I remember anyone else mentioning this issue.


Its just sometime coders use vorbisfile's ov_read without worrying about endianes, and then we need to change it manually (but in most cases authors worry about it). Check ov_read itself, parametr 4 is to set big or little endian, so some coders just put there 0 and do not worry about big endianes.

Morphos port of vorbisfile there reacts the same as aos4 one, as its in general no problem of vorbisfile port, but how authors of code to port use it.

I deal with it when port DccNightmare game , even asking of forum about and post a solution as well (there).

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: BSzili port requests
Not too shy to talk
Not too shy to talk


See User information
Hello guys

You can also use Wazp3D for his debugger
Select
Enable Debugger
Debug Function
Debug Var name
Debug Var value
Debug Error
But as WaZp3D got less limitations you should not have all the WaRp3D errors ...so not so usefull


Also disabling
HardwareDriver Lie
TexFmt Lie
may help as WaZp3D will then report errors on his unimplemented features (like say stencil) else will just pretend (lie) that it can do it too
Also use renderer: Soft to bitmap because this renderer implement almost all features (not like Compositing2D)
It will be slow but not a problem for debugging on a g4


Note that often texture sizes are limited to 256x256 on Amigaish systems (btw this kind of prog should better use compositing to draw a big rectangular background)
You can obtain a list of implemented Warp3D features (and texture sizes) for a peculiar Warp3D driver with Aminet/Cow3D debug output



If the glcontext is closed then the following glDeleteTextures() calls are useless as the textures have (should) been freed on VRAM

Alain Thellier



Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@thellier
The problem here is not the size of the texture, but the way MiniGL handles it. In other implementations' glteximage2d resamples the textures, which are larger than GL_MAX_TEXTURE_SIZE, while MiniGL silently fails to load them. That's why I have to add manual scaling for these textures.

edit: OK, the problem is a little different. MiniGL/Warp3D claims to support 2048x2048 textures, but when the game tries to load the menu background it fails. It looks like I have to hardcode an 1024x1024 texture limit. The driver shouldn't lie about the max supported texture size, this can lead to a lot of confusion.

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Home away from home
Home away from home


See User information
@BSZili
Quote:

The driver shouldn't lie about the max supported texture size, this can lead to a lot of confusion.


If you can make a simple test case which show the error, i can easy make BZ for and attach it to.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@kas1e
There's no need for me to make one, it can be reproduced with any OpenGL program. You just have to replace one of the textures with a 2048x2048 one.

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Home away from home
Home away from home


See User information
@BSZili
Even simple and primitive test cases always need it. If i will write in bz "go and try any opengl program and change texture on 2048x2048" it will be too general and devs will not worry about it for years.

Anyway, to what should i add bz ? To minigl or to warp3d ? And what should be done instead : should driver just saying that 2048x2048 its too much and exit with error, or just skip it in silence, or , re-scale it internally to something which can be handled ? And on what call exactly it fail : did it allow to load texture , but can't handle later, or, it just looks like it load (without error) but in reality there is nothing in memory but just an random trash ? How it done on other implementations ?

Some simple test case which just load 2048x2048 texture with point out what is exactly wrong and where and how it should be, will for sure help, so devs can in fast way check it and see that it indeed wrong and not something with code.

I from myself just remember that 2048x2048 textures can be handled by old bvision cards, while for example vodoo3 ones was limited to 512x512. Dunno about those radeons92xx..

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@kas1e
This is not some obscure hard to reproduce bug. MiniGL advertises to support 2048x2048 textures, but it won't load them. If you want me to make a test case, then it can be arranged. I just googled "opengl textured quad", and this is what come up: http://www.gamedev.net/page/resources ... ping-an-introduction-r947

edit: Again, this is not about the texture size supported by the hardware, but the inconsistency in minigl.

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Home away from home
Home away from home


See User information
@BSzili

I just experimented with the multitex demo in the miniGL archive and I can confirm that things go wrong if you icrease the door texture size to 2048 pixels square, it locks up for this demo rather that failing silent;y.

I added

int size;
    
glGetIntegerv(GL_MAX_TEXTURE_SIZE,&size);
    
printf("max text size %ld\n",size);


To the demo and it returns 2048

Textures larger than 1024 are certainly supported by the hardware though as if not compositing wouldn't work with windows > 1024 pixels.

It's warp3d that returns the 2048 value as can be seen in the minigl code here:

case GL_MAX_TEXTURE_SIZE:
                        *
data ++ = FROM_INT(IWarp3D->W3D_Query(context->w3dContextW3D_Q_MAXTEXWIDTH0));
                        break;




Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@broadblues
Thanks for confirming this.

@all
New test version: http://www24.zippyshare.com/v/15301278/file.htm
It should fix most of the problems mentioned before. Network play, and singleplayer against bots should work. There's one catch though, you can't save/load the game without getting unknown errors. The crashes happen mostly at random delete calls. Anyone knows what causes these type of errors? How could I debug this? And no, it's not causes by the small stack

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Home away from home
Home away from home


See User information
@BSzili

Tested:

Sounds now works as well as by default optimized textures turned off, cool. But:

-- pressing on "credit" in game menu crash game (with null-pointer access, see "DAR" register), once all data files for credits loads. Stack trace point out on dskCredits():

Dump of context at 0xEFD95BA0
Trap type
DSI exception
Machine State 
(raw): 0x0200F030
Machine State 
(verbose): [ExtInt on] [User] [FPU on] [IAT on] [DAT on]
Instruction pointer0x7EFDC254
Crashed process
s25client (0x66C7E7E0)
DSI verbose error descriptionAccess not found in hash or BAT (page fault)
Access was a load operation
 0
00000000 63A18D30 DEADBEEF 00000000 00000008 668793F8 FB494000 0004D13B
 8
: 00000078 63D87888 000D3419 00000000 000F4240 63C93C50 00000000 65E726C0
16
7F46AD80 00000000 68362420 639CE320 02290000 02290000 00000000 00000001
24
6FF90000 00000001 59955E99 00000073 7F047768 5E204390 639CE300 63A18D30
CR
39953E53   XERE000BE6F  CTR01C00334  LR7EFDC20C
DSISR
40000000  DAR00000000

FP0 
FFF8000082004000 4170000000000000 4038000000000000 0000000000000000
FP4 
3FF0000000000000 4079000000000000 4079000000000000 4072C00000000000
FP8 
3FF0000000000000 0000000000000000 40E0001FE0000000 3FD5400000000000
FP12
4038000000000000 4038000000000000 0000000000000000 0000000000000000
FP16
0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP20
0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP24
0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP28
0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR
82004000

V0 
00000000000000000000000000010000 FF010101FF010101FF010101FF010101
V2 
FF010101FF010101FF010101FF010101 FF010100FF010100FF010100FF010100
V4 
FF010100FF010100FF010100FF010100 01000100010001000100010001000100
V6 
FF010100FF010100FF010100FF010100 FF010101FF010101FF010101FF010101
V8 
FF010101FF010101FF010101FF010101 FF010101FF010101FF010101FF010101
V10
01010101010101010101010101010101 08090A0B0C0D0E0F1011121314151617
V12
FF010101FF010101FF010101FF010101 FF010101FF010101FF010101FF010101
V14
: 001002120414061608180A1A0C1C0E1E 01000100010001000100010001000100
V16
FF0BFF07FF0BFF07FF0BFF07FF0BFF07 FF000000FF000000FF000000FF000000
V18
FE010000FE010000FE010000FE010000 FF010101FF010101FF010101FF010101
V20
00000000000000000000000000000000 00000000000000000000000000000000
V22
00000000000000000000000000000000 00000000000000000000000000000000
V24
00000000000000000000000000000000 00000000000000000000000000000000
V26
00000000000000000000000000000000 00000000000000000000000000000000
V28
00000000000000000000000000000000 00000000000000000000000000000000
V30
00000000000000000000000000000000 00000000000000000000000000000000
VSCR
00010000 VRSAVE00000000

Kernel command line
serial munge

Registers pointing to code
:
r9 _ZN9SingletonI6LoaderE2meE()+0x34 (section 25 0xFB574)
r13_ZZN10S25Message4sendEP6SocketE6buffer()+0x6bec (section 25 0x793C)
r16main()+0x0 (section 8 0x697B48)
r23module LIBS:Warp3D/HWdrivers/W3D_R200.library at 0x00000001 (section 0 0xFFFFFFDC)
r25module LIBS:Warp3D/HWdrivers/W3D_R200.library at 0x00000001 (section 0 0xFFFFFFDC)
r28_ZN11dskMainMenu15Msg_ButtonClickEj()+0x0 (section 8 0x274530)
ip _ZN10dskCreditsC1Ev()+0x5440 (section 8 0x20901C)
lr _ZN10dskCreditsC1Ev()+0x53f8 (section 8 0x208FD4)
ctrnative kernel module timer.device.kmod+0x00000294

Stack trace
:
(
0x63A18D30_ZN10dskCreditsC1Ev()+0x5440 (section 8 0x20901C)
(
0x63A19590_ZN10dskCreditsC1Ev()+0x53f8 (section 8 0x208FD4)
(
0x63A19740_ZN10ctrlButton10Msg_LeftUpERK11MouseCoords()+0x148 (section 8 0x114064)
(
0x63A19770_ZN9S25Window17RelayMouseMessageEMS_FbRK11MouseCoordsES2_()+0x1ec (section 8 0x9C2E04)
(
0x63A197B0_ZN13WindowManager10Msg_LeftUpERK11MouseCoords()+0xc8 (section 8 0x9D939C)
(
0x63A197F0_ZN8VideoSDL11MessageLoopEv()+0x4a8 (section 8 0xA3B3B4)
(
0x63A19850_ZN18VideoDriverWrapper3RunEv()+0x6c (section 8 0x9AFFF8)
(
0x63A19870_ZN11GameManager3RunEv()+0x10c (section 8 0x35991C)
(
0x63A19A60main()+0x1008 (section 8 0x698B50)
(
0x63A19D00native kernel module newlib.library.kmod+0x000020a4
(0x63A19D70native kernel module newlib.library.kmod+0x00002d0c
(0x63A19F10native kernel module newlib.library.kmod+0x00002ee8
(0x63A19F50_start()+0x170 (section 8 0x16C)
(
0x63A19F90native kernel module dos.library.kmod+0x00024e58
(0x63A19FC0native kernel module kernel+0x0006acd0
(0x63A19FD0native kernel module kernel+0x0006ad50

Disassembly of crash site
:
 
7EFDC2444800000C   b                 0x7EFDC250
 7EFDC248
38000000   li                r0,0
 7EFDC24C
901F06C8   stw               r0,1736(r31)
 
7EFDC250817F06C8   lwz               r11,1736(r31)
>
7EFDC254812B0000   lwz               r9,0(r11)
 
7EFDC25839290008   addi              r9,r9,8
 7EFDC25C
80090000   lwz               r0,0(r9)
 
7EFDC2607C0903A6   mtctr             r0
 7EFDC264
380000A0   li                r0,160
 7EFDC268
901F03C8   stw               r0,968(r31)
Stack pointer (0x63A18D30is 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


-- switching from window to full screen in the game's option, open a game on full screen but fully broken: everything "white" with some strange yellow strips, check screenshot:

Resized Image

in debug log of debug's warp3d there is a looot of warnings in loop of that kind:

Quote:

[RebindTextures] Warning: rebinding texture that does not exist


-- if i just run game from shell, and press on exit without loading any maps, then in shell i have:

Quote:

***Command 's25client' returned with unfreed signal 06000000!



@Andy
Can you plz create BZ for bug BSZili found ?


Edited by kas1e on 2013/11/28 6:50:30
Edited by kas1e on 2013/11/28 6:51:58
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@kas1e
The credit crash is a known issue, and I'll fix it soon. I'm more worried about the one when I try to save/load games.
I can't fix the other one, it looks like Warp3D/MiniGL and SDL's on-the-fly fullscreen switching don't play nice together. I'll disable that, e.g. you'll have to restart the game to switch to fullscreen.

This is just like television, only you can see much further.
Go to top

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

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project