#wine-staging

/

      • AmineKhaldi
        that would be great yeah
      • just to maintain versioning
      • slackner
        AmineKhaldi: yep
      • AmineKhaldi: btw, just curious, but has ROS also wow64 stuff implemented ?
      • AmineKhaldi
        I don't think so no
      • towo` has quit
      • we're focusing on trunk (32bit)
      • due to limited resources
      • c10ud has quit
      • puk bangs head on desk
      • puk
        fork() failed: Resource temporarily unavailable
      • slackner
        puk: your new pc? seems like the issue is more critical than you thought
      • puk
        now i need to bump up the system limits to have -j12 work correctly
      • nah
      • something in ulimit
      • no clue yet if its
      • max user processes (-u) 4096
      • open files (-n) 1024
      • \
      • DarkPlayer
        puk:
      • michael@cyberman:~$ ulimit -u
      • 63643
      • michael@cyberman:~$ ulimit -n
      • 1024
      • puk
        yeah, it is the process limit
      • argh
      • lol
      • spawn -j$NR_PAR
      • and forgot to set $NR_PAR
      • DarkPlayer
        this should result in a good multithreading test ;-)
      • puk
        it was fast
      • :)
      • and box is fine
      • but -j12 was fast enough too
      • without fork bombing the box
      • slackner: and the box boots lately
      • it even rebooted nicely once
      • slackner
        puk: ah, already thought it could be related to the other issues you have with that box
      • when its just the software its possible to fix it of course ;)
      • jarkko
        any idea where to download small .avi file for a testing purpose?
      • slackner
        AmineKhaldi: http://ix.io/gGa
      • AmineKhaldi: could you please test the patch (on top of 1.7.37)? if it works i am going to add the changes to wine-staging
      • AmineKhaldi
        sure, sec
      • slackner
        AmineKhaldi: the struct in reactos also doesn't match exactly the docs, but i think it should be good enough
      • austin987 has quit
      • AmineKhaldi
        the ndk one ?
      • slackner
        yes
      • austin987 joined the channel
      • fracting joined the channel
      • AmineKhaldi
        slackner: EXCEPTION_REGISTRATION_RECORD
      • no Prev
      • slackner
        AmineKhaldi: oh, more complication errors? :/
      • AmineKhaldi
        yeah
      • slackner
        what does the reactos struct look like ?
      • ah, found it
      • fracting has quit
      • lol, on reactos its "Next" instead of "Prev"
      • AmineKhaldi
      • (Class Variable Details)
      • AmineKhaldi wonders from where do this stuff get into Wine this way
      • ehoover
        AmineKhaldi: wine policy prohibits us from looking at anything that might be MS-derived code
      • slackner
        AmineKhaldi: i assume this part of wine is much older than any of the header files you mentioned above, either MS renamed it in the past
      • AmineKhaldi: or wine devs even reverse engineered it
      • AmineKhaldi
        ehoover: that's not only impractical, it's also impossible
      • because you can't do much without at least checking native headers
      • tell me how asm falls into stefan dosinger's mind then, when it comes to wined3d ?
      • :)
      • ehoover
        AmineKhaldi: headers are a gray area, but most of the time we can get that data from MSDN or from an application that uses the header
      • AmineKhaldi
        that's Ms derived in my book
      • MS*
      • ehoover
        it's kind of a game of "figure out how this works with both hands tied behind your back and one eye poked out"
      • AmineKhaldi: somehow MSDN and other apps don't count, you'd have to ask the lawyers
      • AmineKhaldi
        yet if you trace this app to see how windows interacts with it, it's a no
      • ehoover
        ^^ i don't make the rules
      • i just follow them
      • AmineKhaldi
        we all do, but that doesn't mean we enjoy doing so
      • ehoover
        begrudgingly
      • very begrudgingly
      • AmineKhaldi googles this word
      • "very reluctantly"
      • slackner
        AmineKhaldi: lot of the code in this header file is from 1997, 1999, ... not really surprised that it doesn't match the definition of newer windows versions
      • fracting joined the channel
      • AmineKhaldi: not sure if this can be fixed easily in wine, it affects a lot of files i think
      • AmineKhaldi: might be easier to make it an anonymous union in your header files
      • AmineKhaldi
        can I have the changes for just virtual.c ?
      • and apply them in ros
      • slackner
        AmineKhaldi: sure, here are the test changes separately: http://ix.io/gGc
      • AmineKhaldi
        frame.Handler = guard_page_handler;
      • slackner
        AmineKhaldi: whats the problem with that line? (btw, these are all no staging changes, you guys should sync more often *g* ;) )
      • AmineKhaldi
        virtual.c(1672) : error C2440: '=' : cannot convert from 'DWORD (__cdecl *) (EXCEPTION_RECORD ,EXCEPTION_REGISTRATION_RECORD ,CONTEXT ,EXCEPTION_REGISTRATION_RECORD **)' to 'PEXCEPTION_ROUTINE'
      • I changed all Prev to Next
      • but this field (Handler) has another structure type
      • another type*
      • jarkko
        AmineKhaldi: what directx version reactos is aiming?
      • slackner
        AmineKhaldi: i assume another difference between the wine and reactos definitions, gcc would complain otherwise
      • AmineKhaldi
        hmm, 9 I guess, I'm not sure
      • slackner: oh it does
      • slackner
        AmineKhaldi: i mean when compiling wine
      • AmineKhaldi
        I just favored msvc for the clear diagnosis
      • slackner
        AmineKhaldi: can you show the definition for PEXCEPTION_ROUTINE
      • AmineKhaldi
        ah, yeah
      • the same structure
      • ok, sec
      • slackner
        AmineKhaldi: thx, taking a look - btw, do you guys not use the ntdll tests ? they contain similar code since a very long time
      • AmineKhaldi
        hmm we do
      • let me see
      • no changes about exception stuff
      • but it uses winternl header
      • and wine/exception.h
      • this guard_page_handler look like it could simply be casted
      • slackner
        well, except the NTAPI, which should be defined as STDCALL, right?
      • AmineKhaldi
        right
      • that means stack corruption
      • :)
      • can't guard_page_handler be set stdcall ?
      • slackner
        AmineKhaldi: sure, but i am still wondering why wine has defined it different
      • but it seems like exception handlers have an integrated protection against stack corruption
      • "movl %ebp, %esp\n\t" /* restore saved stack, in case it was corrupted */
      • nevertheless, it should probably also be fixed in wine if the header files really say something different
      • AmineKhaldi
        I think I'll try to somehow use winternl until we fix all this
      • slackner
        but for now you should be fine with casting and/or changing the declaration
      • AmineKhaldi
        (instead of using ndk...etc)
      • SECTION_BASIC_INFORMATION
      • is the first member pvoid or ulong ?
      • slackner
        AmineKhaldi: pvoid
      • AmineKhaldi
        ok
      • titan38 has left the channel
      • phew! compiles
      • with winternl but still
      • i30817 joined the channel
      • i30817
        Republique Remasted has no sound at all, tried with dsound and directx9 overrides. It uses unity5.
      • austin987
        slackner, btw, if you have any GSOC ideas, please update the wiki (I see DarkPlayer already did)
      • of course, others can too :)
      • AmineKhaldi
        oh hey austin987 ;)
      • austin987
        of course, it should be something that can go into upstream wine, not something wine-staging specific
      • howdy AmineKhaldi
      • slackner
        austin987: well, in theory there is no "wine-staging specific task", upstream wine and wine-staging are both affected by the same bugs ;)
      • austin987: and under a different maintainer, a separate staging tree would have been never necessary ... ;)
      • austin987: but thats a different story ;) will think about some ideas and update the wiki soon
      • chriundcla has quit
      • ehoover
        austin987, slackner: quartz cleanup ;)
      • slackner
        ehoover: .... uuh, don't want to mentor such a task, lol
      • ehoover
        when's the mentor deadline? ;)
      • slackner
        ehoover: afaik the list of ideas should already be "final", but its not really important anyway
      • ehoover: because students can also suggest their own ideas
      • austin987
        eh, it's always good to add more ideas, but yes, we prefer students suggest their own
      • Andre_H has quit