multiple jobs in same deployment file

2023-12-15 Thread Shravan Kumar Reddy
Hi Team,

How can we configure multiple task managers and multiple jobs with the
same deployment file with flink operator.

*Deployment.yaml*
apiVersion: flink.apache.org/v1beta1
kind: FlinkDeployment
metadata:
  name: basic-example
spec:
  image: flink:1.17
  flinkVersion: v1_17
  flinkConfiguration:
taskmanager.numberOfTaskSlots: "2"
  serviceAccount: flink
  jobManager:
resource:
  memory: "2048m"
  cpu: 1
  taskManager:
resource:
  memory: "2048m"
  cpu: 1
  job:
jarURI: local:///opt/flink/examples/streaming/StateMachineExample.jar
parallelism: 2
upgradeMode: stateless


Re: [datameet] Western Ghats Boundary

2023-11-26 Thread Kiran Kumar Reddy
Hi
Use SRTM DEM.

On Mon, 27 Nov 2023, 01:24 Madhuri Mandava,  wrote:

> How can I get the accurate boundary of westernghats?
>
> --
> Datameet is a community of Data Science enthusiasts in India. Know more
> about us by visiting http://datameet.org
> ---
> You received this message because you are subscribed to the Google Groups
> "datameet" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to datameet+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/datameet/0430d712-bac3-4c67-bc35-42044ab943b3n%40googlegroups.com
> 
> .
>

-- 
Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting http://datameet.org
--- 
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datameet+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/CAKuPwA20hCamcwO0zBDFFEpWBkr7qidHDGRydrTSd_1R6dde%2Bg%40mail.gmail.com.


Re: [datameet] Western Ghats Boundary

2023-11-26 Thread Kiran Kumar Reddy
https://doi.org/10.1016/j.chemgeo.2019.119316

On Mon, 27 Nov 2023, 10:04 Kiran Kumar Reddy,  wrote:

> Hi
> Use SRTM DEM.
>
> On Mon, 27 Nov 2023, 01:24 Madhuri Mandava, 
> wrote:
>
>> How can I get the accurate boundary of westernghats?
>>
>> --
>> Datameet is a community of Data Science enthusiasts in India. Know more
>> about us by visiting http://datameet.org
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "datameet" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to datameet+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/datameet/0430d712-bac3-4c67-bc35-42044ab943b3n%40googlegroups.com
>> <https://groups.google.com/d/msgid/datameet/0430d712-bac3-4c67-bc35-42044ab943b3n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting http://datameet.org
--- 
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datameet+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/CAKuPwA1UUcnLHWX%3DzJ4cRH_RQ3H1FH-qaVqZ7_CSrPkVMxWO3g%40mail.gmail.com.


Bootargs in RPI not working

2022-12-21 Thread Sai Kiran Kumar Reddy Y
Hi,

I have U-Boot 2022.10 version. I am trying to boot Raspberry Pi(Model 3B+)
using U-Boot. In the U-Boot terminal when I set kernel command-line
arguments, using "setenv bootargs root=/dev/mmblk0p3 ro rootwait
console=serial0,115200 console=tty1", the Kernel is not loaded. Following
are the messages I get on the U-boot terminal

" EFI stub: Booting Linux Kernel...
EFI stub: EFI_RING_PROTOCOL unavailable
EFI stub: Using DTB from configuration table
EFI stub: exiting boot services..."

When I do not add any bootargs variables to U-Boot environment, Pi boots
with Linux. Am I missing something? I am not able to figure out the reason
for this. Could you help me with this?



-- 
Regards,
Sai Kiran.


Create a Virtual NVME Disk

2022-04-06 Thread Sai Kiran Kumar Reddy Y
Hi,

I am Sai Kiran. I have built qemu from source on a Linux based machine. I
want to create a virtual NVME disk on my system, using QEMU. The
documentation I have seen in QEMU so far discusses providing a virtual nvme
disk to a VM. I do not want to give the virtual nvme to a VM. I want it on
my host. In other words, I want to see the virtual NVME disk under /dev
folder.

I could not create the virtual nvme disk using the qemu-img command. I have
just started working with QEMU, to create virtual disks. I am not quite
sure how to create a virtual nvme disk on the host itself, using qemu. It
would be of great help to me if someone could show me how to do this.

Thanks in advance for your help and support.

-- 
Regards,
Sai Kiran.


Virt-Viewer libspice-client-glib dependency

2022-02-16 Thread Sai Kiran Kumar Reddy
Hi,

I am Sai Kiran. I am trying to build virt-viewer-11.0, on my LInux From
Scratch(LFS) machine. I have installed all the dependencies of virt-viewer.
I have built the virt-viewer, with spice enabled. When I run the
virt-viewer command, I get the following error
"libspice-client-glib-2.0.so.8: cannot open shared object file: No such
file or directory. " But the shared object is present in "/usr/lib64".

I am not sure what the issue is. It would be of great help to me if someone
could help me out here.

Thanks in advance.

-- 
Regards,
Sai Kiran.


Re: Installing Gstreamer for SPICE

2022-02-15 Thread Sai Kiran Kumar Reddy
Hi Victor,

Thanks for the info.

On Tue, Feb 15, 2022 at 8:33 PM Victor Toso  wrote:

> On Tue, Feb 15, 2022 at 04:07:50PM +0530, Sai Kiran Kumar Reddy wrote:
> > Hi,
> >
> > I am Sai Kiran. I am trying to install virt-viewer on my Linux
> > From Scratch(LFS) machine. I see that one of the dependencies
> > is Gstreamer. I have built and installed Gstreamer. When I
> > compile spice-gtk, I get the error saying "Dependency
> > "gstreamer-app-1.0" not found". I am not sure if this is part
> > of gstreamer or it is a different one. I am not able to find
> > the source code for gstreamer-app-1.0.
> >
> > Could someone help me with this?
>
> The build system checks if gstreamer-app-1.0.pc is available. In
> fedora, this is provided by gstreamer1-plugins-base-devel
> package. I'm not familiar with Scratch but if you have compiled
> and installed gstreamer yourself, it might be that you only need
> to add the folder with gstreamer's .pc files to PKG_CONFIG_PATH
> in order to be recognized by meson.
>

I have looked at all .pc files in my system. I have included the
appropriate paths in PKG_CONFIG_PATH. I am not able to find
gstreamer-app-1.0.pc in my system. Could it be some problem with my
gstreamer installation? I had resolved all the dependencies and installed
it properly, though.


> > Thanks in advance for the help and support.
>
> Just so you know, gstreamer is mainly used for audio decoding in
> spice-gtk.
>
> Cheers,
> Victor
>


-- 
Regards,
Sai Kiran.


Installing Gstreamer for SPICE

2022-02-15 Thread Sai Kiran Kumar Reddy
Hi,

I am Sai Kiran. I am trying to install virt-viewer on my Linux From
Scratch(LFS) machine. I see that one of the dependencies is Gstreamer. I
have built and installed Gstreamer. When I compile spice-gtk, I get the
error saying "Dependency "gstreamer-app-1.0" not found". I am not sure if
this is part of gstreamer or it is a different one. I am not able to find
the source code for gstreamer-app-1.0.

Could someone help me with this?

Thanks in advance for the help and support.

-- 
Regards,
Sai Kiran.


Re: libvirtd daemon missing in LFS

2022-02-15 Thread Sai Kiran Kumar Reddy
Hi Michal,

I am able to build qemu with the options you have suggested. It indeed is a
qemu issue. Thank you for pointing that out.

On Mon, Feb 14, 2022 at 3:51 PM Michal Prívozník 
wrote:

> On 2/14/22 10:09, Sai Kiran Kumar Reddy wrote:
> > Hi Peter,
> >
> > Thanks for your inputs. I have looked at all the dependencies and built
> > libvirt with the appropriate dependencies enabled. I am able to run
> > virt-manager also, without any errors. I am trying to create a VM using
> > virsh. I get an error saying "domain configuration does not support
> > video mode qxl". Could you please let me know if it is libvirt related
> > error or qemu related one?
>
> This is QEMU related and your qemu was probably build without SPICE
> support:
>
>   https://www.spice-space.org/
>
> pass --enable-spice to QEMU ./configure script. Alternatively, Gentoo
> has all these dependencies recorded and maintained. So it's easier to
> install.
>
> Michal
>
>

-- 
Regards,
Sai Kiran.


Re: libvirtd daemon missing in LFS

2022-02-14 Thread Sai Kiran Kumar Reddy
Hi Peter,

Thanks for your inputs. I have looked at all the dependencies and built
libvirt with the appropriate dependencies enabled. I am able to run
virt-manager also, without any errors. I am trying to create a VM using
virsh. I get an error saying "domain configuration does not support video
mode qxl". Could you please let me know if it is libvirt related error or
qemu related one?

On Thu, Feb 10, 2022 at 1:50 PM Peter Krempa  wrote:

> On Thu, Feb 10, 2022 at 11:39:17 +0530, Sai Kiran Kumar Reddy wrote:
> > Hi,
> >
> > There was some issue with pkg-config-path. I have fixed it. I see that it
> > looks for wireshark and other dependencies. I get an error saying "remote
> > driver is required for libvirtd daemon". I am not sure what this error
>
> So you are missing some of the dependencies needed by the remote driver
> which is needed for the libvirtd daemon. Similarly to what I've
> suggested before can be used for any other option.
>
> To list full configuration of the project along with options that were
> selected you can run 'meson configure' from the builddir and it will
> print all options:
>
> $ meson configure
>
> [... snipped ... ]
>
>   Project optionsCurrent ValuePossible Values
> Description
>   -------
> ---
>   apparmor   auto [enabled,
> disabled, auto]apparmor support
>   apparmor_profiles  auto [enabled,
> disabled, auto]install apparmor profiles
>   attr   auto [enabled,
> disabled, auto]attr support
>   audit  auto [enabled,
> disabled, auto]audit support
>   bash_completionauto [enabled,
> disabled, auto]bash-completion support
>   bash_completion_dir
> directory containing bash completion scripts
>   blkid  auto [enabled,
> disabled, auto]blkid support
>   capng  auto [enabled,
> disabled, auto]cap-ng support
>   ch_group
>  groupname to run Cloud-Hypervisor system instance as
>   ch_user
> username to run Cloud-Hypervisor system instance as
>   chrdev_lock_files
> location for UUCP style lock files for character devices
>
>  (leave empty for default paths on some platforms)
>   curl   auto [enabled,
> disabled, auto]curl support
>   docdir
>  documentation installation directory
>   docs   auto [enabled,
> disabled, auto]whether to generate documentation
>   driver_bhyve   auto [enabled,
> disabled, auto]bhyve driver
>   driver_ch  auto [enabled,
> disabled, auto]Cloud-Hypervisor driver
>   driver_esx auto [enabled,
> disabled, auto]esx driver
>   driver_hyperv  auto [enabled,
> disabled, auto]Hyper-V driver
>   driver_interface   auto [enabled,
> disabled, auto]host interface driver
>   driver_libvirtdauto [enabled,
> disabled, auto]libvirtd driver
>   driver_libxl   auto [enabled,
> disabled, auto]libxenlight driver
>   driver_lxc auto [enabled,
> disabled, auto]Linux Container driver
>   driver_network auto [enabled,
> disabled, auto]virtual network driver
>   driver_openvz  auto [enabled,
> disabled, auto]OpenVZ driver
>   driver_qemuauto [enabled,
> disabled, auto]QEMU/KVM driver
>   driver_remote  auto [enabled,
> disabled, auto]remote driver
>   driver_secrets auto [enabled,
> disabled, auto]local secrets management driver
>   driver_testauto [enabled,
> disabled, auto]test driver
>   driver_vboxauto [enabled,
> disabled, auto]VirtualBox XPCOMC driver
>   driver_vmware  auto [enabled,
> disabled, auto]VMware driver
>   driver_vz  auto [enabled,
> disabled, auto]Virtuozzo driver
>   dtrace   

Re: libvirtd daemon missing in LFS

2022-02-09 Thread Sai Kiran Kumar Reddy
Hi,

There was some issue with pkg-config-path. I have fixed it. I see that it
looks for wireshark and other dependencies. I get an error saying "remote
driver is required for libvirtd daemon". I am not sure what this error
means. Does it mean that I have to install wireshark or is it looking for
something else. Could you please help me out here.

On Thu, Feb 10, 2022 at 9:57 AM Sai Kiran Kumar Reddy 
wrote:

> Hi,
>
> Thanks for your inputs. I have compiled with -Ddriver_libvirtd=enabled
> option. As you have mentioned, it shows missing dependencies. Let me
> install them and try to get libvirtd up and running.
>
> Once again, thanks for your help.
>
> On Wed, Feb 9, 2022 at 5:24 PM Peter Krempa  wrote:
>
>> On Wed, Feb 09, 2022 at 16:34:43 +0530, Sai Kiran Kumar Reddy wrote:
>> > Hi,
>> >
>> > I am Sai Kiran. I am trying to build libvirt from source on my Linux
>> From
>> > Scratch(LFS) system. I have successfully installed libvirt and its
>> > dependencies. When I start virt-manager, there is a prompt in GUI saying
>> > that "libvirtd service is not installed".  I also do not see any
>> libvirtd
>> > in my system. I would like to install the libvirtd service(build from
>> > source). But I am not able to find the source code for it and also, I am
>> > not sure about the build process for the daemon. Could you please help
>> me
>> > out here.
>>
>> The libvirt daemon is integral part of the libvirt project so the
>> sources you used to build the library also contain the daemon sources.
>>
>> In your instance it's most likely that you are missing a dependancy and
>> libvirtd was not auto-enabled. To force-enable it configure libvirt with
>>
>>  '-Ddriver_libvirtd=enabled'
>>
>> which should report what you are missing. Since you are using LFS you
>> need to ensure that you have all deps yourself.
>>
>>
>
> --
> Regards,
> Sai Kiran.
>


-- 
Regards,
Sai Kiran.


Re: libvirtd daemon missing in LFS

2022-02-09 Thread Sai Kiran Kumar Reddy
Hi,

Thanks for your inputs. I have compiled with -Ddriver_libvirtd=enabled
option. As you have mentioned, it shows missing dependencies. Let me
install them and try to get libvirtd up and running.

Once again, thanks for your help.

On Wed, Feb 9, 2022 at 5:24 PM Peter Krempa  wrote:

> On Wed, Feb 09, 2022 at 16:34:43 +0530, Sai Kiran Kumar Reddy wrote:
> > Hi,
> >
> > I am Sai Kiran. I am trying to build libvirt from source on my Linux From
> > Scratch(LFS) system. I have successfully installed libvirt and its
> > dependencies. When I start virt-manager, there is a prompt in GUI saying
> > that "libvirtd service is not installed".  I also do not see any libvirtd
> > in my system. I would like to install the libvirtd service(build from
> > source). But I am not able to find the source code for it and also, I am
> > not sure about the build process for the daemon. Could you please help me
> > out here.
>
> The libvirt daemon is integral part of the libvirt project so the
> sources you used to build the library also contain the daemon sources.
>
> In your instance it's most likely that you are missing a dependancy and
> libvirtd was not auto-enabled. To force-enable it configure libvirt with
>
>  '-Ddriver_libvirtd=enabled'
>
> which should report what you are missing. Since you are using LFS you
> need to ensure that you have all deps yourself.
>
>

-- 
Regards,
Sai Kiran.


libvirtd daemon missing in LFS

2022-02-09 Thread Sai Kiran Kumar Reddy
Hi,

I am Sai Kiran. I am trying to build libvirt from source on my Linux From
Scratch(LFS) system. I have successfully installed libvirt and its
dependencies. When I start virt-manager, there is a prompt in GUI saying
that "libvirtd service is not installed".  I also do not see any libvirtd
in my system. I would like to install the libvirtd service(build from
source). But I am not able to find the source code for it and also, I am
not sure about the build process for the daemon. Could you please help me
out here.

Thanks in advance for your time and support.

-- 
Regards,
Sai Kiran.


Re: Xen on LFS

2021-12-07 Thread Sai Kiran Kumar Reddy
Hi,

I have posted my query in xen-users mailing list one week ago. I was not
able to get any response from the community. Could you please look into it
and help me out here? I am trying to install xen(from source code), on
LInux from Scratch build system. I just want to know the list of xorg
packages, to be installed for Xen.

Thanks in advance for your time and support.

Regards,
Sai Kiran.

On Tue, Nov 30, 2021 at 12:58 PM Sai Kiran Kumar Reddy 
wrote:

> Ok, thanks for the reply. Will do that.
>
> On Tue, Nov 30, 2021 at 12:52 PM Jan Beulich  wrote:
>
>> On 30.11.2021 07:50, Sai Kiran Kumar Reddy wrote:
>> > I am Sai Kiran. I am currently working on installing xen on Linux From
>> > Scratch(LFS) system. One of the dependencies of xen is "xorg" package.
>> This
>> > package is present in Beyond
>> > <https://www.linuxfromscratch.org/blfs/view/svn/x/xorg7.html> Linux
>> From
>> > Scratch(BLFS) <
>> https://www.linuxfromscratch.org/blfs/view/svn/x/xorg7.html>
>> > manual. But, there are a lot of packages to be installed. I am not sure
>> if
>> > all these packages are required for Xen. Also, is xorg a must, to build
>> and
>> > install xen?
>> >
>> > Kindly help me out here. Thanks in advance, for the support.
>>
>> Thanks for your interest, but I'm afraid your question isn't fitting
>> xen-devel.
>> Please raise it on xen-users.
>>
>> Jan
>>
>>


Re: Xen on LFS

2021-11-29 Thread Sai Kiran Kumar Reddy
Ok, thanks for the reply. Will do that.

On Tue, Nov 30, 2021 at 12:52 PM Jan Beulich  wrote:

> On 30.11.2021 07:50, Sai Kiran Kumar Reddy wrote:
> > I am Sai Kiran. I am currently working on installing xen on Linux From
> > Scratch(LFS) system. One of the dependencies of xen is "xorg" package.
> This
> > package is present in Beyond
> > <https://www.linuxfromscratch.org/blfs/view/svn/x/xorg7.html> Linux From
> > Scratch(BLFS) <
> https://www.linuxfromscratch.org/blfs/view/svn/x/xorg7.html>
> > manual. But, there are a lot of packages to be installed. I am not sure
> if
> > all these packages are required for Xen. Also, is xorg a must, to build
> and
> > install xen?
> >
> > Kindly help me out here. Thanks in advance, for the support.
>
> Thanks for your interest, but I'm afraid your question isn't fitting
> xen-devel.
> Please raise it on xen-users.
>
> Jan
>
>


Xen on LFS

2021-11-29 Thread Sai Kiran Kumar Reddy
Hi,

I am Sai Kiran. I am currently working on installing xen on Linux From
Scratch(LFS) system. One of the dependencies of xen is "xorg" package. This
package is present in Beyond
 Linux From
Scratch(BLFS) 
manual. But, there are a lot of packages to be installed. I am not sure if
all these packages are required for Xen. Also, is xorg a must, to build and
install xen?

Kindly help me out here. Thanks in advance, for the support.

Regards,
Sai Kiran.


Re: Xen Booting Problem on ARM Machine

2021-10-19 Thread Sai Kiran Kumar Reddy Y
Hi,

Thanks for your inputs. As you have mentioned, I tried to boot Xen directly
from EFI, thereby skipping GRUB. I made sure that kernel, xen.cfg and
ramdisk are on the first FAT partition. I still get "All 128 bootinfo
membanks exhausted error". The following link has my grub.cfg config. file
and also the snapshot of the error.

Link:
https://drive.google.com/drive/folders/1o7WT5oB7UsaZBeY5m4mWSidT5NalzvvJ?usp=sharing

I feel that even with EFI bootloader, there's some issue with bootinfo mem
banks and it maynot be a bug in GRUB. Let me know your thoughts on this.

Thanks in advance,

Regards,
Sai Kiran.

On Fri, Oct 15, 2021 at 4:19 AM Stefano Stabellini 
wrote:

> On Thu, 14 Oct 2021, Sai Kiran Kumar Reddy Y wrote:
> > On Thu, Oct 14, 2021 at 5:45 AM Stefano Stabellini <
> sstabell...@kernel.org> wrote:
> >   On Wed, 13 Oct 2021, Sai Kiran Kumar Reddy Y wrote:
> >   > On Fri, Oct 1, 2021 at 8:17 AM Stefano Stabellini <
> sstabell...@kernel.org> wrote:
> >   >   Yes there are other ways but without serial is going to be
> difficult
> >   >   because you are not going to see anything until everything
> works.
> >   >
> >   >   How do you boot Xen and Dom0 exactly from EDK2? Are you
> using GRUB or
> >   >   loading Xen directly from the EDK2 prompt? Please provide
> as many
> >   >   details as possible so that I might be able to spot any
> errors.
> >   >
> >   > I am using GRUB to load Xen. In the GRUB menu, I see two
> options.
> >   > Option 1: Debian 11 with latest Linux Kernel
> >   > Option 2: Debian 11(with Xen hypervisor) with latest Kernel
> >   >
> >   >   Can you provide the Device Tree you are using? If you are
> not passing
> >   >   any Device Tree  binary explicitely, then it might be
> passed
> >   >   automatically from EDK2 to Linux/Xen. In that case, just
> boot from Linux
> >   >   then do the following to retrieve the Device Tree:
> >   >
> >   >   dtc -I fs -O dts /proc/device-tree > host.dts
> >   >
> >   >   Then please attach host.dts to this email thread.
> >   >
> >   > Yeah, you are right. It looks like LInux is booting from ACPI.
> In the bootloader menu, "Automatic ACPI configuration" is
> >   disabled. So, I
> >   > thought that Linux may be booting from Device Tree. I have tried
> the "dtc" command you mentioned. But it looks like there's
> >   no device-tree
> >   > under "/proc". I also tried to get DT info, from
> "/sys/firmware/devicetree/base" . But, there's no info. under devicetree
> >   folder. I am not
> >   > quite sure how to get the DT info, if the Linux is booting from
> ACPI. I am attaching .dsl files, that contain the acpi info.
> >
> >   OK, so it is pretty clear that even if "Automatic ACPI
> configuration" is
> >   disabled, it is still booting with ACPI.
> >
> >
> >   >   Also for your information it looks like Linux actually
> booted from ACPI,
> >   >   not from Device Tree, as you can see from all the "ACPI"
> messages in the
> >   >   kernel logs.
> >   >
> >   >   If you need to boot from ACPI, then you need to enable
> ACPI support in
> >   >   Xen, which is disabled by default. You can do that using
> make
> >   >   menuconfig.
> >   >
> >   > In the make menuconfig of Xen, I do not see any option to enable
> ACPI.
> >
> >   You definitely need to enable ACPI support in Xen, if you are
> booting
> >   from ACPI, otherwise nothing is going to work.
> >
> >   On the latest staging (https://gitlab.com/xen-project/xen) you can
> >   enable ACPI as follows:
> >
> >
> >   # export CROSS_COMPILE=/path/to/cross-compiler
> >   # export XEN_TARGET_ARCH=arm64
> >   # cd xen.git/xen
> >   # make menuconfig
> >   #   --> Configure UNSUPPORTED features
> >   #   --> Architecture Features --> ACPI
> >   # make
> >
> >
> > Hi
> >
> > I got the code from Gitlab and installed it, enabling ACPI support in
> Xen. As I reboot the system, I am able to see 2 options like before.
> > Option 1: Debian with latest kernel
> > Option 2 : Debian with Xen
> >
> > I have selected Option 2. I did not see any bootinfo membanks error.
> Howev

Re: Xen Booting Problem on ARM Machine

2021-10-14 Thread Sai Kiran Kumar Reddy Y
On Thu, Oct 14, 2021 at 5:45 AM Stefano Stabellini 
wrote:

> On Wed, 13 Oct 2021, Sai Kiran Kumar Reddy Y wrote:
> > On Fri, Oct 1, 2021 at 8:17 AM Stefano Stabellini <
> sstabell...@kernel.org> wrote:
> >   Yes there are other ways but without serial is going to be
> difficult
> >   because you are not going to see anything until everything works.
> >
> >   How do you boot Xen and Dom0 exactly from EDK2? Are you using GRUB
> or
> >   loading Xen directly from the EDK2 prompt? Please provide as many
> >   details as possible so that I might be able to spot any errors.
> >
> > I am using GRUB to load Xen. In the GRUB menu, I see two options.
> > Option 1: Debian 11 with latest Linux Kernel
> > Option 2: Debian 11(with Xen hypervisor) with latest Kernel
> >
> >   Can you provide the Device Tree you are using? If you are not
> passing
> >   any Device Tree  binary explicitely, then it might be passed
> >   automatically from EDK2 to Linux/Xen. In that case, just boot from
> Linux
> >   then do the following to retrieve the Device Tree:
> >
> >   dtc -I fs -O dts /proc/device-tree > host.dts
> >
> >   Then please attach host.dts to this email thread.
> >
> > Yeah, you are right. It looks like LInux is booting from ACPI. In the
> bootloader menu, "Automatic ACPI configuration" is disabled. So, I
> > thought that Linux may be booting from Device Tree. I have tried the
> "dtc" command you mentioned. But it looks like there's no device-tree
> > under "/proc". I also tried to get DT info, from
> "/sys/firmware/devicetree/base" . But, there's no info. under devicetree
> folder. I am not
> > quite sure how to get the DT info, if the Linux is booting from ACPI. I
> am attaching .dsl files, that contain the acpi info.
>
> OK, so it is pretty clear that even if "Automatic ACPI configuration" is
> disabled, it is still booting with ACPI.
>
>
> >   Also for your information it looks like Linux actually booted from
> ACPI,
> >   not from Device Tree, as you can see from all the "ACPI" messages
> in the
> >   kernel logs.
> >
> >   If you need to boot from ACPI, then you need to enable ACPI
> support in
> >   Xen, which is disabled by default. You can do that using make
> >   menuconfig.
> >
> > In the make menuconfig of Xen, I do not see any option to enable ACPI.
>
> You definitely need to enable ACPI support in Xen, if you are booting
> from ACPI, otherwise nothing is going to work.
>
> On the latest staging (https://gitlab.com/xen-project/xen) you can
> enable ACPI as follows:
>
>
> # export CROSS_COMPILE=/path/to/cross-compiler
> # export XEN_TARGET_ARCH=arm64
> # cd xen.git/xen
> # make menuconfig
> #   --> Configure UNSUPPORTED features
> #   --> Architecture Features --> ACPI
> # make
>

Hi

I got the code from Gitlab and installed it, enabling ACPI support in Xen.
As I reboot the system, I am able to see 2 options like before.
Option 1: Debian with latest kernel
Option 2 : Debian with Xen

I have selected Option 2. I did not see any bootinfo membanks error.
However, there is the following error in GRUB(just for a fraction of a
second).

"Using modules provided by boot loader in FDT
  Xen 4.16-unstable (c/s Wed Oct 13 13 13:28:43 2021 -0700 git:4cfab4425d)
EFI Loader
  Couldn't obtain the File System Protocol Interface: ErrCode:
0x8002"

I have enabled earlyprintk. I do not see any messages in the Serial. There
seems to be some problem with the gitlab version of Xen.



> Cheers,
>
> Stefano
>
>
> >   On Thu, 30 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
> >   > Hi,
> >   > Sorry about the delay. We have been trying to access the serial
> of the machine. Tried with couple of JTAG connectors. There's
> >   still no
> >   > debug messages on the serial. Is there any other way of figuring
> this out?
> >   >
> >   > On Wed, Sep 15, 2021, 7:02 AM Stefano Stabellini <
> sstabell...@kernel.org> wrote:
> >   >   Something is off. When you enabled earlyprintk in Xen, you
> should see
> >   >   something like this at boot time:
> >   >   https://marc.info/?l=xen-devel=158829968025334
> >   >
> >   >   All the Xen logs starting with "(XEN)" on the serial. Do
> you have access
> >   >   to the serial of the machine? Without it, it is going to
> be hard to
> >   >   debug.
> >  

Re: Xen Booting Problem on ARM Machine

2021-10-13 Thread Sai Kiran Kumar Reddy Y
Hi,

I am resending the mail as the attachment size is more. Here is the link to
the attachments:
https://drive.google.com/drive/folders/1daloarRFaopg8vf-6Uwq-pRd9ki0EXm8?usp=sharing


On Wed, Oct 13, 2021 at 5:30 PM Sai Kiran Kumar Reddy Y <
ysaikiran1...@gmail.com> wrote:

>
>
> On Fri, Oct 1, 2021 at 8:17 AM Stefano Stabellini 
> wrote:
>
>> Yes there are other ways but without serial is going to be difficult
>> because you are not going to see anything until everything works.
>>
>> How do you boot Xen and Dom0 exactly from EDK2? Are you using GRUB or
>> loading Xen directly from the EDK2 prompt? Please provide as many
>> details as possible so that I might be able to spot any errors.
>>
>  I am using GRUB to load Xen. In the GRUB menu, I see two options.
Option 1: Debian 11 with latest Linux Kernel
Option 2: Debian 11(with Xen hypervisor) with latest Kernel

>
>
>> Can you provide the Device Tree you are using? If you are not passing
>> any Device Tree  binary explicitely, then it might be passed
>> automatically from EDK2 to Linux/Xen. In that case, just boot from Linux
>> then do the following to retrieve the Device Tree:
>>
>> dtc -I fs -O dts /proc/device-tree > host.dts
>>
>> Then please attach host.dts to this email thread.
>>
>> Yeah, you are right. It looks like LInux is booting from ACPI. In the
bootloader menu, "Automatic ACPI configuration" is disabled. So, I thought
that Linux may be booting from Device Tree. I have tried the "dtc" command
you mentioned. But it looks like there's no device-tree under "/proc". I
also tried to get DT info, from "/sys/firmware/devicetree/base" . But,
there's no info. under devicetree folder. I am not quite sure how to get
the DT info, if the Linux is booting from ACPI. I am attaching .dsl files,
that contain the acpi info.

>
>> Also for your information it looks like Linux actually booted from ACPI,
>> not from Device Tree, as you can see from all the "ACPI" messages in the
>> kernel logs.
>>
>> If you need to boot from ACPI, then you need to enable ACPI support in
>> Xen, which is disabled by default. You can do that using make
>> menuconfig.
>>
>>  In the make menuconfig of Xen, I do not see any option to enable ACPI.

>
>> On Thu, 30 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
>> > Hi,
>> > Sorry about the delay. We have been trying to access the serial of the
>> machine. Tried with couple of JTAG connectors. There's still no
>> > debug messages on the serial. Is there any other way of figuring this
>> out?
>> >
>> > On Wed, Sep 15, 2021, 7:02 AM Stefano Stabellini <
>> sstabell...@kernel.org> wrote:
>> >   Something is off. When you enabled earlyprintk in Xen, you should
>> see
>> >   something like this at boot time:
>> >   https://marc.info/?l=xen-devel=158829968025334
>> >
>> >   All the Xen logs starting with "(XEN)" on the serial. Do you have
>> access
>> >   to the serial of the machine? Without it, it is going to be hard
>> to
>> >   debug.
>> >
>> >
>> >   On Tue, 14 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
>> >   > In the folder "/var/log", there's a file called "xen", which is
>> empty. As far as the boot logs are concerned, I don't see any
>> >   debug
>> >   > messages related to xen. I am attaching the log files,
>> "kern.txt" and "boot.txt"
>> >   >
>> >   > On Tue, Sep 14, 2021 at 3:08 AM Stefano Stabellini <
>> sstabell...@kernel.org> wrote:
>> >   >   On Mon, 13 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
>> >   >   > On Fri, Sep 10, 2021 at 7:30 PM Julien Grall <
>> jul...@xen.org> wrote:
>> >   >   >
>> >   >   >
>> >   >   >   On 08/09/2021 11:43, Sai Kiran wrote:
>> >   >   >   > Hello,
>> >   >   >
>> >   >   >   Hi,
>> >   >   >
>> >   >   >   Thank you for the report. Moving the discussion
>> back to xen-devel
>> >   >   >   because this looks like a potential issue in the
>> UEFI stub in Xen.
>> >   >   >
>> >   >   >   > I have Xen-4.15.0 on an ARM Machine, with
>> Debian 11 installed on it.
>> >   >   >
>> >   >   >   Would you be ab

[git-users] GIT Private Server on FreeBSD

2021-10-07 Thread Sai Kiran Kumar Reddy Y
Hii

I am trying to set up a private git server on FreeBSD Machine. I am trying 
to use smart-http to authenticate. I am attaching apache configuration 
file(httpd.conf) in "/usr/local/etc/apache24/". My git repos are present 
inside the folder: /home/git/repos/
test.git is a bare repository.

I have set http.receivepack to true in my repo. I am able to clone the repo 
from another host. But when I try to push the changes, I get the following 
error:

"error: Cannot access URL http://192.168.1.9:80/git/test.git/, return code 
22
fatal: git-http-push failed 
error: failed to push some refs to 'http://192.168.1.9:80/git/test.git/;

I have spent several days, editing the Apache config. settings, but with no 
use. Can someone help with this?

-Thanks
Sai Kiran.




-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/2c0243ce-76fe-4e7e-b476-d0cca33d7925n%40googlegroups.com.

   DocumentRoot "/home/git/repos"
   Alias /git /home/git/repos
   SetEnv GIT_PROJECT_ROOT /home/git/repos
   SetEnv GIT_HTTP_EXPORT_ALL
   ScriptAlias /git/ /usr/local/libexec/git-core/git-http-backend/$1
   
   ScriptAliasMatch \
   "(?x)^/git/(.*/(HEAD | \
   info/refs | \
   objects/(info/[^/]+ | \
[0-9a-f]{2}/[0-9a-f]{38} | \
pack/pack-[0-9a-f]{40}\.(pack|idx)) | \
   git-(upload|receive)-pack))$" \
/usr/local/libexec/git-core/git-http-backend/$1


  Options +ExecCGI +Indexes
  AuthType Basic
  AuthName "Git Authentication"
  AuthUserFile /home/git/repos/.htpasswd
  Require valid-user
  DirectoryIndex test.git



Re: Xen Booting Problem on ARM Machine

2021-09-29 Thread Sai Kiran Kumar Reddy Y
Hi,

Sorry about the delay. We have been trying to access the serial of the
machine. Tried with couple of JTAG connectors. There's still no debug
messages on the serial. Is there any other way of figuring this out?

On Wed, Sep 15, 2021, 7:02 AM Stefano Stabellini 
wrote:

> Something is off. When you enabled earlyprintk in Xen, you should see
> something like this at boot time:
> https://marc.info/?l=xen-devel=158829968025334
>
> All the Xen logs starting with "(XEN)" on the serial. Do you have access
> to the serial of the machine? Without it, it is going to be hard to
> debug.
>
>
> On Tue, 14 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
> > In the folder "/var/log", there's a file called "xen", which is empty.
> As far as the boot logs are concerned, I don't see any debug
> > messages related to xen. I am attaching the log files, "kern.txt" and
> "boot.txt"
> >
> > On Tue, Sep 14, 2021 at 3:08 AM Stefano Stabellini <
> sstabell...@kernel.org> wrote:
> >   On Mon, 13 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
> >   > On Fri, Sep 10, 2021 at 7:30 PM Julien Grall 
> wrote:
> >   >
> >   >
> >   >   On 08/09/2021 11:43, Sai Kiran wrote:
> >   >   > Hello,
> >   >
> >   >   Hi,
> >   >
> >   >   Thank you for the report. Moving the discussion back to
> xen-devel
> >   >   because this looks like a potential issue in the UEFI stub
> in Xen.
> >   >
> >   >   > I have Xen-4.15.0 on an ARM Machine, with Debian 11
> installed on it.
> >   >
> >   >   Would you be able to give more details on the Arm machine
> you are using?
> >   >   Also, are you using ACPI or DT to boot?
> >   >
> >   >
> >   >Sai >> DT . ACPI configuration is disabled in Boot settings
>
> >   >
> >   >   >  I
> >   >   > am able to do “make world” and “make install”, after
> “./configure”, as
> >   >   > specified in README file. When I reboot the system, I
> get the following
> >   >   > message:
> >   >   >
> >   >   > Warning: All 128 bootinfo mem banks exhausted.
> >   >   >
> >   >   > Warning: All 128 bootinfo mem banks exhausted.
> >   >
> >   >   Hmmm... This means that you have more than 128 memory
> regions described
> >   >   in the EFI memory map. That's quite a lot.
> >   >
> >   >   Although, this should be harmless as it means Xen will not
> use the extra
> >   >   memory banks.
> >   >
> >   >   >
> >   >   > Cannot exit boot services: ErrCode: 0x8002
> >   >
> >   >   This means EFI_INVALID_PARAMETER. We have code to retry
> because AFAICT
> >   >   ExitBootServices() may sometime fails (I have CCed Jan may
> have more
> >   >   idea what's happening).
> >   >
> >   >   Would you be able to provide more details on the UEFI
> firmware you are
> >   >   using? Is it EDK2 or U-boot?
> >   >
> >   > Sai >>  EDK2
> >   >   Also, do you know if Linux is boot on the same system?
> >   >
> >   > Sai >> Yes
> >   >   However, AFAICT, the error message would not prevent Xen
> to continue
> >   >   booting. So you may get stuck later in the boot process.
> >   >
> >   >   My suggestion would be to enable earlyprintk for your
> platform. You can
> >   >   setup it up from the menuconfig in "Debugging Options".
> >   >
> >   > Sai >> Yes, I have enabled earlyprintk.
> >   > I tried changing NR_MEM_BANKS(in xen/include/asm-arm/setup.h)
> value to 256, from 128. The error message is no longer seen,
> >   but the device
> >   > is stuck in the boot process.
> >
> >   Could you please post the boot logs now that you enabled
> earlyprintk?
> >   Ideally not a camera picture but a textual copy/paste from the
> target
> >   serial?
> >
> >   Earlyprintk is pretty verbose, we should be able to figure out
> where it
> >   gets stuck.
> >
> >
> >


Re: Failing while Configuring the OpenLDAP

2021-09-27 Thread Challa N Kumar Reddy
Sorry my bad, Please find the error below while trying to configure openldap,

<= str2entry: str2ad(olcDbMaxSize): attribute type undefined
slapadd: could not parse entry (line=665)
Closing DB...




From: Michael Ströder 
Sent: Wednesday, September 22, 2021 5:52:03 PM
To: openldap-technical@openldap.org
Subject: Re: Failing while Configuring the OpenLDAP

On 9/22/21 12:39, Challa N Kumar Reddy wrote:
> c. navigate to /u01/ldap and executed the command below,
> sbin/slapadd -n 0 -F /u01/ldap/etc/slapd.d -l 
> /u01/ldap/etc/openldap/slapd.ldif
>
> But getting an error message issue the above command

As I've already asked you before in the ticket you've filed: Add the
actual error message you're seeing because nobody has a crystal ball to
guess what's going on.

> Also , the next step is to start the slapd service but It seems like
> I couldn't start the service as shown in the below screenshot
Please don't post screenshots. Rather copy terminal messages in
your e-mail. This makes reading easier and allows search engines to
properly index list postings.

Ciao, Michael.


configure: error: Could not locate Cyrus SASL

2021-09-23 Thread Challa N Kumar Reddy
Hi There,

I have installed all the libraries including Cyrus SASL but while trying to 
compile I am getting the captioned error, Could you please advise.

[nchalla@server openldap-2.5.7]$ ./configure --prefix=/u01/ldap  
--disable-static --enable-debug --with-tls=auto --with-cyrus-sasl 
--enable-dynamic --enable-crypt --enable-spasswd --enable-slapd 
--enable-modules --enable-rlookups --enable-backends=mod --disable-ndb 
--disable-sql --disable-wt --enable-overlays=mod
Configuring OpenLDAP 2.5.7-Release ...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking configure arguments... done
checking for cc... cc
checking for ar... ar
checking for strip... strip
checking whether make sets $(MAKE)... yes
checking how to print strings... printf
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 
format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... 
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C preprocessor... cc -E
checking whether we are using MS Visual C++... no
checking for windres... no
checking for be_app in -lbe... no
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking for cc depend flag... -M
checking for afopen in -ls... no
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for lt_dlinit in -lltdl... yes
checking for EBCDIC... no
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes

./Configure failed on openldap

2021-09-22 Thread Challa N Kumar Reddy
While performing the configure I am not able to pass. Please find the error 
shown below,
Could you please advise on how to fix this.  Thanks in advance.

[nchalla@server openldap-2.5.7]$ ./configure --prefix=/u01/ldap  
--disable-static --enable-debug --with-tls=auto --with-cyrus-sasl 
--enable-dynamic --enable-crypt --enable-spasswd --enable-slapd 
--enable-modules --enable-rlookups --enable-backends=mod --disable-ndb 
--disable-sql --disable-shell --disable-bdb --disable-hdb --enable-overlays=mod
configure: WARNING: unrecognized options: --disable-shell, --disable-bdb, 
--disable-hdb
Configuring OpenLDAP 2.5.7-Release ...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking configure arguments... done
checking for cc... cc
checking for ar... ar
checking for strip... strip
checking whether make sets $(MAKE)... yes
checking how to print strings... printf
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 
format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... 
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C preprocessor... cc -E
checking whether we are using MS Visual C++... no
checking for windres... no
checking for be_app in -lbe... no
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking for cc depend flag... -M
checking for afopen in -ls... no
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for lt_dlinit in -lltdl... yes
checking for EBCDIC... no
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether termios.h defines TIOCGWINSZ... no
checking whether 

Failing while Configuring the OpenLDAP

2021-09-22 Thread Challa N Kumar Reddy
Hi There,

I am new to OpenLDAP and followed the steps mentioned in this quick start guide 
as it is 
https://www.openldap.org/doc/admin25/quickstart.html
but failing the configuration of OpenLDAP. 

I followed the below steps on CentOS 8 with 2.5.7 and successfully installed 
but while configuring facing issues, please correct me if I am doing this in 
the wrong way. 

1. Created a Linux user dedicated to OpenLDAP with the name "nchalla" which has 
sudo permissions.

2. Login with Root user and created a folder /u01 

3. change permissions on /u01 (for time being granted 777 (

4. change ownership of /u01 to "nchalla" 

5. downloaded the tarball and extracted the OpenLDAP 2.5.7

7. downloaded the required developer libraries 

8. Logged in as nchalla and navigated to the OpenLDAP 2.5.7 extracted folder 
and start compiling and installing with the below commands
./configure --prefix=/u01/ldap
make depend
make
make test (all tests were passed)
make install 

9. Started the configuration following the below steps 
a. created a folder /u01/ldap/etc/slapd.d 
b. updated the slapd.ldif with our domain name
c. navigate to /u01/ldap and executed the command below, 
sbin/slapadd -n 0 -F /u01/ldap/etc/slapd.d -l /u01/ldap/etc/openldap/slapd.ldif

But getting an error message issue the above command

Also , the next step is to start the slapd service but It seems like I couldn't 
start the service as shown in the below screenshot 

Please help! Thanks in advance.



Re: Xen Booting Problem on ARM Machine

2021-09-13 Thread Sai Kiran Kumar Reddy Y
On Fri, Sep 10, 2021 at 7:30 PM Julien Grall  wrote:

>
>
> On 08/09/2021 11:43, Sai Kiran wrote:
> > Hello,
>
> Hi,
>
> Thank you for the report. Moving the discussion back to xen-devel
> because this looks like a potential issue in the UEFI stub in Xen.
>
> > I have Xen-4.15.0 on an ARM Machine, with Debian 11 installed on it.
>
> Would you be able to give more details on the Arm machine you are using?
> Also, are you using ACPI or DT to boot?
>

   Sai >> DT . ACPI configuration is disabled in Boot settings

>
> >  I
> > am able to do “make world” and “make install”, after “./configure”, as
> > specified in README file. When I reboot the system, I get the following
> > message:
> >
> > Warning: All 128 bootinfo mem banks exhausted.
> >
> > Warning: All 128 bootinfo mem banks exhausted.
>
> Hmmm... This means that you have more than 128 memory regions described
> in the EFI memory map. That's quite a lot.
>
> Although, this should be harmless as it means Xen will not use the extra
> memory banks.
>
> >
> > Cannot exit boot services: ErrCode: 0x8002
>
> This means EFI_INVALID_PARAMETER. We have code to retry because AFAICT
> ExitBootServices() may sometime fails (I have CCed Jan may have more
> idea what's happening).
>
> Would you be able to provide more details on the UEFI firmware you are
> using? Is it EDK2 or U-boot?
>
> Sai >>  EDK2

> Also, do you know if Linux is boot on the same system?
>
> Sai >> Yes

> However, AFAICT, the error message would not prevent Xen to continue
> booting. So you may get stuck later in the boot process.
>
> My suggestion would be to enable earlyprintk for your platform. You can
> setup it up from the menuconfig in "Debugging Options".
>
Sai >> Yes, I have enabled earlyprintk.
I tried changing NR_MEM_BANKS(in xen/include/asm-arm/setup.h) value to 256,
from 128. The error message is no longer seen, but the device is stuck in
the boot process.

> >
> > Here is the snapshot of the error.
>
> Please avoid posting image on the ML. Instead, if you need to do it, you
> can upload on a web server and provide the URL.
>
> Best regards,
>
> --
> Julien Grall
>


[PATCH v1] driver: spi: add bcm iproc qspi support.

2021-08-25 Thread Bharat Kumar Reddy Gooty
From: Rayagonda Kokatanur 

IPROC qspi driver supports both BSPI and MSPI modes.

Signed-off-by: Rayagonda Kokatanur 
Signed-off-by: Bharat Gooty 
---
 drivers/spi/Kconfig  |   6 +
 drivers/spi/Makefile |   1 +
 drivers/spi/iproc_qspi.c | 736 +++
 drivers/spi/iproc_qspi.h |  18 +
 4 files changed, 761 insertions(+)
 create mode 100644 drivers/spi/iproc_qspi.c
 create mode 100644 drivers/spi/iproc_qspi.h

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index e12699bec7..3253d6badf 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -178,6 +178,12 @@ config ICH_SPI
  access the SPI NOR flash on platforms embedding this Intel
  ICH IP core.
 
+config IPROC_QSPI
+   bool "QSPI driver for BCM iProc QSPI Controller"
+   help
+ This selects the BCM iProc QSPI controller.
+ This driver support spi flash single, quad and memory reads.
+
 config KIRKWOOD_SPI
bool "Marvell Kirkwood SPI Driver"
help
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index d2f24bccef..8697631870 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -33,6 +33,7 @@ obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
 obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
 obj-$(CONFIG_SYNQUACER_SPI) += spi-synquacer.o
 obj-$(CONFIG_ICH_SPI) +=  ich.o
+obj-$(CONFIG_IPROC_QSPI) += iproc_qspi.o
 obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
 obj-$(CONFIG_MESON_SPIFC) += meson_spifc.o
 obj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o
diff --git a/drivers/spi/iproc_qspi.c b/drivers/spi/iproc_qspi.c
new file mode 100644
index 00..89c6a56858
--- /dev/null
+++ b/drivers/spi/iproc_qspi.c
@@ -0,0 +1,736 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2020-2021 Broadcom
+ */
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include "iproc_qspi.h"
+
+/* 175MHz */
+#define QSPI_AXI_CLK   17500
+#define QSPI_DEF_SCK_FREQ  5000
+#define QSPI_WAIT_TIMEOUT_MS   200U
+#define DWORD_ALIGNED(a)   (!(((ulong)(a)) & 3))
+
+/* Chip attributes */
+#define SPBR_MIN   8U
+#define SPBR_MAX   255U
+#define NUM_CDRAM  16U
+
+#define CDRAM_PCS0 2
+#define CDRAM_CONT BIT(7)
+#define CDRAM_BITS_EN  BIT(6)
+#define CDRAM_QUAD_MODEBIT(8)
+#define CDRAM_RBIT_INPUT   BIT(10)
+#define MSPI_SPE   BIT(6)
+#define MSPI_CONT_AFTER_CMDBIT(7)
+
+/* Register fields */
+#define MSPI_SPCR0_MSB_BITS_8  0x0020
+#define BSPI_RAF_CONTROL_START_MASK0x0001
+#define BSPI_RAF_STATUS_SESSION_BUSY_MASK  0x0001
+#define BSPI_RAF_STATUS_FIFO_EMPTY_MASK0x0002
+#define BSPI_BITS_PER_PHASE_ADDR_MARK  0x0001
+#define BSPI_BITS_PER_CYCLE_DATA_SHIFT 0
+#define BSPI_BITS_PER_CYCLE_ADDR_SHIFT 16
+#define BSPI_STRAP_OVERRIDE_DATA_QUAD_SHIFT3
+#define BSPI_STRAP_OVERRIDE_DATA_DUAL_SHIFT1
+#define BSPI_STRAP_OVERRIDE_SHIFT  0
+
+/* MSPI registers */
+#define MSPI_SPCR0_LSB_REG 0x000
+#define MSPI_SPCR0_MSB_REG 0x004
+#define MSPI_SPCR1_LSB_REG 0x008
+#define MSPI_SPCR1_MSB_REG 0x00c
+#define MSPI_NEWQP_REG 0x010
+#define MSPI_ENDQP_REG 0x014
+#define MSPI_SPCR2_REG 0x018
+#define MSPI_STATUS_REG0x020
+#define MSPI_CPTQP_REG 0x024
+#define MSPI_TXRAM_REG 0x040
+#define MSPI_RXRAM_REG 0x0c0
+#define MSPI_CDRAM_REG 0x140
+#define MSPI_WRITE_LOCK_REG0x180
+#define MSPI_DISABLE_FLUSH_GEN_REG 0x184
+
+/* BSPI registers */
+#define BSPI_REVISION_ID_REG   0x000
+#define BSPI_SCRATCH_REG   0x004
+#define BSPI_MAST_N_BOOT_CTRL_REG  0x008
+#define BSPI_BUSY_STATUS_REG   0x00c
+#define BSPI_INTR_STATUS_REG   0x010
+#define BSPI_B0_STATUS_REG 0x014
+#define BSPI_B0_CTRL_REG   0x018
+#define BSPI_B1_STATUS_REG 0x01c
+#define BSPI_B1_CTRL_REG   0x020
+#define BSPI_STRAP_OVERRIDE_CTRL_REG   0x024
+#define BSPI_FLEX_MODE_ENABLE_REG  0x028
+#define BSPI_BITS_PER_CYCLE_REG0x02C
+#define BSPI_BITS_PER_PHASE_REG0x030
+#define BSPI_CMD_AND_MODE_BYTE_REG 0x034
+#define BSPI_FLASH_UPPER_ADDR_BYTE_REG 0x038
+#define BSPI_XOR_VALUE_REG 0x03C
+#define 

[PATCH v1 2/2] pinctrl: single: Add request() api

2021-08-24 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty 

Add pinctrl_ops->request api to configure pctrl
pad register in gpio mode.

Signed-off-by: Rayagonda Kokatanur 
Signed-off-by: Bharat Gooty 
---
 drivers/pinctrl/pinctrl-single.c | 34 
 1 file changed, 34 insertions(+)

diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index 0f96cd5870..8fc07e3498 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -250,6 +250,39 @@ static int single_get_pin_muxing(struct udevice *dev, 
unsigned int pin,
return 0;
 }
 
+static int single_request(struct udevice *dev, int pin, int flags)
+{
+   struct single_priv *priv = dev_get_priv(dev);
+   struct single_pdata *pdata = dev_get_plat(dev);
+   struct single_gpiofunc_range *frange = NULL;
+   struct list_head *pos, *tmp;
+   phys_addr_t reg;
+   int mux_bytes = 0;
+   u32 data;
+
+   /* If function mask is null, needn't enable it. */
+   if (!pdata->mask)
+   return -ENOTSUPP;
+
+   list_for_each_safe(pos, tmp, >gpiofuncs) {
+   frange = list_entry(pos, struct single_gpiofunc_range, node);
+   if ((pin >= frange->offset + frange->npins) ||
+   pin < frange->offset)
+   continue;
+
+   mux_bytes = pdata->width / BITS_PER_BYTE;
+   reg = pdata->base + pin * mux_bytes;
+
+   data = single_read(dev, reg);
+   data &= ~pdata->mask;
+   data |= frange->gpiofunc;
+   single_write(dev, data, reg);
+   break;
+   }
+
+   return 0;
+}
+
 static struct single_func *single_allocate_function(struct udevice *dev,
unsigned int group_pins)
 {
@@ -587,6 +620,7 @@ const struct pinctrl_ops single_pinctrl_ops = {
.get_pin_name = single_get_pin_name,
.set_state = single_set_state,
.get_pin_muxing = single_get_pin_muxing,
+   .request = single_request,
 };
 
 static const struct udevice_id single_pinctrl_match[] = {
-- 
2.17.1


-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.


smime.p7s
Description: S/MIME Cryptographic Signature


[PATCH v1 1/2] pinctrl: single: Parse gpio details from dt

2021-08-24 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty 

Parse different gpio properties from dt as part of probe
function. This detail is required to enable pinctrl pad
later when gpio lines are requested.

Signed-off-by: Rayagonda Kokatanur 
Signed-off-by: Bharat Gooty 
---
 drivers/pinctrl/pinctrl-single.c | 52 
 1 file changed, 52 insertions(+)

diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index cf9ad3670f..0f96cd5870 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -8,6 +8,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -44,11 +45,27 @@ struct single_func {
unsigned int *pins;
 };
 
+/**
+ * struct single_gpiofunc_range - pin ranges with same mux value of gpio fun
+ * @offset: offset base of pins
+ * @npins: number pins with the same mux value of gpio function
+ * @gpiofunc: mux value of gpio function
+ * @node: list node
+ */
+struct single_gpiofunc_range {
+   u32 offset;
+   u32 npins;
+   u32 gpiofunc;
+   struct list_head node;
+};
+
 /**
  * struct single_priv - private data
  * @bits_per_pin: number of bits per pin
  * @npins: number of selectable pins
  * @pin_name: temporary buffer to store the pin name
+ * @functions: list pin functions
+ * @gpiofuncs: list gpio functions
  */
 struct single_priv {
 #if (IS_ENABLED(CONFIG_SANDBOX))
@@ -58,6 +75,7 @@ struct single_priv {
unsigned int npins;
char pin_name[PINNAME_SIZE];
struct list_head functions;
+   struct list_head gpiofuncs;
 };
 
 /**
@@ -454,6 +472,36 @@ static int single_get_pins_count(struct udevice *dev)
return priv->npins;
 }
 
+static int single_add_gpio_func(struct udevice *dev)
+{
+   struct single_priv *priv = dev_get_priv(dev);
+   const char *propname = "pinctrl-single,gpio-range";
+   const char *cellname = "#pinctrl-single,gpio-range-cells";
+   struct single_gpiofunc_range *range;
+   struct ofnode_phandle_args gpiospec;
+   int ret, i;
+
+   for (i = 0; ; i++) {
+   ret = ofnode_parse_phandle_with_args(dev_ofnode(dev), propname,
+cellname, 0, i, );
+   /* Do not treat it as error. Only treat it as end condition. */
+   if (ret) {
+   ret = 0;
+   break;
+   }
+   range = devm_kzalloc(dev, sizeof(*range), GFP_KERNEL);
+   if (!range) {
+   ret = -ENOMEM;
+   break;
+   }
+   range->offset = gpiospec.args[0];
+   range->npins = gpiospec.args[1];
+   range->gpiofunc = gpiospec.args[2];
+   list_add_tail(>node, >gpiofuncs);
+   }
+   return ret;
+}
+
 static int single_probe(struct udevice *dev)
 {
struct single_pdata *pdata = dev_get_plat(dev);
@@ -461,6 +509,7 @@ static int single_probe(struct udevice *dev)
u32 size;
 
INIT_LIST_HEAD(>functions);
+   INIT_LIST_HEAD(>gpiofuncs);
 
size = pdata->offset + pdata->width / BITS_PER_BYTE;
#if (CONFIG_IS_ENABLED(SANDBOX))
@@ -483,6 +532,9 @@ static int single_probe(struct udevice *dev)
priv->npins *= (pdata->width / priv->bits_per_pin);
}
 
+   if (single_add_gpio_func(dev))
+   dev_dbg(dev, "gpio functions are not added\n");
+
dev_dbg(dev, "%d pins\n", priv->npins);
return 0;
 }
-- 
2.17.1


-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.


smime.p7s
Description: S/MIME Cryptographic Signature


[PATCH v1 0/2] pinctrl single: GPIO support

2021-08-24 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty 

pinctrl-single:-
Add support to parse "pinctrl-single,gpio-range" and 
"#pinctrl-single,gpio-range-cells" DT properties

Add pinctrl_ops request()

Bharat Gooty (2):
  pinctrl: single: Parse gpio details from dt
  pinctrl: single: Add request() api

 drivers/pinctrl/pinctrl-single.c | 86 
 1 file changed, 86 insertions(+)

-- 
2.17.1


-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.


smime.p7s
Description: S/MIME Cryptographic Signature


[PATCH v1 1/2] net: brcm: netXtreme driver

2021-08-23 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty 

Broadcom bnxt L2 driver support. Used by the Broadcom
iproc platforms.

Signed-off-by: Bharat Gooty 
---
 drivers/net/Kconfig |1 +
 drivers/net/Makefile|1 +
 drivers/net/bnxt/Kconfig|7 +
 drivers/net/bnxt/Makefile   |5 +
 drivers/net/bnxt/bnxt.c | 2025 +++
 drivers/net/bnxt/bnxt_dbg.h |  538 ++
 drivers/net/bnxt/pci_ids.h  |   17 +
 include/broadcom/bnxt.h |  419 
 include/broadcom/bnxt_hsi.h |  889 +++
 include/broadcom/bnxt_ver.h |   22 +
 10 files changed, 3924 insertions(+)
 create mode 100644 drivers/net/bnxt/Kconfig
 create mode 100644 drivers/net/bnxt/Makefile
 create mode 100644 drivers/net/bnxt/bnxt.c
 create mode 100644 drivers/net/bnxt/bnxt_dbg.h
 create mode 100644 drivers/net/bnxt/pci_ids.h
 create mode 100644 include/broadcom/bnxt.h
 create mode 100644 include/broadcom/bnxt_hsi.h
 create mode 100644 include/broadcom/bnxt_ver.h

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 382639044b..ff2c1797b1 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -1,6 +1,7 @@
 source "drivers/net/phy/Kconfig"
 source "drivers/net/pfe_eth/Kconfig"
 source "drivers/net/fsl-mc/Kconfig"
+source "drivers/net/bnxt/Kconfig"
 
 config DM_ETH
bool "Enable Driver Model for Ethernet drivers"
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index a44a7d3f56..f739f1e157 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -96,3 +96,4 @@ obj-$(CONFIG_HIGMACV300_ETH) += higmacv300.o
 obj-$(CONFIG_MDIO_SANDBOX) += mdio_sandbox.o
 obj-$(CONFIG_FSL_ENETC) += fsl_enetc.o fsl_enetc_mdio.o
 obj-$(CONFIG_FSL_LS_MDIO) += fsl_ls_mdio.o
+obj-$(CONFIG_BNXT_ETH) += bnxt/
diff --git a/drivers/net/bnxt/Kconfig b/drivers/net/bnxt/Kconfig
new file mode 100644
index 00..c263616612
--- /dev/null
+++ b/drivers/net/bnxt/Kconfig
@@ -0,0 +1,7 @@
+config BNXT_ETH
+   bool "BNXT PCI support"
+   depends on DM_ETH && DM_PCI
+   help
+ This driver implements support for bnxt pci controller
+ driver of ethernet class.
+
diff --git a/drivers/net/bnxt/Makefile b/drivers/net/bnxt/Makefile
new file mode 100644
index 00..a9d6ce00d5
--- /dev/null
+++ b/drivers/net/bnxt/Makefile
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0+
+# Copyright 2019-2021 Broadcom.
+
+# Broadcom nxe Ethernet driver
+obj-y += bnxt.o
diff --git a/drivers/net/bnxt/bnxt.c b/drivers/net/bnxt/bnxt.c
new file mode 100644
index 00..144df587f7
--- /dev/null
+++ b/drivers/net/bnxt/bnxt.c
@@ -0,0 +1,2025 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2019-2021 Broadcom.
+ */
+
+#include 
+#include 
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include "bnxt_dbg.h"
+#include "pci_ids.h"
+
+#define bnxt_down_chip(bp) bnxt_hwrm_run(down_chip, bp, 0)
+#define bnxt_bring_chip(bp)bnxt_hwrm_run(bring_chip, bp, 1)
+
+static const char banner[]  = DRV_MODULE_DESC " v" UBOOT_MODULE_VER ",";
+static const char fw_ver[]  = " FW v";
+
+static int num_cards;  /* Number of bnxt devices seen so far */
+
+static void display_banner(struct bnxt *bp)
+{
+   int i;
+
+   printf(banner);
+   printf(fw_ver);
+   printf("%d.%d.", bp->fw_maj, bp->fw_min);
+   printf("%d.%d\n", bp->fw_bld, bp->fw_rsvd);
+   printf("ETH MAC: ");
+   for (i = 0; i < ETH_ALEN; i++) {
+   printf("%02x", bp->mac_set[i]);
+   if (i != (ETH_ALEN - 1))
+   printf(":");
+   }
+
+   printf(", Port(%d), PF(%d)\n", bp->port_idx, bp->ordinal_value);
+}
+
+/* Broadcom ethernet driver PCI APIs. */
+static void bnxt_bring_pci(struct bnxt *bp)
+{
+   u16 cmd_reg = 0;
+
+   pci_read_word16(bp->pdev, PCI_VENDOR_ID, >vendor_id);
+   pci_read_word16(bp->pdev, PCI_DEVICE_ID, >device_id);
+   pci_read_word16(bp->pdev,
+   PCI_SUBSYSTEM_VENDOR_ID,
+   >subsystem_vendor);
+   pci_read_word16(bp->pdev, PCI_SUBSYSTEM_ID, >subsystem_device);
+   pci_read_word16(bp->pdev, PCI_COMMAND, >cmd_reg);
+   pci_read_byte(bp->pdev, PCICFG_ME_REGISTER, >pf_num);
+   pci_read_byte(bp->pdev, PCI_INTERRUPT_LINE, >irq);
+   bp->bar0 = pci_map_bar(bp->pdev, PCI_BASE_ADDRESS_0, PCI_REGION_MEM);
+   bp->bar1 = pci_map_bar(bp->pdev, PCI_BASE_ADDRESS_2, PCI_REGION_MEM);
+   bp->bar2 = pci_map_bar(bp->pdev, PCI_BASE_ADDRESS_4, PCI_REGION_MEM);
+   cmd_reg = bp->cmd_reg | PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER;
+   cmd_reg |= PCI_COMMAND_INTX_DISABLE; /* disable intr */
+   pci_write_word(bp->pdev, PCI_COMMAND, cmd_reg);
+   pci_read_word16(bp->pdev, PCI_COMMAND, _reg);
+   dbg_pci(bp, __func__, cmd_reg);
+}
+
+int bnxt_free_rx_iob(struct bnxt *bp)
+{
+   unsigned int i;
+
+   if (!(FLAG_TEST(bp->flag_hwrm, VALID_RX_IOB)))
+   return 

[PATCH v1 2/2] cmd: brcm: netXtreme commands

2021-08-23 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty 

Following netXtreme commands are supported:-
Device probe, remove, supported speeds, get/set speeds and
get/set MAC address.

Signed-off-by: Bharat Gooty 
---
 cmd/Kconfig   |   2 +
 cmd/broadcom/Kconfig  |  10 ++
 cmd/broadcom/Makefile |   3 +-
 cmd/broadcom/bnxt.c   | 237 ++
 4 files changed, 251 insertions(+), 1 deletion(-)
 create mode 100644 cmd/broadcom/Kconfig
 create mode 100644 cmd/broadcom/bnxt.c

diff --git a/cmd/Kconfig b/cmd/Kconfig
index a9fb4eead2..ef53e42f72 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1920,6 +1920,8 @@ endmenu
 
 source "cmd/ti/Kconfig"
 
+source "cmd/broadcom/Kconfig"
+
 config CMD_BOOTSTAGE
bool "Enable the 'bootstage' command"
depends on BOOTSTAGE
diff --git a/cmd/broadcom/Kconfig b/cmd/broadcom/Kconfig
new file mode 100644
index 00..6f16b09d14
--- /dev/null
+++ b/cmd/broadcom/Kconfig
@@ -0,0 +1,10 @@
+menu "Broadcom specific command line interface"
+
+config BNXT_ETH_CMD
+   bool "BNXT commands"
+   depends on BNXT_ETH
+   help
+ Broadcom NXS ethernet controller commands. Commands supported are:-
+ Driver probe, Driver remove, Supported speeds, get/set MAC address 
and get/set Link speeds.
+
+endmenu
diff --git a/cmd/broadcom/Makefile b/cmd/broadcom/Makefile
index 62268d98d0..0027c1c15e 100644
--- a/cmd/broadcom/Makefile
+++ b/cmd/broadcom/Makefile
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0+
-# Copyright 2020 Broadcom
+# Copyright 2020-2021 Broadcom
 
 obj-y += chimp_boot.o
 obj-y += nitro_image_load.o
 obj-y += chimp_handshake.o
+obj-$(CONFIG_BNXT_ETH_CMD) += bnxt.o
diff --git a/cmd/broadcom/bnxt.c b/cmd/broadcom/bnxt.c
new file mode 100644
index 00..b9d1e59a74
--- /dev/null
+++ b/cmd/broadcom/bnxt.c
@@ -0,0 +1,237 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2021 Broadcom
+ */
+
+#include 
+#include 
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+static int do_bnxt_set_link(struct bnxt *bp, char *link_str)
+{
+   bp->link_set = simple_strtoul(link_str, NULL, 16);
+
+   switch (bp->link_set) {
+   case LINK_SPEED_DRV_AUTONEG:
+   printf("- AutoNeg Not Supported\n");
+   return 0;
+   case LINK_SPEED_DRV_1G:
+   if (!(bp->support_speeds & PORT_QCFG_SUPPORT_SPEEDS_1GB)) {
+   printf("- 1 GBPS: Link Speed is not supported\n");
+   return 0;
+   }
+
+   break;
+   case LINK_SPEED_DRV_10G:
+   if (!(bp->support_speeds & PORT_QCFG_SUPPORT_SPEEDS_10GB)) {
+   printf("- 10 GBPS: Link Speed is not supported\n");
+   return 0;
+   }
+
+   break;
+   case LINK_SPEED_DRV_25G:
+   if (!(bp->support_speeds & PORT_QCFG_SUPPORT_SPEEDS_25GB)) {
+   printf("- 25 GBPS: Link Speed is not supported\n");
+   return 0;
+   }
+
+   break;
+   case LINK_SPEED_DRV_40G:
+   printf("- 40 GBPS Not Supported\n");
+   return 0;
+   case LINK_SPEED_DRV_50G:
+   if (!(bp->support_speeds & PORT_QCFG_SUPPORT_SPEEDS_50GB)) {
+   printf("- 50 GBPS: Link Speed is not supported\n");
+   return 0;
+   }
+
+   break;
+   case LINK_SPEED_DRV_100G:
+   if (!(bp->support_speeds & PORT_QCFG_SUPPORT_SPEEDS_100GB)) {
+   printf("- 100 GBPS: Link Speed is not supported\n");
+   return 0;
+   }
+
+   break;
+   case LINK_SPEED_DRV_200G:
+   if (!(bp->support_speeds & PORT_QCFG_SUPPORT_SPEEDS_200GB)) {
+   printf("- 200 GBPS: Link Speed is not supported\n");
+   return 0;
+   }
+
+   break;
+   case LINK_SPEED_DRV_2_5G:
+   if (!(bp->support_speeds & PORT_QCFG_SUPPORT_SPEEDS_2_5GB)) {
+   printf("- 2.5 GBPS: Link Speed is not supported\n");
+   return 0;
+   }
+
+   break;
+   case LINK_SPEED_DRV_100M:
+   if (!(bp->support_speeds & PORT_QCFG_SUPPORT_SPEEDS_100MB)) {
+   printf("- 100 MBPS: Link Speed is not supported\n");
+   return 0;
+   }
+
+   break;
+   default:
+   printf("- Invalid Link Speed specified\n");
+   return CMD_RET_USAGE;
+   }
+
+   prn_link_speed(bp->link_set, 1);
+
+   return bnxt_set_link_speed(bp);
+}
+
+static int do_bnxt_set_mac(struct bnxt *bp, char *mac_str)
+{
+   struct eth_pdata *plat = dev_get_plat(bp->pdev);
+   u8 addr[ETH_ALEN];
+   int ret = CMD_RET_USAGE;
+
+   

[PATCH v1 0/2] Broadcom netXtreme driver and commands

2021-08-23 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty 

Broadcom netXtreme controller supports multiple ports and
multiple link speeds like 10/25/50/100G

1. Added driver support for netXtreme controller
2. Added commands to know the port used, supported speeds,
configure link speeds and MAC address.

Bharat Gooty (2):
  net: brcm: netXtreme driver
  cmd: brcm: netXtreme commands

 cmd/Kconfig |2 +
 cmd/broadcom/Kconfig|   10 +
 cmd/broadcom/Makefile   |3 +-
 cmd/broadcom/bnxt.c |  237 
 drivers/net/Kconfig |1 +
 drivers/net/Makefile|1 +
 drivers/net/bnxt/Kconfig|7 +
 drivers/net/bnxt/Makefile   |5 +
 drivers/net/bnxt/bnxt.c | 2025 +++
 drivers/net/bnxt/bnxt_dbg.h |  538 ++
 drivers/net/bnxt/pci_ids.h  |   17 +
 include/broadcom/bnxt.h |  419 
 include/broadcom/bnxt_hsi.h |  889 +++
 include/broadcom/bnxt_ver.h |   22 +
 14 files changed, 4175 insertions(+), 1 deletion(-)
 create mode 100644 cmd/broadcom/Kconfig
 create mode 100644 cmd/broadcom/bnxt.c
 create mode 100644 drivers/net/bnxt/Kconfig
 create mode 100644 drivers/net/bnxt/Makefile
 create mode 100644 drivers/net/bnxt/bnxt.c
 create mode 100644 drivers/net/bnxt/bnxt_dbg.h
 create mode 100644 drivers/net/bnxt/pci_ids.h
 create mode 100644 include/broadcom/bnxt.h
 create mode 100644 include/broadcom/bnxt_hsi.h
 create mode 100644 include/broadcom/bnxt_ver.h

-- 
2.17.1


-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.


smime.p7s
Description: S/MIME Cryptographic Signature


[PATCH v1] pci: iproc: fix compilation errors and warnings

2021-08-23 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty 

Signed-off-by: Bharat Gooty 
---
 drivers/pci/pcie_iproc.c | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/pci/pcie_iproc.c b/drivers/pci/pcie_iproc.c
index 12ce9d525c..be03dcbd97 100644
--- a/drivers/pci/pcie_iproc.c
+++ b/drivers/pci/pcie_iproc.c
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /*
- * Copyright (C) 2020 Broadcom
+ * Copyright (C) 2020-2021 Broadcom
  *
  */
 
@@ -12,6 +12,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 
 #define EP_PERST_SOURCE_SELECT_SHIFT 2
@@ -884,7 +885,7 @@ static int iproc_pcie_map_ranges(struct udevice *dev)
for (i = 0; i < hose->region_count; i++) {
if (hose->regions[i].flags == PCI_REGION_MEM ||
hose->regions[i].flags == PCI_REGION_PREFETCH) {
-   debug("%d: bus_addr %p, axi_addr %p, size 0x%lx\n",
+   debug("%d: bus_addr %p, axi_addr %p, size 0x%llx\n",
  i, >regions[i].bus_start,
  >regions[i].phys_start,
  hose->regions[i].size);
@@ -1049,7 +1050,7 @@ static int iproc_pcie_map_dma_ranges(struct iproc_pcie 
*pcie)
 
while (!pci_get_dma_regions(pcie->dev, , i)) {
dev_dbg(pcie->dev,
-   "dma %d: bus_addr %#lx, axi_addr %#llx, size %#lx\n",
+   "dma %d: bus_addr %#llx, axi_addr %#llx, size %#llx\n",
i, regions.bus_start, regions.phys_start, regions.size);
 
/* Each range entry corresponds to an inbound mapping region */
-- 
2.17.1


-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.


smime.p7s
Description: S/MIME Cryptographic Signature


[google-appengine] I'm interested to know more about cloud storage free trail under$300

2020-07-20 Thread kumar reddy
I just want to know more about $300 free trail. I i get signed up for $300 
free trail, and add credit card details., will i be charged for any charges 
after i consume the services under that package?. will i have a stop point 
that allows me to stop using the paid services?

My intention is to avoid any kind of charges, and continue with free trail 
to experience the cloud storage.

Thanks,
Kumar N.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d4ee2c01-0624-4805-8878-bf7b89f2b9bfo%40googlegroups.com.


Re: [datameet] Any data about migration?

2020-05-15 Thread Kushal Kumar Reddy
Hi All,

Can someone please share if there is any repository on this..?

Thank you

On Wed, May 6, 2020 at 8:57 AM Sanjay Kumar  wrote:

> Wow I really like the idea. If someone makes a repository can you please
> share it? Wouldn't some humanitarian groups be working on a repository like
> this? They might be able share the information they have.
>
> --
> Datameet is a community of Data Science enthusiasts in India. Know more
> about us by visiting http://datameet.org
> ---
> You received this message because you are subscribed to the Google Groups
> "datameet" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to datameet+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/datameet/22f0354f-1087-4240-b4c8-149969e26fab%40googlegroups.com
> .
>

-- 
Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting http://datameet.org
--- 
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datameet+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/CAL-YVr6YQrkuSbCV7-fjhMn4AsHMXOAiUe0u2Npp1Ju-mPyOFQ%40mail.gmail.com.


Re: [AI] Difficulty in spellings of English

2020-04-25 Thread Sharath Kumar Reddy
Dear Santosh,

Yes you can use enable India spelling tool so that you can improve your
spellings.

Thanks and regards,
Sharath Kumar Reddy
Mobile no- 8500499318.

On Sat, Apr 25, 2020, 11:59 AM Maruti Paramwad  wrote:

> Hello Santosh,
>
> Greetings!
> as above suggestion, use braille display. that would be the best way
> to improve spellings.
>
> On 4/25/20, Santosh Prajapati  wrote:
> > Dear all,
> >
> > as most of us have to study and read through listening only, so most of
> us
> > suffer through week spellings, so I am suffering the same. actually my
> > English spelling is weak, most of the time, I have to use voice input for
> > typing. so can anyone suggest me the ways to improve it?
> > Actually I am trying to improve my spellings by reading stories on the
> > Internet and typing but are there any other good ways?
> >
> >
> >
> > Search for old postings at:
> > http://www.mail-archive.com/accessindia@accessindia.org.in/
> >
> > To unsubscribe send a message to
> > accessindia-requ...@accessindia.org.in
> > with the subject unsubscribe.
> >
> > To change your subscription to digest mode or make any other changes,
> please
> > visit the list home page at
> >
> http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
> >
> >
> > Disclaimer:
> > 1. Contents of the mails, factual, or otherwise, reflect the thinking of
> the
> > person sending the mail and AI in no way relates itself to its veracity;
> >
> > 2. AI cannot be held liable for any commission/omission based on the
> mails
> > sent through this mailing list..
> >
> >
>
>
> --
> Thanks and Regards
> Maruti Paramwad
> Email Id: mparam...@gmail.com
> Skype id: maruti.paramwad1
>
>
>
>
> Search for old postings at:
> http://www.mail-archive.com/accessindia@accessindia.org.in/
>
> To unsubscribe send a message to
> accessindia-requ...@accessindia.org.in
> with the subject unsubscribe.
>
> To change your subscription to digest mode or make any other changes,
> please visit the list home page at
> http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
>
>
> Disclaimer:
> 1. Contents of the mails, factual, or otherwise, reflect the thinking of
> the person sending the mail and AI in no way relates itself to its veracity;
>
> 2. AI cannot be held liable for any commission/omission based on the mails
> sent through this mailing list..
>
>



Search for old postings at:
http://www.mail-archive.com/accessindia@accessindia.org.in/

To unsubscribe send a message to
accessindia-requ...@accessindia.org.in
with the subject unsubscribe.

To change your subscription to digest mode or make any other changes, please 
visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in


Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the thinking of the 
person sending the mail and AI in no way relates itself to its veracity;

2. AI cannot be held liable for any commission/omission based on the mails sent 
through this mailing list..



gitlab cloning repository in each stage

2020-03-04 Thread kumar reddy
Hi All,

I am new to Gitlab, Trying to implement CICD for a python project. Here i 
am not using docker image 
I am shell and trying to build on a Normal VM machine

i have defined 2 stages as below in .gitlab-ci.yml

stages:
 -test
 -coverage

Some test cases are failing but i am using allow_failure: true to go to the 
next stage
when i am trying to upload the coverage result to sonarqube the result on 
sonarqube is empty as sonar-scanner is not able to find coverage.xml file

The reason is gitlabl is cloning repository for each stage. Is there a way 
to overcome this 

Thanks in advance
ctr


-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/78a8578c-4c2d-4c22-b42d-f33443d66a76%40googlegroups.com.


[Sikuli-driver] [Bug 1865423] Re: [2.0.x] Batch env paths are not considering in Sikuli IDE

2020-03-04 Thread K J R KISHORE KUMAR REDDY
create below folder SikuliX,"SikuliX\Lib"  in c drive

C:\SikuliX
C:\SikuliX\Lib

place Sikulix.jar file in "C:\Sikuli" and create one test.sikuli in
"C:\Sikuli\Lib"  folder

i am launch sikuli using below bath file:

@echo off
setlocal ENABLEDELAYEDEXPANSION
set mypath=%cd%
set lib_path=%mypath%
call set lib_path=%%lib_path:\SikuliX=% %\SikuliX\Lib%%
SET PATH=%lib_path%;%PATH%
java -jar %mypath%\sikulix.jar


In sikuli ide type below code and run 

from sikuli import *
import test


issue test folder is not importing

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1865423

Title:
  [2.0.x] Batch env paths are not considering in Sikuli IDE

Status in Sikuli:
  Opinion

Bug description:
  i have set below path and try to import modules from below path not working
  SET  PATH=%c:\test_path%;%PATH%

  Note: SikuliIDE 1.1.3 is working but latest releases its not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1865423/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689123]: How to execute Linux commands remotely from windows machine using sikulix

2020-03-04 Thread K J R KISHORE KUMAR REDDY
Question #689123 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689123

Status: Answered => Solved

K J R KISHORE KUMAR REDDY confirmed that the question is solved:
I am using SSHLibrary and i can able to execute Linux commands remotely
from windows machine using sikulix

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #689123]: How to execute Linux commands remotely from windows machine using sikulix

2020-03-03 Thread K J R KISHORE KUMAR REDDY
New question #689123 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689123

How to execute Linux commands remotely from windows machine using sikulix

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1865423] Re: [2.0.x] Batch env paths are not considering in Sikuli IDE

2020-03-03 Thread K J R KISHORE KUMAR REDDY
Hello RaiMan,

I want to  Bath env paths are to be considering in Sikuli IDE so that i
can place all my sikuli folder inside that path and i can able to import
those sikuli folder in IDE

SikuliIDE 1.1.3 is have above behavior

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1865423

Title:
  [2.0.x] Batch env paths are not considering in Sikuli IDE

Status in Sikuli:
  Opinion

Bug description:
  i have set below path and try to import modules from below path not working
  SET  PATH=%c:\test_path%;%PATH%

  Note: SikuliIDE 1.1.3 is working but latest releases its not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1865423/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1865423] Re: Bath env paths are not considering in Sikuli IDE

2020-03-02 Thread K J R KISHORE KUMAR REDDY
I am launching SikuliX using below bath file and after launching i am
import modules from "lib_path" directory

@echo off
setlocal ENABLEDELAYEDEXPANSION
set mypath=%cd%
set WSPath=%mypath%
set lib_path=%mypath%
set extension_path=%mypath%
call set WSPath=%%WSPath:\SikuliX=% %%%
call set  lib_path=%%lib_path:\SikuliX=% %\SikuliX\Lib%%
call set  extension_path=%%extension_path:\SikuliX=% %\SikuliX\Extensions%%
SET  PATH=%lib_path%;%extension_path%;%PATH%
java -jar %mypath%\sikulix.jar

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1865423

Title:
  Bath env paths are not considering in Sikuli IDE

Status in Sikuli:
  New

Bug description:
  i have set below path and try to import modules from below path not working 
  SET  PATH=%c:\test_path%;%PATH%

  Note: SikuliIDE 1.1.3 is working but latest releases its not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1865423/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1865423] [NEW] Bath env paths are not considering in Sikuli IDE

2020-03-01 Thread K J R KISHORE KUMAR REDDY
Public bug reported:

i have set below path and try to import modules from below path not working 
SET  PATH=%c:\test_path%;%PATH%

Note: SikuliIDE 1.1.3 is working but latest releases its not working

** Affects: sikuli
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1865423

Title:
  Bath env paths are not considering in Sikuli IDE

Status in Sikuli:
  New

Bug description:
  i have set below path and try to import modules from below path not working 
  SET  PATH=%c:\test_path%;%PATH%

  Note: SikuliIDE 1.1.3 is working but latest releases its not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1865423/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [PATCH] arch: arm: Fix SZ_64K undeclared compilation error

2020-02-18 Thread Bharat Kumar Reddy

Looks good to me.

On 14/02/20 11:00 am, Wasim Khan wrote:

Macro SZ_64K is undeclared. Include sizes.h to fix the compilation
error.

Signed-off-by: Wasim Khan 
---
  arch/arm/lib/gic-v3-its.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c
index e19ab01..6ee22d2 100644
--- a/arch/arm/lib/gic-v3-its.c
+++ b/arch/arm/lib/gic-v3-its.c
@@ -6,6 +6,7 @@
  #include 
  #include 
  #include 
+#include 
  
  static u32 lpi_id_bits;
  


WARNING hudson.FilePath#_getChannelForSerialization: A FilePath object is being serialized when it should not be, indicating a bug in a plugin. See https://jenkins.io/redirect/filepath-serialization

2020-02-15 Thread kumar reddy
Hi All,

Seeing the below warning on jenkins 2.190.3. Eventhough it is a warning it 
is annoying by creating huge logs
If any one has come across this please let me how to resolve this

2020-02-14 03:50:03.740+ [id=223127]WARNING 
hudson.FilePath#_getChannelForSerialization: A FilePath object is being 
serialized when it should
 not be, indicating a bug in a plugin. See 
https://jenkins.io/redirect/filepath-serialization for details.
java.io.NotSerializableException: The calling thread Thread[Fingerprint 
cleanup thread,5,main] has no associated channel. The current object null 
is inte
rface org.jenkinsci.remoting.SerializableOnlyOverRemoting, but it is likely 
being serialized/deserialized without the channel
at 
org.jenkinsci.remoting.SerializableOnlyOverRemoting.getChannelForSerialization(SerializableOnlyOverRemoting.java:67)

Thanks in advance
:)

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3459c55c-6dc3-4b6d-a143-239819d56b37%40googlegroups.com.


[Sikuli-dev] [Bug 1859910] [NEW] Selenium is not working in Sikuli IDE

2020-01-15 Thread K J R KISHORE KUMAR REDDY
Public bug reported:

To run selenium in sikulix-2.0.1 i am running below code i am getting error 
message but if i am running selenium  in sikulix1.1.3 it is working.
could please fix in sikulix-2.0.1

import os
import sys
load("selenium-server-standalone-3.141.59.jar")
from org.openqa.selenium.chrome import ChromeDriver
browser= ChromeDriver(op)
browser.get('http://www.google.com')


[error] script [ sikulitemp-8237316473222044562 ] stopped with error in line 5
[error] java.lang.NoSuchMethodError ( java.lang.NoSuchMethodError: 
com/google/common/util/concurrent/SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter;
 (loaded from 
file:/C:/Users/kry3/Desktop/Sikulix_1_4/Sikulix2/sikulix-2.0.1.jar by 
jdk.internal.loader.ClassLoaders$AppClassLoader@729a76d5) called from class 
org.openqa.selenium.net.UrlChecker (loaded from  by 
org.python.core.SyspathJavaLoader@c1d65f02). )
[error] --- Traceback --- error source first
line: module ( function ) statement 
5: main (   ) browser= ChromeDriver(op)
[error] --- Traceback --- end --
Starting ChromeDriver 2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e) on 
port 10015
Only local connections are allowed.

** Affects: sikuli
 Importance: Undecided
 Status: New

** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of Sikuli
Developers, which is subscribed to Sikuli.
Matching subscriptions: Private security bugs
https://bugs.launchpad.net/bugs/1859910

Title:
  Selenium is not working in Sikuli IDE

Status in Sikuli:
  New

Bug description:
  To run selenium in sikulix-2.0.1 i am running below code i am getting error 
message but if i am running selenium  in sikulix1.1.3 it is working.
  could please fix in sikulix-2.0.1

  import os
  import sys
  load("selenium-server-standalone-3.141.59.jar")
  from org.openqa.selenium.chrome import ChromeDriver
  browser= ChromeDriver(op)
  browser.get('http://www.google.com')

  
  [error] script [ sikulitemp-8237316473222044562 ] stopped with error in line 5
  [error] java.lang.NoSuchMethodError ( java.lang.NoSuchMethodError: 
com/google/common/util/concurrent/SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter;
 (loaded from 
file:/C:/Users/kry3/Desktop/Sikulix_1_4/Sikulix2/sikulix-2.0.1.jar by 
jdk.internal.loader.ClassLoaders$AppClassLoader@729a76d5) called from class 
org.openqa.selenium.net.UrlChecker (loaded from  by 
org.python.core.SyspathJavaLoader@c1d65f02). )
  [error] --- Traceback --- error source first
  line: module ( function ) statement 
  5: main (   ) browser= ChromeDriver(op)
  [error] --- Traceback --- end --
  Starting ChromeDriver 2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e) 
on port 10015
  Only local connections are allowed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1859910/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-dev
Post to : sikuli-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-dev
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1859910] [NEW] Selenium is not working in Sikuli IDE

2020-01-15 Thread K J R KISHORE KUMAR REDDY
Public bug reported:

To run selenium in sikulix-2.0.1 i am running below code i am getting error 
message but if i am running selenium  in sikulix1.1.3 it is working.
could please fix in sikulix-2.0.1

import os
import sys
load("selenium-server-standalone-3.141.59.jar")
from org.openqa.selenium.chrome import ChromeDriver
browser= ChromeDriver(op)
browser.get('http://www.google.com')


[error] script [ sikulitemp-8237316473222044562 ] stopped with error in line 5
[error] java.lang.NoSuchMethodError ( java.lang.NoSuchMethodError: 
com/google/common/util/concurrent/SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter;
 (loaded from 
file:/C:/Users/kry3/Desktop/Sikulix_1_4/Sikulix2/sikulix-2.0.1.jar by 
jdk.internal.loader.ClassLoaders$AppClassLoader@729a76d5) called from class 
org.openqa.selenium.net.UrlChecker (loaded from  by 
org.python.core.SyspathJavaLoader@c1d65f02). )
[error] --- Traceback --- error source first
line: module ( function ) statement 
5: main (   ) browser= ChromeDriver(op)
[error] --- Traceback --- end --
Starting ChromeDriver 2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e) on 
port 10015
Only local connections are allowed.

** Affects: sikuli
 Importance: Undecided
 Status: New

** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1859910

Title:
  Selenium is not working in Sikuli IDE

Status in Sikuli:
  New

Bug description:
  To run selenium in sikulix-2.0.1 i am running below code i am getting error 
message but if i am running selenium  in sikulix1.1.3 it is working.
  could please fix in sikulix-2.0.1

  import os
  import sys
  load("selenium-server-standalone-3.141.59.jar")
  from org.openqa.selenium.chrome import ChromeDriver
  browser= ChromeDriver(op)
  browser.get('http://www.google.com')

  
  [error] script [ sikulitemp-8237316473222044562 ] stopped with error in line 5
  [error] java.lang.NoSuchMethodError ( java.lang.NoSuchMethodError: 
com/google/common/util/concurrent/SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter;
 (loaded from 
file:/C:/Users/kry3/Desktop/Sikulix_1_4/Sikulix2/sikulix-2.0.1.jar by 
jdk.internal.loader.ClassLoaders$AppClassLoader@729a76d5) called from class 
org.openqa.selenium.net.UrlChecker (loaded from  by 
org.python.core.SyspathJavaLoader@c1d65f02). )
  [error] --- Traceback --- error source first
  line: module ( function ) statement 
  5: main (   ) browser= ChromeDriver(op)
  [error] --- Traceback --- end --
  Starting ChromeDriver 2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e) 
on port 10015
  Only local connections are allowed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1859910/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sip-implementors] renegotiate rtp <--> srtp in mid call

2019-09-10 Thread J C Sunil Kumar Reddy
Hi All,
Can we renegotiate a rtp call to srtp and vice-versa in midcall? May be
with re-INVITE or UPDATE message? Is it a valid scenario if srtp is not
mandated?

In my scenario, server and client both supports RTP and SRTP and initially
call is negotiated to srtp call. Midway, server is sending a re-INVITE
asking to change to RTP.  What should client do in this case? Accept, as
SRTP is not mandatory or drop the call?

Which RFC should I refer for this scenario and what does it say in this
case?

Regards,
Sunil
___
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors


Re: [openwisp] Need to add one more field template information in device table of openwisp UI

2019-09-07 Thread TAMALAMPUDI VIJAYA KUMAR REDDY (N170066)
es expecting -:
>>>>>> 1-: Query fetching device table information
>>>>>> 2-: UI change to display new field template in device table
>>>>>>
>>>>>> Can someone let me know where all I need to make change in
>>>>>> openwisp-controller 3.2 to implement this requirement
>>>>>>
>>>>>> Device Table-: Template new field to be added.
>>>>>>
>>>>>>
>>>>>> [image: openwisp.jpg]
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "OpenWISP" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to open...@googlegroups.com.
>>>>>> To view this discussion on the web, visit
>>>>>> https://groups.google.com/d/msgid/openwisp/6b65dae6-cc82-4c78-a296-16388097bd55%40googlegroups.com
>>>>>> <https://groups.google.com/d/msgid/openwisp/6b65dae6-cc82-4c78-a296-16388097bd55%40googlegroups.com?utm_medium=email_source=footer>
>>>>>> .
>>>>>>
>>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "OpenWISP" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to open...@googlegroups.com.
>>>> To view this discussion on the web, visit
>>>> https://groups.google.com/d/msgid/openwisp/07d8e449-1445-4aeb-89f9-1bcac3e2e2ee%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/openwisp/07d8e449-1445-4aeb-89f9-1bcac3e2e2ee%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "OpenWISP" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to open...@googlegroups.com.
>>> To view this discussion on the web, visit
>>> https://groups.google.com/d/msgid/openwisp/CAOwnGe4zvmUyapz07m5noOeT3H83y06-S7szMbUCR5uYhhb11w%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/openwisp/CAOwnGe4zvmUyapz07m5noOeT3H83y06-S7szMbUCR5uYhhb11w%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to openwisp+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/c3c1c31e-e009-4250-99f0-698967cf6c71%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/c3c1c31e-e009-4250-99f0-698967cf6c71%40googlegroups.com?utm_medium=email_source=footer>
> .
>


-- 
 yours sincerely,
T.Vijay Kumar Reddy,
N170066,
PUC-2,
RGUKT ,Nuzvid,.
ph;7901516156.

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAHVX7mPPGJ1cDcKH44hYe0yzN-kreSiwC8M293EA6TqMM5zaQQ%40mail.gmail.com.


[clamav-users] clamav-freshclam service is going to inactive

2019-07-30 Thread Sravan Kumar Reddy K via clamav-users
clamav-freshclam service always going to stop state. After restart this service 
is working 1 to 2 hours. After that it is going to inactive.

looking for a solution to resolve the isssue.

#
clamav-freshclam.service - ClamAV virus database updater
   Loaded: loaded (/lib/systemd/system/clamav-freshclam.service; enabled; 
vendor preset: enabled)
   Active: inactive (dead) since Fri 2019-07-26 16:01:04 UTC; 4 days ago
 Docs: man:freshclam(1)
   man:freshclam.conf(5)
   https://www.clamav.net/documents
  Process: 101047 ExecStart=/usr/bin/freshclam -d --foreground=true 
(code=exited, status=0/SUCCESS)
 Main PID: 101047 (code=exited, status=0/SUCCESS)

Warning: Journal has been rotated since unit was started. Log output is 
incomplete or unavailable.
##clamav.log###
Tue Jul 30 06:02:00 2019 -> SelfCheck: Database status OK.
Tue Jul 30 07:02:00 2019 -> SelfCheck: Database status OK.
Tue Jul 30 08:02:00 2019 -> SelfCheck: Database status OK.
Tue Jul 30 09:02:00 2019 -> SelfCheck: Database status OK.
Tue Jul 30 10:02:00 2019 -> SelfCheck: Database status OK.
Tue Jul 30 11:02:00 2019 -> SelfCheck: Database status OK.
Tue Jul 30 12:02:00 2019 -> SelfCheck: Database status OK.
Tue Jul 30 13:02:00 2019 -> SelfCheck: Database status OK.
Tue Jul 30 14:02:00 2019 -> SelfCheck: Database status OK.
Tue Jul 30 15:02:01 2019 -> SelfCheck: Database status OK.
Tue Jul 30 16:01:23 2019 -> Reading databases from /var/lib/clamav
Tue Jul 30 16:01:58 2019 -> Database correctly reloaded (6243746 signatures)
Tue Jul 30 17:01:58 2019 -> SelfCheck: Database status OK.
Tue Jul 30 18:01:58 2019 -> SelfCheck: Database status OK.
Tue Jul 30 19:01:58 2019 -> SelfCheck: Database status OK.
Tue Jul 30 20:01:58 2019 -> SelfCheck: Database status OK.
Tue Jul 30 21:01:58 2019 -> SelfCheck: Database status OK.
Tue Jul 30 22:01:58 2019 -> SelfCheck: Database status OK.
Tue Jul 30 23:01:58 2019 -> SelfCheck: Database status OK.
Wed Jul 31 00:01:58 2019 -> SelfCheck: Database status OK.
freshclam.log
Tue Jul 30 00:01:02 2019 -> ClamAV update process started at Tue Jul 30 
00:01:02 2019
Tue Jul 30 00:01:02 2019 -> WARNING: Your ClamAV installation is OUTDATED!
Tue Jul 30 00:01:02 2019 -> WARNING: Local version: 0.100.3 Recommended 
version: 0.101.2
Tue Jul 30 00:01:02 2019 -> DON'T PANIC! Read 
https://www.clamav.net/documents/upgrading-clamav
Tue Jul 30 00:01:02 2019 -> main.cvd is up to date (version: 58, sigs: 4566249, 
f-level: 60, builder: sigmgr)
Tue Jul 30 00:01:02 2019 -> daily.cld is up to date (version: 25525, sigs: 
1686302, f-level: 63, builder: raynman)
Tue Jul 30 00:01:02 2019 -> bytecode.cld is up to date (version: 330, sigs: 94, 
f-level: 63, builder: neo)
Tue Jul 30 08:01:04 2019 -> --
Tue Jul 30 08:01:04 2019 -> ClamAV update process started at Tue Jul 30 
08:01:04 2019
Tue Jul 30 08:01:04 2019 -> WARNING: Your ClamAV installation is OUTDATED!
Tue Jul 30 08:01:04 2019 -> WARNING: Local version: 0.100.3 Recommended 
version: 0.101.2
Tue Jul 30 08:01:04 2019 -> DON'T PANIC! Read 
https://www.clamav.net/documents/upgrading-clamav
Tue Jul 30 08:01:04 2019 -> main.cvd is up to date (version: 58, sigs: 4566249, 
f-level: 60, builder: sigmgr)
Tue Jul 30 08:01:04 2019 -> daily.cld is up to date (version: 25525, sigs: 
1686302, f-level: 63, builder: raynman)
Tue Jul 30 08:01:04 2019 -> bytecode.cld is up to date (version: 330, sigs: 94, 
f-level: 63, builder: neo)
Tue Jul 30 16:01:02 2019 -> --
Tue Jul 30 16:01:02 2019 -> ClamAV update process started at Tue Jul 30 
16:01:02 2019
Tue Jul 30 16:01:02 2019 -> WARNING: Your ClamAV installation is OUTDATED!
Tue Jul 30 16:01:02 2019 -> WARNING: Local version: 0.100.3 Recommended 
version: 0.101.2
Tue Jul 30 16:01:02 2019 -> DON'T PANIC! Read 
https://www.clamav.net/documents/upgrading-clamav
Tue Jul 30 16:01:02 2019 -> main.cvd is up to date (version: 58, sigs: 4566249, 
f-level: 60, builder: sigmgr)
Tue Jul 30 16:01:03 2019 -> Downloading daily-25526.cdiff [100%]
Tue Jul 30 16:01:19 2019 -> daily.cld updated (version: 25526, sigs: 1687168, 
f-level: 63, builder: raynman)
Can't query daily.25526.93.1.0.6810DA54.ping.clamav.net
Tue Jul 30 16:01:20 2019 -> bytecode.cld is up to date (version: 330, sigs: 94, 
f-level: 63, builder: neo)
Tue Jul 30 16:01:23 2019 -> Database updated (6253511 signatures) from 
db.local.clamav.net (IP: 104.16.218.84)
Tue Jul 30 16:01:23 2019 -> Clamd successfully notified about the update.
Wed Jul 31 00:01:03 2019 -> --
Wed Jul 31 00:01:03 2019 -> ClamAV update process started at Wed Jul 31 
00:01:03 2019
Wed Jul 31 00:01:03 2019 -> WARNING: Your ClamAV installation is OUTDATED!
Wed Jul 31 00:01:03 

Re: [cas-user] CAS5 management

2019-07-19 Thread Anil Kumar Reddy gajulapalli
Hello David,

I am trying to resolve this issue from the last 3 days, nevertheless, I am 
lost with no hope. 

2019-07-19 18:46:47,815 WARN 
[org.apereo.cas.mgmt.authz.CasRoleBasedAuthorizer] - 

CAS-Management is taking me to CAS server for Authentication. Once the 
Authentication is validated while coming back to Management App, I see the 
above error in the Management logs.

I have adminusers.properties as below:

anil.ku...@socalled.com=notused,ROLE_ADMIN,enabled
Anil=notused,ROLE_ADMIN,enabled

and management.properties have below details:

cas.mgmt.adminRoles[0]=ROLE_ADMIN
cas.mgmt.userPropertiesFile=file:./adminusers.properties


Can you guide me where am making a mistake? I have referred docs at: 
https://dacurry-tns.github.io/deploying-apereo-cas/building_svcmgmt_configure-webapp-properties.html
 too.
 
On Friday, 23 February 2018 14:48:32 UTC-5, David Curry wrote:
>
> >  Someone should pay you for them. 
>
> Well, I have to write it up as part of my job anyway; I just decided to go 
> a little further and make it available to world+dog. So I do get paid for 
> the work. Glad you (and others) are finding them helpful.
>
>
>
> --
>
> DAVID A. CURRY, CISSP
> *DIRECTOR OF INFORMATION SECURITY*
> INFORMATION TECHNOLOGY
>
> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
> +1 212 229-5300 x4728 • david.cu...@newschool.edu 
>
> [image: The New School]
>
> On Fri, Feb 23, 2018 at 2:30 PM, Cheltenham, Chris  > wrote:
>
>> Oh right , you do have good docs.
>>
>>  
>>
>> Thanks
>>
>>  
>>
>> Someone should pay you for them.
>>
>>  
>>
>>  
>>
>> ===
>>
>> Thank You;
>>
>> Chris Cheltenham
>> Technology Services
>> The School District of Philadelphia
>>
>> Work # 215-400-5025
>> Cell # 215-301-6571 
>>
>> *From:* cas-...@apereo.org  [mailto:cas-...@apereo.org 
>> ] *On Behalf Of *David Curry
>> *Sent:* Friday, February 23, 2018 1:48 PM
>>
>> *To:* cas-...@apereo.org 
>> *Subject:* Re: [cas-user] CAS5 management
>>
>>  
>>
>>  
>>
>> The /status endpoint (but not the endpoints underneath it) is only 
>> protected by an IP address pattern. You need to set the 
>> cas.adminPagesSecurity.ip property to a regular expression that matches 
>> the IP address(es) you want to allow access from.
>>
>>  
>>
>> See 
>> https://dacurry-tns.github.io/deploying-apereo-cas/building_server_dashboard_configure-admin-pages-properties.html#configure-endpoint-security
>>  
>> for an example.
>>
>>  
>>
>> --Dave
>>
>>  
>>
>>
>> --
>>
>> *DAVID A. CURRY, CISSP*
>> *DIRECTOR OF INFORMATION SECURITY*
>> INFORMATION TECHNOLOGY
>>
>> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 
>> 
>> +1 212 229-5300 x4728 • david.cu...@newschool.edu 
>>
>> [image: The New School]
>>
>>  
>>
>> On Fri, Feb 23, 2018 at 12:33 PM, Cheltenham, Chris <
>> cchelte...@philasd.org > wrote:
>>
>> David,
>>
>>  
>>
>> Along the same lines,
>>
>>  
>>
>> /cas/status says access denied.
>>
>>  
>>
>> Is a different file?
>>
>>  
>>
>>  
>>
>> ===
>>
>> Thank You;
>>
>> Chris Cheltenham
>> Technology Services
>> The School District of Philadelphia
>>
>> Work # 215-400-5025
>> Cell # 215-301-6571 
>>
>> *From:* cas-...@apereo.org  [mailto:cas-...@apereo.org 
>> ] *On Behalf Of *David Curry
>> *Sent:* Friday, February 23, 2018 10:52 AM
>>
>>
>> *To:* cas-...@apereo.org 
>> *Subject:* Re: [cas-user] CAS5 management
>>
>>  
>>
>> Admin pages is the /status/dashboard stuff (and all the things 
>> underneath). The access to that is controlled with a user.properties file 
>> as well.
>>
>>  
>>
>> The format is what I gave you in the earlier email. So for casuser, it 
>> would be
>>
>>  
>>
>> casuser=passwordnotused,ROLE_ADMIN
>>
>>  
>>
>> or equivalently,
>>
>>  
>>
>> casuser=empty,ROLE_ADMIN
>>
>>  
>>
>> I should note that the password field (the first field after the "=") is 
>> only "not used" if you're using CAS to authenticate access to the 
>> management webapp (which I assume you are).
>>
>>  
>>
>> --Dave
>>
>>  
>>
>>
>> --
>>
>> *DAVID A. CURRY, CISSP*
>> *DIRECTOR OF INFORMATION SECURITY*
>> INFORMATION TECHNOLOGY
>>
>> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 
>> 
>> +1 212 229-5300 x4728 • david.cu...@newschool.edu 
>>
>> [image: The New School]
>>
>>  
>>
>> On Fri, Feb 23, 2018 at 10:47 AM, Cheltenham, Chris <
>> cchelte...@philasd.org > wrote:
>>
>> David,
>>
>>  
>>
>> I honestly don’t know what you mean.
>>
>>  
>>
>> What admin pages?
>>
>>  
>>
>> And how should this be formatted?
>>
>>  
>>
>> casuser=ROLE_ADMIN,enabled
>>
>>  
>>
>>  
>>
>>  
>>
>> ===
>>
>> Thank You;
>>
>> Chris Cheltenham
>> Technology Services
>> The School District of Philadelphia
>>
>> Work # 215-400-5025
>> Cell # 215-301-6571 
>>
>> *From:* cas-user@apereo.org  [mailto:cas-user@apereo.org 
>> ] *On Behalf Of *David Curry
>> *Sent:* Friday, 

[relax-users] Linux installation

2019-07-05 Thread SANNAPU REDDI RAJESH KUMAR REDDY
Dear nmr relax users,

I need help regarding relax installation on ubuntu 16.04.

1. Is it necessary for use sudo/root command to open the gui.
" If do not use sudo while opening the relax --gui or to use relaxation
fitting."
The following errors are arise.
GLib-GIO-Message: 20:01:35.409: Using the 'memory' GSettings backend.  Your
settings will not be saved or shared with other applications.
08:01:35  IST: Debug: Adding duplicate image handler for 'Windows bitmap
file'
Traceback (most recent call last):
  File "/usr/local/relax-4.1.3/gui/__init__.py", line 100, in OnInit
self.gui = relax_gui.Main(parent=None, id=-1, title="")
  File "/usr/local/relax-4.1.3/gui/relax_gui.py", line 132, in __init__
relax_icons.setup()
  File "/usr/local/relax-4.1.3/gui/icons.py", line 42, in setup
self.AddIconFromFile(status.install_path + sep + 'graphics' + sep +
'ulysses.ico', wx.BITMAP_TYPE_ANY)
AttributeError: 'Relax_icons' object has no attribute 'AddIconFromFile'.
OnInit returned false, exiting...



Could you help me to install relax program successfully  and use without
sudo/root every time.

Regards,
Rajesh Kumar Reddy,
Ph.D Student, IISER Bhopal.
Bhopal,M.P,India.
___
nmr-relax-users mailing list
nmr-relax-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nmr-relax-users


[x265] [PATCH]svt: Fix error for newly added param variables

2019-06-14 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Pradeep Ramachandran 
# Date 1560503428 -19800
#  Fri Jun 14 14:40:28 2019 +0530
# Branch Release_3.1
# Node ID 1ad1c5547f7935cb36bbfe7a8d44b458a9c8b0ac
# Parent  10decf67c0772f80fac41af8cffe8a17722402cc
svt: Fix error for newly added param variables

diff -r 10decf67c077 -r 1ad1c5547f79 source/common/param.cpp
--- a/source/common/param.cpp   Fri Jun 07 18:25:06 2019 +0530
+++ b/source/common/param.cpp   Fri Jun 14 14:40:28 2019 +0530
@@ -2491,6 +2491,11 @@
 svtHevcParam->logicalProcessors = 0;
 svtHevcParam->switchThreadsToRtPriority = 1;
 svtHevcParam->fpsInVps = 0;
+
+svtHevcParam->tileColumnCount = 1;
+svtHevcParam->tileRowCount = 1;
+svtHevcParam->tileSliceMode = 0;
+svtHevcParam->unrestrictedMotionVector = 1;
 }

 int svt_set_preset_tune(x265_param* param, const char* preset, const char*
tune)
diff -r 10decf67c077 -r 1ad1c5547f79 source/encoder/api.cpp
--- a/source/encoder/api.cppFri Jun 07 18:25:06 2019 +0530
+++ b/source/encoder/api.cppFri Jun 14 14:40:28 2019 +0530
@@ -1987,4 +1987,4 @@
 }
 #endif // ifdef SVT_HEVC

