Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The Logo icon identifies that the person is a core developer (has commit access).

#rockbox log for 2015-01-21

00:00:52saratogalooks fine to me but i'm too busy to commit it right now
00:01:01saratogaif someone else is avaiilable to fix red, i say go for it
00:01:30[Franklin]eh... :/
00:04:10[Franklin]sobukus: do you feel G#887 is "good to go"?
00:04:13fs-bluebotGerrit review #887 at : Enhancement of the metronome plugin: by Thomas Orgis
00:06:15 Quit amayer (Quit: Leaving)
00:08:14 Nick suYin`OFF is now known as suYin (
00:14:45 Quit ender1 (Quit: If you're going to do something tonight that you'll be sorry for tomorrow morning, sleep late.)
00:23:10 Quit edhelas (Quit: Quitte)
00:24:45 Quit daftsam (Quit: Page closed)
00:25:16 Quit AlexP (Remote host closed the connection)
00:32:14 Quit krabador (Quit: Take the time.)
00:32:40 Quit bertrik (Remote host closed the connection)
00:34:39 Join krabador [0] (~krabador_@unaffiliated/krabador)
00:37:13 Quit xorly (Ping timeout: 272 seconds)
00:38:24 Quit Scromple (Ping timeout: 244 seconds)
00:53:21 Join Scromple [0] (~Simon@
00:54:22 Join skrzyp [0] (
00:54:31 Part skrzyp ("WeeChat 1.2-dev")
00:55:13 Join sisel4 [0] (lysy@unaffiliated/sisel4)
01:02:11[Franklin]I really need to figure out how to stop the flickering in xracer at long distances
01:02:18[Franklin]fog would be one option
01:12:46foolshcurrent gerrit? want me to run it on the two targets I have, give you some feed back?
01:12:54[Franklin]wait a sec
01:13:23[Franklin]what targets?
01:13:36foolshsansa e2XX and fuze+
01:14:02[Franklin]ok, watch out for some FOV distortion on the e2XX
01:14:10[Franklin]I've only tested on 320x240 screens
01:17:16 Quit TheLemonMan (Quit: leaving)
01:17:38 Quit RiD (Quit: A good plan today is better than a perfect plan tomorrow.)
01:18:38foolsh"** No rule to make target rockbox/apps/plugins/bitmaps/native/xracer_sprites.bmp"
01:18:45foolshits a clean build directory
01:18:48***Saving seen data "./dancer.seen"
01:19:15[Franklin]it's not used yet
01:20:11[Franklin]you could probably just edit bitmaps/native/SOURCES and remove the xracer_sprites.bmp line
01:21:16foolshalready did
01:22:17foolshheh, rename it to racerx ;)
01:22:51[Franklin]nah, I want it to be at the bottom of the list :P
01:23:44[Franklin]oh and btw you can move the camera up and down now
01:23:50[Franklin]just for fun
01:24:04foolshokay I see the jitter on the fuze+ when you go into a curve
01:24:32[Franklin]hmm yeah
01:24:54[Franklin]not sure why
01:25:05foolshcould override the back light timeout to
01:25:16[Franklin]sure ;)
01:26:02foolshmaybe decreasing the view didstance might help, I'll pop in some numbers and see
01:26:13[Franklin]the jitter?
01:26:34[Franklin]I doubt it
01:27:19[Franklin]I see what's causing the jitter
01:28:13[Franklin]lets see if I can fix it
01:29:46foolshwow runs surprisingly better than the fuze+, on my ten year old e280
01:29:53foolshno jitter I can see
01:30:01[Franklin]probably the framerate
01:30:10[Franklin]framerate is very dependent on screen size
01:30:18[Franklin]it runs max FPS on clip zip :D
01:31:05*foolsh needs this to support the e2XX's scollwheel as a steering device ;)
01:31:50[Franklin]I thought about that
01:31:56[Franklin]ipod's too
01:33:20 Quit greatwolf (Remote host closed the connection)
01:33:31 Join the-kyle [0] (
01:34:13[Franklin]ok... I'm trying something extremely stupid
01:34:24[Franklin]floating-point numbers for x, dx and ddx
01:34:29foolshso just aother normal day?
01:34:36[Franklin]yep :P
01:34:41[Franklin]and... it works
01:34:52[Franklin]except it's /SLOW/
01:34:54foolshha, then it wasn't stupid
01:35:02foolshto late
01:35:07[Franklin]it needs a floating-point addition every segment
01:35:17[Franklin]not every render like before
01:35:29[Franklin]so... fixed-point time
01:36:31[Franklin]the curves are super smooth now:)
01:37:24[Franklin]I hate myself for this code
01:41:04[Franklin]foolsh: how's the performance now?
01:41:08 Quit ZincAlloy (Quit: Leaving.)
01:43:55[Franklin]any fixed-point experts here?
01:45:02[Franklin]can you take a look at my attempted conversion from floats to fixed here:
01:50:58foolshmuch smoother on the fuze+, kinda slowish but not bad, no jitter
01:51:24[Franklin]ehh... with overhead from other stuff it'd be unacceptable
01:51:33[Franklin]i.e. sprites
01:52:27foolshalmost looks to run at the same speed on the e280 as the fuze+ did, so it kind of regulated itself?
01:52:39[Franklin]no, it's the floating-point overhead :(
01:52:54[Franklin]I need to get it into fixed-point somehow
01:53:20foolshthe view distance on the fuze+ is crazy i can see two curses away sometimes
01:53:41[Franklin]play with it and see what you can do
01:54:04foolshthe e280 is the same just can't make it out :D
01:57:57foolshDRAW_DIST of 128 looks fine, I can still see pretty far ahead
01:58:22[Franklin]what was it?
01:58:23foolshrun s abit faster
02:00:32 Join Strife89 [0] (
02:01:43foolshI'm gonna try 64 and see
02:03:33foolshI like a draw distance 128 better than 63
02:03:37 Quit gevaerts (Ping timeout: 252 seconds)
02:04:13 Quit evilnick (Ping timeout: 265 seconds)
02:05:34foolshalso didn't see any noticable performance gain on my target, with 64 verses 128, but I did see one with 128 verses 512
02:06:18[Franklin]more segments drawn = more time
02:06:41 Join greatwolf [0] (greatwolf@gateway/shell/panicbnc/x-bcalhsitncuqgcak)
02:08:21foolshof course, begs the quesetion how few can you get away with and still give an impression of realism :)
02:09:02[Franklin]perhaps I'll tie it to the screen size
02:10:40 Join evilnick [0] (~evilnick@rockbox/staff/evilnick)
02:10:45 Join gevaerts [0] (~fg@rockbox/developer/gevaerts)
02:11:15foolshthat would work
02:13:58 Join Waitwhat [0] (
02:14:49WaitwhatHello, I was hoping you'd be able to help with my Rockbox'd Fuze? I can't get it to power on, even with the hard reset. I connect it to my PC and it says it's a 4MB RAW drive, can't format
02:15:14WaitwhatThe flash chip might be dead, but I figure I'd try other methods before I pitch it
02:17:07foolshWaitwhat: I think there is a boot loader that will run rockbox from the SD card but the one's who would really know are asleep during these hours, if you can try your question in about 12 hours
02:18:29[Franklin]who? o_O
02:19:09foolshask pamaury
02:24:41 Nick suYin is now known as suYin`OFF (
02:32:52 Quit Waitwhat (Ping timeout: 276 seconds)
02:51:28 Quit chrisb (Ping timeout: 264 seconds)
03:10:59 Quit [Franklin] (Quit: Lost terminal)
03:18:50***Saving seen data "./dancer.seen"
05:18:52***No seen item changed, no save performed.
05:37:03 Quit krabador (Quit: Take the time.)
05:52:04 Quit Strife89 (Ping timeout: 252 seconds)
05:57:41 Quit TheSeven (Ping timeout: 265 seconds)
05:59:01 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven)
07:18:57***Saving seen data "./dancer.seen"
07:27:20 Join mortalis [0] (~kvirc@
08:31:44 Join ender1 [0] (
08:33:48 Join petur [0] (~petur@rockbox/developer/petur)
09:01:34 Join [1]ender [0] (
09:01:35 Quit ender1 (Ping timeout: 276 seconds)
09:06:46 Quit [1]ender (Ping timeout: 252 seconds)
09:07:26 Quit ender` (Ping timeout: 276 seconds)
09:11:21 Join ender` [0] (krneki@
09:13:26 Join ender^ [0] (krneki@2a01:260:4094:1:42:42:42:42)
09:19:01***Saving seen data "./dancer.seen"
09:28:51 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
09:55:59 Join maruk1 [0] (
10:19:51 Quit pamaury (Ping timeout: 240 seconds)
10:21:06 Join LinusN [0] (
10:27:30 Quit krnlyng (Ping timeout: 272 seconds)
10:28:22 Join krnlyng [0] (~liar@
10:30:27 Join kiwicam [0] (
10:55:53 Join AlexP [0] (~alex@rockbox/staff/AlexP)
11:19:04***Saving seen data "./dancer.seen"
11:31:57 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
11:55:09 Join einhirn [0] (
12:04:57 Quit ender^ (Quit: Odhajam)
12:05:08 Join ender| [0] (krneki@2a01:260:4094:1:42:42:42:42)
12:34:17 Join wodz [0] (
13:19:05***Saving seen data "./dancer.seen"
13:26:24 Join RiD [0] (
14:04:30 Join JdGordon [0] (
14:04:30 Quit JdGordon (Changing host)
14:04:30 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
14:05:38 Quit JdGordon_ (Ping timeout: 245 seconds)
14:07:38 Quit maruk1 (Quit: Leaving.)
14:24:31 Quit greatwolf (Ping timeout: 245 seconds)
14:34:03 Join greatwolf [0] (greatwolf@gateway/shell/panicbnc/x-eumfacotbrxcphyl)
14:50:13 Quit adnap (Ping timeout: 245 seconds)
14:51:13 Join adnap [0] (
15:11:24 Join amayer [0] (
15:14:53 Quit petur (Ping timeout: 264 seconds)
15:15:45 Join petur [0] (~petur@rockbox/developer/petur)
15:19:08***Saving seen data "./dancer.seen"
15:27:18 Join petur2 [0] (
15:27:19 Quit petur (Read error: Connection reset by peer)
15:27:33 Nick petur2 is now known as p3tur (
15:27:42 Quit p3tur (Changing host)
15:27:42 Join p3tur [0] (~petur@rockbox/developer/petur)
15:27:50 Nick p3tur is now known as petur (~petur@rockbox/developer/petur)
15:27:58 Quit bluebrother (Disconnected by services)
15:28:03 Join bluebrother [0] (~dom@rockbox/developer/bluebrother)
15:28:27 Join TheLemonMan [0] (
15:28:44 Quit TheLemonMan (Changing host)
15:28:44 Join TheLemonMan [0] (~lemonboy@unaffiliated/thelemonman)
15:30:51 Quit fs-bluebot (Ping timeout: 240 seconds)
15:32:31 Join fs-bluebot [0] (
15:38:38 Quit dfkt (Remote host closed the connection)
15:38:48 Quit petur (Read error: Connection reset by peer)
15:38:53 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
15:39:21 Join petur [0] (~petur@rockbox/developer/petur)
15:41:52 Quit cmhobbs (Remote host closed the connection)
15:41:52 Quit dfkt (Read error: Connection reset by peer)
15:43:20 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
16:04:43 Quit petur (Read error: Connection reset by peer)
16:04:43 Quit dfkt (Read error: Connection reset by peer)
16:04:52 Join petur [0] (~petur@rockbox/developer/petur)
16:05:02 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
16:11:09 Join Strife89 [0] (
16:11:10 Quit dfkt (Read error: Connection reset by peer)
16:12:01 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
16:17:35 Part LinusN
16:19:15 Quit dfkt (Read error: Connection reset by peer)
16:19:48 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
16:31:39 Quit Strife89 (Ping timeout: 244 seconds)
16:38:55 Quit dfkt (Remote host closed the connection)
16:39:49 Quit petur (Quit: *plop*)
16:45:32 Join cmhobbs [0] (~cmhobbs@fsf/member/cmhobbs)
16:57:38 Quit cmhobbs (Remote host closed the connection)
17:10:01 Join krabador [0] (~krabador_@unaffiliated/krabador)
17:19:11***Saving seen data "./dancer.seen"
17:20:51 Quit saratoga (Ping timeout: 246 seconds)
17:36:57 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
17:41:53 Quit Jinx (Quit: reboot)
17:41:53 Quit dfkt (Read error: Connection reset by peer)
17:43:13 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
18:09:53 Join xorly [0] (
18:09:53 Quit dfkt (Read error: Connection reset by peer)
18:11:13 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
18:16:07 Quit krabador (Quit: Take the time.)
18:16:07 Quit dfkt (Read error: Connection reset by peer)
18:16:38 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
18:21:32 Quit ender` (Quit: Everything we know about the Devil has been told us by the the friends of God.)
18:21:33 Quit dfkt (Read error: Connection reset by peer)
18:21:57 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
18:24:29 Join ender` [0] (
18:26:21 Quit dfkt (Read error: Connection reset by peer)
18:26:41 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
18:35:08 Join krabador_ [0] (
18:35:08 Quit dfkt (Read error: Connection reset by peer)
18:35:46 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
18:37:21 Quit krabador_ (Read error: Connection reset by peer)
18:37:21 Quit dfkt (Read error: Connection reset by peer)
18:37:58 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
18:41:20 Join krabador_ [0] (
18:41:20 Quit krabador_ (Client Quit)
18:43:17 Quit dfkt (Read error: Connection reset by peer)
18:43:50 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
18:48:01 Join krabador [0] (~krabador_@unaffiliated/krabador)
18:48:01 Quit dfkt (Read error: Connection reset by peer)
18:48:49 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
18:50:26 Quit mortalis (Ping timeout: 264 seconds)
18:50:26 Quit dfkt (Read error: Connection reset by peer)
18:51:42 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
18:53:54 Quit wodz (Quit: Leaving)
18:55:41 Quit dfkt (Read error: Connection reset by peer)
18:55:56 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
18:58:43 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier.
18:58:43 Quit dfkt (Read error: Connection reset by peer)
19:00:02 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
19:01:50 Quit ender` (Quit: There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence. -- Jeremy S. Anderson)
19:01:50 Quit dfkt (Read error: Connection reset by peer)
19:02:09 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
19:08:29 Quit dfkt (Remote host closed the connection)
19:10:25 Join ender` [0] (
19:19:15***Saving seen data "./dancer.seen"
19:22:51 Join lebellium [0] (
19:50:06 Join bertrik [0] (~quassel@rockbox/developer/bertrik)
19:56:17 Quit xorly (Ping timeout: 264 seconds)
19:56:18 Join ender [0] (
19:58:50 Quit ender` (Ping timeout: 264 seconds)
20:00:18 Join petur [0] (~petur@rockbox/developer/petur)
20:08:15 Quit AlexP (Remote host closed the connection)
20:08:51 Join y4n [0] (~y4n@unaffiliated/y4ndexx)
21:07:31 Quit byteframe (Quit: Deuces.)
21:14:01 Join byteframe [0] (~byteframe@unaffiliated/byteframe)
21:19:17***Saving seen data "./dancer.seen"
21:54:38 Quit y4n (Quit: MOTHER EUROPA CALLING ME!)
22:16:18 Join edhelas [0] (
22:23:27 Join cmhobbs [0] (~cmhobbs@
22:23:50 Quit cmhobbs (Changing host)
22:23:50 Join cmhobbs [0] (~cmhobbs@fsf/member/cmhobbs)
22:36:53 Quit petur (Quit: Leaving)
22:39:17 Join ZincAlloy [0] (
22:41:33 Quit edhelas (Ping timeout: 265 seconds)
22:44:06 Join [Franklin] [0] (~franklin@unaffiliated/franklin)
22:48:34[Franklin]can someone help me with a fixed-point conversion?
22:50:32 Quit cmhobbs (Remote host closed the connection)
22:56:12 Join edhelas [0] (
23:00:37gevaerts[Franklin]: what's the problem?
23:00:42*gevaerts isn't an expert
23:01:19 Join cmhobbs [0] (~cmhobbs@fsf/member/cmhobbs)
23:03:41[Franklin]first of all, am I getting the integer to fixed-point conversions right?
23:04:18[Franklin]so fixed = integer << FRACBITS?
23:07:51 Quit amayer (Quit: Leaving)
23:07:54[Franklin]and then to convert it back to an integer I just do fixed >> FRACBITS?
23:08:11gevaertsBut (although this bit of code is much too short to know if you're doing that) I'd say keep everything in the appropriate scale, and don't shift bits until you really need to
23:08:21gevaertsYes. Just think of what the bits mean :)
23:08:27[Franklin]just making sure
23:08:44gevaertsHow, in decimal, do you convert from meters to centimeters?
23:08:56gevaertsAnd how do you convert back?
23:09:00[Franklin]x100, /100
23:09:04gevaertsThis is *exactly* the same
23:09:20gevaertsYes, except you do it by moving zeroes in or out :)
23:09:33[Franklin]I'd say that base_percent needs fixed-point because it goes from 0 to 1
23:09:56[Franklin]how about negating a fixed-point number? just as normal?
23:10:15gevaertsYou have to be careful with the bit shifts
23:11:01gevaertsWell, check what << FRACBITS and >> FRACBITS do to the sign bit
23:11:11gevaertsI can't remember right now
23:13:23[Franklin]-1 << 8 = -256
23:13:30[Franklin]as I'd expect
23:17:29gevaerts"The result of E1 >> E2 is E1 right-shifted E2 bit positions. If E1 has an unsigned type or if E1 has a signed type and a nonnegative value, the value of the result is the integral part of the quotient of E1 / 2 E2 . If E1 has a signed type and a negative value, the resulting value is implementation-defined."
23:18:05[Franklin]I'm negating after doing the calculation
23:18:14[Franklin]so long dx = - fp_mul(...)
23:19:06[Franklin]but... the product of fp_mul can possibly be negative
23:19:20***Saving seen data "./dancer.seen"
23:20:15gevaertsThis is where you need experts. These things almost certainly depend on what the CPU does, and I don't know what our CPUs do here
23:20:43[Franklin]so stick with floats for now?
23:21:00[Franklin]then what?
23:21:00gevaertsUnless you want slow :)
23:21:09gevaertsFind out!
23:21:12[Franklin]slow and smooth or fast and jittery?
23:21:34gevaertsFast and smooth
23:21:47[Franklin]but how? o_O
23:22:00gevaertsBy not using floating point!
23:22:07gevaerts(and doing things properly)
23:23:48[Franklin]hmm... it's working!
23:24:05[Franklin]it was the interpolation function that was messed up, it seems
23:24:55[Franklin]but... no curves!?
23:24:59[Franklin]it's not working then
23:25:53[Franklin]oh and it is working again...
23:26:02[Franklin]I needed to shift the ddx value left by FRACBITS too
23:28:03[Franklin]but the interpolation function is broken
23:32:51 Quit cmhobbs (Remote host closed the connection)
23:36:29[Franklin]finally fixed it
23:36:39[Franklin]turns out it was an order-of-operations error
23:37:55[Franklin]foolsh: can you test the latest patch set to see how it performs?
23:48:59 Join dfkt [0] (~dfkt@unaffiliated/dfkt)

Previous day | Next day