Homebrew Any chance for overclocked VWii?

Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,912
Country
Australia
Actually loadiine has 3D-stuff in it :P
(Yeah I now what you mean)
Was about to say the same thing. Most of dimok's GX2-enabled homebrew actually uses hardware rendering. Even HBL does that!

As an example, software rendering in HBL might look something like this:
Code:
//Assuming everything's already been magic'd down to pixel data
void draw(Element** elementList, int elementListLength) {
    unsigned char* pix_buf = malloc(SCREEN_BUFFER_SIZE);

    for (int i = 0; i < elementListLength; i++) {
        Element* e = elementList[i];

        //Draw to *buffer in memory*
        //You obviously wouldn't use memcpy for this, because you're not insane, right?
        //This is more for illustration of what's going on conceptually. You'll have to imagine that it wraps pixel lines.
        memcpy(pix_buf[e->offset], e->pixelData, e->pixelDataLength);
    }

    GX2PutADamnImageOnScreen(pix_buf, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT); //helper function
}
You'll note that it draws everything to a buffer that's the size of the screen and then sends the complete image to the graphics card.

However, when super simplified, HBL's rendering stuff looks more like this:
Code:
void draw(Element** elementList, int elementListLength) {
    for (int i = 0; i < elementListLength; i++) {
        Element* e = elementList[i];

        GX2PutADamnImageOnScreen(e->pixelData, e->x, e->y, e->width, e->height);
    }
}

As you can see, each individual element gets sent to the graphics card, well, individually. It's then up to the graphics card to put together some pixel data to send out to the screen. Being a graphics card, it's quite good at this.
This was an insanely simple example. In the real world, your elements aren't all pixel data, and you don't want to stick with 2D. This doesn't even take much advantage of the hardware, and is definitely optimized for a bunch of prerendered images (did someone say HBL?) Loadiine's cover flow is properly 3D, however, with models and everything.
 

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,889
Country
United States
gx2 is too diferent from gx they arent compatible at all so gx2 wouldnt benefict gx, unless someone made a wraper of gx inside gx2 wich no one will make.
I was talking about putting the post-rendered image from the gx into the gx2 so additional post-processing effects, like scaling, blurring, scanlines, etc can be applied.
 

pedro702

Well-Known Member
OP
Member
Joined
Mar 3, 2014
Messages
12,722
Trophies
2
Age
33
XP
8,710
Country
Portugal
Well, if we can unlock cores, speed, and memory with IOSU exploit, why wouldn't we able to unlock GX2 also?
wecant unlock memory the wiiu ram memory is also locked away and such, the only thing we can possibly unlock is the clock speed since if on wiiu side we patch the multiply value when initiating vwii the core wont underclock itself when it starts vwii.
 
  • Like
Reactions: uyjulian
D

Deleted User

Guest
wecant unlock memory the wiiu ram memory is also locked away and such, the only thing we can possibly unlock is the clock speed since if on wiiu side we patch the multiply value when initiating vwii the core wont underclock itself when it starts vwii.
Everything is possible when you have time and you actually want to do it.
When flashable OS becomes a thing, then we will probably see it :P
 
  • Like
Reactions: uyjulian
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,912
Country
Australia
Everything is possible when you have time and you actually want to do it.
When flashable OS becomes a thing, then we will probably see it :P
Everything is possible except for clearing set-only flags without a system reset. There's a reason fail0overflow's "hack Wii U from vWii" thing didn't work out...
 

pedro702

Well-Known Member
OP
Member
Joined
Mar 3, 2014
Messages
12,722
Trophies
2
Age
33
XP
8,710
Country
Portugal
like i said fix94 said he found a function called cpu multiply if we can change this value when starting vwii we would get full clock speed like we can on n3ds.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    ZeroT21 @ ZeroT21: horny jail is full la