-} // end namespace X265_NS
\ No newline at end of file
+} // end namespace X265_NS


patch_x265.diff
Description: Binary data
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] [PATCH] Do not call Aligned pixel_avg_48x64 AVX512 code due to segmentation fault

2019-06-06 Thread Dinesh Kumar Reddy
# HG changeset patch
# User gopi Satykrishna Akisetty
# Date 1559811759 -19800
#  Thu Jun 06 14:32:39 2019 +0530
# Branch Release_3.1
# Node ID 113518629fa54ffb491dd479e15c1f00dd39d376
# Parent  1f3ad3f629fe39539fbee7beeeb2049a454889f1
Do not call Aligned pixel_avg_48x64 AVX512 code due to segmentation fault.

Pushed patch to Release_3.1 Branch.

Thanks & Regards,
Dinesh

On Thu, Jun 6, 2019 at 4:36 PM 
wrote:

> # HG changeset patch
> # User gopi Satykrishna Akisetty
> # Date 1559811759 -19800
> #  Thu Jun 06 14:32:39 2019 +0530
> # Branch Release_3.1
> # Node ID 113518629fa54ffb491dd479e15c1f00dd39d376
> # Parent  1f3ad3f629fe39539fbee7beeeb2049a454889f1
> Do not call Aligned pixel_avg_48x64 AVX512 code due to segmentation fault.
>
> diff -r 1f3ad3f629fe -r 113518629fa5 source/common/x86/asm-primitives.cpp
> --- a/source/common/x86/asm-primitives.cpp  Tue Jun 04 14:00:39 2019
> +0530
> +++ b/source/common/x86/asm-primitives.cpp  Thu Jun 06 14:32:39 2019
> +0530
> @@ -2537,7 +2537,7 @@
>  p.pu[LUMA_32x24].pixelavg_pp[ALIGNED] =
> PFX(pixel_avg_aligned_32x24_avx512);
>  p.pu[LUMA_32x32].pixelavg_pp[ALIGNED] =
> PFX(pixel_avg_aligned_32x32_avx512);
>  p.pu[LUMA_32x64].pixelavg_pp[ALIGNED] =
> PFX(pixel_avg_aligned_32x64_avx512);
> -p.pu[LUMA_48x64].pixelavg_pp[ALIGNED] =
> PFX(pixel_avg_aligned_48x64_avx512);
> +//p.pu[LUMA_48x64].pixelavg_pp[ALIGNED] =
> PFX(pixel_avg_aligned_48x64_avx512);
>  p.pu[LUMA_64x16].pixelavg_pp[ALIGNED] =
> PFX(pixel_avg_aligned_64x16_avx512);
>  p.pu[LUMA_64x32].pixelavg_pp[ALIGNED] =
> PFX(pixel_avg_aligned_64x32_avx512);
>  p.pu[LUMA_64x48].pixelavg_pp[ALIGNED] =
> PFX(pixel_avg_aligned_64x48_avx512);
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] [PATCH] Fix Windows 32bit build errors

