+ Reply to Thread
Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 51

Thread: CPU/GPU bug thread

  1. #11
    Wirererer Borsty's Avatar
    Join Date
    Apr 2007
    Posts
    109

    Default Re: CPU/GPU bug thread

    gpu_opcodes: Opcode 244 (DSETLIGHT)
    self.Lights[Param1]["col"] = self:Read3f(Param2+4) //Color
    should be
    self.Lights[Param1]["col"] = self:Read3f(Param2+3) //Color
    since you're only reading 3f values as position
    «You're thinking with wires»

  2. #12
    Age
    Age is offline
    Wirererer Age's Avatar
    Join Date
    Mar 2007
    Location
    Ukraine
    Posts
    159

    Default Re: CPU/GPU bug thread

    This line:
    Code:
    vector2f rect_size,ss:#ebp,ss:#ebp;
    produces this:
    Code:
    ----> ZyeliosASM compiler - Version 2.0 (SVN REV 0) <----
    -> ZyeliosASM: Compiling...
    -> ZyeliosASM: Pass 1
    -> Error at line 21: Internal error #ASHSXCH (or maybe not, did you insert some weird character into wrong place?)
    -> ZyeliosASM: Pass 2
    -> ZyeliosASM: Compile aborted: fatal error has occured
    Assigning parameters one by one works.

    Should it be so?

  3. #13
    That furred thing Black Phoenix's Avatar
    Join Date
    Feb 2007
    Location
    Kyiv, Ukraine
    Posts
    3,565

    Default Re: CPU/GPU bug thread

    Yes, because vector2f is assembler macro, not an opcode. You can only have constants as its parameters.
    What you want is
    mov #rect_size.x,ss:#ebp
    mov #rect_size.y,ss:#ebp
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

  4. #14
    Wire Amateur field_medic's Avatar
    Join Date
    Apr 2007
    Posts
    85

    Default Re: CPU/GPU bug thread

    I was experimenting with the following code to draw a quick line (for a gauge later on):

    Code:
    dclr;
    
    dcolor c1;
    dline linex,liney;
    
    
    dexit;
    
    vector2f center,256,256;  // center as reference
    vector2f linex,50,50;  //line point one
    vector2f liney,256,256;  //line point 2
    color c1,255,255,255;  //White
    And it compiles fine, but then the console SPAMS this error:

    Code:
    entities\gmod_wire_gpu\gpu_vm.lua:577: attempt to perform arithmetic on global 'vd' (a nil value)
    Until I undo the screen. I tried out my existing program (which is essentially a complex radar screen) and it was fine (no lines, thin rects for lines). I am using the most latest SVN build as of 10/9/2008

  5. #15
    That furred thing Black Phoenix's Avatar
    Join Date
    Feb 2007
    Location
    Kyiv, Ukraine
    Posts
    3,565

    Default Re: CPU/GPU bug thread

    Quote Originally Posted by Borsty View Post
    gpu_opcodes: Opcode 244 (DSETLIGHT)

    should be

    since you're only reading 3f values as position
    Should not, 4th coordinate is reserved for attenuation, or maybe something else. Light's W component is reserved for brightness.
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

  6. #16
    Wire Noob WireGod's Avatar
    Join Date
    Sep 2008
    Posts
    21

    Default Re: CPU/GPU bug thread

    I can't get the GPU to work.... Everytime i upload a program to the GPU, nothing happens. Even the console is empty. The Screen itself shows GPU Error = 2. I've tried it yesterday too, the console showed the following:

    -> Error at line 3: Internal error #SAHZ8, report to black phoenix. Data:
    -> ZyeliosASM: Compile aborted: fatal error has occured

    Anyone can help me?
    (I'm from germany and my english is not perfect)

  7. #17
    Wire Amateur Brian's Avatar
    Join Date
    May 2007
    Location
    Texas
    Posts
    35

    Default Re: CPU/GPU bug thread

    Does the GPU's membus work? I hooked it up to 64-store and tried to write a value to it and read it back (assuming it begins at 65536), and got an Internal Processor Error.

    I think you mentioned something about this in another thread, but for the life of me I can't find it.

  8. #18
    Wire Sofaking Hitman271's Avatar
    Join Date
    Feb 2008
    Location
    Why? You looking for somebody?
    Posts
    731

    Default Re: CPU/GPU bug thread

    Quote Originally Posted by Brian View Post
    Does the GPU's membus work? I hooked it up to 64-store and tried to write a value to it and read it back (assuming it begins at 65536), and got an Internal Processor Error.

    I think you mentioned something about this in another thread, but for the life of me I can't find it.
    First off, the gpu can't write to the outside world as yet(?).
    Secondly, the cpu/gpu doesn't write to a n-store, it writes to a flash ram. Goto the advanced part of the wire menu to find the ram.
    Quote Originally Posted by Anticept View Post
    This is not some place where you can toss your dick around and expect people to suck it.
    Community Gpu Thread. Post Yours!

    Bouncy Ball

  9. #19
    Wire Amateur Brian's Avatar
    Join Date
    May 2007
    Location
    Texas
    Posts
    35

    Default Re: CPU/GPU bug thread

    Quote Originally Posted by Hitman271 View Post
    Secondly, the cpu/gpu doesn't write to a n-store, it writes to a flash ram. Goto the advanced part of the wire menu to find the ram.
    I'm fairly certain the 64-store is RAM, it's just small. Certainly works alright with the regular CPU. I think most (if not all) of the stuff under Chips-Memory is hi-speed compatible.
    Last edited by Brian; 10-13-2008 at 07:22 PM.

  10. #20
    Wire Noob squizzle's Avatar
    Join Date
    Aug 2008
    Posts
    3

    Default Re: CPU/GPU bug thread

    Hello, I keep getting a error on the GPU screen whenever I upload a program to it. I used the bounce.txt program and cube.txt program everytime and it always gives me that error on the GPU screen

    GPU Error = 2 ...

    Error = Unexpected end of program.

    All I do is upload the basic bounce.txt to the GPU, no extra wiring.

    I searched the forums and saw no solutions posted. Anyone know what could be wrong?

+ Reply to Thread
Page 2 of 6 FirstFirst 1234 ... LastLast

Similar Threads

  1. Longest Thread Ever!!1one (junk thread)
    By Jat Goodwin in forum Off-Topic
    Replies: 13258
    Last Post: 4 Hours Ago, 04:41 PM
  2. Aircraft thread
    By Black Phoenix in forum Finished contraptions
    Replies: 47
    Last Post: 05-04-2010, 04:42 AM
  3. GPU thread + other big updates
    By Black Phoenix in forum CPU, GPU, and Hi-speed Discussion & Help
    Replies: 100
    Last Post: 12-06-2008, 02:24 AM
  4. Another vector help thread
    By dpidcoe in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 11-28-2008, 10:38 AM
  5. The One-Upping thread
    By LuaPineapple in forum Off-Topic
    Replies: 24
    Last Post: 03-31-2008, 03:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots