]> git.sesse.net Git - nageru/log
nageru
8 years agoRelease Nageru 1.2.1. 1.2.1
Steinar H. Gunderson [Fri, 15 Apr 2016 20:45:55 +0000 (22:45 +0200)]
Release Nageru 1.2.1.

8 years agoMake it possible to schedule cuts using SIGHUP.
Steinar H. Gunderson [Fri, 15 Apr 2016 20:35:41 +0000 (22:35 +0200)]
Make it possible to schedule cuts using SIGHUP.

8 years agoAlways flush after setting a fence, since we could otherwise get unbounded delay...
Steinar H. Gunderson [Thu, 14 Apr 2016 08:24:26 +0000 (10:24 +0200)]
Always flush after setting a fence, since we could otherwise get unbounded delay. (Also, used to confuse apitrace, but that is fixed already.)

8 years agoSet one fence less in the case of non-zerocopy H.264 encoding.
Steinar H. Gunderson [Tue, 12 Apr 2016 17:21:30 +0000 (19:21 +0200)]
Set one fence less in the case of non-zerocopy H.264 encoding.

8 years agoAdd an option to not flush PBOs explicitly; causes apitrace not to store the data...
Steinar H. Gunderson [Sun, 10 Apr 2016 13:27:37 +0000 (15:27 +0200)]
Add an option to not flush PBOs explicitly; causes apitrace not to store the data to its trace, speeding it up massively.

8 years agoAdd usage information on invalid option or --help.
Steinar H. Gunderson [Sun, 10 Apr 2016 13:21:15 +0000 (15:21 +0200)]
Add usage information on invalid option or --help.

8 years agoMake fade progress actually go from 0 to 1, despite sigmoid at the end.
Steinar H. Gunderson [Sat, 9 Apr 2016 13:27:55 +0000 (15:27 +0200)]
Make fade progress actually go from 0 to 1, despite sigmoid at the end.

8 years agoSlightly better error message when get_chain() returns something bogus.
Steinar H. Gunderson [Sat, 9 Apr 2016 12:40:54 +0000 (14:40 +0200)]
Slightly better error message when get_chain() returns something bogus.

8 years agoExpose MultiplyEffect to themes.
Steinar H. Gunderson [Sat, 9 Apr 2016 12:39:03 +0000 (14:39 +0200)]
Expose MultiplyEffect to themes.

8 years agoFix reading of PNG images.
Steinar H. Gunderson [Sat, 9 Apr 2016 12:25:09 +0000 (14:25 +0200)]
Fix reading of PNG images.

8 years agoRefresh ImageInputs from disk every second. Not the most efficient or elegant way...
Steinar H. Gunderson [Sat, 9 Apr 2016 11:59:46 +0000 (13:59 +0200)]
Refresh ImageInputs from disk every second. Not the most efficient or elegant way of doing it, but it works for now.

8 years agoMake load_image() return nullptr instead of exit()-ing.
Steinar H. Gunderson [Sat, 9 Apr 2016 10:44:41 +0000 (12:44 +0200)]
Make load_image() return nullptr instead of exit()-ing.

Will be used when we implement image reload support soon.
In the process, RAII-ify everything in load_image(), so that
we can return nullptr at any given place without being worried
about resource leaks.

In the process, get rid of some deprecated FFmpeg API use.

8 years agoFix an issue where data would get corrupted if the client asked for chunked transfer...
Steinar H. Gunderson [Thu, 7 Apr 2016 21:00:08 +0000 (23:00 +0200)]
Fix an issue where data would get corrupted if the client asked for chunked transfer-encoding.

8 years agoRelease Nageru 1.2.0. 1.2.0
Steinar H. Gunderson [Wed, 6 Apr 2016 20:58:53 +0000 (22:58 +0200)]
Release Nageru 1.2.0.

8 years agoUpdate README for changed mux.
Steinar H. Gunderson [Wed, 6 Apr 2016 20:52:15 +0000 (22:52 +0200)]
Update README for changed mux.