2019-05-28 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Shushuang 
# Date 1559023314 -28800
#  Tue May 28 14:01:54 2019 +0800
# Node ID a46ded2c14116af1cafacdc1fb98be43259dc7d6
# Parent  4583000db964b8b942c55f532216a3696fcf69ea
Fix Windows 32bit build errors

Pushed patch to x265 default repo.

Thanks & Regards,
Dinesh

On Tue, May 28, 2019 at 12:05 PM Shushuang Yan <
shush...@multicorewareinc.com> wrote:

> # HG changeset patch
> # User Shushuang 
> # Date 1559023314 -28800
> #  Tue May 28 14:01:54 2019 +0800
> # Node ID a46ded2c14116af1cafacdc1fb98be43259dc7d6
> # Parent  4583000db964b8b942c55f532216a3696fcf69ea
> Fix Windows 32bit build errors
>
> diff -r 4583000db964 -r a46ded2c1411 source/x265.cpp
> --- a/source/x265.cpp Mon May 27 11:48:25 2019 +0530
> +++ b/source/x265.cpp Tue May 28 14:01:54 2019 +0800
> @@ -1017,8 +1017,9 @@
>  picField1.height = picField2.height = pic_in->height
> >> 1;
>  picField1.framesize = picField2.framesize =
> pic_in->framesize >> 1;
>
> -char* field1Buf = X265_MALLOC( char,
> pic_in->framesize >> 1 );
> -char* field2Buf = X265_MALLOC( char,
> pic_in->framesize >> 1 );
> +size_t fieldFrameSize = (size_t)pic_in->framesize >>
> 1;
> +char* field1Buf = X265_MALLOC(char, fieldFrameSize);
> +char* field2Buf = X265_MALLOC(char, fieldFrameSize);
>
>  int stride = picField1.stride[0] =
> picField2.stride[0] = pic_in->stride[0];
>  uint64_t framesize = stride * (height >>
> x265_cli_csps[pic_in->colorSpace].height[0]);
>
> --
> Thanks,
> Shushuang Yan
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] [x265 PATCH] Changed the params max-merge to 3, b-intra enabled, limit-ref and early-skip enabled for improved performance for high res

