20 Nov 2019 - TVDB Scraper v3.2.0 is now available which reinstates scraping. TVDB are still in the process of fixing a number of bugs so there may still be further breakages. See this post. 2901570 (post)

  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 10
  •   
1Ghz CPU Xbox but XBMC reads it as 733mhz, help fixing?
#1
Question 
For those who are interested I'm a member over at XS and my thread about this Xbox is here -> http://forums.xbox-scene.com/index.php?s...4313&st=60

Basically I need help with XBMC recognizing the 1ghz processor. At the moment it reads it as a 733mhz Xbox.

I figure I would need to compile my own version of XBMC, so I have the XDK/Vis. Pro. 2003/and XBMC Toolkit. But I'm not sure of my next step.

Can anyone help me with this? Like what to edit or what not.

Thanks,Wink
~IrishLad
#2
RTFM & start reading code... lots and lots of code
Image
#3
HarshReality Wrote:RTFM & start reading code... lots and lots of code
I have a feeling this might take me a while...
#4
Wasn't meanin to sound sarcastic... this question has come up several times before and every time the powers that be were reluctant to assist at all (mainly as they have no hardware to confirm settings).
Image
#5
More and more people are getting this cpu upgrade done. It would be great if XBMC could support it Smile

I would consider upgrading my xbox if I knew xmbc would run ok on it.
#6
finas Wrote:More and more people are getting this cpu upgrade done. It would be great if XBMC could support it Smile

I would consider upgrading my xbox if I knew xmbc would run ok on it.

where can you get the CPU & RAM upgrade from?
1: Nvidia Shield TV (2017) 16GB - 2: Beelink MinixMXIII II - 3: Beelink MinixMXIII II - 4: Beelink MinixMXIII II
NAS: unRAID 6.3 Pro • Case (NZXT H440) • MB (MBD-X7SBE with SIM1U+) • CPU (Xeon X3360) • RAM (4x2GB DDR2) • SATA (6 On MB, 8 AOC-SAT2-MV8) • PSU (EVGA SUPERNOVA 650 G2) • HDD (2 x Toshiba 3TB parity, 6 x WD Red 3TB xfs, 1 x 512GB SSD cache)  • UPS (APC BR1000G)
#7
Msan Wrote:where can you get the CPU & RAM upgrade from?
Trusty, he is a member at Xbox Scene and here I believe...

He is in China and shipping costs are upwards of $100. Be advised!

PHP Code:
int model = (dwStandard >> 4) & 0xF;

    if( 
model == 11 )
    {
      
//This is likely the DreamX 1480      
      //so only support fullspeed mode
      
lFrequency 1481200000;
    }
    else
    {      
      
QueryPerformanceFrequency((LARGE_INTEGER*)&lFrequency);
    } 
So that looks like the code I need to edit.

My CPU is the Intel Pentium CopperMine.

Anyone have any idea how to find the 10 digit CPU speed of my 1ghz? Is it formed from some equation or...

Thanks for any help!
#8
First thing to do would be to put a breakpoint in that code and check what model is. Or you could simply put a debug log line in there instead.

Then you just need the number - try googling for this sort of thing and see what you turn up.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
#9
@TheIrishLad, do a search in this forum for "1ghz" and you will find posts by trusty, then you can search all posts by "trusty", he asked the same question before.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
#10
Gamester17 Wrote:@TheIrishLad, do a search in this forum for "1ghz" and you will find posts by trusty, then you can search all posts by "trusty", he asked the same question before.
The funny thing about that is I bought the Xbox from him. He never really got a definitive answer or solution in his posts. Partially because his English and descriptions were a bit hazy.

Jmarshall- Thanks for the advice but I don't really have any coding experience unfortunately. Sad I did search around for tutorials but I'm still in the dark.

I have a friend who does a bit of C+++ coding I'll ask him if he can help.

Thanks for the help,
~IrishLad
#11
Forgot to Add, This is the processor -> http://processorfinder.intel.com/details...Spec=SL5TF
#12
Got it all from loading up Gentoox and KDE and looking through InfoCenter, which runs very smoothly.