8 years agoFix AV_PKT_FLAG_KEY behavior; non-IDR I-frames are not keyframes (they lack SPS infor...
Steinar H. Gunderson [Tue, 5 Apr 2016 21:02:48 +0000 (23:02 +0200)]
Fix AV_PKT_FLAG_KEY behavior; non-IDR I-frames are not keyframes (they lack SPS information), and all audio frames are keyframes.

8 years agoHook up some keyboard shortcuts for the transition buttons.
Steinar H. Gunderson [Tue, 5 Apr 2016 19:24:11 +0000 (21:24 +0200)]
Hook up some keyboard shortcuts for the transition buttons.

8 years agoSmall clarification in a variable name.
Steinar H. Gunderson [Tue, 5 Apr 2016 16:57:00 +0000 (18:57 +0200)]
Small clarification in a variable name.

8 years agoFix video in saved files.
Steinar H. Gunderson [Tue, 5 Apr 2016 16:56:43 +0000 (18:56 +0200)]
Fix video in saved files.

8 years agoAdd red and green borders around channels to mark them as used for live and preview.
Steinar H. Gunderson [Mon, 4 Apr 2016 21:46:11 +0000 (23:46 +0200)]
Add red and green borders around channels to mark them as used for live and preview.

8 years agoAdd an option --flat-audio to start with almost all the audio processing turned off.
Steinar H. Gunderson [Mon, 4 Apr 2016 19:32:12 +0000 (21:32 +0200)]
Add an option --flat-audio to start with almost all the audio processing turned off.

8 years agoAdd a command-line option to change themes.
Steinar H. Gunderson [Mon, 4 Apr 2016 19:27:26 +0000 (21:27 +0200)]
Add a command-line option to change themes.

8 years agoAdd support for uncompressed video instead of H.264 (while still storing H.264 to...
Steinar H. Gunderson [Mon, 4 Apr 2016 19:22:26 +0000 (21:22 +0200)]
Add support for uncompressed video instead of H.264 (while still storing H.264 to file).

Note that microhttpd and VLC is really inefficient for large data amounts, so
this is not actually a CPU win right now.

8 years agoFix a problem where the nut output would come way too uneven, given the VLC instance...
Steinar H. Gunderson [Sun, 3 Apr 2016 22:55:12 +0000 (00:55 +0200)]
Fix a problem where the nut output would come way too uneven, given the VLC instance too much to do at some times and too little others.

8 years agoFix yet another memory leak in the serving part.
Steinar H. Gunderson [Sun, 3 Apr 2016 20:10:11 +0000 (22:10 +0200)]
Fix yet another memory leak in the serving part.

8 years agoRemove some obsolete commented-out code.
Steinar H. Gunderson [Sun, 3 Apr 2016 19:07:52 +0000 (21:07 +0200)]
Remove some obsolete commented-out code.

8 years agoYet more ffmpeg leak fixes (one of them was created recently, though).
Steinar H. Gunderson [Sun, 3 Apr 2016 19:07:41 +0000 (21:07 +0200)]
Yet more ffmpeg leak fixes (one of them was created recently, though).

8 years agoFix infinite memory growth in the nut muxer.
Steinar H. Gunderson [Sun, 3 Apr 2016 17:26:56 +0000 (19:26 +0200)]
Fix infinite memory growth in the nut muxer.

8 years agoFix a memory leak in muxing.
Steinar H. Gunderson [Sun, 3 Apr 2016 15:39:10 +0000 (17:39 +0200)]
Fix a memory leak in muxing.

8 years agoChange mux to nut; mov seems to have issues in the VLC transcoding step.
Steinar H. Gunderson [Sun, 3 Apr 2016 15:38:35 +0000 (17:38 +0200)]
Change mux to nut; mov seems to have issues in the VLC transcoding step.

8 years agoAdd global headers if the mux wants it. (Although I am not sure if it might be a...
Steinar H. Gunderson [Sun, 3 Apr 2016 14:17:08 +0000 (16:17 +0200)]
Add global headers if the mux wants it. (Although I am not sure if it might be a lie for the H.264 stream...)

8 years agoAdd some (commented out) page poisoning code, for debugging use-after-free.
Steinar H. Gunderson [Sun, 3 Apr 2016 13:52:32 +0000 (15:52 +0200)]
Add some (commented out) page poisoning code, for debugging use-after-free.

8 years agoFix an issue in the H264 encoder where a surface could be rendered to while it was...
Steinar H. Gunderson [Sun, 3 Apr 2016 10:55:06 +0000 (12:55 +0200)]
Fix an issue in the H264 encoder where a surface could be rendered to while it was still encoding the previous frame.

8 years agoSome named constant tweaking in h264encode.cpp.
Steinar H. Gunderson [Sat, 2 Apr 2016 23:33:44 +0000 (01:33 +0200)]
Some named constant tweaking in h264encode.cpp.

8 years agoAdd a warning if we should start allocating more surfaces for the H.264 encoder.
Steinar H. Gunderson [Sat, 2 Apr 2016 23:18:01 +0000 (01:18 +0200)]
Add a warning if we should start allocating more surfaces for the H.264 encoder.

8 years agoTiny alias cleanup.
Steinar H. Gunderson [Sat, 2 Apr 2016 23:02:52 +0000 (01:02 +0200)]
Tiny alias cleanup.

8 years agoTweak queue length policy to avoid pointless safe point increases.
Steinar H. Gunderson [Sat, 2 Apr 2016 22:34:02 +0000 (00:34 +0200)]
Tweak queue length policy to avoid pointless safe point increases.

8 years agoCleanup: Remove the last case of non-refcounted fences.
Steinar H. Gunderson [Sat, 2 Apr 2016 22:14:53 +0000 (00:14 +0200)]
Cleanup: Remove the last case of non-refcounted fences.

8 years agoRevert back to glFlushMappedBufferRange; buggy on ATI or not, glMemoryBarrier is...
Steinar H. Gunderson [Sat, 2 Apr 2016 20:42:30 +0000 (22:42 +0200)]
Revert back to glFlushMappedBufferRange; buggy on ATI or not, glMemoryBarrier is only for changes from the server to the client, not the only way around.

8 years agoFix an integer wraparound issue.
Steinar H. Gunderson [Sat, 2 Apr 2016 18:17:30 +0000 (20:17 +0200)]
Fix an integer wraparound issue.

8 years agoClearly mark card type in the description.
Steinar H. Gunderson [Sat, 2 Apr 2016 17:29:23 +0000 (19:29 +0200)]
Clearly mark card type in the description.

8 years agoMake it possible to choose which card is the master clock.
Steinar H. Gunderson [Sat, 2 Apr 2016 17:27:01 +0000 (19:27 +0200)]
Make it possible to choose which card is the master clock.

8 years agoAnother split-out from thread_func; this time schedule_audio_resampling_tasks().
Steinar H. Gunderson [Sat, 2 Apr 2016 15:36:55 +0000 (17:36 +0200)]
Another split-out from thread_func; this time schedule_audio_resampling_tasks().

8 years agoMore splitting of functions out of thread_func().
Steinar H. Gunderson [Sat, 2 Apr 2016 15:26:53 +0000 (17:26 +0200)]
More splitting of functions out of thread_func().

8 years agoA little refactoring in render_one_frame().
Steinar H. Gunderson [Sat, 2 Apr 2016 15:10:15 +0000 (17:10 +0200)]
A little refactoring in render_one_frame().

8 years agoRemove an outdated/misplaced comment.
Steinar H. Gunderson [Sat, 2 Apr 2016 14:44:49 +0000 (16:44 +0200)]
Remove an outdated/misplaced comment.

8 years agoAdd a system for queue length policies, so that we have as little as possible (but...
Steinar H. Gunderson [Sat, 2 Apr 2016 13:22:11 +0000 (15:22 +0200)]
Add a system for queue length policies, so that we have as little as possible (but no less) delay between inputs.

8 years agoMake a symbolic constant for master_card_index, instead of writing 0 everywhere.
Steinar H. Gunderson [Sat, 2 Apr 2016 12:44:33 +0000 (14:44 +0200)]
Make a symbolic constant for master_card_index, instead of writing 0 everywhere.

8 years agoMake the internal frame queue multiframe.
Steinar H. Gunderson [Sat, 2 Apr 2016 12:35:56 +0000 (14:35 +0200)]
Make the internal frame queue multiframe.

This essentially moves the queue from the driver until our own mixer;
mainly because we want to measure the queue length, but it also gets
rid of the rather ugly card_copy concept.

8 years agoFix crashes when cards deliver empty audio frames (especially 0-channel).
Steinar H. Gunderson [Fri, 1 Apr 2016 21:06:07 +0000 (23:06 +0200)]
Fix crashes when cards deliver empty audio frames (especially 0-channel).

8 years agoAllow setting the video and audio inputs runtime.
Steinar H. Gunderson [Fri, 1 Apr 2016 21:00:50 +0000 (23:00 +0200)]
Allow setting the video and audio inputs runtime.

8 years agoStart a mux only on a keyframe, so that transcoding clients do not get too confused.
Steinar H. Gunderson [Fri, 1 Apr 2016 08:34:32 +0000 (10:34 +0200)]
Start a mux only on a keyframe, so that transcoding clients do not get too confused.

8 years agoDelete streams when they are closed (prevents memory leak on disconnecting clients).
Steinar H. Gunderson [Thu, 31 Mar 2016 22:07:59 +0000 (00:07 +0200)]
Delete streams when they are closed (prevents memory leak on disconnecting clients).

8 years agoFix issues with newer ffmpeg.
Steinar H. Gunderson [Thu, 31 Mar 2016 18:57:35 +0000 (20:57 +0200)]
Fix issues with newer ffmpeg.

8 years agoAdd an option to scan through all possible modes for the PCI cards, as a substitute...
Steinar H. Gunderson [Fri, 4 Mar 2016 22:52:37 +0000 (23:52 +0100)]
Add an option to scan through all possible modes for the PCI cards, as a substitute for autodetection.

8 years agoMake the theme print out the resolution even if there is no signal. Useful for the...
Steinar H. Gunderson [Fri, 4 Mar 2016 22:49:05 +0000 (23:49 +0100)]
Make the theme print out the resolution even if there is no signal. Useful for the coming scanning stuff.

8 years agoAdd a menu option where the user can change the input resolution.
Steinar H. Gunderson [Fri, 4 Mar 2016 22:02:10 +0000 (23:02 +0100)]
Add a menu option where the user can change the input resolution.

8 years agoAdd a way to get the current video mode.
Steinar H. Gunderson [Fri, 4 Mar 2016 00:28:19 +0000 (01:28 +0100)]
Add a way to get the current video mode.

8 years agoTweak get_available_video_modes() interface.
Steinar H. Gunderson [Fri, 4 Mar 2016 00:24:10 +0000 (01:24 +0100)]
Tweak get_available_video_modes() interface.

8 years agoActually store the list of video modes.
Steinar H. Gunderson [Fri, 4 Mar 2016 00:16:16 +0000 (01:16 +0100)]
Actually store the list of video modes.

8 years agoMake drivers capable of delivering a list of modes, and setting them.
Steinar H. Gunderson [Thu, 3 Mar 2016 23:22:00 +0000 (00:22 +0100)]
Make drivers capable of delivering a list of modes, and setting them.

8 years agoNever send in a frame rate of 0/0.
Steinar H. Gunderson [Thu, 3 Mar 2016 00:48:01 +0000 (01:48 +0100)]
Never send in a frame rate of 0/0.

8 years agoPull in a bmusb bug fix.
Steinar H. Gunderson [Sun, 28 Feb 2016 17:47:19 +0000 (18:47 +0100)]
Pull in a bmusb bug fix.

8 years agoFix an off-by-one in the indexing.
Steinar H. Gunderson [Sun, 28 Feb 2016 15:50:38 +0000 (16:50 +0100)]
Fix an off-by-one in the indexing.

8 years agoAdd a simpler theme to help beginners.
Steinar H. Gunderson [Sun, 28 Feb 2016 15:47:19 +0000 (16:47 +0100)]
Add a simpler theme to help beginners.

8 years agoSome theme comment updates.
Steinar H. Gunderson [Sun, 28 Feb 2016 15:46:43 +0000 (16:46 +0100)]
Some theme comment updates.

8 years agoPut the white balance after scaling; sometimes saves a bounce.
Steinar H. Gunderson [Sun, 28 Feb 2016 12:20:31 +0000 (13:20 +0100)]
Put the white balance after scaling; sometimes saves a bounce.

8 years agoFix SBS for non-1280x720 resolutions.
Steinar H. Gunderson [Sun, 28 Feb 2016 11:50:32 +0000 (12:50 +0100)]
Fix SBS for non-1280x720 resolutions.

8 years agoAdd missing DeckLink file.
Steinar H. Gunderson [Sun, 28 Feb 2016 01:07:46 +0000 (02:07 +0100)]
Add missing DeckLink file.

8 years agoAdd AVX2 and SSE2 fastpaths to the DeckLink PCI driver.
Steinar H. Gunderson [Sat, 27 Feb 2016 15:56:07 +0000 (16:56 +0100)]
Add AVX2 and SSE2 fastpaths to the DeckLink PCI driver.

8 years agoAdd audio support for the DeckLink inputs.
Steinar H. Gunderson [Sat, 27 Feb 2016 15:22:20 +0000 (16:22 +0100)]
Add audio support for the DeckLink inputs.

8 years agoSend the audio format explicitly down, not just the ID.
Steinar H. Gunderson [Sat, 27 Feb 2016 15:08:01 +0000 (16:08 +0100)]
Send the audio format explicitly down, not just the ID.

8 years agoUse the new has_signal flag.
Steinar H. Gunderson [Sat, 27 Feb 2016 12:32:09 +0000 (13:32 +0100)]
Use the new has_signal flag.

8 years agoWe need Movit 1.3.1 due to vbo_generate().
Steinar H. Gunderson [Sat, 27 Feb 2016 12:18:29 +0000 (13:18 +0100)]
We need Movit 1.3.1 due to vbo_generate().

8 years agoAdd support for DeckLink PCI cards through the official driver.
Steinar H. Gunderson [Sat, 27 Feb 2016 12:17:14 +0000 (13:17 +0100)]
Add support for DeckLink PCI cards through the official driver.

8 years agoDeck in the relevant (and free) parts of the DeckLink API.
Steinar H. Gunderson [Sat, 27 Feb 2016 12:16:36 +0000 (13:16 +0100)]
Deck in the relevant (and free) parts of the DeckLink API.

8 years agoRefactor card setup into its own function.
Steinar H. Gunderson [Sat, 27 Feb 2016 11:52:08 +0000 (12:52 +0100)]
Refactor card setup into its own function.

8 years agoInteract with BMUSBCapture through CaptureInterface.
Steinar H. Gunderson [Sat, 27 Feb 2016 01:27:39 +0000 (02:27 +0100)]
Interact with BMUSBCapture through CaptureInterface.

8 years agoThe card copy does not need to have a copy of the usb member.
Steinar H. Gunderson [Sat, 27 Feb 2016 01:11:14 +0000 (02:11 +0100)]
The card copy does not need to have a copy of the usb member.

8 years agoSend the video format in directly to the video frame callback, so that we do not...
Steinar H. Gunderson [Fri, 26 Feb 2016 22:24:24 +0000 (23:24 +0100)]
Send the video format in directly to the video frame callback, so that we do not let the implementation detail of 16-bit video format IDs leak into the client.

8 years agoRelease Nageru 1.1.0. 1.1.0
Steinar H. Gunderson [Wed, 24 Feb 2016 09:45:29 +0000 (10:45 +0100)]
Release Nageru 1.1.0.

8 years agoMake CbCr subsampling VBO permanent, mostly to reduce the amount of debugging spew...
Steinar H. Gunderson [Wed, 24 Feb 2016 09:45:08 +0000 (10:45 +0100)]
Make CbCr subsampling VBO permanent, mostly to reduce the amount of debugging spew when running apitrace.

8 years agoFix fading to/from deinterlaced sources.
Steinar H. Gunderson [Wed, 24 Feb 2016 00:26:10 +0000 (01:26 +0100)]
Fix fading to/from deinterlaced sources.

8 years agoUnbind the FBO after we are done with it, since reusing it in another context while...
Steinar H. Gunderson [Tue, 23 Feb 2016 23:45:01 +0000 (00:45 +0100)]
Unbind the FBO after we are done with it, since reusing it in another context while it is bound in the mixer is an error.

8 years agoSeemingly renderD128 works where card0 does not.
Steinar H. Gunderson [Tue, 23 Feb 2016 01:16:21 +0000 (02:16 +0100)]
Seemingly renderD128 works where card0 does not.

8 years agoUpdate README with information about non-Mesa OpenGL.
Steinar H. Gunderson [Tue, 23 Feb 2016 01:16:00 +0000 (02:16 +0100)]
Update README with information about non-Mesa OpenGL.

8 years agoFix fence behavior in H.264 encoder.
Steinar H. Gunderson [Tue, 23 Feb 2016 00:41:44 +0000 (01:41 +0100)]
Fix fence behavior in H.264 encoder.

This was all broken, but happened to work when all the work was done
on a (single-stream) GPU anyway. It broke horribly when the CPU actually
needed to look at the data (for non-zerocopy H.264 encoding).

This is, as far as I know, the last fix needed to run Nageru on NVIDIA
GPUs (tested with a GTX 950). Encoding is still done by Quick Sync,
not NVENC.

8 years agoVarious cosmetics in the readback code.
Steinar H. Gunderson [Mon, 22 Feb 2016 21:49:49 +0000 (22:49 +0100)]
Various cosmetics in the readback code.

8 years agoCorrect VA-API offsets.
Steinar H. Gunderson [Mon, 22 Feb 2016 21:29:17 +0000 (22:29 +0100)]
Correct VA-API offsets.

8 years agoUpdate email address.
Steinar H. Gunderson [Wed, 17 Feb 2016 19:43:49 +0000 (20:43 +0100)]
Update email address.

8 years agoAdd a missing #include.
Steinar H. Gunderson [Tue, 16 Feb 2016 04:28:25 +0000 (20:28 -0800)]
Add a missing #include.

8 years agoAdd a missing barrier.
Steinar H. Gunderson [Sun, 7 Feb 2016 19:22:40 +0000 (20:22 +0100)]
Add a missing barrier.

8 years agoYet more readback fixes.
Steinar H. Gunderson [Sun, 7 Feb 2016 18:39:16 +0000 (19:39 +0100)]
Yet more readback fixes.

8 years agoFix some offsets in YCbCr readback.
Steinar H. Gunderson [Sun, 7 Feb 2016 18:24:33 +0000 (19:24 +0100)]
Fix some offsets in YCbCr readback.

8 years agoSupport VA-API readback through glGetTexImage() instead of zerocopy.
Steinar H. Gunderson [Sun, 7 Feb 2016 18:14:59 +0000 (19:14 +0100)]
Support VA-API readback through glGetTexImage() instead of zerocopy.

This is slower and thus optional (and non-default), but it allows
Nageru to be used with non-Intel GPUs. Only tested on ATI (fglrx)
so far, which has other issues due to driver bugs.

8 years agoAdd support for opening VA-API via DRM instead of X11.
Steinar H. Gunderson [Sun, 7 Feb 2016 17:03:59 +0000 (18:03 +0100)]
Add support for opening VA-API via DRM instead of X11.

8 years agoMovit 1.3.0 has migrated to stretch.
Steinar H. Gunderson [Sun, 7 Feb 2016 16:51:33 +0000 (17:51 +0100)]
Movit 1.3.0 has migrated to stretch.

8 years agoProperly reset the PBO setting in Mixer::bm_frame(), so new textures are properly...
Steinar H. Gunderson [Wed, 3 Feb 2016 18:59:33 +0000 (19:59 +0100)]
Properly reset the PBO setting in Mixer::bm_frame(), so new textures are properly blank.

8 years agoMake the YCbCr shader stop using features that are deprecated in GLSL 1.30.
Steinar H. Gunderson [Wed, 3 Feb 2016 17:52:51 +0000 (18:52 +0100)]
Make the YCbCr shader stop using features that are deprecated in GLSL 1.30.

8 years agoAdd epoxy to PKG_MODULES.
Steinar H. Gunderson [Tue, 2 Feb 2016 19:08:05 +0000 (20:08 +0100)]
Add epoxy to PKG_MODULES.