2019-05-27 Thread Dinesh Kumar Reddy
# HG changeset patch
# User praveen_karadugattu 
# Date 1558937905 -19800
#  Mon May 27 11:48:25 2019 +0530
# Node ID 4583000db964b8b942c55f532216a3696fcf69ea
# Parent  b9bef1a4c34a82ea685ed76ebdd642c266bffcc3
Changed the params max-merge to 3, b-intra enabled, limit-ref and
early-skip enabled for improved performance for high res

Pushed to x265 default repo.

Thanks & Regards,
Dinesh

On Mon, May 27, 2019 at 12:02 PM Praveen Kumar Karadugattu <
praveenku...@multicorewareinc.com> wrote:

> # HG changeset patch
> # User praveen_karadugattu 
> # Date 1558937905 -19800
> #  Mon May 27 11:48:25 2019 +0530
> # Node ID 4583000db964b8b942c55f532216a3696fcf69ea
> # Parent  b9bef1a4c34a82ea685ed76ebdd642c266bffcc3
> Changed the params max-merge to 3, b-intra enabled, limit-ref and
> early-skip enabled for improved performance for high res
> diff --git a/source/common/param.cpp b/source/common/param.cpp
> --- a/source/common/param.cpp
> +++ b/source/common/param.cpp
> @@ -185,12 +185,12 @@
>  param->searchMethod = X265_HEX_SEARCH;
>  param->subpelRefine = 2;
>  param->searchRange = 57;
> -param->maxNumMergeCand = 2;
> -param->limitReferences = 3;
> + param->maxNumMergeCand = 3;
> + param->limitReferences = 1;
>  param->limitModes = 0;
>  param->bEnableWeightedPred = 1;
>  param->bEnableWeightedBiPred = 0;
> -param->bEnableEarlySkip = 0;
> + param->bEnableEarlySkip = 1;
>  param->bEnableRecursionSkip = 1;
>  param->bEnableAMP = 0;
>  param->bEnableRectInter = 0;
> @@ -225,7 +225,7 @@
>  param->analysisReuseFileName = NULL;
>  param->analysisSave = NULL;
>  param->analysisLoad = NULL;
> -param->bIntraInBFrames = 0;
> + param->bIntraInBFrames = 1;
>  param->bLossless = 0;
>  param->bCULossless = 0;
>  param->bEnableTemporalSubLayers = 0;
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] [PATCH] Fix Linux build errors

2019-05-24 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Shushuang 
# Date 1558686517 -28800
#  Fri May 24 16:28:37 2019 +0800
# Node ID b9bef1a4c34a82ea685ed76ebdd642c266bffcc3
# Parent  ccc7a3edd595f3429c4b141eef70bbd15357d313
Fix Linux build errors

Pushed patch to default repo.

Thanks & Regards,
Dinesh

On Fri, May 24, 2019 at 2:24 PM Shushuang Yan 
wrote:

> # HG changeset patch
> # User Shushuang 
> # Date 1558686517 -28800
> #  Fri May 24 16:28:37 2019 +0800
> # Node ID b9bef1a4c34a82ea685ed76ebdd642c266bffcc3
> # Parent  ccc7a3edd595f3429c4b141eef70bbd15357d313
> Fix Linux build errors
>
> diff -r ccc7a3edd595 -r b9bef1a4c34a source/x265.cpp
> --- a/source/x265.cpp Thu May 23 19:38:47 2019 +0530
> +++ b/source/x265.cpp Fri May 24 16:28:37 2019 +0800
> @@ -1021,7 +1021,7 @@
>  char* field2Buf = X265_MALLOC( char,
> pic_in->framesize >> 1 );
>
>  int stride = picField1.stride[0] =
> picField2.stride[0] = pic_in->stride[0];
> -int framesize = stride * (height >>
> x265_cli_csps[pic_in->colorSpace].height[0]);
> +uint64_t framesize = stride * (height >>
> x265_cli_csps[pic_in->colorSpace].height[0]);
>  picField1.planes[0] = field1Buf;
>  picField2.planes[0] = field2Buf;
>  for (int i = 1; i <
> x265_cli_csps[pic_in->colorSpace].planes; i++)
>
> --
> Thanks,
> Shushuang Yan
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] [PATCH] Introducing cli/param to signal content light level SEI

2019-05-24 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Aruna Matheswaran
# Date 1558620527 -19800
#  Thu May 23 19:38:47 2019 +0530
# Node ID b57fe10e387942335fb88bc49e9d746a5d7503f3
# Parent  220cdb4328a1e2c7419546b50c4d07e652ae1537
Introducing cli/param to signal content light level SEI.

Pushed to x265 default repo.

Thanks & Regards,
Dinesh

On Fri, May 24, 2019 at 10:10 AM  wrote:

> # HG changeset patch
> # User Aruna Matheswaran
> # Date 1558620527 -19800
> #  Thu May 23 19:38:47 2019 +0530
> # Node ID b57fe10e387942335fb88bc49e9d746a5d7503f3
> # Parent  220cdb4328a1e2c7419546b50c4d07e652ae1537
> Introducing cli/param to signal content light level SEI.
>
> This patch also fixes indentation issues.
>
> diff -r 220cdb4328a1 -r b57fe10e3879 doc/reST/cli.rst
> --- a/doc/reST/cli.rst  Thu May 23 11:28:44 2019 +0800
> +++ b/doc/reST/cli.rst  Thu May 23 19:38:47 2019 +0530
> @@ -2154,6 +2154,12 @@
> Note that this string value will need to be escaped or quoted to
> protect against shell expansion on many platforms. No default.
>
> +.. option:: --cll, --no-cll
> +
> +Emit content light level SEI. Enabled automatically when
> :option:`--dolby-vision-profile` 8.1
> +is specified. When enabled, signals max-cll and max-fall as 0 if
> :option:`max-cll` is unspecified.
> +Default enabled.
> +
>  .. option:: --hdr, --no-hdr
>
> Force signalling of HDR parameters in SEI packets. Enabled
> diff -r 220cdb4328a1 -r b57fe10e3879 source/CMakeLists.txt
> --- a/source/CMakeLists.txt Thu May 23 11:28:44 2019 +0800
> +++ b/source/CMakeLists.txt Thu May 23 19:38:47 2019 +0530
> @@ -29,7 +29,7 @@
>  option(STATIC_LINK_CRT "Statically link C runtime for release builds" OFF)
>  mark_as_advanced(FPROFILE_USE FPROFILE_GENERATE NATIVE_BUILD)
>  # X265_BUILD must be incremented each time the public API is changed
> -set(X265_BUILD 175)
> +set(X265_BUILD 176)
>  configure_file("${PROJECT_SOURCE_DIR}/x265.def.in"
> "${PROJECT_BINARY_DIR}/x265.def")
>  configure_file("${PROJECT_SOURCE_DIR}/x265_config.h.in"
> diff -r 220cdb4328a1 -r b57fe10e3879 source/common/param.cpp
> --- a/source/common/param.cpp   Thu May 23 11:28:44 2019 +0800
> +++ b/source/common/param.cpp   Thu May 23 19:38:47 2019 +0530
> @@ -332,6 +332,7 @@
>  /* SEI messages */
>  param->preferredTransferCharacteristics = -1;
>  param->pictureStructure = -1;
> +param->bEmitCLL = 1;
>
>  /* SVT Hevc Encoder specific params */
>  param->bEnableSvtHevc = 0;
> @@ -573,10 +574,10 @@
>  param->deblockingFilterBetaOffset = 1;
>  param->deblockingFilterTCOffset = 1;
>  }
> -   else if (!strcmp(tune, "vmaf"))  /*Adding vmaf for x265 +
> SVT-HEVC integration support*/
> -   {
> -   /*vmaf is under development, currently x265 won't
> support vmaf*/
> -   }
> +else if (!strcmp(tune, "vmaf"))  /*Adding vmaf for x265 +
> SVT-HEVC integration support*/
> +{
> +/*vmaf is under development, currently x265 won't support
> vmaf*/
> +}
>  else
>  return -1;
>  }
> @@ -1269,6 +1270,7 @@
>  #endif
>  OPT("fades") p->bEnableFades = atobool(value);
>  OPT("field") p->bField = atobool( value );
> +OPT("cll") p->bEmitCLL = atobool(value);
>  else
>  return X265_PARAM_BAD_NAME;
>  }
> @@ -2016,7 +2018,8 @@
>  p->vui.defDispWinRightOffset, p->vui.defDispWinBottomOffset);
>  if (p->masteringDisplayColorVolume)
>  s += sprintf(s, " master-display=%s",
> p->masteringDisplayColorVolume);
> -s += sprintf(s, " max-cll=%hu,%hu", p->maxCLL, p->maxFALL);
> +if (p->bEmitCLL)
> +s += sprintf(s, "cll=%hu,%hu", p->maxCLL, p->maxFALL);
>  s += sprintf(s, " min-luma=%hu", p->minLuma);
>  s += sprintf(s, " max-luma=%hu", p->maxLuma);
>  s += sprintf(s, " log2-max-poc-lsb=%d", p->log2MaxPocLsb);
> @@ -2314,6 +2317,7 @@
>  else dst->masteringDisplayColorVolume = NULL;
>  dst->maxLuma = src->maxLuma;
>  dst->minLuma = src->minLuma;
> +dst->bEmitCLL = src->bEmitCLL;
>  dst->maxCLL = src->maxCLL;
>  dst->maxFALL = src->maxFALL;
>  dst->log2MaxPocLsb = src->log2MaxPocLsb;
> @@ -2439,7 +2443,7 @@
>  svtHevcParam->frameRateNumerator = 0;
>  svtHevcParam->frameRateDenominator = 0;
>  svtHevcParam->encoderBitDepth = 8;
> -   svtHevcParam->encoderColorFormat = EB_YUV420;
> +svtHevcParam->encoderColorFormat = EB_YUV420;
>  svtHevcParam->compressedTenBitFormat = 0;
>  svtHevcParam->rateControlMode = 0;
>  svtHevcParam->sceneChangeDetection = 1;
> @@ -2477,11 +2481,11 @@
>  svtHevcParam->maxCLL = 0;
>  svtHevcParam->maxFALL = 0;
>  svtHevcParam->useMasteringDisplayColorVolume = 0;
> -   svtHevcParam->useNaluFile = 0;
> -   svtHevcParam->whitePointX = 0;
> -   svtHevcParam->whitePointY = 0;
> -   svtHevcParam->maxDisplayMasteringLuminance = 

Re: [x265] [PATCH] Add codes to support field feature

2019-05-23 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Shushuang 
# Date 1558582124 -28800
#  Thu May 23 11:28:44 2019 +0800
# Node ID 220cdb4328a1e2c7419546b50c4d07e652ae1537
# Parent  3f4fb9a2ac6817c9be4acab5c87746d405fcffd4
Add codes to support field feature

Pushed patch to x265 default public repo.

Thanks & Regards,
Dinesh

On Thu, May 23, 2019 at 12:00 PM  wrote:

