Linux.com

weedlight

weedlight

  • Linux.com Member
  • Posts: 30
  • Member Since: 19 May 09
  • Last Logged In: 25 Mar

Latest Posts

Posted by
Topic
Post Preview
Posted
  • weedlight
    RE: Realtime Kernel on CISCs - do they still exist?
    The strange behaviour is probably tracking down to a large binary.
    Link to this post 25 Mar

    The strange behaviour is probably tracking down to a large binary.

  • weedlight
    Realtime Kernel on CISCs - do they still exist?
    Hi, I develope a Sequencer as I revised threading model using conditional locks I experienced in strange behaviour. It seemed as a calculations like addition and subtraction weren't safe. May be just a Programming mistake. But by they way what kind of processors are in recent apple mac book pro? I've added my kernel configuration file and output of `lspci -vv` and `lscpu`.
    Link to this post 21 Mar

    Hi, I develope a Sequencer as I revised threading model using conditional locks I experienced in strange behaviour. It seemed as a calculations like addition and subtraction weren't safe. May be just a Programming mistake. But by they way what kind of processors are in recent apple mac book pro?

    I've added my kernel configuration file and output of `lspci -vv` and `lscpu`.

  • weedlight
    RE: trouble with c
    Please, Tell us what terminal, charset and operating system you are using. Assumed you run it on a different platform than GNU/Linux you should pay attention on different line delimiter(s).
    Link to this post 30 Sep 12

    Please, Tell us what terminal, charset and operating system you are using. Assumed you run it on a different platform than GNU/Linux you should pay attention on different line delimiter(s).

  • weedlight
    bcma-pci-bridge instead of b43 is assigned to my wireless card
    Hi. Recently I compiled a linux-kernel with realtime patch. Now, I can't get rid of bcma-pci-bridge. `modprobe -r bcma-pci-bridge` doesn't work. I have posted my kernel konfiguration file and an extract of `lspci -v`.
    Link to this post 31 Jan 12

    Hi. Recently I compiled a linux-kernel with realtime patch. Now, I can't get rid of bcma-pci-bridge. `modprobe -r bcma-pci-bridge` doesn't work.
    I have posted my kernel konfiguration file and an extract of `lspci -v`.

  • weedlight
    xscreensaver doesn't show rss-glx screensavers to select
    Hi, I just installed rss-glx but the contained screensavers aren't shown in the selection dialog of xscreensaver. I'm running gnome 3.2 from unstable/experimental. How can I solve this issue? Yesterday, I just reinstalled my system, so it's up to date. I've attached a screenshot and the screensaver I want to use is MatrixView. I'm using xscreensaver because I don't know how to setup anything else than a blank screen in gnome-screensaver.
    Link to this post 29 Nov 11

    Hi, I just installed rss-glx but the contained screensavers aren't shown in the selection dialog of xscreensaver. I'm running gnome 3.2 from unstable/experimental. How can I solve this issue? Yesterday, I just reinstalled my system, so it's up to date.

    I've attached a screenshot and the screensaver I want to use is MatrixView.
    I'm using xscreensaver because I don't know how to setup anything else than a blank screen in gnome-screensaver.

  • weedlight
    want glib-object like documentation for ags
    Hi, could anyone tell how glib-object's API documentation has done. I read somewhere that I'has been done from source code, but there's an introduction as well. Please, tell me what tools I need and how I could organize the documentation. I hope other developers will be interested in [url=http://sourceforge.net/projects/ags/]ags[/url] .
    Link to this post 05 Sep 11

    Hi, could anyone tell how glib-object's API documentation has done. I read somewhere that I'has been done from source code, but there's an introduction as well.
    Please, tell me what tools I need and how I could organize the documentation.

    I hope other developers will be interested in ags .

  • weedlight
    valgrind doesn't start `ags`
    Hi, I started `valgrind` to debug my application, because it showed me the following output: [code]ags_devout_play_functions: start remove: AgsVolumeAudioSignal remove: AgsVolumeRecycling remove: AgsVolumeChannel remove: AgsStreamAudioSignal remove: AgsStreamRecycling remove: AgsStreamChannelRun remove: AgsPlayAudioSignal remove: AgsPlayRecycling AgsPlayRecycling: 9370c0 remove: AgsPlayRecycling AgsPlayRecycling: 9370c0 remove: AgsPlayRecycling AgsPlayRecycling: 9370c0 remove: AgsPlayChannelRun[/code] AgsPlayRecycling has always the same address but it can't be removed several times, because it was allocated and added only once. But the output shows me something else. So I wanted to start `valgrind`, but I just get the following output: [code]joel@debian:~/workspace/ags$ valgrind /home/joel/workspace/ags/ags ==4446== Memcheck, a memory error detector ==4446== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==4446== Using Valgrind-3.7.0.SVN and LibVEX; rerun with -h for copyright info ==4446== Command: /home/joel/workspace/ags/ags ==4446== --4446-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x2a valgrind: m_debuginfo/readdwarf.c:2397 (copy_convert_CfiExpr_tree): Assertion 'srcix >= 0 && srcix < VG_(sizeXA)(srcxa)' failed. ==4446== at 0x3802CFC6: ??? (in /usr/lib/valgrind/memcheck-amd64-linux) sched status: running_tid=0 Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks.[/code] There is something corrupted, please help me. I'm using debian unstable/experimental with a self compiled linux kernel (2.6.33.9-rt31)
    Link to this post 14 Jul 11

    Hi, I started `valgrind` to debug my application, because it showed me the following output:

    ags_devout_play_functions:  start
    remove: AgsVolumeAudioSignal
    remove: AgsVolumeRecycling
    remove: AgsVolumeChannel
    remove: AgsStreamAudioSignal
    remove: AgsStreamRecycling
    remove: AgsStreamChannelRun
    remove: AgsPlayAudioSignal
    remove: AgsPlayRecycling
    AgsPlayRecycling: 9370c0
    remove: AgsPlayRecycling
    AgsPlayRecycling: 9370c0
    remove: AgsPlayRecycling
    AgsPlayRecycling: 9370c0
    remove: AgsPlayChannelRun

    AgsPlayRecycling has always the same address but it can't be removed several times, because it was allocated and added only once. But the output shows me something else. So I wanted to start `valgrind`, but I just get the following output:

    joel@debian:~/workspace/ags$ valgrind /home/joel/workspace/ags/ags
    ==4446== Memcheck, a memory error detector
    ==4446== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
    ==4446== Using Valgrind-3.7.0.SVN and LibVEX; rerun with -h for copyright info
    ==4446== Command: /home/joel/workspace/ags/ags
    ==4446==
    --4446-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x2a

    valgrind: m_debuginfo/readdwarf.c:2397 (copy_convert_CfiExpr_tree): Assertion 'srcix >= 0 && srcix < VG_(sizeXA)(srcxa)' failed.
    ==4446== at 0x3802CFC6: ??? (in /usr/lib/valgrind/memcheck-amd64-linux)

    sched status:
    running_tid=0


    Note: see also the FAQ in the source distribution.
    It contains workarounds to several common problems.
    In particular, if Valgrind aborted or crashed after
    identifying problems in your program, there's a good chance
    that fixing those problems will prevent Valgrind aborting or
    crashing, especially if it happened in m_mallocfree.c.

    If that doesn't help, please report this bug to: www.valgrind.org

    In the bug report, send all the above text, the valgrind
    version, and what OS and version you are using. Thanks.

    There is something corrupted, please help me.
    I'm using debian unstable/experimental with a self compiled linux kernel (2.6.33.9-rt31)

  • weedlight
    custom kernel revision `make-kpkg`
    Hi, I compiled a custom patched kernel on debian stable with `make-kpkg` but when I tried to install it on my unstable installation it complained that version number doesn't start with a digit. Now, I'm compiling it without the "--revision" parameter, but I'd really like to use this parameter. I run `make-kpkg --initrd --revision=weedlightRT.1.0 kernel-image` on the stable installation and on unstable `dpkg -i ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb`. And here is the output given: [code]dpkg: warning: parsing file '/var/lib/dpkg/status' near line 45303 package 'linux-image-2.6.33.7-rt29': error in Version string 'custom.1.0': version number does not start with digit dpkg: warning: parsing file '/var/lib/dpkg/available' near line 44936 package 'linux-image-2.6.33.7-rt29': error in Version string 'custom.1.0': version number does not start with digit dpkg: error processing ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb (--install): parsing file '/var/lib/dpkg/tmp.ci/control' near line 3 package 'linux-image-2.6.33.9-rt31': error in Version string 'weedlightRT.1.0': version number does not start with digit Errors were encountered while processing: ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb[/code]
    Link to this post 04 Jul 11

    Hi, I compiled a custom patched kernel on debian stable with `make-kpkg` but when I tried to install it on my unstable installation it complained that version number doesn't start with a digit. Now, I'm compiling it without the "--revision" parameter, but I'd really like to use this parameter.

    I run `make-kpkg --initrd --revision=weedlightRT.1.0 kernel-image` on the stable installation and on unstable `dpkg -i ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb`. And here is the output given:

    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 45303 package 'linux-image-2.6.33.7-rt29':
    error in Version string 'custom.1.0': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/available' near line 44936 package 'linux-image-2.6.33.7-rt29':
    error in Version string 'custom.1.0': version number does not start with digit
    dpkg: error processing ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb (--install):
    parsing file '/var/lib/dpkg/tmp.ci/control' near line 3 package 'linux-image-2.6.33.9-rt31':
    error in Version string 'weedlightRT.1.0': version number does not start with digit
    Errors were encountered while processing:
    ../linux-image-2.6.33.9-rt31_weedlightRT.1.0_amd64.deb

  • weedlight
    RE: cairo draw over alpha
    I'm sorry. I've finally found the mistake. If you're interested in what went wrong you can look at revision 322 [url]http://ags.svn.sourceforge.net/viewvc/ags/[/url]
    Link to this post 05 Jun 11

    I'm sorry. I've finally found the mistake. If you're interested in what went wrong you can look at revision 322 http://ags.svn.sourceforge.net/viewvc/ags/

  • weedlight
    cairo draw over alpha
    Hi, I'd like to draw with cairo over a surface of a GtkDrawingArea. My problem is that drawing over the surface doesn't draw a solid color over a color with alpha channel. I don't use any special cairo operators and the result is that I see some unneeded rectangles with alpha channel where there shouldn't be any. [code] cr = gdk_cairo_create(GTK_WIDGET(editor->drawing_area)->window); cairo_push_group(cr); cairo_set_source_rgb(cr, 0.0, 0.0, 0.0); cairo_rectangle(cr, 0.0, 0.0, (double) widget->allocation.width, (double) widget->allocation.height); cairo_fill(cr); /* do some other drawing */ /* draw with alpha channel */ cairo_set_source_rgba(cr, 0.25, 0.5, 1.0, 0.5); cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height); cairo_fill(cr); /* pop it to source */ cairo_pop_group_to_source(cr); cairo_paint(cr); [/code]
    Link to this post 03 Jun 11

    Hi, I'd like to draw with cairo over a surface of a GtkDrawingArea. My problem is that drawing over the surface doesn't draw a solid color over a color with alpha channel. I don't use any special cairo operators and the result is that I see some unneeded rectangles with alpha channel where there shouldn't be any.


    cr = gdk_cairo_create(GTK_WIDGET(editor->drawing_area)->window);
    cairo_push_group(cr);

    cairo_set_source_rgb(cr, 0.0, 0.0, 0.0);
    cairo_rectangle(cr, 0.0, 0.0, (double) widget->allocation.width, (double) widget->allocation.height);
    cairo_fill(cr);

    /* do some other drawing */

    /* draw with alpha channel */
    cairo_set_source_rgba(cr, 0.25, 0.5, 1.0, 0.5);
    cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
    cairo_fill(cr);

    /* pop it to source */
    cairo_pop_group_to_source(cr);
    cairo_paint(cr);

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board