Processor : 0
CPU_Family : 6
Model : 8
Stepping : 6
CPU MHZ : 999.985
CPUid Level : 2
Bogomips : 1992.29

I think I can infer from the code for the DreamX :
PHP Code:
// stdafx.cpp : source file that includes just the standard includes
// guiTest.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"
#undef QueryPerformanceFrequency

__int64 lFrequency 0LL;
WINBASEAPI BOOL WINAPI QueryPerformanceFrequencyXbox(LARGE_INTEGER *lpFrequency)
{
  if( 
lFrequency == 0LL )
  {
    
DWORD dwStandard;
    
_asm {
      
// get the Standard bits
      
mov eax1
      cpuid
      mov dwStandard
eax
    
}

    
int model = (dwStandard >> [color=Red]6[/color]) & 0xF;

    if( 
model == [color=Red]8[/color] )
    {
      
//This is likely the DreamX 1480      
      //so only support fullspeed mode
      
lFrequency = [color=Red]9999850000[/color];
    }
    else
    {      
      
QueryPerformanceFrequency((LARGE_INTEGER*)&lFrequency);
    }
  }

  (*
lpFrequency).QuadPart lFrequency;
  return 
TRUE;

Given the DreamX's specs:

Processor : 0
CPU_family : 6
Model : 11
Stepping : 4
CPU MHz : 1512.005
CPUid level : 2
Bogomips : 3014.65

For reference Retail Xbox's Bogomips : 1461.45

Changes too the code are in red. Am I on the right track or completely off here?
#13
I don't really know, but seems like maybe it should be 0999985000 instead of 9999850000 since the first digit is kind of like the gigahertz digit, and then it goes down from there, if you look at the dreamx cpu digits maybe it will make sense....

1481200000
0999985000

That fits I think....whereas, if you put in what you had

1481200000
9999850000

That makes it look like you have almost a 10 ghz processor. Of coures, I could totally be wrong about this. Maybe it looks at it in a different way I'm not thinking about.
#14
Sounds reasonable.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
#15
I just tried compiling with it 0999985000 instead of 9999850000 and I got some errors and it ended up saying the xbe wouldn't build. Here's the end of the log. Says the digit 9 was illegal for base 8? These are the only errors in the whole log. I'm trying it again right now with it as 9999850000 but I kind of doubt that will make a difference.

Code:
stdafx.cpp
xbmc\stdafx.cpp(27) : error C2041: illegal digit '9' for base '8'
xbmc\stdafx.cpp(27) : error C2041: illegal digit '9' for base '8'
xbmc\stdafx.cpp(27) : error C2041: illegal digit '9' for base '8'
xbmc\stdafx.cpp(27) : error C2041: illegal digit '9' for base '8'
xbmc\stdafx.cpp(27) : error C2041: illegal digit '8' for base '8'
KaiItem.cpp
CueDocument.cpp
Credits.cpp
BuddyItem.cpp
ArenaItem.cpp
Application.cpp
Compiling for XBOX: e:\xbox stuff\xbmc components\xbmc build\xbmc\xbmc\xbox\XKExports.h
Compiling for XBOX: e:\xbox stuff\xbmc components\xbmc build\xbmc\xbmc\xbox\XKUtils.h
Compiling for XBOX: e:\xbox stuff\xbmc components\xbmc build\xbmc\xbmc\xbox\XKGeneral.h
Compiling for XBOX: e:\xbox stuff\xbmc components\xbmc build\xbmc\xbmc\xbox\XKRC4.h
Compiling for XBOX: e:\xbox stuff\xbmc components\xbmc build\xbmc\xbmc\xbox\XKSHA1.h
Compiling for XBOX: e:\xbox stuff\xbmc components\xbmc build\xbmc\xbmc\xbox\XKCRC.h

Results
         

Build log was saved at "file://e:\Xbox stuff\XBMC Components\Xbmc build\Xbmc\Release\BuildLog.htm"
xbmc - 5 error(s), 0 warning(s)
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 10
  •   
 
Thread Rating:
  • 2 Vote(s) - 4 Average



Logout Mark Read Team Forum Stats Members Help
1Ghz CPU Xbox but XBMC reads it as 733mhz, help fixing?42