> # HG changeset patch
> # User Shushuang 
> # Date 1558582124 -28800
> #  Thu May 23 11:28:44 2019 +0800
> # Node ID 220cdb4328a1e2c7419546b50c4d07e652ae1537
> # Parent  3f4fb9a2ac6817c9be4acab5c87746d405fcffd4
> Add codes to support field feature
>
> diff --git a/doc/reST/cli.rst b/doc/reST/cli.rst
> --- a/doc/reST/cli.rst
> +++ b/doc/reST/cli.rst
> @@ -551,6 +551,10 @@
> This feature can be enabled only in closed GOP structures.
> Default 0 (disabled).
>
> +.. option:: --field, --no-field
> +
> +   Enable or disable field coding. Default disabled.
> +
>  Profile, Level, Tier
>  
>
> diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
> --- a/source/CMakeLists.txt
> +++ b/source/CMakeLists.txt
> @@ -29,7 +29,7 @@
>  option(STATIC_LINK_CRT "Statically link C runtime for release builds" OFF)
>  mark_as_advanced(FPROFILE_USE FPROFILE_GENERATE NATIVE_BUILD)
>  # X265_BUILD must be incremented each time the public API is changed
> -set(X265_BUILD 174)
> +set(X265_BUILD 175)
>  configure_file("${PROJECT_SOURCE_DIR}/x265.def.in"
> "${PROJECT_BINARY_DIR}/x265.def")
>  configure_file("${PROJECT_SOURCE_DIR}/x265_config.h.in"
> diff --git a/source/common/frame.cpp b/source/common/frame.cpp
> --- a/source/common/frame.cpp
> +++ b/source/common/frame.cpp
> @@ -56,6 +56,7 @@
>  m_addOnCtuInfo = NULL;
>  m_addOnPrevChange = NULL;
>  m_classifyFrame = false;
> +m_fieldNum = 0;
>  }
>
>  bool Frame::create(x265_param *param, float* quantOffsets)
> diff --git a/source/common/frame.h b/source/common/frame.h
> --- a/source/common/frame.h
> +++ b/source/common/frame.h
> @@ -129,6 +129,7 @@
>  uint32_t*  m_classifyCount;
>
>  bool   m_classifyFrame;
> +intm_fieldNum;
>
>  Frame();
>
> diff --git a/source/common/param.cpp b/source/common/param.cpp
> --- a/source/common/param.cpp
> +++ b/source/common/param.cpp
> @@ -140,6 +140,7 @@
>  param->uhdBluray = 0;
>  param->bHighTier = 1; //Allow high tier by default
>  param->interlaceMode = 0;
> +param->bField = 0;
>  param->bAnnexB = 1;
>  param->bRepeatHeaders = 0;
>  param->bEnableAccessUnitDelimiters = 0;
> @@ -1267,6 +1268,7 @@
>  OPT("svt-fps-in-vps") x265_log(p, X265_LOG_WARNING, "Option %s is
> SVT-HEVC Encoder specific; Disabling it here \n", name);
>  #endif
>  OPT("fades") p->bEnableFades = atobool(value);
> +OPT("field") p->bField = atobool( value );
>  else
>  return X265_PARAM_BAD_NAME;
>  }
> @@ -1639,6 +1641,12 @@
>  if (param->dolbyProfile == 81)
>  CHECK(!(param->masteringDisplayColorVolume), "Dolby Vision
> profile - 8.1 requires Mastering display color volume information\n");
>  }
> +
> +if (param->bField && param->interlaceMode)
> +{
> +CHECK( (param->bFrameAdaptive==0), "Adaptive B-frame decision
> method should be closed for field feature.\n" );
> +// to do
> +}
>  #if !X86_64
>  CHECK(param->searchMethod == X265_SEA && (param->sourceWidth > 840 ||
> param->sourceHeight > 480),
>  "SEA motion search does not support resolutions greater than 480p
> in 32 bit build");
> @@ -2045,6 +2053,7 @@
>  BOOL(p->bSingleSeiNal, "single-sei");
>  BOOL(p->rc.hevcAq, "hevc-aq");
>  BOOL(p->bEnableSvtHevc, "svt");
> +BOOL(p->bField, "field");
>  s += sprintf(s, " qp-adaptation-range=%.2f", p->rc.qpAdaptationRange);
>  #undef BOOL
>  return buf;
> @@ -2370,6 +2379,7 @@
>  dst->dolbyProfile = src->dolbyProfile;
>  dst->bEnableSvtHevc = src->bEnableSvtHevc;
>  dst->bEnableFades = src->bEnableFades;
> +dst->bField = src->bField;
>
>  #ifdef SVT_HEVC
>  memcpy(dst->svtHevcParam, src->svtHevcParam,
> sizeof(EB_H265_ENC_CONFIGURATION));
> diff --git a/source/common/slice.h b/source/common/slice.h
> --- a/source/common/slice.h
> +++ b/source/common/slice.h
> @@ -361,6 +361,7 @@
>  int numRefIdxDefault[2];
>  int m_iNumRPSInSPS;
>  const x265_param *m_param;
> +int m_fieldNum;
>
>  Slice()
>  {
> @@ -376,6 +377,7 @@
>  numRefIdxDefault[1] = 1;
>  m_rpsIdx = -1;
>  m_chromaQpOffset[0] = m_chromaQpOffset[1] = 0;
> +m_fieldNum = 0;
>  }
>
>  void disableWeights();
> diff --git a/source/encoder/dpb.cpp b/source/encoder/dpb.cpp
> --- a/source/encoder/dpb.cpp
> +++ b/source/encoder/dpb.cpp
> @@ -127,6 +127,7 @@
>  {
>  Slice* slice = newFrame->m_encData->m_slice;
>  slice->m_poc = newFrame->m_poc;
> +slice->m_fieldNum = 

Re: [x265] [PATCH] api: Add option "--fades" to detect and handle fade-in regions

2019-05-21 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Pooja Venkatesan 
# Date 1555911695 -19800
#  Mon Apr 22 11:11:35 2019 +0530
# Node ID eb2ecf2d2f7289398bd8c82658752ae75efdf985
# Parent  39b35ea862834f05e7437e1670e55de595c8f875
api: Add option "--fades" to detect and handle fade-in regions

Pushed Patch to x265 default branch.

Thanks & Regards,
Dinesh

On Fri, May 17, 2019 at 2:41 PM  wrote:

> # HG changeset patch
> # User Pooja Venkatesan 
> # Date 1555911695 -19800
> #  Mon Apr 22 11:11:35 2019 +0530
> # Node ID eb2ecf2d2f7289398bd8c82658752ae75efdf985
> # Parent  39b35ea862834f05e7437e1670e55de595c8f875
> api: Add option "--fades" to detect and handle fade-in regions
>
> It does the following:
> Force I-slice and
> Initialize RC history for the brightest frame after fade-in.
>
> diff -r 39b35ea86283 -r eb2ecf2d2f72 doc/reST/cli.rst
> --- a/doc/reST/cli.rst  Tue Mar 26 10:31:41 2019 +0530
> +++ b/doc/reST/cli.rst  Mon Apr 22 11:11:35 2019 +0530
> @@ -1520,6 +1520,10 @@
> slicetype decision may change with this option.
> 2 - flush the slicetype decided frames only.
>
> +.. option:: --fades, --no-fades
> +
> +   Detect and handle fade-in regions. Default disabled.
> +
>  Quality, rate control and rate distortion options
>  =
>
> diff -r 39b35ea86283 -r eb2ecf2d2f72 source/CMakeLists.txt
> --- a/source/CMakeLists.txt Tue Mar 26 10:31:41 2019 +0530
> +++ b/source/CMakeLists.txt Mon Apr 22 11:11:35 2019 +0530
> @@ -29,7 +29,7 @@
>  option(STATIC_LINK_CRT "Statically link C runtime for release builds" OFF)
>  mark_as_advanced(FPROFILE_USE FPROFILE_GENERATE NATIVE_BUILD)
>  # X265_BUILD must be incremented each time the public API is changed
> -set(X265_BUILD 173)
> +set(X265_BUILD 174)
>  configure_file("${PROJECT_SOURCE_DIR}/x265.def.in"
> "${PROJECT_BINARY_DIR}/x265.def")
>  configure_file("${PROJECT_SOURCE_DIR}/x265_config.h.in"
> diff -r 39b35ea86283 -r eb2ecf2d2f72 source/common/lowres.cpp
> --- a/source/common/lowres.cpp  Tue Mar 26 10:31:41 2019 +0530
> +++ b/source/common/lowres.cpp  Mon Apr 22 11:11:35 2019 +0530
> @@ -82,7 +82,7 @@
>
>  if (origPic->m_param->bAQMotion)
>  CHECKED_MALLOC_ZERO(qpAqMotionOffset, double, cuCountFullRes);
> -if (origPic->m_param->bDynamicRefine)
> +if (origPic->m_param->bDynamicRefine ||
> origPic->m_param->bEnableFades)
>  CHECKED_MALLOC_ZERO(blockVariance, uint32_t, cuCountFullRes);
>
>  if (!!param->rc.hevcAq)
> @@ -217,6 +217,7 @@
>  {
>  bLastMiniGopBFrame = false;
>  bKeyframe = false; // Not a keyframe unless identified by lookahead
> +bIsFadeEnd = false;
>  frameNum = poc;
>  leadingBframes = 0;
>  indB = 0;
> diff -r 39b35ea86283 -r eb2ecf2d2f72 source/common/lowres.h
> --- a/source/common/lowres.hTue Mar 26 10:31:41 2019 +0530
> +++ b/source/common/lowres.hMon Apr 22 11:11:35 2019 +0530
> @@ -160,6 +160,7 @@
>  bool   bScenecut;// Set to false if the frame cannot possibly
> be part of a real scenecut.
>  bool   bKeyframe;
>  bool   bLastMiniGopBFrame;
> +bool   bIsFadeEnd;
>
>  double ipCostRatio;
>
> @@ -195,6 +196,7 @@
>  uint32_t* blockVariance;
>  uint64_t  wp_ssd[3];   // This is different than SSDY, this is
> sum(pixel^2) - sum(pixel)^2 for entire frame
>  uint64_t  wp_sum[3];
> +doubleframeVariance;
>
>  /* cutree intermediate data */
>  PicQPAdaptationLayer* pAQLayer;
> diff -r 39b35ea86283 -r eb2ecf2d2f72 source/common/param.cpp
> --- a/source/common/param.cpp   Tue Mar 26 10:31:41 2019 +0530
> +++ b/source/common/param.cpp   Mon Apr 22 11:11:35 2019 +0530
> @@ -172,6 +172,7 @@
>  param->chunkStart = 0;
>  param->chunkEnd = 0;
>  param->bEnableHRDConcatFlag = 0;
> +param->bEnableFades = 0;
>
>  /* Intra Coding Tools */
>  param->bEnableConstrainedIntra = 0;
> @@ -1265,6 +1266,7 @@
>  OPT("svt-pred-struct") x265_log(p, X265_LOG_WARNING, "Option %s
> is SVT-HEVC Encoder specific; Disabling it here \n", name);
>  OPT("svt-fps-in-vps") x265_log(p, X265_LOG_WARNING, "Option %s is
> SVT-HEVC Encoder specific; Disabling it here \n", name);
>  #endif
> +OPT("fades") p->bEnableFades = atobool(value);
>  else
>  return X265_PARAM_BAD_NAME;
>  }
> @@ -2367,6 +2369,7 @@
>  dst->bEnableHRDConcatFlag = src->bEnableHRDConcatFlag;
>  dst->dolbyProfile = src->dolbyProfile;
>  dst->bEnableSvtHevc = src->bEnableSvtHevc;
> +dst->bEnableFades = src->bEnableFades;
>
>  #ifdef SVT_HEVC
>  memcpy(dst->svtHevcParam, src->svtHevcParam,
> sizeof(EB_H265_ENC_CONFIGURATION));
> diff -r 39b35ea86283 -r eb2ecf2d2f72 source/encoder/ratecontrol.cpp
> --- a/source/encoder/ratecontrol.cppTue Mar 26 10:31:41 2019 +0530
> +++ b/source/encoder/ratecontrol.cppMon Apr 22 11:11:35 2019 +0530
> @@ -1262,6 +1262,7 @@
>  }
>  rce->isActive = true;
>  rce->scenecut = false;
> +

Re: [x265] [X265 PATCH] Enable cutree for two pass encode

2019-05-21 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Akil Ayyappan
# Date 1558085430 -19800
#  Fri May 17 15:00:30 2019 +0530
# Node ID b218b70740af26fb83ac43b35397c9a3ae795f33
# Parent  39b35ea862834f05e7437e1670e55de595c8f875
Enable cutree for two pass encode

Pushed patch to x265 default public repo.

Thanks & Regards,
Dinesh

On Fri, May 17, 2019 at 3:24 PM Akil  wrote:

> Modified tab to space.
>
> # HG changeset patch
> # User Akil Ayyappan
> # Date 1558085430 -19800
> #  Fri May 17 15:00:30 2019 +0530
> # Node ID b218b70740af26fb83ac43b35397c9a3ae795f33
> # Parent  39b35ea862834f05e7437e1670e55de595c8f875
> Enable cutree for two pass encode
>
> diff -r 39b35ea86283 -r b218b70740af source/encoder/slicetype.cpp
> --- a/source/encoder/slicetype.cpp Tue Mar 26 10:31:41 2019 +0530
> +++ b/source/encoder/slicetype.cpp Fri May 17 15:00:30 2019 +0530
> @@ -1165,7 +1165,9 @@
>  ProfileScopeEvent(prelookahead);
>  m_lock.release();
>  preFrame->m_lowres.init(preFrame->m_fencPic, preFrame->m_poc);
> -if (m_lookahead.m_bAdaptiveQuant)
> +if (m_lookahead.m_param->rc.bStatRead &&
> m_lookahead.m_param->rc.cuTree && IS_REFERENCED(preFrame))
> +/* cu-tree offsets were read from stats file */;
> +else if (m_lookahead.m_bAdaptiveQuant)
>  tld.calcAdaptiveQuantFrame(preFrame, m_lookahead.m_param);
>  tld.lowresIntraEstimate(preFrame->m_lowres,
> m_lookahead.m_param->rc.qgSize);
>  preFrame->m_lowresInit = true;
>
> On Fri, May 17, 2019 at 3:06 PM Akil  wrote:
>
>> # HG changeset patch
>> # User Akil Ayyappan
>> # Date 1558085430 -19800
>> #  Fri May 17 15:00:30 2019 +0530
>> # Node ID 9f990b56a958a4c58eb1dccf1f66a489976d8865
>> # Parent  39b35ea862834f05e7437e1670e55de595c8f875
>> Enable cutree for two pass encode
>>
>> diff -r 39b35ea86283 -r 9f990b56a958 source/encoder/slicetype.cpp
>> --- a/source/encoder/slicetype.cpp Tue Mar 26 10:31:41 2019 +0530
>> +++ b/source/encoder/slicetype.cpp Fri May 17 15:00:30 2019 +0530
>> @@ -1165,7 +1165,9 @@
>>  ProfileScopeEvent(prelookahead);
>>  m_lock.release();
>>  preFrame->m_lowres.init(preFrame->m_fencPic, preFrame->m_poc);
>> -if (m_lookahead.m_bAdaptiveQuant)
>> + if (m_lookahead.m_param->rc.bStatRead &&
>> m_lookahead.m_param->rc.cuTree && IS_REFERENCED(preFrame))
>> + /* cu-tree offsets were read from stats file */;
>> +else if (m_lookahead.m_bAdaptiveQuant)
>>  tld.calcAdaptiveQuantFrame(preFrame, m_lookahead.m_param);
>>  tld.lowresIntraEstimate(preFrame->m_lowres,
>> m_lookahead.m_param->rc.qgSize);
>>  preFrame->m_lowresInit = true;
>>
>>
>> --
>> *Regards,*
>> *Akil R*
>>
>
>
> --
> *Regards,*
> *Akil R*
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] [PATCH] zone: Fix reconfiguration of RC param

2019-05-16 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Pooja Venkatesan 
# Date 1553576501 -19800
#  Tue Mar 26 10:31:41 2019 +0530
# Node ID 39b35ea862834f05e7437e1670e55de595c8f875
# Parent  4217e691387cdeb6569846d5942422fec3126528
zone: Fix reconfiguration of RC param

Pushed to x265 default Branch.

Thanks & Regards,
Dinesh

On Wed, May 15, 2019 at 10:41 AM  wrote:

> # HG changeset patch
> # User Pooja Venkatesan 
> # Date 1553576501 -19800
> #  Tue Mar 26 10:31:41 2019 +0530
> # Node ID 39b35ea862834f05e7437e1670e55de595c8f875
> # Parent  4217e691387cdeb6569846d5942422fec3126528
> zone: Fix reconfiguration of RC param
>
> diff -r 4217e691387c -r 39b35ea86283 source/encoder/encoder.cpp
> --- a/source/encoder/encoder.cppMon May 06 15:54:01 2019 +0530
> +++ b/source/encoder/encoder.cppTue Mar 26 10:31:41 2019 +0530
> @@ -1641,7 +1641,7 @@
>
>  int Encoder::reconfigureParam(x265_param* encParam, x265_param* param)
>  {
> -if (isReconfigureRc(encParam, param))
> +if (isReconfigureRc(encParam, param) && !param->rc.zonefileCount)
>  {
>  /* VBV can't be turned ON if it wasn't ON to begin with and can't
> be turned OFF if it was ON to begin with*/
>  if (param->rc.vbvMaxBitrate > 0 && param->rc.vbvBufferSize > 0 &&
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] [PATCH] Fix issues in configuring cbQpOffset and crQpOffset for 444 input

2019-05-14 Thread Dinesh Kumar Reddy
# HG changeset patch
# User gopi Satykrishna Akisetty
# Date 1557138241 -19800
#  Mon May 06 15:54:01 2019 +0530
# Node ID 27b80b586cf86c6786b70d41b3e95ac4dc4a967b
# Parent  feec4bdf98663ac4a2561b63e1ccec423c7d26a4
Fix issues in configuring cbQpOffset and crQpOffset for 444 input

Pushed code to x265 public repo.

Thanks & Regards,
Dinesh

On Tue, May 7, 2019 at 11:03 AM 
wrote:

> # HG changeset patch
> # User gopi Satykrishna Akisetty
> # Date 1557138241 -19800
> #  Mon May 06 15:54:01 2019 +0530
> # Node ID 27b80b586cf86c6786b70d41b3e95ac4dc4a967b
> # Parent  feec4bdf98663ac4a2561b63e1ccec423c7d26a4
> Fix issues in configuring cbQpOffset and crQpOffset for 444 input
>
> diff -r feec4bdf9866 -r 27b80b586cf8 doc/reST/cli.rst
> --- a/doc/reST/cli.rst  Tue Apr 30 09:41:10 2019 +0530
> +++ b/doc/reST/cli.rst  Mon May 06 15:54:01 2019 +0530
> @@ -1333,6 +1333,10 @@
>  judder is happening, and allow the encoder to use some blur in these
>  areas of high motion.
>
> +In 444, chroma gets twice as much resolution, so halve the quality when
> psy-rd is enabled.
> +So when psy-rd is enabled for 444 videos, cbQpOffset and crQpOffset are
> set to value 6,
> +if they are not explicitly set.
> +
>  .. option:: --psy-rd 
>
> Influence rate distortion optimizated mode decision to preserve the
> diff -r feec4bdf9866 -r 27b80b586cf8 source/encoder/encoder.cpp
> --- a/source/encoder/encoder.cppTue Apr 30 09:41:10 2019 +0530
> +++ b/source/encoder/encoder.cppMon May 06 15:54:01 2019 +0530
> @@ -80,6 +80,7 @@
>   * TODO: come up an algorithm for adoptive threshold */
>  #define MVTHRESHOLD (10*10)
>  #define PU_2Nx2N 1
> +#define MAX_CHROMA_QP_OFFSET 12
>  static const char* defaultAnalysisFileName = "x265_analysis.dat";
>
>  using namespace X265_NS;
> @@ -2802,8 +2803,13 @@
>  /* In 444, chroma gets twice as much resolution, so halve quality
> when psy-rd is enabled */
>  if (p->internalCsp == X265_CSP_I444 && p->psyRd)
>  {
> -p->cbQpOffset += 6;
> -p->crQpOffset += 6;
> +if (!p->cbQpOffset && !p->crQpOffset)
> +{
> +p->cbQpOffset = MAX_CHROMA_QP_OFFSET / 2;
> +p->crQpOffset = MAX_CHROMA_QP_OFFSET / 2;
> +x265_log(p, X265_LOG_WARNING, "halving the quality when
> psy-rd is enabled for 444 input."
> + " Setting cbQpOffset = %d and crQpOffset = %d\n",
> p->cbQpOffset, p->crQpOffset);
> +}
>  }
>
>  if (p->bLossless)
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] [PATCH] [x265 patch] analysis: For inter-refine level 1, evaluate smaller CU sizes only when the current

2019-05-14 Thread Dinesh Kumar Reddy
# HG changeset patch
# User gopi Satykrishna Akisetty
# Date 1556272415 -19800
#  Fri Apr 26 15:23:35 2019 +0530
# Node ID b0db87e717e8b3629550aa67d734d5d74de0c66b
# Parent  bac0e1acb874213d4002f47ce88d6abe2475d957
[x265 patch] analysis: For inter-refine level 1, evaluate smaller CU sizes
only when the current
block is decided as "skip" by the save mode

Pushed patch to x265 public.

Thanks & Regards,
Dinesh

On Thu, May 2, 2019 at 6:44 PM 
wrote:

> # HG changeset patch
> # User gopi Satykrishna Akisetty
> # Date 1556272415 -19800
> #  Fri Apr 26 15:23:35 2019 +0530
> # Node ID b0db87e717e8b3629550aa67d734d5d74de0c66b
> # Parent  bac0e1acb874213d4002f47ce88d6abe2475d957
> [x265 patch] analysis: For inter-refine level 1, evaluate smaller CU sizes
> only when the current
> block is decided as "skip" by the save mode
>
> diff -r bac0e1acb874 -r b0db87e717e8 source/encoder/analysis.cpp
> --- a/source/encoder/analysis.cpp   Sat Apr 13 16:03:05 2019 +0200
> +++ b/source/encoder/analysis.cpp   Fri Apr 26 15:23:35 2019 +0530
> @@ -2412,6 +2412,7 @@
>  bool mightSplit = !(cuGeom.flags & CUGeom::LEAF);
>  bool mightNotSplit = !(cuGeom.flags & CUGeom::SPLIT_MANDATORY);
>  bool bDecidedDepth = parentCTU.m_cuDepth[cuGeom.absPartIdx] == depth;
> +int split = 0;
>
>  TrainingData td;
>  td.init(parentCTU, cuGeom);
> @@ -2420,8 +2421,13 @@
>  m_refineLevel = m_param->interRefine;
>  else
>  m_refineLevel = m_frame->m_classifyFrame ? 1 : 3;
> -int split = (m_param->scaleFactor && bDecidedDepth && (!mightNotSplit
> ||
> -(m_refineLevel && cuGeom.log2CUSize ==
> (uint32_t)(g_log2Size[m_param->minCUSize] + 1;
> +
> +if (m_param->interRefine == 1)
> +split = (m_param->scaleFactor && bDecidedDepth &&
> parentCTU.m_predMode[cuGeom.absPartIdx] == MODE_SKIP && (!mightNotSplit ||
> +(m_refineLevel && cuGeom.log2CUSize ==
> (uint32_t)(g_log2Size[m_param->minCUSize] + 1;
> +else
> +split = (m_param->scaleFactor && bDecidedDepth && (!mightNotSplit
> ||
> +(m_refineLevel && cuGeom.log2CUSize ==
> (uint32_t)(g_log2Size[m_param->minCUSize] + 1;
>  td.split = split;
>
>  if ((bDecidedDepth && mightNotSplit) || (m_param->bAnalysisType ==
> HEVC_INFO && parentCTU.m_cuDepth[cuGeom.absPartIdx] == 4))
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


[jira] [Commented] (FLEX-35399) In Firefox 45+ browsers,when we use sogou chinese keyboard input method and enter characters in flex input field,characters are getting repeated

2019-05-13 Thread sunil kumar reddy (JIRA)


[ 
https://issues.apache.org/jira/browse/FLEX-35399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16838618#comment-16838618
 ] 

sunil kumar reddy commented on FLEX-35399:
--

Dear Alex,

Please update,it is important for us.

> In Firefox 45+ browsers,when we use sogou chinese keyboard input method and 
> enter characters in flex input field,characters are getting repeated
> 
>
> Key: FLEX-35399
> URL: https://issues.apache.org/jira/browse/FLEX-35399
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache Flex 4.16.1
> Environment: Windows 7
> Firefox 45+ browsers
> Sogou keyboard input
>Reporter: sunil kumar reddy
>Priority: Minor
>
> Environment Details:Windows 7 machine,
> Browser:Firefox 45+
> Steps:
> Sogou chinese input keyboard method is enabled.
> In flex input field,enter the characters using Sogou chinese input keyboard.
> Issue:Characters are getting repeated in flex input field.
> If Sogou input keyboard is enabled english,it is ok.
> Flex input field code:
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLEX-35399) In Firefox 45+ browsers,when we use sogou chinese keyboard input method and enter characters in flex input field,characters are getting repeated

2019-05-08 Thread sunil kumar reddy (JIRA)


[ 
https://issues.apache.org/jira/browse/FLEX-35399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16835480#comment-16835480
 ] 

sunil kumar reddy commented on FLEX-35399:
--

Hi Alex, 

Can you please give the mozilla bug Id. 

> In Firefox 45+ browsers,when we use sogou chinese keyboard input method and 
> enter characters in flex input field,characters are getting repeated
> 
>
> Key: FLEX-35399
> URL: https://issues.apache.org/jira/browse/FLEX-35399
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache Flex 4.16.1
> Environment: Windows 7
> Firefox 45+ browsers
> Sogou keyboard input
>Reporter: sunil kumar reddy
>Priority: Minor
>
> Environment Details:Windows 7 machine,
> Browser:Firefox 45+
> Steps:
> Sogou chinese input keyboard method is enabled.
> In flex input field,enter the characters using Sogou chinese input keyboard.
> Issue:Characters are getting repeated in flex input field.
> If Sogou input keyboard is enabled english,it is ok.
> Flex input field code:
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLEX-35399) In Firefox 45+ browsers,when we use sogou chinese keyboard input method and enter characters in flex input field,characters are getting repeated

2019-04-25 Thread sunil kumar reddy (JIRA)


[ 
https://issues.apache.org/jira/browse/FLEX-35399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16826661#comment-16826661
 ] 

sunil kumar reddy commented on FLEX-35399:
--

Dear Alex,

Please check and update 

> In Firefox 45+ browsers,when we use sogou chinese keyboard input method and 
> enter characters in flex input field,characters are getting repeated
> 
>
> Key: FLEX-35399
> URL: https://issues.apache.org/jira/browse/FLEX-35399
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache Flex 4.16.1
> Environment: Windows 7
> Firefox 45+ browsers
> Sogou keyboard input
>Reporter: sunil kumar reddy
>Priority: Minor
>
> Environment Details:Windows 7 machine,
> Browser:Firefox 45+
> Steps:
> Sogou chinese input keyboard method is enabled.
> In flex input field,enter the characters using Sogou chinese input keyboard.
> Issue:Characters are getting repeated in flex input field.
> If Sogou input keyboard is enabled english,it is ok.
> Flex input field code:
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLEX-35399) In Firefox 45+ browsers,when we use sogou chinese keyboard input method and enter characters in flex input field,characters are getting repeated

2019-04-23 Thread sunil kumar reddy (JIRA)


[ 
https://issues.apache.org/jira/browse/FLEX-35399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16823760#comment-16823760
 ] 

sunil kumar reddy commented on FLEX-35399:
--

Hi Alex,
We cannot attach the full project,so please find the as code which we used:

package
{
import flash.display.Sprite;
import flash.events.Event;
import flash.external.ExternalInterface;
import flash.text.TextField;
import flash.text.TextFieldType;


public class TextAreaTest extends Sprite
{
private var textField:TextField = new TextField();

public function TextAreaTest()
{
this.textField.visible = true;
this.textField.text = 'this is a text field';
textField.width  = 150;
textField.height = 30;
textField.border = true;
textField.background = true;
textField.type = TextFieldType.INPUT;
this.addChild(this.textField); 
this.textField.addEventListener(Event.CHANGE, 
function(e:Event):void {
flash.external.ExternalInterface.call('console.log', 'Event 
---> ' + e.toString());
});
}
}
}



> In Firefox 45+ browsers,when we use sogou chinese keyboard input method and 
> enter characters in flex input field,characters are getting repeated
> 
>
> Key: FLEX-35399
> URL: https://issues.apache.org/jira/browse/FLEX-35399
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache Flex 4.16.1
> Environment: Windows 7
> Firefox 45+ browsers
> Sogou keyboard input
>Reporter: sunil kumar reddy
>Priority: Minor
>
> Environment Details:Windows 7 machine,
> Browser:Firefox 45+
> Steps:
> Sogou chinese input keyboard method is enabled.
> In flex input field,enter the characters using Sogou chinese input keyboard.
> Issue:Characters are getting repeated in flex input field.
> If Sogou input keyboard is enabled english,it is ok.
> Flex input field code:
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLEX-35399) In Firefox 45+ browsers,when we use sogou chinese keyboard input method and enter characters in flex input field,characters are getting repeated

2019-04-22 Thread sunil kumar reddy (JIRA)


[ 
https://issues.apache.org/jira/browse/FLEX-35399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16822952#comment-16822952
 ] 

sunil kumar reddy commented on FLEX-35399:
--

Dear Alex,
1)Can you create an ActionScript-only project (No Flex) with just a 
flash.text.TextField and see if you still have the same problem
--->issue is happening with actionscript-only project without flex,we tested in 
Firefox58 and 63 .Please check.

> In Firefox 45+ browsers,when we use sogou chinese keyboard input method and 
> enter characters in flex input field,characters are getting repeated
> 
>
> Key: FLEX-35399
> URL: https://issues.apache.org/jira/browse/FLEX-35399
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache Flex 4.16.1
> Environment: Windows 7
> Firefox 45+ browsers
> Sogou keyboard input
>Reporter: sunil kumar reddy
>Priority: Minor
>
> Environment Details:Windows 7 machine,
> Browser:Firefox 45+
> Steps:
> Sogou chinese input keyboard method is enabled.
> In flex input field,enter the characters using Sogou chinese input keyboard.
> Issue:Characters are getting repeated in flex input field.
> If Sogou input keyboard is enabled english,it is ok.
> Flex input field code:
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLEX-35399) In Firefox 45+ browsers,when we use sogou chinese keyboard input method and enter characters in flex input field,characters are getting repeated

2019-04-19 Thread sunil kumar reddy (JIRA)


[ 
https://issues.apache.org/jira/browse/FLEX-35399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821912#comment-16821912
 ] 

sunil kumar reddy commented on FLEX-35399:
--

We have debugged.

We can see that there are multiple events (for '*change*' and '*textInput*') 
are fired when we use the Sogou input.

For example, if we input '*_abcd_*' using Sogou, 5  '*textInput*' events are 
fired.
One with text '_*abcd*_' and an event each with single letters (ie, 'a', 'b', 
'c', 'd').

This behavior is happening only in Firefox. In chrome only one event is fired 
with event text as '*_abcd_*'
.

Please have a look into this. This function is very important for us.

Thanks.

> In Firefox 45+ browsers,when we use sogou chinese keyboard input method and 
> enter characters in flex input field,characters are getting repeated
> 
>
> Key: FLEX-35399
> URL: https://issues.apache.org/jira/browse/FLEX-35399
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache Flex 4.16.1
> Environment: Windows 7
> Firefox 45+ browsers
> Sogou keyboard input
>Reporter: sunil kumar reddy
>Priority: Minor
>
> Environment Details:Windows 7 machine,
> Browser:Firefox 45+
> Steps:
> Sogou chinese input keyboard method is enabled.
> In flex input field,enter the characters using Sogou chinese input keyboard.
> Issue:Characters are getting repeated in flex input field.
> If Sogou input keyboard is enabled english,it is ok.
> Flex input field code:
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: [x265] [PATCH x265] linux build error when enable svt-hevc

2019-04-17 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Dinesh
# Date 1555390410 -19800
#  Tue Apr 16 10:23:30 2019 +0530
# Node ID e16999096b480dd0ca3b41d341551db87cf3709b
# Parent  768ab38fd5fd104a8d58f42b646d6117d63b2c0a
Fix build error in linux when enable SVT-HEVC

Pushed patch to x265 public repo.

Thanks & Regards,
Dinesh

On Tue, Apr 16, 2019 at 11:47 AM Dinesh Kumar Reddy <
din...@multicorewareinc.com> wrote:

> # HG changeset patch
> # User Dinesh
> # Date 1555390410 -19800
> #  Tue Apr 16 10:23:30 2019 +0530
> # Node ID e16999096b480dd0ca3b41d341551db87cf3709b
> # Parent  768ab38fd5fd104a8d58f42b646d6117d63b2c0a
> Fix build error in linux when enable SVT-HEVC
>
> diff -r 768ab38fd5fd -r e16999096b48 source/encoder/api.cpp
> --- a/source/encoder/api.cpp Thu Apr 04 13:35:58 2019 +0530
> +++ b/source/encoder/api.cpp Tue Apr 16 10:23:30 2019 +0530
> @@ -366,7 +366,7 @@
>  static unsigned char picSendDone = 0;
>  numEncoded = 0;
>  static int codedNal = 0, eofReached = 0;
> -
> + EB_H265_ENC_CONFIGURATION* svtParam =
> (EB_H265_ENC_CONFIGURATION*)encoder->m_svtAppData->svtHevcParams;
>  if (encoder->m_param->bEnableSvtHevc)
>  {
>  if (pic_in)
> @@ -444,7 +444,6 @@
>  }
>  }
>
> -EB_H265_ENC_CONFIGURATION* svtParam =
> (EB_H265_ENC_CONFIGURATION*)encoder->m_svtAppData->svtHevcParams;
>  if (eofReached && svtParam->codeEosNal == 0 && !codedNal)
>  {
>  EB_BUFFERHEADERTYPE *outputStreamPtr = 0;
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] [PATCH x265] encodercolorformat cli option configuring to svt-hevc cli

2019-04-17 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Dinesh
# Date 1555413983 -19800
#  Tue Apr 16 16:56:23 2019 +0530
# Node ID 061bdb51cc82a2cfe5221099db8a65a08e665973
# Parent  e16999096b480dd0ca3b41d341551db87cf3709b
fix - encodercolorformat assigning to junk value, failing to encode svt-hevc

Pushed patch to x265 Public repo.

Thanks & Regards,
Dinesh

On Wed, Apr 17, 2019 at 11:16 AM Dinesh Kumar Reddy <
din...@multicorewareinc.com> wrote:

> # HG changeset patch
> # User Dinesh
> # Date 1555413983 -19800
> #  Tue Apr 16 16:56:23 2019 +0530
> # Node ID 061bdb51cc82a2cfe5221099db8a65a08e665973
> # Parent  e16999096b480dd0ca3b41d341551db87cf3709b
> fix - encodercolorformat assigning to junk value, failing to encode
> svt-hevc
>
> diff -r e16999096b48 -r 061bdb51cc82 source/common/param.cpp
> --- a/source/common/param.cpp Tue Apr 16 10:23:30 2019 +0530
> +++ b/source/common/param.cpp Tue Apr 16 16:56:23 2019 +0530
> @@ -2426,6 +2426,7 @@
>  svtHevcParam->frameRateNumerator = 0;
>  svtHevcParam->frameRateDenominator = 0;
>  svtHevcParam->encoderBitDepth = 8;
> + svtHevcParam->encoderColorFormat = EB_YUV420;
>  svtHevcParam->compressedTenBitFormat = 0;
>  svtHevcParam->rateControlMode = 0;
>  svtHevcParam->sceneChangeDetection = 1;
> diff -r e16999096b48 -r 061bdb51cc82 source/x265.cpp
> --- a/source/x265.cpp Tue Apr 16 10:23:30 2019 +0530
> +++ b/source/x265.cpp Tue Apr 16 16:56:23 2019 +0530
> @@ -567,6 +567,7 @@
>  svtParam->frameRateNumerator = param->fpsNum;
>  svtParam->frameRateDenominator = param->fpsDenom;
>  svtParam->framesToBeEncoded = param->totalFrames;
> + svtParam->encoderColorFormat = (EB_COLOR_FORMAT)param->internalCsp;
>  }
>  #endif
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] Fix Issue #470

2019-04-17 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Nomis101 
# Date 1555164185 -7200
#  Sat Apr 13 16:03:05 2019 +0200
# Node ID b89d065b20751f3f20d542faa2a75dba74bb9982
# Parent  768ab38fd5fd104a8d58f42b646d6117d63b2c0a
Fix for Issue #470

Patch has been pushed to x265 public repo.

Thanks & Regards,
Dinesh

On Sat, Apr 13, 2019 at 7:48 PM Nomis101   wrote:

> This should fix Issue #470. Patch is attached.
>
>
> # HG changeset patch
> # User Nomis101 
> # Date 1555164185 -7200
> #  Sat Apr 13 16:03:05 2019 +0200
> # Node ID b89d065b20751f3f20d542faa2a75dba74bb9982
> # Parent  768ab38fd5fd104a8d58f42b646d6117d63b2c0a
> Fix for Issue #470
>
> diff -r 768ab38fd5fd -r b89d065b2075 source/x265.h
> --- a/source/x265.h Thu Apr 04 13:35:58 2019 +0530
> +++ b/source/x265.h Sat Apr 13 16:03:05 2019 +0200
> @@ -1845,17 +1845,17 @@ static const char * const x265_preset_na
>   *  with ultrafast mapping to "0" and placebo mapping to "9".  This
> mapping may
>   *  of course change if new presets are added in between, but will
> always be
>   *  ordered from fastest to slowest.
>   *
>   *  Warning: the speed of these presets scales dramatically.
> Ultrafast is a full
>   *  100 times faster than placebo!
>   *
>   *  Currently available tunings are: */
> -static const char * const x265_tune_names[] = { "psnr", "ssim", "grain",
> "zerolatency", "fastdecode", 0 };
> +static const char * const x265_tune_names[] = { "psnr", "ssim", "grain",
> "zerolatency", "fastdecode", "animation", 0 };
>
>  /*  returns 0 on success, negative on failure (e.g. invalid
> preset/tune name). */
>  int x265_param_default_preset(x265_param *, const char *preset, const
> char *tune);
>
>  /* x265_picture_alloc:
>   *  Allocates an x265_picture instance. The returned picture structure is
> not
>   *  special in any way, but using this method together with
> x265_picture_free()
>   *  and x265_picture_init() allows some version safety. New picture
> fields will
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


[x265] [PATCH x265] encodercolorformat cli option configuring to svt-hevc cli

2019-04-16 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Dinesh
# Date 1555413983 -19800
#  Tue Apr 16 16:56:23 2019 +0530
# Node ID 061bdb51cc82a2cfe5221099db8a65a08e665973
# Parent  e16999096b480dd0ca3b41d341551db87cf3709b
fix - encodercolorformat assigning to junk value, failing to encode svt-hevc

diff -r e16999096b48 -r 061bdb51cc82 source/common/param.cpp
--- a/source/common/param.cpp Tue Apr 16 10:23:30 2019 +0530
+++ b/source/common/param.cpp Tue Apr 16 16:56:23 2019 +0530
@@ -2426,6 +2426,7 @@
 svtHevcParam->frameRateNumerator = 0;
 svtHevcParam->frameRateDenominator = 0;
 svtHevcParam->encoderBitDepth = 8;
+ svtHevcParam->encoderColorFormat = EB_YUV420;
 svtHevcParam->compressedTenBitFormat = 0;
 svtHevcParam->rateControlMode = 0;
 svtHevcParam->sceneChangeDetection = 1;
diff -r e16999096b48 -r 061bdb51cc82 source/x265.cpp
--- a/source/x265.cpp Tue Apr 16 10:23:30 2019 +0530
+++ b/source/x265.cpp Tue Apr 16 16:56:23 2019 +0530
@@ -567,6 +567,7 @@
 svtParam->frameRateNumerator = param->fpsNum;
 svtParam->frameRateDenominator = param->fpsDenom;
 svtParam->framesToBeEncoded = param->totalFrames;
+ svtParam->encoderColorFormat = (EB_COLOR_FORMAT)param->internalCsp;
 }
 #endif


encodercolorformat.patch
Description: Binary data
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


[x265] [PATCH x265] linux build error when enable svt-hevc

2019-04-16 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Dinesh
# Date 1555390410 -19800
#  Tue Apr 16 10:23:30 2019 +0530
# Node ID e16999096b480dd0ca3b41d341551db87cf3709b
# Parent  768ab38fd5fd104a8d58f42b646d6117d63b2c0a
Fix build error in linux when enable SVT-HEVC

diff -r 768ab38fd5fd -r e16999096b48 source/encoder/api.cpp
--- a/source/encoder/api.cpp Thu Apr 04 13:35:58 2019 +0530
+++ b/source/encoder/api.cpp Tue Apr 16 10:23:30 2019 +0530
@@ -366,7 +366,7 @@
 static unsigned char picSendDone = 0;
 numEncoded = 0;
 static int codedNal = 0, eofReached = 0;
-
+ EB_H265_ENC_CONFIGURATION* svtParam =
(EB_H265_ENC_CONFIGURATION*)encoder->m_svtAppData->svtHevcParams;
 if (encoder->m_param->bEnableSvtHevc)
 {
 if (pic_in)
@@ -444,7 +444,6 @@
 }
 }

-EB_H265_ENC_CONFIGURATION* svtParam =
(EB_H265_ENC_CONFIGURATION*)encoder->m_svtAppData->svtHevcParams;
 if (eofReached && svtParam->codeEosNal == 0 && !codedNal)
 {
 EB_BUFFERHEADERTYPE *outputStreamPtr = 0;


buildError.patch
Description: Binary data
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


[jira] [Commented] (FLEX-35399) In Firefox 45+ browsers,when we use sogou chinese keyboard input method and enter characters in flex input field,characters are getting repeated

2019-04-09 Thread sunil kumar reddy (JIRA)


[ 
https://issues.apache.org/jira/browse/FLEX-35399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813442#comment-16813442
 ] 

sunil kumar reddy commented on FLEX-35399:
--

HI Alex,
created an ActionScript-only project without Flex,issue is not happening .
In win 10 machine,Sogou chinese input keyboard method is working properly.

> In Firefox 45+ browsers,when we use sogou chinese keyboard input method and 
> enter characters in flex input field,characters are getting repeated
> 
>
> Key: FLEX-35399
> URL: https://issues.apache.org/jira/browse/FLEX-35399
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache Flex 4.16.1
> Environment: Windows 7
> Firefox 45+ browsers
> Sogou keyboard input
>Reporter: sunil kumar reddy
>Priority: Minor
>
> Environment Details:Windows 7 machine,
> Browser:Firefox 45+
> Steps:
> Sogou chinese input keyboard method is enabled.
> In flex input field,enter the characters using Sogou chinese input keyboard.
> Issue:Characters are getting repeated in flex input field.
> If Sogou input keyboard is enabled english,it is ok.
> Flex input field code:
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: [x265] [PATCH x265] SSIM-RD: 8-bit AVX2 performance improvement

2019-04-08 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Akil Ayyappan
# Date 1554365158 -19800
#  Thu Apr 04 13:35:58 2019 +0530
# Node ID e7a726d1ca84d59f85cfafb428b8ffc4b9eb7000
# Parent  b36242b9f354b8773e38674b876b0ca5dfc35ad2
SSIM-RD : 8-bit AVX2 performance improvement

Patch has been pushed to x265 public branch.


Thanks & Regards,
Dinesh

On Fri, Apr 5, 2019 at 3:33 PM Akil  wrote:

> # HG changeset patch
> # User Akil Ayyappan
> # Date 1554365158 -19800
> #  Thu Apr 04 13:35:58 2019 +0530
> # Node ID e7a726d1ca84d59f85cfafb428b8ffc4b9eb7000
> # Parent  b36242b9f354b8773e38674b876b0ca5dfc35ad2
> SSIM-RD : 8-bit AVX2 performance improvement
>
> ssimDistortion
> [16x16]   5.44x   => 13.52x
> [32x32]   6.01x   => 18.99x
> [64x64]   6.70x   => 20.78x
>
> normFactor
> [16x16]   8.42x   => 17.96x
> [32x32]   9.56x   => 29.12x
> [64x64]   8.96x   => 25.29x
>
> diff -r b36242b9f354 -r e7a726d1ca84 source/common/x86/pixel-a.asm
> --- a/source/common/x86/pixel-a.asm Tue Apr 02 15:01:12 2019 +0530
> +++ b/source/common/x86/pixel-a.asm Thu Apr 04 13:35:58 2019 +0530
> @@ -370,7 +370,7 @@
>  RET
>  %endmacro
>
> -%macro SSIM_RD_COL 2
> +%macro SSIM_DIST_HIGH 2
>  vpsrld m6, m0,SSIMRD_SHIFT
>  vpsubd m0, m1
>
> @@ -388,7 +388,7 @@
>  vpaddq m7, m6
>  %endmacro
>
> -%macro NORM_FACT_COL 1
> +%macro NORM_FACT_HIGH 1
>  vpsrld m1,  m0,SSIMRD_SHIFT
>  vpmuldqm2,  m1,m1
>  vpsrldqm1,  m1,4
> @@ -398,6 +398,23 @@
>  vpaddq m3,  m1
>  %endmacro
>
> +%macro SSIM_DIST_LOW 2
> +vpsrlw m6, m0,SSIMRD_SHIFT
> +vpsubw m0, m1
> +
> +vpmaddwd   m0, m0,m0
> +vpmaddwd   m6, m6,m6
> +
> +vpaddd m4, m0
> +vpaddd m7, m6
> +%endmacro
> +
> +%macro NORM_FACT_LOW 1
> +vpsrlw m1,  m0,SSIMRD_SHIFT
> +vpmaddwd   m1,  m1,m1
> +vpaddd m3,  m1
> +%endmacro
> +
>  ; FIXME avoid the spilling of regs to hold 3*stride.
>  ; for small blocks on x86_32, modify pixel pointer instead.
>
> @@ -16014,7 +16031,7 @@
>  %error Unsupported BIT_DEPTH!
>  %endif
>
> -SSIM_RD_COLm0,  m1
> +SSIM_DIST_HIGH m0,  m1
>
>  %if HIGH_BIT_DEPTH
>  lear0, [r0 + 2 * r1]
> @@ -16047,41 +16064,37 @@
>  vpxor  m3,  m3
>  vpxor  m7,  m7;ac_k
>  .row:
> +%if HIGH_BIT_DEPTH
>  ;Col 1-8
> -%if HIGH_BIT_DEPTH
>  vpmovzxwd  m0,  [r0]  ;fenc
>  vpmovzxwd  m1,  [r2]  ;recon
> -%elif BIT_DEPTH == 8
> -vpmovzxbd  m0,  [r0]
> -vpmovzxbd  m1,  [r2]
> -%else
> -%error Unsupported BIT_DEPTH!
> -%endif
> -
> -SSIM_RD_COLm0,  m1
> +
> +SSIM_DIST_HIGH m0,  m1
>
>  ;Col 9-16
> -%if HIGH_BIT_DEPTH
> -vpmovzxwd  m0,  [r0 + 16] ;fenc
> -vpmovzxwd  m1,  [r2 + 16] ;recon
> -%elif BIT_DEPTH == 8
> -vpmovzxbd  m0,  [r0 + 8]
> -vpmovzxbd  m1,  [r2 + 8]
> -%else
> -%error Unsupported BIT_DEPTH!
> -%endif
> -
> -SSIM_RD_COLm0,  m1
> -
> -%if HIGH_BIT_DEPTH
> +vpmovzxwd  m0,  [r0 + 16]
> +vpmovzxwd  m1,  [r2 + 16]
> +
> +SSIM_DIST_HIGH m0,  m1
> +
>  lear0, [r0 + 2 * r1]
>  lear2, [r2 + 2 * r3]
> -%else
> +%elif BIT_DEPTH == 8
> +;col 1- 16
> +vpmovzxbw  m0, [r0] ;fenc
> +vpmovzxbw  m1, [r2] ;recon
> +
> +SSIM_DIST_LOW  m0, m1
> +
>  lear0, [r0 + r1]
>  lear2, [r2 + r3]
> +%else
> +%error Unsupported BIT_DEPTH!
>  %endif
>  decr5d
>  jnz   .row
> +
> +%if HIGH_BIT_DEPTH
>  vextracti128   xm5,m4,1
>  vpaddq xm4,xm5
>  punpckhqdq xm2,xm4,   xm3
> @@ -16091,7 +16104,23 @@
>  vpaddq xm7,xm5
>  punpckhqdq xm2,xm7,   xm3
>  paddq  xm7,xm2
> -
> +%else
> +vextracti128   xm5,m4,1
> +vpaddd xm4,xm5
> +punpckhqdq xm2,xm4,   xm3
> +paddd  xm4,xm2
> +punpckldq  xm4,xm4,   xm3
> +punpckhqdq xm2,xm4,   xm3
> +paddd  xm4,xm2
> +
> +vextracti128   xm5,m7,1
> +vpaddd xm7,xm5
> +punpckhqdq xm2,xm7,   xm3
> +paddd  xm7,xm2
> +

[jira] [Commented] (FLEX-35399) In Firefox 45+ browsers,when we use sogou chinese keyboard input method and enter characters in flex input field,characters are getting repeated

2019-04-08 Thread sunil kumar reddy (JIRA)


[ 
https://issues.apache.org/jira/browse/FLEX-35399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16812146#comment-16812146
 ] 

sunil kumar reddy commented on FLEX-35399:
--

HI Alex,
Please confirm it is Flex code issue ?

> In Firefox 45+ browsers,when we use sogou chinese keyboard input method and 
> enter characters in flex input field,characters are getting repeated
> 
>
> Key: FLEX-35399
> URL: https://issues.apache.org/jira/browse/FLEX-35399
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache Flex 4.16.1
> Environment: Windows 7
> Firefox 45+ browsers
> Sogou keyboard input
>Reporter: sunil kumar reddy
>Priority: Minor
>
> Environment Details:Windows 7 machine,
> Browser:Firefox 45+
> Steps:
> Sogou chinese input keyboard method is enabled.
> In flex input field,enter the characters using Sogou chinese input keyboard.
> Issue:Characters are getting repeated in flex input field.
> If Sogou input keyboard is enabled english,it is ok.
> Flex input field code:
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: [x265] [PATCH x265] Fix blocky artifacts in Linux.

2019-04-05 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Akil Ayyappan
# Date 1554197472 -19800
#  Tue Apr 02 15:01:12 2019 +0530
# Node ID 23d2e2a198f46df95a42b5c2059e8b5ab93d1556
# Parent  3e5032228123c1898d408a30e45ac15eb687ffb6
Fix blocky artifacts in Linux

Pushed to x265 public repo.

Thanks & Regards,
Dinesh

On Wed, Apr 3, 2019 at 11:21 AM Akil  wrote:

> # HG changeset patch
> # User Akil Ayyappan
> # Date 1554197472 -19800
> #  Tue Apr 02 15:01:12 2019 +0530
> # Node ID 23d2e2a198f46df95a42b5c2059e8b5ab93d1556
> # Parent  3e5032228123c1898d408a30e45ac15eb687ffb6
> Fix blocky artifacts in Linux
>
> diff -r 3e5032228123 -r 23d2e2a198f4 source/encoder/analysis.cpp
> --- a/source/encoder/analysis.cpp Fri Mar 22 13:09:49 2019 +0530
> +++ b/source/encoder/analysis.cpp Tue Apr 02 15:01:12 2019 +0530
> @@ -3696,7 +3696,7 @@
>
>  // 2. Calculate ac component
>  uint64_t z_k = 0;
> -int block = (int)((log(blockSize) / log(2)) - 2);
> +int block = (int)(((log(blockSize) / log(2)) - 2) + 0.5);
>  primitives.cu[block].normFact(src, blockSize, shift, _k);
>
>  // Remove the DC part
>
>
> --
> *Regards,*
> *Akil R*
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


[jira] [Commented] (FLEX-35399) In Firefox 45+ browsers,when we use sogou chinese keyboard input method and enter characters in flex input field,characters are getting repeated

2019-03-27 Thread sunil kumar reddy (JIRA)


[ 
https://issues.apache.org/jira/browse/FLEX-35399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16802655#comment-16802655
 ] 

sunil kumar reddy commented on FLEX-35399:
--

Tested with flash player 27 and flash player 32,issue is coming 

> In Firefox 45+ browsers,when we use sogou chinese keyboard input method and 
> enter characters in flex input field,characters are getting repeated
> 
>
> Key: FLEX-35399
> URL: https://issues.apache.org/jira/browse/FLEX-35399
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache Flex 4.16.1
> Environment: Windows 7
> Firefox 45+ browsers
> Sogou keyboard input
>Reporter: sunil kumar reddy
>Priority: Minor
>
> Environment Details:Windows 7 machine,
> Browser:Firefox 45+
> Steps:
> Sogou chinese input keyboard method is enabled.
> In flex input field,enter the characters using Sogou chinese input keyboard.
> Issue:Characters are getting repeated in flex input field.
> If Sogou input keyboard is enabled english,it is ok.
> Flex input field code:
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (FLEX-35399) In Firefox 45+ browsers,when we use sogou chinese keyboard input method and enter characters in flex input field,characters are getting repeated

2019-03-26 Thread sunil kumar reddy (JIRA)
sunil kumar reddy created FLEX-35399:


 Summary: In Firefox 45+ browsers,when we use sogou chinese 
keyboard input method and enter characters in flex input field,characters are 
getting repeated
 Key: FLEX-35399
 URL: https://issues.apache.org/jira/browse/FLEX-35399
 Project: Apache Flex
  Issue Type: Bug
  Components: FlexJS
Affects Versions: Apache Flex 4.16.1
 Environment: Windows 7
Firefox 45+ browsers
Sogou keyboard input
Reporter: sunil kumar reddy


Environment Details:Windows 7 machine,
Browser:Firefox 45+

Steps:
Sogou chinese input keyboard method is enabled.
In flex input field,enter the characters using Sogou chinese input keyboard.
Issue:Characters are getting repeated in flex input field.
If Sogou input keyboard is enabled english,it is ok.

Flex input field code:
 






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: [x265] [PATCH x265] Fix warnings and Win32 build error for ssimDistortion primitive

2019-03-08 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Akil Ayyappan
# Date 1551966566 -19800
#  Thu Mar 07 19:19:26 2019 +0530
# Node ID bf2f1880f5ba6f264cdff9711f548801edd1960b
# Parent  0eccd62725b6a24ae27d52189c4a624dffdd7a07
Fix warnings and Win32 build errors for ssimDistortion primitive

Patch has been pushed to default repo.

Thanks & Regards,
Dinesh

On Fri, Mar 8, 2019 at 1:11 PM Akil  wrote:

> # HG changeset patch
> # User Akil Ayyappan
> # Date 1551966566 -19800
> #  Thu Mar 07 19:19:26 2019 +0530
> # Node ID bf2f1880f5ba6f264cdff9711f548801edd1960b
> # Parent  0eccd62725b6a24ae27d52189c4a624dffdd7a07
> Fix warnings and Win32 build errors for ssimDistortion primitive
>
> diff -r 0eccd62725b6 -r bf2f1880f5ba source/common/pixel.cpp
> --- a/source/common/pixel.cpp Mon Mar 04 15:36:38 2019 +0530
> +++ b/source/common/pixel.cpp Thu Mar 07 19:19:26 2019 +0530
> @@ -938,7 +938,7 @@
>  static void ssimDist_c(const pixel* fenc, uint32_t fStride, const pixel*
> recon, intptr_t rstride, uint64_t *ssBlock, int shift, uint64_t *ac_k)
>  {
>  *ssBlock = 0;
> -const uint32_t trSize = 1 << log2TrSize;
> +int trSize = 1 << log2TrSize;
>  for (int y = 0; y < trSize; y++)
>  {
>  for (int x = 0; x < trSize; x++)
> diff -r 0eccd62725b6 -r bf2f1880f5ba source/common/x86/pixel-a.asm
> --- a/source/common/x86/pixel-a.asm Mon Mar 04 15:36:38 2019 +0530
> +++ b/source/common/x86/pixel-a.asm Thu Mar 07 19:19:26 2019 +0530
> @@ -15952,7 +15952,7 @@
>
>  INIT_YMM avx2
>  cglobal ssimDist4, 7, 8, 8
> -movr7d,4
> +movr5d,4
>  vpxor  m4, m4  ;ssBlock
>  vpxor  m3, m3
>  vpxor  m7, m7  ;ac_k
> @@ -15980,7 +15980,7 @@
>  lear0,[r0 + r1]
>  lear2,[r2 + r3]
>  %endif
> -decr7d
> +decr5d
>  jnz   .row
>  vextracti128   xm5,   m4,1
>  vpaddq xm4,   xm5
> @@ -15999,7 +15999,7 @@
>
>  INIT_YMM avx2
>  cglobal ssimDist8, 7, 8, 8
> -movr7d,8
> +movr5d,8
>  vpxor  m4, m4  ;ssBlock
>  vpxor  m3, m3
>  vpxor  m7, m7  ;ac_k
> @@ -16023,7 +16023,7 @@
>  lear0, [r0 + r1]
>  lear2, [r2 + r3]
>  %endif
> -decr7d
> +decr5d
>  jnz.row
>  vextracti128   xm5,m4,1
>  vpaddq xm4,xm5
> @@ -16042,7 +16042,7 @@
>
>  INIT_YMM avx2
>  cglobal ssimDist16, 7, 8, 8
> -movr7d, 16
> +movr5d, 16
>  vpxor  m4,  m4;ssBlock
>  vpxor  m3,  m3
>  vpxor  m7,  m7;ac_k
> @@ -16080,7 +16080,7 @@
>  lear0, [r0 + r1]
>  lear2, [r2 + r3]
>  %endif
> -decr7d
> +decr5d
>  jnz   .row
>  vextracti128   xm5,m4,1
>  vpaddq xm4,xm5
> @@ -16099,7 +16099,7 @@
>
>  INIT_YMM avx2
>  cglobal ssimDist32, 7, 8, 8
> -movr7d,32
> +movr5d,32
>  vpxor  m4, m4  ;ssBlock
>  vpxor  m3, m3
>  vpxor  m7, m7  ;ac_k
> @@ -16163,7 +16163,7 @@
>  lear0,  [r0 + r1]
>  lear2,  [r2 + r3]
>  %endif
> -decr7d
> +decr5d
>  jnz   .row
>  vextracti128   xm5, m4,1
>  vpaddq xm4, xm5
> @@ -16182,7 +16182,7 @@
>
>  INIT_YMM avx2
>  cglobal ssimDist64, 7, 8, 8
> -movr7d, 64
> +movr5d, 64
>  vpxor  m4,  m4 ;ssBlock
>  vpxor  m3,  m3
>  vpxor  m7,  m7 ;ac_k
> @@ -16298,7 +16298,7 @@
>  lear0,  [r0 + r1]
>  lear2,  [r2 + r3]
>  %endif
> -decr7d
> +decr5d
>  jnz.row
>  vextracti128   xm5,  m4,1
>  vpaddq xm4,  xm5
>
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] [PATCH x265] Add AVX2 assembly code for ssimDistortion primitive.

2019-03-07 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Akil Ayyappan
# Date 1551251102 -19800
#  Wed Feb 27 12:35:02 2019 +0530
# Node ID d12a4caf7963fd47d646040689ad5f02754ad879
# Parent  cb3e172a5f51c6a4bf8adb7953fe53277f5a1979
x86: ssimDistortion primitive

This patch adds AVX2 assembly for this primitive.

Pushed patch to default branch of x265 repo.

Thanks & Regards,
Dinesh

On Tue, Mar 5, 2019 at 10:03 AM Akil  wrote:

>
> # HG changeset patch
> # User Akil Ayyappan
> # Date 1551251102 -19800
> #  Wed Feb 27 12:35:02 2019 +0530
> # Node ID d12a4caf7963fd47d646040689ad5f02754ad879
> # Parent  cb3e172a5f51c6a4bf8adb7953fe53277f5a1979
> x86: ssimDistortion primitive
>
> This patch adds AVX2 assembly for this primitive.
>
> |-|---|-|-|
> |  Size   |Performance|AVX2 clock cycles|CPP clock cycles |
> |-|---|-|-|
> | [4x4]   |   3.52x   | 264.43  | 932.05  |
> | [8x8]   |   5.11x   | 619.24  | 3163.56 |
> | [16x16] |   5.44x   | 2114.00 | 11490.52|
> | [32x32] |   6.01x   | 7589.70 | 45608.01|
> | [64x64] |   6.70x   | 27859.21| 186634.25   |
> |-|---|-|-|
>
> diff -r cb3e172a5f51 -r d12a4caf7963 source/common/pixel.cpp
> --- a/source/common/pixel.cpp Tue Feb 19 20:20:35 2019 +0530
> +++ b/source/common/pixel.cpp Wed Feb 27 12:35:02 2019 +0530
> @@ -934,6 +934,31 @@
>  }
>  }
>
> +template
> +static void ssimDist_c(const pixel* fenc, uint32_t fStride, const pixel*
> recon, intptr_t rstride, uint64_t *ssBlock, int shift, uint64_t *ac_k)
> +{
> +*ssBlock = 0;
> +const uint32_t trSize = 1 << log2TrSize;
> +for (int y = 0; y < trSize; y++)
> +{
> +for (int x = 0; x < trSize; x++)
> +{
> +int temp = fenc[y * fStride + x] - recon[y * rstride + x]; //
> copy of residual coeff
> +*ssBlock += temp * temp;
> +}
> +}
> +
> +*ac_k = 0;
> +for (int block_yy = 0; block_yy < trSize; block_yy += 1)
> +{
> +for (int block_xx = 0; block_xx < trSize; block_xx += 1)
> +{
> +uint32_t temp = fenc[block_yy * fStride + block_xx] >> shift;
> +*ac_k += temp * temp;
> +}
> +}
> +}
> +
>  #if HIGH_BIT_DEPTH
>  static pixel planeClipAndMax_c(pixel *src, intptr_t stride, int width,
> int height, uint64_t *outsum,
> const pixel minPix, const pixel maxPix)
> @@ -1283,5 +1308,11 @@
>  p.propagateCost = estimateCUPropagateCost;
>  p.fix8Unpack = cuTreeFix8Unpack;
>  p.fix8Pack = cuTreeFix8Pack;
> +
> +p.cu[BLOCK_4x4].ssimDist = ssimDist_c<2>;
> +p.cu[BLOCK_8x8].ssimDist = ssimDist_c<3>;
> +p.cu[BLOCK_16x16].ssimDist = ssimDist_c<4>;
> +p.cu[BLOCK_32x32].ssimDist = ssimDist_c<5>;
> +p.cu[BLOCK_64x64].ssimDist = ssimDist_c<6>;
>  }
>  }
> diff -r cb3e172a5f51 -r d12a4caf7963 source/common/primitives.h
> --- a/source/common/primitives.h Tue Feb 19 20:20:35 2019 +0530
> +++ b/source/common/primitives.h Wed Feb 27 12:35:02 2019 +0530
> @@ -227,6 +227,7 @@
>  typedef void(*psyRdoQuant_t)(int16_t *m_resiDctCoeff, int16_t
> *m_fencDctCoeff, int64_t *costUncoded, int64_t *totalUncodedCost, int64_t
> *totalRdCost, int64_t *psyScale, uint32_t blkPos);
>  typedef void(*psyRdoQuant_t1)(int16_t *m_resiDctCoeff, int64_t
> *costUncoded, int64_t *totalUncodedCost, int64_t *totalRdCost,uint32_t
> blkPos);
>  typedef void(*psyRdoQuant_t2)(int16_t *m_resiDctCoeff, int16_t
> *m_fencDctCoeff, int64_t *costUncoded, int64_t *totalUncodedCost, int64_t
> *totalRdCost, int64_t *psyScale, uint32_t blkPos);
> +typedef void(*ssimDistortion_t)(const pixel *fenc, uint32_t fStride,
> const pixel *recon,  intptr_t rstride, uint64_t *ssBlock, int shift,
> uint64_t *ac_k);
>  /* Function pointers to optimized encoder primitives. Each pointer can
> reference
>   * either an assembly routine, a SIMD intrinsic primitive, or a C
> function */
>  struct EncoderPrimitives
> @@ -303,6 +304,7 @@
>  psyRdoQuant_tpsyRdoQuant;
>   psyRdoQuant_t1   psyRdoQuant_1p;
>   psyRdoQuant_t2   psyRdoQuant_2p;
> +ssimDistortion_t ssimDist;
>  }
>  cu[NUM_CU_SIZES];
>  /* These remaining primitives work on either fixed block sizes or take
> diff -r cb3e172a5f51 -r d12a4caf7963 source/common/quant.cpp
> --- a/source/common/quant.cpp Tue Feb 19 20:20:35 2019 +0530
> +++ b/source/common/quant.cpp Wed Feb 27 12:35:02 2019 +0530
> @@ -501,15 +501,8 @@
>
>  // Calculation of (X(k) - Y(k)) * (X(k) - Y(k)), AC
>  ssBlock = 0;
> -for (int y = 0; y < trSize; y++)
> -{
> -for (int x = 0; x < trSize; x++)
> -{
> -int temp = fenc[y * fStride + x] - recon[y * rstride + x]; //
> copy of residual coeff
> -ssBlock += temp * temp;
> -}
> -}
> -
> +uint64_t ac_k = 0;
> +primitives.cu[log2TrSize - 2].ssimDist(fenc, 

Re: [x265] [PATCH x265] Add AVX2 assembly code for normFactor primitive.

2019-03-07 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Akil Ayyappan
# Date 1551693998 -19800
#  Mon Mar 04 15:36:38 2019 +0530
# Node ID 19f27e0c8a6f8250af5e2f7c7984dc3b57bea7e4
# Parent  d12a4caf7963fd47d646040689ad5f02754ad879
x86: normFactor primitive

This patch adds AVX2 assembly for this primitive.

Pushed to default branch of x265 repo

Thanks & Regards,
Dinesh

On Tue, Mar 5, 2019 at 10:04 AM Akil  wrote:

> # HG changeset patch
> # User Akil Ayyappan
> # Date 1551693998 -19800
> #  Mon Mar 04 15:36:38 2019 +0530
> # Node ID 19f27e0c8a6f8250af5e2f7c7984dc3b57bea7e4
> # Parent  d12a4caf7963fd47d646040689ad5f02754ad879
> x86: normFactor primitive
>
> This patch adds AVX2 assembly for this primitive.
>
> |-|---|-|-|
> |  Size   |Performance|AVX2 clock cycles|CPP clock cycles |
> |-|---|-|-|
> | [8x8]   |   7.65x   |   312.90|   2394.83   |
> | [16x16] |   8.42x   |   1157.14   |   9741.56   |
> | [32x32] |   9.56x   |   3942.18   |   37692.20  |
> | [64x64] |   8.96x   |   15388.24  |   137889.28 |
> |-|---|-|-|
>
> diff -r d12a4caf7963 -r 19f27e0c8a6f source/common/pixel.cpp
> --- a/source/common/pixel.cpp Wed Feb 27 12:35:02 2019 +0530
> +++ b/source/common/pixel.cpp Mon Mar 04 15:36:38 2019 +0530
> @@ -959,6 +959,19 @@
>  }
>  }
>
> +static void normFact_c(const pixel* src, uint32_t blockSize, int shift,
> uint64_t *z_k)
> +{
> +*z_k = 0;
> +for (uint32_t block_yy = 0; block_yy < blockSize; block_yy += 1)
> +{
> +for (uint32_t block_xx = 0; block_xx < blockSize; block_xx += 1)
> +{
> +uint32_t temp = src[block_yy * blockSize + block_xx] >> shift;
> +*z_k += temp * temp;
> +}
> +}
> +}
> +
>  #if HIGH_BIT_DEPTH
>  static pixel planeClipAndMax_c(pixel *src, intptr_t stride, int width,
> int height, uint64_t *outsum,
> const pixel minPix, const pixel maxPix)
> @@ -1314,5 +1327,10 @@
>  p.cu[BLOCK_16x16].ssimDist = ssimDist_c<4>;
>  p.cu[BLOCK_32x32].ssimDist = ssimDist_c<5>;
>  p.cu[BLOCK_64x64].ssimDist = ssimDist_c<6>;
> +
> +p.cu[BLOCK_8x8].normFact = normFact_c;
> +p.cu[BLOCK_16x16].normFact = normFact_c;
> +p.cu[BLOCK_32x32].normFact = normFact_c;
> +p.cu[BLOCK_64x64].normFact = normFact_c;
>  }
>  }
> diff -r d12a4caf7963 -r 19f27e0c8a6f source/common/primitives.h
> --- a/source/common/primitives.h Wed Feb 27 12:35:02 2019 +0530
> +++ b/source/common/primitives.h Mon Mar 04 15:36:38 2019 +0530
> @@ -228,6 +228,7 @@
>  typedef void(*psyRdoQuant_t1)(int16_t *m_resiDctCoeff, int64_t
> *costUncoded, int64_t *totalUncodedCost, int64_t *totalRdCost,uint32_t
> blkPos);
>  typedef void(*psyRdoQuant_t2)(int16_t *m_resiDctCoeff, int16_t
> *m_fencDctCoeff, int64_t *costUncoded, int64_t *totalUncodedCost, int64_t
> *totalRdCost, int64_t *psyScale, uint32_t blkPos);
>  typedef void(*ssimDistortion_t)(const pixel *fenc, uint32_t fStride,
> const pixel *recon,  intptr_t rstride, uint64_t *ssBlock, int shift,
> uint64_t *ac_k);
> +typedef void(*normFactor_t)(const pixel *src, uint32_t blockSize, int
> shift, uint64_t *z_k);
>  /* Function pointers to optimized encoder primitives. Each pointer can
> reference
>   * either an assembly routine, a SIMD intrinsic primitive, or a C
> function */
>  struct EncoderPrimitives
> @@ -305,6 +306,7 @@
>   psyRdoQuant_t1   psyRdoQuant_1p;
>   psyRdoQuant_t2   psyRdoQuant_2p;
>  ssimDistortion_t ssimDist;
> +normFactor_t normFact;
>  }
>  cu[NUM_CU_SIZES];
>  /* These remaining primitives work on either fixed block sizes or take
> diff -r d12a4caf7963 -r 19f27e0c8a6f source/common/x86/asm-primitives.cpp
> --- a/source/common/x86/asm-primitives.cpp Wed Feb 27 12:35:02 2019 +0530
> +++ b/source/common/x86/asm-primitives.cpp Mon Mar 04 15:36:38 2019 +0530
> @@ -2325,6 +2325,11 @@
>  p.cu[BLOCK_32x32].ssimDist = PFX(ssimDist32_avx2);
>  p.cu[BLOCK_64x64].ssimDist = PFX(ssimDist64_avx2);
>
> +p.cu[BLOCK_8x8].normFact = PFX(normFact8_avx2);
> +p.cu[BLOCK_16x16].normFact = PFX(normFact16_avx2);
> +p.cu[BLOCK_32x32].normFact = PFX(normFact32_avx2);
> +p.cu[BLOCK_64x64].normFact = PFX(normFact64_avx2);
> +
>  /* TODO: This kernel needs to be modified to work with
> HIGH_BIT_DEPTH only
>  p.planeClipAndMax = PFX(planeClipAndMax_avx2); */
>
> @@ -4718,6 +4723,11 @@
>  p.cu[BLOCK_32x32].ssimDist = PFX(ssimDist32_avx2);
>  p.cu[BLOCK_64x64].ssimDist = PFX(ssimDist64_avx2);
>
> +p.cu[BLOCK_8x8].normFact = PFX(normFact8_avx2);
> +p.cu[BLOCK_16x16].normFact = PFX(normFact16_avx2);
> +p.cu[BLOCK_32x32].normFact = PFX(normFact32_avx2);
> +p.cu[BLOCK_64x64].normFact = PFX(normFact64_avx2);
> +
>  }
>  if (cpuMask & X265_CPU_AVX512)
>  {
> diff -r 

[Bug 1818941] [NEW] package linux-image-4.15.0-46-generic 4.15.0-46.49~16.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1

2019-03-06 Thread Bhumireddy Veera Ashok Kumar Reddy
Public bug reported:

Please resolve issue

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-4.15.0-46-generic 4.15.0-46.49~16.04.1
ProcVersionSignature: Ubuntu 4.15.0-45.48~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-45-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Thu Mar  7 08:04:16 2019
ErrorMessage: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with 
return code 1
InstallationDate: Installed on 2019-02-20 (14 days ago)
InstallationMedia: Ubuntu 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.5
 apt  1.2.29ubuntu0.1
SourcePackage: grub
Title: package linux-image-4.15.0-46-generic 4.15.0-46.49~16.04.1 failed to 
install/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with 
return code 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: grub (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1818941

Title:
  package linux-image-4.15.0-46-generic 4.15.0-46.49~16.04.1 failed to
  install/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub
  exited with return code 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1818941/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[x265] [PATCH]Fix for zonefile feature Crash

2019-03-01 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Dinesh
# Date 1551246140 -19800
#  Wed Feb 27 11:12:20 2019 +0530
# Node ID c9bc9aef4cde7b812fd97b8eac7a204904aa02ad
# Parent  31ab7e09a3b5b15ffcc532826d4dd5d37e611483
Zone: fix for encoder crash

diff -r 31ab7e09a3b5 -r c9bc9aef4cde source/common/param.cpp
--- a/source/common/param.cpp Tue Feb 26 13:52:24 2019 +0530
+++ b/source/common/param.cpp Wed Feb 27 11:12:20 2019 +0530
@@ -94,6 +94,7 @@
 x265_param *x265_param_alloc()
 {
 x265_param* param = (x265_param*)x265_malloc(sizeof(x265_param));
+ param->rc.zones = (x265_zone*)x265_malloc(sizeof(x265_zone));
 #ifdef SVT_HEVC
 param->svtHevcParam =
(EB_H265_ENC_CONFIGURATION*)x265_malloc(sizeof(EB_H265_ENC_CONFIGURATION));
 #endif
@@ -102,6 +103,7 @@

 void x265_param_free(x265_param* p)
 {
+ x265_free(p->rc.zones);
 #ifdef SVT_HEVC
  x265_free(p->svtHevcParam);
 #endif
@@ -2246,11 +2248,7 @@

 if (src->rc.zones)
 {
-dst->rc.zones->startFrame = src->rc.zones->startFrame;
-dst->rc.zones->endFrame = src->rc.zones->endFrame;
-dst->rc.zones->bForceQp = src->rc.zones->bForceQp;
-dst->rc.zones->qp = src->rc.zones->qp;
-dst->rc.zones->bitrateFactor = src->rc.zones->bitrateFactor;
+ memcpy(dst->rc.zones, src->rc.zones, sizeof(x265_zone));
 }
 else
 dst->rc.zones = NULL;
diff -r 31ab7e09a3b5 -r c9bc9aef4cde source/encoder/api.cpp
--- a/source/encoder/api.cpp Tue Feb 26 13:52:24 2019 +0530
+++ b/source/encoder/api.cpp Wed Feb 27 11:12:20 2019 +0530
@@ -94,7 +94,7 @@

 Encoder* encoder = NULL;
 x265_param* param = PARAM_NS::x265_param_alloc();
-x265_param* latestParam = PARAM_NS::x265_param_alloc();
+ x265_param* latestParam = PARAM_NS::x265_param_alloc();
 x265_param* zoneParam = PARAM_NS::x265_param_alloc();
 if (!param || !latestParam)
 goto fail;
@@ -177,7 +177,7 @@

 encoder->create();

-memcpy(zoneParam, param, sizeof(x265_param));
+ x265_copy_params(zoneParam, param);
 for (int i = 0; i < param->rc.zonefileCount; i++)
 {
 encoder->configureZone(zoneParam, param->rc.zones[i].zoneParam);
@@ -200,11 +200,11 @@
 goto fail;

 x265_print_params(param);
-return encoder;
+ return encoder;

 fail:
 delete encoder;
-PARAM_NS::x265_param_free(param);
+ PARAM_NS::x265_param_free(param);
 PARAM_NS::x265_param_free(latestParam);
 return NULL;
 }
@@ -287,12 +287,13 @@
 bool isReconfigureRc =
encoder->isReconfigureRc(encoder->m_latestParam, param_in);
 if ((encoder->m_reconfigure && !isReconfigureRc) ||
(encoder->m_reconfigureRc && isReconfigureRc)) /* Reconfigure in progress */
 return 1;
-x265_copy_params(, encoder->m_latestParam);
+
+ memcpy(, encoder->m_latestParam, sizeof(x265_param));
 int ret = encoder->reconfigureParam(encoder->m_latestParam, param_in);
 if (ret)
 {
 /* reconfigure failed, recover saved param set */
-x265_copy_params(encoder->m_latestParam, );
+ memcpy(encoder->m_latestParam, , sizeof(x265_param));
 ret = -1;
 }
 else
diff -r 31ab7e09a3b5 -r c9bc9aef4cde source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp Tue Feb 26 13:52:24 2019 +0530
+++ b/source/encoder/encoder.cpp Wed Feb 27 11:12:20 2019 +0530
@@ -850,7 +850,10 @@
 free((char*)m_param->toneMapFile);
 free((char*)m_param->analysisSave);
 free((char*)m_param->analysisLoad);
-PARAM_NS::x265_param_free(m_param);
+#ifdef SVT_HEVC
+ x265_free(m_param->svtHevcParam);
+#endif
+ x265_free(m_param);
 }
 }


Zone.patch
Description: Binary data
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


[x265] [PATCH][uhdkit]tune Mapping fix for x265+SVT-HEVC integration

2019-02-27 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Dinesh
# Date 1551169344 -19800
#  Tue Feb 26 13:52:24 2019 +0530
# Node ID 31ab7e09a3b5b15ffcc532826d4dd5d37e611483
# Parent  cb3e172a5f51c6a4bf8adb7953fe53277f5a1979
- Fixed  --tune mapping issue in x265 + SVT-HEVc integration

diff -r cb3e172a5f51 -r 31ab7e09a3b5 doc/reST/svthevc.rst
--- a/doc/reST/svthevc.rst Tue Feb 19 20:20:35 2019 +0530
+++ b/doc/reST/svthevc.rst Tue Feb 26 13:52:24 2019 +0530
@@ -177,12 +177,14 @@
 ++--+

 x265 has 5 tune modes (psnr, ssim, grain, zero-latency, animation) whereas
SVT-HEVC
-has only 2 tune modes (0 - Subjective Quality Mode, 1 - Objective Quality
Mode). Below
+has only 3 tune modes (0 - visual quality, 1 - PSNR / SSIM and 2 - VMAF).
Below
 table shows the mapping of tune modes,

 +---+---+
 | x265 Tune Modes   | SVT-HEVC Tune Modes   |
 +===+===+
+| vmaf  | 2 |
++---+---+
 | psnr  | 1 |
 +---+---+
 | ssim  | 1 |
@@ -196,4 +198,5 @@
 | animation | 0 |
 +---+---+

-Note that :option:`--tune` animation is also mapped to "LatencyMode" of
SVT-HEVC.
+Note that : 1.option:`--tune` animation is also mapped to "LatencyMode" of
SVT-HEVC.
+2.option: '--tune' vmaf is not supported in x265, its under
development.
diff -r cb3e172a5f51 -r 31ab7e09a3b5 source/common/param.cpp
--- a/source/common/param.cpp Tue Feb 19 20:20:35 2019 +0530
+++ b/source/common/param.cpp Tue Feb 26 13:52:24 2019 +0530
@@ -570,6 +570,10 @@
 param->deblockingFilterBetaOffset = 1;
 param->deblockingFilterTCOffset = 1;
 }
+ else if (!strcmp(tune, "vmaf"))  /*Adding vmaf for x265 + SVT-HEVC
integration support*/
+ {
+ /*vmaf is under development, currently x265 won't support vmaf*/
+ }
 else
 return -1;
 }
@@ -2482,7 +2486,8 @@
 if (!strcmp(tune, "psnr")) svtHevcParam->tune = 1;
 else if (!strcmp(tune, "ssim")) svtHevcParam->tune = 1;
 else if (!strcmp(tune, "grain")) svtHevcParam->tune = 0;
-else if (!strcmp(tune, "animation")) svtHevcParam->tune = 1;
+else if (!strcmp(tune, "animation")) svtHevcParam->tune = 0;
+ else if (!strcmp(tune, "vmaf")) svtHevcParam->tune = 2;
 else if (!strcmp(tune, "zero-latency") || !strcmp(tune,
"zerolatency")) svtHevcParam->latencyMode = 1;
 else  return -1;
 }


TuneMapping.patch
Description: Binary data
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


[x265] [PATCH] X265 + SVT-HEVC integration patch

2019-02-19 Thread Dinesh Kumar Reddy
Please find Patch attached.

Thanks & Regards,
Dinesh


Integration-single-patch.patch
Description: Binary data
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


[x265] [X265] [PATCH] Linux Segmentation Fault Issue in x265+SVT-HEVC Integration

2019-02-19 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Dinesh
# Date 1550566618 -19800
#  Tue Feb 19 14:26:58 2019 +0530
# Node ID c02c405157b459e8ff0a41a75192710f62c70c5b
# Parent  a1769f1db8047b40fdbf235283203ab98758d4b8
Integrate SVT-HEVC Encoder with X265, Fixing Linux Segmentation fault issue

diff -r a1769f1db804 -r c02c405157b4 source/CMakeLists.txt
--- a/source/CMakeLists.txt Thu Feb 14 11:06:36 2019 +0530
+++ b/source/CMakeLists.txt Tue Feb 19 14:26:58 2019 +0530
@@ -628,8 +628,9 @@
 if(EXTRA_LIB)
 target_link_libraries(x265-shared ${EXTRA_LIB})
 endif()
+ target_link_libraries(x265-shared ${PLATFORM_LIBS})
 if(SVTHEVC_FOUND)
-target_link_libraries(x265-shared ${PLATFORM_LIBS}
${SVT_HEVC_LIBRARY})
+target_link_libraries(x265-shared ${SVT_HEVC_LIBRARY})
 endif(SVTHEVC_FOUND)
 if(MSVC)
 set_target_properties(x265-shared PROPERTIES OUTPUT_NAME libx265)


Linux_SegmentationFault_Fix.patch
Description: Binary data
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


[x265] [X265] [PATCH] Modified SEI Parameters interaction with SVT-HEVC

2019-02-19 Thread Dinesh Kumar Reddy
# HG changeset patch
# User Dinesh
# Date 1550122596 -19800
#  Thu Feb 14 11:06:36 2019 +0530
# Node ID abd0eb9288e1d9f6a8b71b8377b9f0a103bb10a7
# Parent  c91f1dec002c8b1ae68670e3c9571fb959f29aec
Integrate SVT-HEVC Encoder with X265
-Modified SEI Parameters intraction with SVT-HEVC

diff -r c91f1dec002c -r abd0eb9288e1 source/common/param.cpp
--- a/source/common/param.cpp Tue Jan 08 17:00:58 2019 +0530
+++ b/source/common/param.cpp Thu Feb 14 11:06:36 2019 +0530
@@ -2446,8 +2446,12 @@
 svtHevcParam->reconEnabled = 0;
 svtHevcParam->maxCLL = 0;
 svtHevcParam->maxFALL = 0;
-svtHevcParam->masteringDisplayColorVolume = NULL;
-svtHevcParam->naluFile = NULL;
+svtHevcParam->useMasteringDisplayColorVolume = 0;
+ svtHevcParam->useNaluFile = 0;
+ svtHevcParam->whitePointX = 0;
+ svtHevcParam->whitePointY = 0;
+ svtHevcParam->maxDisplayMasteringLuminance = 0;
+ svtHevcParam->minDisplayMasteringLuminance = 0;
 svtHevcParam->dolbyVisionProfile = 0;
 svtHevcParam->targetSocket = -1;
 svtHevcParam->logicalProcessors = 0;
@@ -2652,9 +2656,9 @@
 OPT("svt-base-layer-switch-mode") svtHevcParam->baseLayerSwitchMode =
atoi(value);
 OPT("svt-pred-struct") svtHevcParam->predStructure =
(uint8_t)atoi(value);
 OPT("svt-fps-in-vps") svtHevcParam->fpsInVps =
(uint8_t)x265_atobool(value, bError);
-OPT("master-display") svtHevcParam->masteringDisplayColorVolume =
strdup(value);
+OPT("master-display") svtHevcParam->useMasteringDisplayColorVolume =
(uint8_t)atoi(value);
 OPT("max-cll") bError |= sscanf(value, "%hu,%hu",
>maxCLL, >maxFALL) != 2;
-OPT("nalu-file") svtHevcParam->naluFile = strdup(value);
+OPT("nalu-file") svtHevcParam->useNaluFile = (uint8_t)atoi(value);
 OPT("dolby-vision-profile")
 {
 if (atof(value) < 10)
# HG changeset patch
# User Dinesh
# Date 1550122596 -19800
#  Thu Feb 14 11:06:36 2019 +0530
# Node ID abd0eb9288e1d9f6a8b71b8377b9f0a103bb10a7
# Parent  c91f1dec002c8b1ae68670e3c9571fb959f29aec
Integrate SVT-HEVC Encoder with X265
-Modified SEI Parameters intraction with SVT-HEVC

diff -r c91f1dec002c -r abd0eb9288e1 source/common/param.cpp
--- a/source/common/param.cpp	Tue Jan 08 17:00:58 2019 +0530
+++ b/source/common/param.cpp	Thu Feb 14 11:06:36 2019 +0530
@@ -2446,8 +2446,12 @@
 svtHevcParam->reconEnabled = 0;
 svtHevcParam->maxCLL = 0;
 svtHevcParam->maxFALL = 0;
-svtHevcParam->masteringDisplayColorVolume = NULL;
-svtHevcParam->naluFile = NULL;
+svtHevcParam->useMasteringDisplayColorVolume = 0;
+	svtHevcParam->useNaluFile = 0;
+	svtHevcParam->whitePointX = 0;
+	svtHevcParam->whitePointY = 0;
+	svtHevcParam->maxDisplayMasteringLuminance = 0;
+	svtHevcParam->minDisplayMasteringLuminance = 0;
 svtHevcParam->dolbyVisionProfile = 0;
 svtHevcParam->targetSocket = -1;
 svtHevcParam->logicalProcessors = 0;
@@ -2652,9 +2656,9 @@
 OPT("svt-base-layer-switch-mode") svtHevcParam->baseLayerSwitchMode = atoi(value);
 OPT("svt-pred-struct") svtHevcParam->predStructure = (uint8_t)atoi(value);
 OPT("svt-fps-in-vps") svtHevcParam->fpsInVps = (uint8_t)x265_atobool(value, bError);
-OPT("master-display") svtHevcParam->masteringDisplayColorVolume = strdup(value);
+OPT("master-display") svtHevcParam->useMasteringDisplayColorVolume = (uint8_t)atoi(value);
 OPT("max-cll") bError |= sscanf(value, "%hu,%hu", >maxCLL, >maxFALL) != 2;
-OPT("nalu-file") svtHevcParam->naluFile = strdup(value);
+OPT("nalu-file") svtHevcParam->useNaluFile = (uint8_t)atoi(value);
 OPT("dolby-vision-profile")
 {
 if (atof(value) < 10)
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: how can I reference a field from one model to another model

2019-01-25 Thread NAveeN Kumar Reddy
You can use this where you want you to link tables with foreign key

models.ForeignKey(Model_Name,on_delete=models.CASCADE)

That's it  both tables will be in relation after migration of models into
database



On Fri, Jan 25, 2019 at 12:20 PM Mike Dewhirst 
wrote:

> On 24/01/2019 5:28 pm, carlos wrote:
> > Hello,
> > I do not know if I'm asking the question correctly, but I need to call
> > a field of one model in another model
> > example:
> > class ModelDad(models.Model):
> > name = blablabla
> >
> > class ModelChild1():
> >fk(ModelDad)
> >number = models.IntegerField()
> >
> > class ModelChild2():
> >   fk(ModelDad)
> >   another_number = models.IntegerField()
> >
> >def make_proces(self):
> >   return self.another_number * ModelChild1.number #this is my
> question
> >
> > how can I send a call number within the function (make_proces ) of
> > ModelChild2
>
> You need a mechanism to find ModelChild1 and the Django ORM provides
> Queries for exactly that.
>
> There is a default model manager called 'objects' which you can use to
> find instances of models. By that I mean you can pinpoint a row in the
> database table which that model represents. For example ... (but to make
> it clearer I'll adjust your models above slightly)
>
> class ModelDad(models.Model):
>  name = blablabla
>
> class ModelChild1(models.Model):
> dad = models.ForeignKey(ModelDad)
> number = models.IntegerField()
>
> class ModelChild2(models.Model):
> dad = models.ForeignKey(ModelDad)
> another_number = models.IntegerField()
>
> def make_proces(self):
>  child1 = ModelChild1.objects.get(dad=self.dad)
>  return self.another_number *child1.number
>
> Visit Django documentation https://docs.djangoproject.com and scroll
> down past "First steps" to  "The model layer" and click on a link in the
> "Quersets" line. The answers will be in there.
>
> >
> > is posible
> >
> >
> >
> > --
> > att.
> > Carlos Rocha
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Django users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to django-users+unsubscr...@googlegroups.com
> > <mailto:django-users+unsubscr...@googlegroups.com>.
> > To post to this group, send email to django-users@googlegroups.com
> > <mailto:django-users@googlegroups.com>.
> > Visit this group at https://groups.google.com/group/django-users.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/django-users/CAM-7rO125r3pox%3D137GOfmjnmFaf3cekaNj-j%2B9A0Cwc%3DEM0Fg%40mail.gmail.com
> > <
> https://groups.google.com/d/msgid/django-users/CAM-7rO125r3pox%3D137GOfmjnmFaf3cekaNj-j%2B9A0Cwc%3DEM0Fg%40mail.gmail.com?utm_medium=email_source=footer
> >.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/522c40aa-2736-3f57-b23b-9c283c9a59e0%40dewhirst.com.au
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Naveen Kumar  Reddy

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BC2Q82%2Bp47A92koj2%3Djq4aOvFetD%2BEuSikSCSbofTeSxWz-8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Connect DJANGO with mysql

2019-01-11 Thread NAveeN Kumar Reddy
"""
Django settings for djangoblog project.

Generated by 'django-admin startproject' using Django 2.0.6.

For more information on this file, see
https://docs.djangoproject.com/en/2.0/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.0/ref/settings/
"""


from configurations import Configuration
import os



# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '$l6#02pj0xjru7u_bo=@lk9a@+73lpsj#z4i(q_o%hevf=9w97'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ['*']


# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'users','dashboard','frontend',
'crispy_forms'
]


MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = 'djangoblog.urls'

TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]

WSGI_APPLICATION = 'djangoblog.wsgi.application'


# Database
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases

DATABASES = {
'default': {
'NAME'  : 'djangoblog',
'ENGINE': 'django.db.backends.mysql',
'USER'  : 'root',
'PASSWORD'  : '',
'HOST'  : 'localhost',
'OPTIONS'   : {
'autocommit': True,
 },
}
}


# Password validation
#
https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators

AUTH_PASSWORD_VALIDATORS = [
{
'NAME':
'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME':
'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME':
'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME':
'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]


# Internationalization
# https://docs.djangoproject.com/en/2.0/topics/i18n/

LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'

USE_I18N = True

USE_L10N = True

USE_TZ = True


# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.0/howto/static-files/

##
==

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.0/howto/static-files/

STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, "static")

MEDIA_URL  = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR,'media')

##
==

#Email Settings
EMAIL_BACKEND   = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS   = True
EMAIL_HOST  = 'smtp.gmail.com'
EMAIL_HOST_USER = '@gmail.com'
EMAIL_HOST_PASSWORD = ''
EMAIL_PORT  = 587

##
==

LOGIN_REDIRECT_URL  = '/home/index'
LOGOUT_REDIRECT_URL = '/accounts/login'


CRISPY_TEMPLATE_PACK = 'bootstrap4'


# Extra places for collectstatic to find static files.
# STATICFILES_DIRS = (
# os.path.join(BASE_DIR, 'static'),
# )

# STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'


On Fri 11 Jan, 2019, 5:47 PM ruk91  I have developed a react front-end and it has been connected t the DJANGO
> REST Framework. Now I need to use MySQL for data retrieving. Can 

Re: template not exist error snap in attechment

2019-01-11 Thread NAveeN Kumar Reddy
Check the link before pattern in path function

On Fri 11 Jan, 2019, 4:43 PM tribhuvan kishor  URL
>  path('//',views.post_detail, name='post_detail'),
> VIEW
>
> def post_detail(request, year,  post):
> post = get_object_or_404(Post, slug=post,
>  status='published',
>  publish__year=year,)
>
>  return render(request,
>   'blog/post/detail.html',
>   {'post': post})
>
>
> TEMPLATE
>
> {% extends "blog/base.html" %}
> {% block title %}{{ post.title }}{% endblock %}{% block content %}
> {{ post.title }}
> 
> Published {{ post.publish }} by {{ post.author }}
> 
> {{ post.body|linebreaks }}
> {% endblock %}
>
> Canonical URL
>
>
> def get_absolute_url(self):
> return reverse('blog:post_detail', args=[self.publish.year, self.slug]
>
>
> TEMplate DIrectory
> PROJECT/APP/template/blog/detail.html
> --
> regards
> Tribhuvan Kishor Bhaskar
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACiphSX2LQ-oL0OwktHhLqCFwqqPwVwFagCaGX2rNTiBdxOa%2BA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BC2Q80cu1L4BvXE9PX%2BF140hOhiX8ZVLBqJtjATpm%3DJEcACNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Regarding static media setup

2018-10-12 Thread ashok kumar reddy
Hello everyone . When I try to setup static Media ,I am repeatedly getting
error in URLs.py(urlpatterns not defined ). could you solve this.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL3x8KNbwLjxXQ3GwP6UXzWHG_0om%3DhQJZ1G%2BeMfARCOCKEmzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: beginner guide

2018-10-09 Thread ashok kumar reddy
Thank you so much

On Tue, 9 Oct 2018, 15:14 Devender Kumar,  wrote:

> Hi,
> Best way to learn django is to start coding it and keep referencing it
> with django docs. Or find a mentor work/help  with him on some project and
> keep learning he can guide you too.
>
> Find some code on GitHub and read it once carefully.
>
> I am also looking for junior to help me with my work and in return I will
> help him learning python and django.
>
> Regards
> Dev
>
> On Mon 8 Oct, 2018, 10:19 PM carl collins, 
> wrote:
>
>> Follow this awesome tutorial>
>> https://docs.djangoproject.com/en/2.1/intro/tutorial01/
>>
>> On Mon, Oct 8, 2018 at 5:39 PM Ashok Reddy 
>> wrote:
>>
>>> hello every one .i am beginner to Django. Could you please suggest me
>>> the best source to learn,i am very enthusiastic to learn.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/77c1a5fa-47ae-4708-98ad-631b75775422%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAEPm0byq8Z0uAnLutbyV1OsZaCdAwEo7arD1QH92K_XEDiFLEw%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/L4rVbrdsRAc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALZ%3DbELEXUnK8m%3DTRnxxMeq9revNCxB3k7VjHq-BRhMBLV-B%3Dw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL3x8KONbd1BTkweYLf_1zz51Hp_UCrtUnP3QP5aOyPDRWAANw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: beginner guide

2018-10-09 Thread ashok kumar reddy
Thank you so much

On Tue, 9 Oct 2018, 19:29 Kim Sunga,  wrote:

> If you're interested on the newest django (2.X) try to read Django 2 by
> Example by Antonio Mele
>
> On Tue, Oct 9, 2018 at 7:37 PM 'puhlmann7' via Django users <
> django-users@googlegroups.com> wrote:
>
>> Hi Ashok,
>>
>> You may have a look on this: https://tutorial.djangogirls.org/en/
>>
>> Am Montag, 8. Oktober 2018 18:39:29 UTC+2 schrieb Ashok Reddy:
>>>
>>> hello every one .i am beginner to Django. Could you please suggest me
>>> the best source to learn,i am very enthusiastic to learn.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/a3fe6fb5-4f59-4ada-b383-f2f8dc32b0b2%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/L4rVbrdsRAc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAEDBQ2U1dfky5YYKvyVyPEZVyT1tJnNdL33t0ovYXuDV9Ke1Ww%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL3x8KPVJLv5r0KZ%2BdQZPVNzppR07SBmrvi03GcW2Wn_HSgFkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: beginner guide

2018-10-09 Thread ashok kumar reddy
Thank you so much

On Tue, 9 Oct 2018, 17:08 'puhlmann7' via Django users, <
django-users@googlegroups.com> wrote:

> Hi Ashok,
>
> You may have a look on this: https://tutorial.djangogirls.org/en/
>
> Am Montag, 8. Oktober 2018 18:39:29 UTC+2 schrieb Ashok Reddy:
>>
>> hello every one .i am beginner to Django. Could you please suggest me the
>> best source to learn,i am very enthusiastic to learn.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/L4rVbrdsRAc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a3fe6fb5-4f59-4ada-b383-f2f8dc32b0b2%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL3x8KNt%2B%3D3R0LZwhixyVz%2B66Ku_Zdmw2YuDm%3DdzpA_OmPTXOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jira] [Created] (NIFI-5554) Allow Execute Script to Define Custom Relationships

2018-08-24 Thread Bhargav Kumar Reddy Bolla (JIRA)
Bhargav Kumar Reddy Bolla created NIFI-5554:
---

 Summary: Allow Execute Script to Define Custom Relationships
 Key: NIFI-5554
 URL: https://issues.apache.org/jira/browse/NIFI-5554
 Project: Apache NiFi
  Issue Type: Improvement
Reporter: Bhargav Kumar Reddy Bolla


Currently Execute Script Has a Success / Failure Relationships. 

 

Please allow execute script to have *custom relationships.* 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Regarding Kafka

2018-08-02 Thread Naresh Kumar Reddy
Hello,

I'm unable to start the zookeeper as well as Kafka. I tried by downloading the 
zookeeper separately & now I'm able to start the zookeeper.
Coming to Kafka-server, It throws an error message "wmic is not recognized as 
an internal or external command", I resolved it by adding the 
"C:\Windows\System32\wbem" to path in system variables.
Now when I try to run kafka-server, Neither the kafka-server starts Nor throws 
any error message.

Steps followed:

  1.  Downloaded the zookeeper & Kafka-server from 
http://kafka.apache.org/downloads (Binary downloads)
  2.  Extracted the file using "tar" command
  3.  From the cmd try to run the zookeeper, Which worked fine.
  4.  From another cmd try to run kafka-server, No error message (Find the 
attachement)

Is there anything that I'm not following correctly.

Thanks,
Naresh



  1   2   3   4   5   6   7   8   9   10   >