Re: A .profile puzzle

2021-10-17 Thread Gene Heskett
On Monday 18 October 2021 01:12:42 Will Mengarini wrote:

> * Gene Heskett  [21-10/17=Su 12:18 -0400]:
> > [...] opening a terminal hasn't called
> > a ". .profile" since about jessie [...]
>
> Check whether you *also* have either .bash_profile or
> .bash_login, because either of those supersedes .profile:
>
> ls -lA ~/.bash_{profile,login}

Neither present, just .bashrc, and .bash_logout

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: A .profile puzzle

2021-10-17 Thread Will Mengarini
* Gene Heskett  [21-10/17=Su 12:18 -0400]:
> [...] opening a terminal hasn't called
> a ". .profile" since about jessie [...]

Check whether you *also* have either .bash_profile or
.bash_login, because either of those supersedes .profile:

ls -lA ~/.bash_{profile,login}



Re: A .profile puzzle

2021-10-17 Thread Gene Heskett
On Sunday 17 October 2021 21:15:21 Douglas McGarrett wrote:

> On 10/17/21 8:38 PM, David Christensen wrote:
> > On 10/17/21 2:12 PM, Stefan Monnier wrote:
> >>> normally when a storm comes through i turn off the PC anyways
> >>> because I really don't want to have things fried (even if i do
> >>> have the UPS and surge protection).
> >>
> >> Hmmm does turning them off make any difference w.r.t a surge large
> >> enough to pass through the surge suppression?
> >>
> >> I thought the only effective way to make a difference is to
> >> *unplug* them.
> >
> > +1 if you service is overhead and your concern is lightning strikes.
> >
> >
> > David
>
> You should unplug the charger to the laptop from the AC line AND
> from the laptop, and don't forget to disconnect the LAN if it is
> wired. However, you can't disconnect everything in the computer area
> or you'll go crazy! It would be a good idea to disconnect the router
> from the modem and from power. I got a bad hit from lightning in July,
> and it did take out the router and a desktop and a laptop, and damaged
> a printer, not to mention other devices around the house--like the TV,
> ferinstance!
> --doug

Your service is probably both old and not up to code, probably 
grandfathered in if it was built before the NEC became the law here in 
the states.

I brought mine up to code in 2008, as I installed a 200 amp service 
myself and have not lost ANYTHING but a wired keyboard since. The strike 
caused me to get a shock spark similar to a door knob, jolted me and 
killed the keyboard. I now use wireless keyboards for the extra air gap, 
and its all powered up 24/7/365.25. 6 of them in various locations.

The idea between the NEC and various other regulations is that if the 
line gets hit, it should all bounce in unison so the voltage on every 
connected wire goes up and down in unison, so the connected stuff still 
see's only the 5, 12, or 24 volts that runs it.

It all may be 250k volts away from ground for a few microsecnds. A dirt 
ground, other than whats legally connected at the meterhead, is a ground 
loop that upsets this balanced condition and will eat your lunch. This 
includes the old time practice of grounding a clothes washer to the 
copper cold water pipe. That is the case in this house, but that copper 
never touches dirt, its plastic before it leaves the house. All the 
network is wired from a cable modem which has lightning arrestors before 
the cable gets into the house. So I'm a big target, I should lose stuff, 
but I haven't.

Who am I? For starters, I am a Certified Electroncs Technician, 
registered in Nebraska as NB-118. One who spent the last 18 years of his 
working life as the Chief Operator of a middle market television 
station, much of the time by myself. Now I'm your classic old fart of 
87, and getting slowly rusty but I still know a few things about 
electricity.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: wpa supplicant not starting - code 1...........

2021-10-17 Thread Charlie


On Sat, 16 Oct 2021 12:23:47 -0400 Henning Informed me about
Re: wpa supplicant not starting - code 1...

> On Fri, Oct 15, 2021 at 12:39:41PM +1100, Charlie wrote:
> > 
> > On Thu, 14 Oct 2021 12:31:16 -0400 Henning Informed me about
> > Re: wpa supplicant not starting - code 1...
> >   
> > > On Tue, Oct 12, 2021 at 12:14:05PM +1100, Charlie wrote:  
> > > > 
> > > > From my keyboard:
> > > > 
> > > > Hello,
> > > > 
> > > > If someone has an idea about this error message after
> > > > suspend can you please give me a hint as to what is causing it:
> > > > 
> > > > wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
> > > > run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with
> > > > return code 1
> > > > 
> > > > Since Bullseye went stable on my Dell Inspiron laptop I have had
> > > > some problems. The above is the latest. It happens randomly and
> > > > there is no way of duplicating it.
> > > > 
> > > > I have googled this, but tried some of the suggestions without
> > > > getting wpa supplicant to work again except by rebooting the
> > > > laptop?
> > > > 
> > > > Can someone tell me what "code 1" is please?
> > > > 
> > > 
> > > 
> > > You clearly hacked together something unusual there. To being
> > > helped, you have to provide more information.
> > > Is there any log entry?
> > > Please post the pre-up script.
> > > Is there a particular reason why you configured the wifi this way?
> > > 
> > > -H  
> > 
> > 
> > Absolutely standard vanilla install and use from Bulleye when it was
> > testing. It happened a couple of random times in testing as well.
> > But that was testing, so just rebooted.
> > 
> > No hacking done at all. Some mention on the web:
> >   
> 
> > https://forums.debian.net/viewtopic.php?f=5=145175
> >  
> 
> Well,
> that is wifi configuration in /e/n/i
> Can you please then post the stanza for your wifi?
> 
> The code 1 is pretty generic.
> /etc/wpa_supplicant/ifupdown.sh pretty much
> throws an exit code 1 for all unsuccessful cases.
> 
> 
> > Not in any way applicable
> > 
> > Looked for fresher information, didn't find it.
> > 
> > Think it might be hardware.  
> 
> That might be. I do have frequently trouble with an old
> powerbook pro. I think it is the power management causing
> trouble.
> 
> > 
> > Have had other hardware issues, so think this Dell laptop might be a
> > lemon. Ce la vie  
> 
> Have you ever tried to use the network manager?
> For that you have to comment out the stanza for your
> wifi in /e/n/i
> 
> 
> > 
> > Thanks for your input.
> > 
> > PS, has worked since I rebooted just after making this inquiry.
> > 
> -- 
> Henning Follmann   | hfollm...@itcfollmann.com
> 

Hello Henning.

I have no idea what an e/n/i is. Am one of those unfortunates
that fixes a motor, removes the worn part, takes it to a spare
parts seller and shows them, because I have no idea what they
are called. Brings home the new one and fixes the motor.

I left school at 14 years of age. Am old now and memory is not all that
good. Googled e/n/i can't discover what it means.

I have tried network manager about 15 years or more, ago. Didn't like
it and never touched it again. Then for a short, full of problems time,
the other one as well. Don't recall its name. Dropped that as well.

Anyway, I haven't had the wpa-supplicant problem again, so maybe it was
just a momentary glitch. I am always bemused by errors on my computer,
because I think that something which is all about mathematics should
just work. 2 and 2 can only make 4, not 5, not 6 or anything else? I
obviously don't understand the coding in the programs where the human
error must enter the works.

So thanks for your help, but I can't complete what you ask.

Just have to get on.

Charlie
-- 
Registered Linux User:- 329524

***

There is no treasure in the deep mountains; he who has no
desire for it finds it. ..ZEN SAYING

***
Debian GNU/Linux - Magic indeed.

-



Re: A .profile puzzle

2021-10-17 Thread songbird
Stefan Monnier wrote:
>> normally when a storm comes through i turn off the PC anyways because
>> I really don't want to have things fried (even if i do have the UPS
>> and surge protection).
>
> Hmmm does turning them off make any difference w.r.t a surge large
> enough to pass through the surge suppression?
>
> I thought the only effective way to make a difference is to
> *unplug* them.

  i do that too at times.


  songbird



Re: A .profile puzzle

2021-10-17 Thread Douglas McGarrett




On 10/17/21 8:38 PM, David Christensen wrote:

On 10/17/21 2:12 PM, Stefan Monnier wrote:

normally when a storm comes through i turn off the PC anyways because
I really don't want to have things fried (even if i do have the UPS
and surge protection).


Hmmm does turning them off make any difference w.r.t a surge large
enough to pass through the surge suppression?

I thought the only effective way to make a difference is to
*unplug* them.



+1 if you service is overhead and your concern is lightning strikes.


David


You should unplug the charger to the laptop from the AC line AND
from the laptop, and don't forget to disconnect the LAN if it is wired.
However, you can't disconnect everything in the computer area or
you'll go crazy! It would be a good idea to disconnect the router from
the modem and from power. I got a bad hit from lightning in July,
and it did take out the router and a desktop and a laptop, and damaged
a printer, not to mention other devices around the house--like the TV,
ferinstance!
--doug



Re: A .profile puzzle

2021-10-17 Thread Stefan Monnier
> normally when a storm comes through i turn off the PC anyways because
> I really don't want to have things fried (even if i do have the UPS
> and surge protection).

Hmmm does turning them off make any difference w.r.t a surge large
enough to pass through the surge suppression?

I thought the only effective way to make a difference is to
*unplug* them.


Stefan



Re: A .profile puzzle

2021-10-17 Thread David Christensen

On 10/17/21 2:12 PM, Stefan Monnier wrote:

normally when a storm comes through i turn off the PC anyways because
I really don't want to have things fried (even if i do have the UPS
and surge protection).


Hmmm does turning them off make any difference w.r.t a surge large
enough to pass through the surge suppression?

I thought the only effective way to make a difference is to
*unplug* them.



+1 if you service is overhead and your concern is lightning strikes.


David



Re: SDDM doesn't show up at boot

2021-10-17 Thread Cmdte Alpha Tigre Z
Oh, I forgot to say: I'm using Debian 10.10 i386

El dom, 17 oct 2021 a las 17:12, Cmdte Alpha Tigre Z
() escribió:
>
> Hi.
>
> I was trying to set up the keyboard for the whole system
> with "localectl set-x11-keymap pc105 us altgr-intl".  Before
> that, it did not have the altgr-intl variant.
>
> I have LXQt installed, with SDDM as the display manager.
> After booting the PC again, SDDM was no longer showing up
> when the PC finished starting.  Through some research
> reading the systemd journal, I found that "sddm-greeter"
> could not connect to the X server.
>
> I also found that, if I login at a virtual console as root and run:
> "systemctl isolate multi-user.target" and then
> "systemctl isolate graphical.target"
> to try to reload the graphical system, then everything works fine
> and SDDM shows up as normal.  It also allows me to use
> the keyboard with the chosen configuration.
>
> Later, I removed the "altgr-intl" option from "/etc/default/keyboard"
> and rebooted, and voilá... everything was back to normal and
> SDDM showed up at the end of the boot process.
>
> I tried rebooting many times, changing some localization settings,
> and the problem appeared exactly only when the "altgr-intl"
> was enabled in "/etc/default/keyboard".  The keyboard works
> well when you set it up through LXQt.
>
> Now, while writing this message, I tried it again and now
> the kernel reports a segmentation fault in "sddm-greeter"
> after it reads "/usr/share/xsessions/lxqt.desktop".  Of course,
> everything fails again leaving me with only the mouse cursor
> and a black screen.
>
> Before I go to report this as a bug, I wanted to know
> if I am not the only one with this problem.
>
> Please, ¿could someone with LXQt and a little free time
> tell me whether the system fails to start when adding
> XKBVARIANT="altgr-intl" to "/etc/default/keyboard"
> and then rebooting?  You can go back to normal behaviour
> just logging in at a virtual console, removing the "altgr-intl"
> part from "/etc/default/keyboard" and rebooting.
>
> Thanks in advance.



Re: Cannot install vlc on bullseye

2021-10-17 Thread Andrei POPESCU
On Sb, 16 oct 21, 06:43:23, piorunz wrote:
> On 16/10/2021 06:32, R. Ramesh wrote:
> 
> > sudo aptitude install libpostproc55=10:4.4-dmo4+deb11u2
> > 
> > Still could not install vlc because libswscale5 was also older version
> > and needed to be upgraded
> > 
> > sudo aptitude install libswscale5=10:4.4-dmo4+deb11u2
> > 
> > After that vlc installs fine.
> 
> There is one more thing you need to fix.
> By using this method, you will never get updates of packages installed
> manually. If there is security update in Debian, it will get ignored,
> because you have newer version already. And if multimedia releases new
> version, you won't get that installed either, because you enforce lower
> pin-priority.

The lower priority shouldn't matter for upgrades, as long as it's at 
least 100.

A good example for this is the -backports archive.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Error installing texlive-base

2021-10-17 Thread Andrei POPESCU
On Vi, 15 oct 21, 10:39:54, Victor Hugo Muñoz wrote:
> 
> Actually, yes. Why? Due to confinement, my home PC has also been my
> office PC. And
> since I had a working machine, decided to upgrade packages only if
> strictly necessary.

As you found out (the hard way), the "strictly necessary" isn't always 
obvious.

> Although I have installed reportbug to watch out for reported issues,
> upgrades in unstable
> can break important things and that cost has not been acceptable for
> me for a long time.

Switch to stable then ;)

You were already using packages older than latest stable, so what is the 
benefit of running (something that appeared to be) unstable?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: How to install official AMDGPU linux driver on Debian 11?

2021-10-17 Thread piorunz

On 17/10/2021 22:27, Markos wrote:

Hi,

Please, could someone suggest a tutorial (for a basic user) on how to
install the driver for the graphics card for a laptop Lenovo IdeaPad
S145 with AMD Ryzen™ 5 3500U and AMD Radeon RX Vega 8 running Debian 11
(Bullseye).

I found a more complete tutorial just for Stretch and Buster:

https://wiki.debian.org/AMDGPUDriverOnStretchAndBuster2

What are the possible risks of problems using these AMD drivers?

Does using these AMD drivers make much difference in performance?

Thank you,

Markos



I'd love to know that too. I have Radeon 6900XT card and I have no idea
how to install proprietary OpenCL (which is part of proprietary driver)
on it. Other distros like Manjaro have this working (despite no official
AMD support like in Debian), but on Debian I haven't figured it out yet.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: AMD OpenCL support

2021-10-17 Thread piorunz

On 17/10/2021 23:31, Linux-Fan wrote:

Back then, I got it from
https://www.amd.com/en/support/professional-graphics/radeon-pro/radeon-pro-w5000-series/radeon-pro-w5500
under
"Radeon(TM) Pro Software for Enterprise on Ubuntu 20.04.2" and the
download still seems to point to a file with the same SHA-256 sum.

It could be worth trying the exact same version that I used?


Thanks for your reply.

I have Radeon 6900XT, which is different type of card. Not sure if
https://www.amd.com/en/support/professional-graphics/radeon-pro/radeon-pro-w5000-series/radeon-pro-w5500
will work for me?

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: AMD OpenCL support

2021-10-17 Thread Linux-Fan

piorunz writes:


On 17/10/2021 21:50, Linux-Fan wrote:


There, the suggested fix is to switch to amdgpu-pro (which seems to
remedy the issue but not entirely...) which lead me to try the `.deb`
files from AMD. I downloaded
`amdgpu-pro-21.20-1292797-ubuntu-20.04.tar.xz` and it seems to have
installed just fine.


Can't install that on my Debian Bullseye. I have clean system with
nothing modified or added from outside of Debian.

Result:
sudo ./amdgpu-install --opencl=legacy,rocr
(...)
Loading new amdgpu-5.11.19.98-1290604 DKMS files...

   ^^^

Our driver versions seem to differ. I have 5.11.5.30-1292797 rather than  
5.11.19.98-1290604. It has the following SHA-256 sum:


ef242adeaa84619cea4a51a2791553a7a7904448dde81159ee2128221efe8e50
amdgpu-pro-21.20-1292797-ubuntu-20.04.tar.xz

Back then, I got it from https://www.amd.com/en/support/professional- 
graphics/radeon-pro/radeon-pro-w5000-series/radeon-pro-w5500 under
"Radeon(TM) Pro Software for Enterprise on Ubuntu 20.04.2" and the download  
still seems to point to a file with the same SHA-256 sum.


It could be worth trying the exact same version that I used?

[...]


I tried various attempts:
sudo ./amdgpu-install --opencl=rocr --headless
sudo ./amdgpu-install
sudo ./amdgpu-install --opencl=rocr

Same result each time, something with compiling amdgpu-dkms.


I used ./amdgpu-pro-install without additional arguments. It is a symlink  
to the same script but the script executes different code if invoked with  
the `-pro` inserted. Not sure if it will make a difference, though.


After successful installation with `./amdgpu-pro-install` I installed  
additional packages from the repository added by the `amdgpu-pro-install` in  
order to enable the OpenCL features.



As a result, I should be running the proprietary driver now and thus
have OpenCL running -- I only ever tested it with a demo application,
though...


I'd love that, but it fails on my system. What system do you have? How
did you do it?


[...]

Debian 11 Bullseye. Before writing this post, I was still on kernel
5.10.0-8-amd64, but I just upgraded and the DKMS compiled successfully for  
the new 5.10.0-9-amd64.


Differences between our systems seem to be as follows:

- Minor version difference in proprietary drivers
- I installed by using the symlink with `-pro` in its name

I might add that I have installed a bunch of firmware from non-free and am  
running ZFS on Linux as provided by non-free package `zfs-dkms`.


HTH
Linux-Fan

öö


pgpKCdX0RatVL.pgp
Description: PGP signature


Re: AMD OpenCL support

2021-10-17 Thread piorunz

On 17/10/2021 21:50, Linux-Fan wrote:


There, the suggested fix is to switch to amdgpu-pro (which seems to
remedy the issue but not entirely...) which lead me to try the `.deb`
files from AMD. I downloaded
`amdgpu-pro-21.20-1292797-ubuntu-20.04.tar.xz` and it seems to have
installed just fine.


Can't install that on my Debian Bullseye. I have clean system with
nothing modified or added from outside of Debian.

Result:
sudo ./amdgpu-install --opencl=legacy,rocr
(...)
Loading new amdgpu-5.11.19.98-1290604 DKMS files...
Building for 5.10.0-9-amd64
Building for architecture amd64
Building initial module for 5.10.0-9-amd64
Error! Bad return status for module build on kernel: 5.10.0-9-amd64 (amd64)
Consult /var/lib/dkms/amdgpu/5.11.19.98-1290604/build/make.log for more
information.
dpkg: error processing package amdgpu-dkms (--configure):
 installed amdgpu-dkms package post-installation script subprocess
returned error exit status 10

make.log shows:
(...)
/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/Makefile:26: "Local GCC
version 100202 does not match kernel compiler GCC version 100201"
/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/Makefile:27: "This may
cause unexpected and hard-to-isolate compiler-related issues"
  MODPOST /var/lib/dkms/amdgpu/5.11.19.98-1290604/build/Module.symvers
ERROR: modpost: "migrate_vma_finalize"
[/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/amd/amdgpu/amdgpu.ko]
undefined!
ERROR: modpost: "migrate_vma_pages"
[/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/amd/amdgpu/amdgpu.ko]
undefined!
ERROR: modpost: "migrate_vma_setup"
[/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/amd/amdgpu/amdgpu.ko]
undefined!
ERROR: modpost: "devm_request_free_mem_region"
[/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/amd/amdgpu/amdgpu.ko]
undefined!
make[2]: ***
[/usr/src/linux-headers-5.10.0-9-common/scripts/Makefile.modpost:124:
/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/Module.symvers] Error 1
make[2]: *** Deleting file
'/var/lib/dkms/amdgpu/5.11.19.98-1290604/build/Module.symvers'
make[1]: *** [/usr/src/linux-headers-5.10.0-9-common/Makefile:1750:
modules] Error 2
make: *** [/usr/src/linux-headers-5.10.0-9-common/Makefile:185:
__sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-5.10.0-9-amd64'

I tried various attempts:
sudo ./amdgpu-install --opencl=rocr --headless
sudo ./amdgpu-install
sudo ./amdgpu-install --opencl=rocr

Same result each time, something with compiling amdgpu-dkms.




As a result, I should be running the proprietary driver now and thus
have OpenCL running -- I only ever tested it with a demo application,
though...


I'd love that, but it fails on my system. What system do you have? How
did you do it?

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



How to install official AMDGPU linux driver on Debian 11?

2021-10-17 Thread Markos

Hi,

Please, could someone suggest a tutorial (for a basic user) on how to 
install the driver for the graphics card for a laptop Lenovo IdeaPad 
S145 with AMD Ryzen™ 5 3500U and AMD Radeon RX Vega 8 running Debian 11 
(Bullseye).


I found a more complete tutorial just for Stretch and Buster:

https://wiki.debian.org/AMDGPUDriverOnStretchAndBuster2

What are the possible risks of problems using these AMD drivers?

Does using these AMD drivers make much difference in performance?

Thank you,

Markos




SDDM doesn't show up at boot

2021-10-17 Thread Cmdte Alpha Tigre Z
Hi.

I was trying to set up the keyboard for the whole system
with "localectl set-x11-keymap pc105 us altgr-intl".  Before
that, it did not have the altgr-intl variant.

I have LXQt installed, with SDDM as the display manager.
After booting the PC again, SDDM was no longer showing up
when the PC finished starting.  Through some research
reading the systemd journal, I found that "sddm-greeter"
could not connect to the X server.

I also found that, if I login at a virtual console as root and run:
"systemctl isolate multi-user.target" and then
"systemctl isolate graphical.target"
to try to reload the graphical system, then everything works fine
and SDDM shows up as normal.  It also allows me to use
the keyboard with the chosen configuration.

Later, I removed the "altgr-intl" option from "/etc/default/keyboard"
and rebooted, and voilá... everything was back to normal and
SDDM showed up at the end of the boot process.

I tried rebooting many times, changing some localization settings,
and the problem appeared exactly only when the "altgr-intl"
was enabled in "/etc/default/keyboard".  The keyboard works
well when you set it up through LXQt.

Now, while writing this message, I tried it again and now
the kernel reports a segmentation fault in "sddm-greeter"
after it reads "/usr/share/xsessions/lxqt.desktop".  Of course,
everything fails again leaving me with only the mouse cursor
and a black screen.

Before I go to report this as a bug, I wanted to know
if I am not the only one with this problem.

Please, ¿could someone with LXQt and a little free time
tell me whether the system fails to start when adding
XKBVARIANT="altgr-intl" to "/etc/default/keyboard"
and then rebooting?  You can go back to normal behaviour
just logging in at a virtual console, removing the "altgr-intl"
part from "/etc/default/keyboard" and rebooting.

Thanks in advance.



Re: AMD OpenCL support

2021-10-17 Thread Linux-Fan

piorunz writes:


On 17/10/2021 09:00, didier gaumet wrote:


[...]


Yes I have that mesa version of OpenCL installed. Unfortunately, this
version is too old and not recognized. I need OpenCL 1.2 at least I
think. clinfo says, among many other things:
  Device Version  OpenCL 1.1 Mesa 20.3.5
  Driver Version  20.3.5
  Device OpenCL C Version OpenCL C 1.1


Perhaps your claim of not having OpenCL support is erroneous and what
happens actually is you have uncomplete/unsufficent support for your
use case: a typical example is Darktable not having OpenCL image
support, this requiring more recent OpenCL implementation that the Mesa
one.

Then you would probably have to either:
- revert to use the proprietary amdgpu-pro driver (including an AMD
ICD) instead of the free amdgpu one



https://www.amd.com/en/support/kb/faq/amdgpu-installation


This procedure requires downloading .deb drivers from
https://support.amd.com/en-us/download. Only distros supported are
Ubuntu 18.04.5 HWE, Ubuntu 20.04.3. They will most likely fail in Debian.


[...]

Hello,

I happened to have some issues wrt. a bug similar to this:
https://bugs.freedesktop.org/show_bug.cgi?id=111481

There, the suggested fix is to switch to amdgpu-pro (which seems to remedy  
the issue but not entirely...) which lead me to try the `.deb` files from  
AMD. I downloaded `amdgpu-pro-21.20-1292797-ubuntu-20.04.tar.xz` and it  
seems to have installed just fine.


As a result, I should be running the proprietary driver now and thus have  
OpenCL running -- I only ever tested it with a demo application, though...


Excerpt from clinfo:

~~~
 Platform Name:  AMD Accelerated Parallel Processing
Number of devices:   1
 Device Type:CL_DEVICE_TYPE_GPU
 Device OpenCL C version:OpenCL C 2.0
 Driver version: 3261.0 (HSA1.1,LC)
 Profile:FULL_PROFILE
 Version:OpenCL 2.0
~~~

btw. I do not seem to have a `Device Version` string in there?

~~~
# dpkg -l | grep opencl | cut -c -90
ii  amdgpu-pro-rocr-opencl21.20-1292797   
ii  ocl-icd-libopencl1:amd64  2.2.14-2
ii  ocl-icd-libopencl1:i386   2.2.14-2
ii  ocl-icd-libopencl1-amdgpu-pro:amd64   21.20-1292797   
ii  ocl-icd-libopencl1-amdgpu-pro-dev:amd64   21.20-1292797   
ii  ocl-icd-opencl-dev:amd64  2.2.14-2
ii  opencl-base   1.2-4.4.0.117   
ii  opencl-c-headers  3.0~2020.12.18-1
ii  opencl-clhpp-headers  3.0~2.0.13-1
ii  opencl-headers3.0~2020.12.18-1
ii  opencl-intel-cpu  1.2-4.4.0.117   
ii  opencl-orca-amdgpu-pro-icd:amd64  21.20-1292797   
ii  opencl-rocr-amdgpu-pro:amd64  21.20-1292797   
ii  opencl-rocr-amdgpu-pro-dev:amd64  21.20-1292797

~~~

To summarize: It might be worth trying the Ubuntu-.debs out on Debian.
Although its not a "clean" solution by any means, it might "just work"?

HTH
Linux-Fan

öö


pgpyhukeY7BBf.pgp
Description: PGP signature


Re: A .profile puzzle

2021-10-17 Thread Gene Heskett
On Sunday 17 October 2021 15:45:36 songbird wrote:

> Gene Heskett wrote:
> > On Sunday 17 October 2021 12:39:50 Dan Ritter wrote:
> >> Gene Heskett wrote:
> >> > The local electrical system, while better than Haiti's is getting
> >> > to be a nuisance with 5 second power failures about weekly, or is
> >> > that weakly?
> >>
> >> That's a great case for a UPS...
> >
> > Yup, but thats 4 more of them.  Is anybody hving a real sale?
>
>   no, you buy one for the whole place and put it on tha main
> panel.

Thanks for the idea, but I have not seen one big enough to handle this 
place for the 6 or 7 seconds it takes for the 20kw generac to start. My 
now departed wife had COPD and needed non-stop oxygen toward the end, so 
I installed the generac about 8 or 9 years ago. It would take a 1500WA 
to handle the 2 machines in the garage plus a 1000WA in the shop 
building, and another 1000WA for the machine driving my 3d printers. 
They only make them whole house sized on bids, bring money in 
wheelborrows. I do reserve the right to bitch about the lack of timely 
maintenance as I will have to put up with this BS for a year before 
they'll replace the contacts in the substations voltage regulator.  
BTDT, several times in the 31+ years I've been here. So you could say 
I've been to this particular rodeo before.

>   i only have a small one here for my PC and a light, but it
> has paid for itself many times over already in not having
> random power outages take me down and mess things up.  normally
> when a storm comes through i turn off the PC anyways because
> i really don't want to have things fried (even if i do have
> the UPS and surge protection).  i can do something else for
> a while.
>
>   if i were running large expensive equipment i'd surely have
> some UPS and surge protection for those.  if only just enough
> to get them to shut down without destroying the work in
> progress (or themselves).
>
>
>   songbird


Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: gnome-recipes [était Gourmet ne démarre plus.]

2021-10-17 Thread Txo

Le 17/10/2021 à 20:58, lann a écrit :

Bonsoir


Bonsoir merci,


La traduction française n'a pas du être intégrée à la dernière
version. Mais ce logiciel est pourtant traduit : 
https://l10n.gnome.org/module/recipes/


J'avais bien vu  ça mais le deb de sid n'a pas cette traduction:-(


peut être initier une demande vers le mainteneur ?


Je vais essayer mais ce n'est pas du court terme. Je vais essayer de 
trouver pourquoi quand on compile ça ne tient pas compte des fichiers de 
localisation.


Je l'ai installé sur Debian 11 et je n'ai pas les traductions du 
logiciel. Cependant les traductions ne doivent concerner que le

logiciel et pas les recettes qui y sont diffusées.


Pour avoir traduit les fichiers .po il y a les 2, Un fichier avec les 
traductions des recettes fournies et un autre pour le logiciel 
proprement dit.







--
-- Dominique Marin http://txodom.free.fr  --
   «On ne peut pas juger quelqu'un à ses fréquentations ;
   ne perdons pas de vue que Judas avait des amis irréprochables.»
--   Tristan Bernard  --



Re: A .profile puzzle

2021-10-17 Thread songbird
Gene Heskett wrote:
> On Sunday 17 October 2021 12:39:50 Dan Ritter wrote:
>
>> Gene Heskett wrote:
>> > The local electrical system, while better than Haiti's is getting to
>> > be a nuisance with 5 second power failures about weekly, or is that
>> > weakly?
>>
>> That's a great case for a UPS...
>>
> Yup, but thats 4 more of them.  Is anybody hving a real sale?

  no, you buy one for the whole place and put it on tha main
panel.

  i only have a small one here for my PC and a light, but it 
has paid for itself many times over already in not having
random power outages take me down and mess things up.  normally
when a storm comes through i turn off the PC anyways because
i really don't want to have things fried (even if i do have
the UPS and surge protection).  i can do something else for
a while.

  if i were running large expensive equipment i'd surely have
some UPS and surge protection for those.  if only just enough 
to get them to shut down without destroying the work in 
progress (or themselves).


  songbird



Re: question from total newbie. a little help please

2021-10-17 Thread Patrick Bartek
On Sun, 17 Oct 2021 09:00:52 -0400
JAMES BOSWELL  wrote:

> if i divide my hard drive and install debian lynx on it. will i be
> able to effectively run debian on this laptop?

The best way to find that out is to get a Live version of Debian, and
see if boots and runs without problems.

> Device name LAPTOP-R4DB7V5U
> Processor Intel(R) Core(TM) i3-10110U CPU @ 2.10GHz   2.59 GHz
> Installed RAM 4.00 GB (3.81 GB usable)
> Device ID CAACC244-37B7-4294-84E4-E73B9C030FDF
> Product ID 00356-02325-39311-AAOEM
> System type 64-bit operating system, x64-based processor
> Pen and touch No pen or touch input is available for this display
> 
> Edition Windows 10 Home
> Version 21H1
> Installed on ‎4/‎2/‎2021
> OS build 19043.1288
> Experience Windows Feature Experience Pack 120.2212.3920.0
> 
> i know about enough to fill a thimble but i'm hopeful and any guidance
> would be greatly appreciated and i would follow it to the T's

Since your knowledge of Linux admittedly is severely lacking, I would
recommend thoroughly researching Linux, in general, and Debian, in
particularly, BEFORE attempting any install. And the first attempt be
on a system you don't mind trashing.

And always keep in mind: Linux is NOT Windows.  So never assume that
the way you did it on Windows will work on Linux.

Welcome to the neighborhood.

B



Re: question from total newbie. a little help please

2021-10-17 Thread David Christensen

On 10/17/21 6:00 AM, JAMES BOSWELL wrote:

if i divide my hard drive and install debian lynx on it. will i be able to
effectively run debian on this laptop?

Device name LAPTOP-R4DB7V5U
Processor Intel(R) Core(TM) i3-10110U CPU @ 2.10GHz   2.59 GHz
Installed RAM 4.00 GB (3.81 GB usable)
Device ID CAACC244-37B7-4294-84E4-E73B9C030FDF
Product ID 00356-02325-39311-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display

Edition Windows 10 Home
Version 21H1
Installed on ‎4/‎2/‎2021
OS build 19043.1288
Experience Windows Feature Experience Pack 120.2212.3920.0

i know about enough to fill a thimble but i'm hopeful and any guidance
would be greatly appreciated and i would follow it to the T's



You processor has hardware support for virtualization:

https://ark.intel.com/content/www/us/en/ark/products/196451/intel-core-i310110u-processor-4m-cache-up-to-4-10-ghz.html

Intel® Virtualization Technology (VT-x) ‡ Yes
Intel® Virtualization Technology for Directed I/O (VT-d) ‡ Yes
Intel® VT-x with Extended Page Tables (EPT) ‡ Yes


I recommend that you install Oracle VirtualBox, create a virtual machine 
(VM), and install Debian GNU/Linux into the VM:


https://www.virtualbox.org/wiki/Downloads


David



Re: gnome-recipes [était Gourmet ne démarre plus.]

2021-10-17 Thread lann
Bonsoir

La traduction française n'a pas du être intégrée à la dernière version.
Mais ce logiciel est pourtant traduit :
https://l10n.gnome.org/module/recipes/

peut être initier une demande vers le mainteneur ?

Je l'ai installé sur Debian 11 et je n'ai pas les traductions du
logiciel.
Cependant les traductions ne doivent concerner que le logiciel et pas
les recettes qui y sont diffusées.



Le Sun, 17 Oct 2021 17:36:34 +0200,
Txo  a écrit :

> 
> Bonjour.
> Pour faire fonctionner Gourmet j'ai cherché et j'ai trouvé
> gnome-recipes présenté comme le successeur de Gourmet qui ne veut
> plus de Sid. Mais c'était trop beau. Sous Sid , Recipes qui peut être 
> intéressant est en anglais et le reste. Malgré le fait que j'ai
> traduit les fichiers po et l'ai recompilé à partir des sources qu'on
> peut télécharger là :
> http://deb.debian.org/debian/pool/main/g/gnome-recipes/gnome-recipes_2.0.2.orig.tar.xz
> 
> Déjà à mon âge j'ai du mal en dehors du traditionnel configure make
> et checkinstall.
> Là si on en croit le peu de docs laissé sur gitlag.gnome.org il faut 
> passer par
> meson --prefix= build
> ninja -C build
> ninja -C build install
> 
> Ce qui bien sur, vous fait installer une ribambelle de dépendances.
> Je ne suis pas allé jusqu'au install car j'ai déjà un programme
> exécutable bien caché dans les sources. Mais quand je le lance le
> programme est en anglais. Exactement comme celui installé par apt.
> 
> J'ai bien essayé de m'adresser à la liste de traduction de gnome 
> (traduc.org/mailman/listinfo/gnome.fr) mais la liste de diffusion
> mène à un beau 404.
> Gnome m'a tuer ;-)
> 
> Je refuse de tout faire en anglais et de passer lentement à l'anglais 
> obligatoire.
> 
> 



Re: [Sid] Firefox problem

2021-10-17 Thread harryweaver



17 Oct 2021, 18:55 by p...@sojka.co:

> Hi there,
>
> On some of machines I use, after opening of Firefox I get empty browser 
> window (with menus, decorations etc) but nothing else is displayed. Its 
> impossible to open menu, type address, etc. The only thing you can do is to 
> close the window. After changing display configuration (rotate to portrait, 
> adding external monitor..) it starts to work as expected. You do not even 
> need to reopen. Moreover, it looks that Firefox was running ok all the time 
> but nothing was displayed.
> After recent updates on some machines I get the same problem using 
> firefox-esr.
> The only error mesg I get is:
> ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, 
> messages will be lost
>
I'm running 91.2.0 esr on SID and I'm not seeing any of this.
I find it performs better on some sites than others, so use Falkon as well, but 
general performance is good without these symptoms.
HTHCheers!

Harry.



Re: A .profile puzzle

2021-10-17 Thread Gene Heskett
On Sunday 17 October 2021 14:09:23 Greg Wooledge wrote:

> On Sun, Oct 17, 2021 at 06:35:01PM +0200, deloptes wrote:
> > > 2. and another pesky thing is starting a konsole to do work, needs
> > > a $PATH modification that we used to put in ~.profile. But opening
> > > a terminal hasn't called a ". .profile" since about jessie.  So
> > > thats another PITA.
> > >
> > > So, what has replaced .profile as the function for such as that in
> > > recent releases?
> >
> > AFAIK bash is not reading profile when you login, but not sure - it
> > could be also that it is not a login shell.
> > AFAIK you should open the terminal with "bash --login" to read the
> > profile. So try in the terminal "bash --login"
> >
> > I have put in my .profile
> >
> > alias bash='bash --login'
> >
> > long time ago
>
> OK, first thing first: that alias won't do *anything* useful.  If Gene
> is talking about starting a terminal from his window manager or
> desktop environment, that terminal is going to run $SHELL which is
> /bin/bash. It will not look at his aliases, no matter where they're
> defined.  It's just going to run bash.  Not "bash --login".
>
> Now let's step back a bit.
>
> When you run an instance of a shell, there are two ways you can do it.
> You either run a "login shell", or a "non-login shell".
>
> The purpose of a login shell is to be executed when you login.  That's
> the original intent.  Back in the 70s and 80s, there was no such thing
> as a "desktop".  There was just the shell.  You logged in by
> connecting your terminal or your modem to the host system, and getting
> a textual prompt.  After authentication, you were "logged in", and the
> system would run your account's shell with a "-" character in front of
> it.  This is the ancient way that your system said "this should be a
> login shell, not a regular shell".
>
> It looks like this:
>
> unicorn:~$ ps -ft tty1
> UID  PIDPPID  C STIME TTY  TIME CMD
> root 699   1  0 Oct09 tty1 00:00:00 /bin/login -p --
> greg 851 699  0 Oct09 tty1 00:00:00 -bash
> greg 863 851  0 Oct09 tty1 00:00:00 /bin/sh
> /usr/bin/startx [...]
>
> See where it says "-bash"?  That's my login shell.
>
> The purpose of having a "login shell" and a "regular shell" is because
> you probably have some things that you need to do once per session,
> when you login.  Like, setting up your environment variables.  Or
> printing today's calendar, or today's message from the administration.
> All of those things are unnecessary in a regular shell.  The
> environment is already set up, and you've already seen today's
> calendar or whatever.
>
> Any other time you started a shell, it would not have a "-" in front
> of its name, so it would be a regular shell.  This included shell
> escapes from your text editor or mail reader or news reader or pager. 
> Any time you escaped to a new shell from inside your editor, you
> didn't need to go through all the gyrations that a login shell did. 
> You don't want to see the calendar again, etc.
>
> A decade or two later, some people developed a windowing system.
>
> In this windowing system, there's a terminal emulator.  Normally when
> you run a terminal emulator, you run a shell inside it.  (Not always,
> but usually.)  This shell doesn't need to be a login shell.  You're
> probably going to open half a dozen terminal emulators with shells in
> them, maybe more.  You don't need to run the day's calendar, or set up
> the session environment, in every single terminal.  All of that has
> been taken care of already.  (Right?)
>
> So, in an X terminal emulator, you normally run a NON-login shell. 
> Just a regular shell.
>
> That's how it's supposed to work.
>
> However.
>
> Some people found that they had a really hard time getting their
> initial environment set up during their X logins.  This was common
> among newbies especially, because they didn't understand the new login
> procedure, and had no idea how to customize it.
>
> And where did we have a shit-load of Unix newbies?  Universities.
>
> So, in the world of academia, there is a whole different paradigm.  In
> this world, where everyone is expected to be incompetent, the old way
> of setting up your environment one time and inheriting it in every
> shell... that doesn't work.
>
> In the newbie-centric environment, where nobody knows how to do
> anything correctly, terminal emulators are configured to run login
> shells.
>
> There's an option for it, of course.  The people who wrote xterm
> realized that one might wish to run either a regular shell or a login
> shell.  So xterm has this option:
>
>-ls This option indicates that the shell that is started in
> the xterm window will be a login shell (i.e., the first character of
> argv[0] will be a dash, indicating to the shell that it should read
> the user's .login or .profile).
>
> Universities configured things so that their users' terminals would
> all run with this option, 

Re: A .profile puzzle

2021-10-17 Thread Gene Heskett
On Sunday 17 October 2021 12:39:50 Dan Ritter wrote:

> Gene Heskett wrote:
> > The local electrical system, while better than Haiti's is getting to
> > be a nuisance with 5 second power failures about weekly, or is that
> > weakly?
>
> That's a great case for a UPS...
>
Yup, but thats 4 more of them.  Is anybody hving a real sale?

> > 1. Before the latest failure I could do all this as me because the
> > mount point for the card is in my home directory, I own it all. And
> > didn't have to be root to do any of it.  This was not fixed by a 2nd
> > reboot.
>
> Are you mounting via /etc/fstab? If so, show us the line.
nope, command line, as me, until this reboot.

> > 2. and another pesky thing is starting a konsole to do work, needs a
> > $PATH modification that we used to put in ~.profile. But opening a
> > terminal hasn't called a ". .profile" since about jessie.  So thats
> > another PITA.
> >
> > So, what has replaced .profile as the function for such as that in
> > recent releases?
>
> I'm guessing that your shell is /bin/sh. That used to be bash,
> but now it's dash.

I can't find an About for that one, its whatever xfce uses.

> You could make your own shell bash -- just run chsh and log out,
> then come back in again.
>
> Note that .profile is supposed to be read only by a login
> shell, whereas .bashrc will be read by every interactive shell.
> Here's the chunk of man bash:
>
>When bash is invoked as an interactive login shell, or as a
>  non-interactive shell with the --login option, it first reads and
>  executes commands from the file /etc/profile, if that file exists.
>  After reading that file, it looks for ~/.bash_profile, ~/.bash_login,
>  and ~/.profile, in that or der, and reads and executes commands from
> the first one that exists and is readable.  The --noprofile option may
> be used when the shell is started to inhibit this behavior.

I have tried putting that path stuff in .bashrc, but that fails too.

> When an interactive login shell exits, or a non-interactive
>  login shell executes the exit builtin command, bash reads and
> executes commands from the file ~/.bash_logout, if it exists.
>
> When an interactive shell that is not a login shell is
> started, bash reads and executes commands from /etc/bash.bashrc and
> ~/.bashrc, if these files exist.  This may be inhibited by using the
> --norc option. The --rcfile file option will force bash to read and
> execute commands from file instead of /etc/bash.bashrc and ~/.bashrc.
>
> When bash is started non-interactively, to run a shell script,
>  for example, it looks for the variable BASH_ENV in the environment,
>  expands its value if it appears there, and uses the expanded value
>  as the name of a file to read and execute.  Bash behaves as if the
>  following command were executed: if [ -n "$BASH_ENV" ]; then .
>  "$BASH_ENV"; fi but the value of the PATH variable is not used to
> search for the filename.
>
>
> -dsr-
Thanks Dan.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: A .profile puzzle

2021-10-17 Thread Greg Wooledge
On Sun, Oct 17, 2021 at 06:35:01PM +0200, deloptes wrote:
> > 2. and another pesky thing is starting a konsole to do work, needs a
> > $PATH modification that we used to put in ~.profile. But opening a
> > terminal hasn't called a ". .profile" since about jessie.  So thats
> > another PITA.
> > 
> > So, what has replaced .profile as the function for such as that in recent
> > releases?
> 
> AFAIK bash is not reading profile when you login, but not sure - it could be
> also that it is not a login shell.
> AFAIK you should open the terminal with "bash --login" to read the profile.
> So try in the terminal "bash --login"
> 
> I have put in my .profile
> 
> alias bash='bash --login'
> 
> long time ago

OK, first thing first: that alias won't do *anything* useful.  If Gene
is talking about starting a terminal from his window manager or desktop
environment, that terminal is going to run $SHELL which is /bin/bash.
It will not look at his aliases, no matter where they're defined.  It's
just going to run bash.  Not "bash --login".

Now let's step back a bit.

When you run an instance of a shell, there are two ways you can do it.
You either run a "login shell", or a "non-login shell".

The purpose of a login shell is to be executed when you login.  That's
the original intent.  Back in the 70s and 80s, there was no such thing
as a "desktop".  There was just the shell.  You logged in by connecting
your terminal or your modem to the host system, and getting a textual
prompt.  After authentication, you were "logged in", and the system would
run your account's shell with a "-" character in front of it.  This is
the ancient way that your system said "this should be a login shell, not
a regular shell".

It looks like this:

unicorn:~$ ps -ft tty1
UID  PIDPPID  C STIME TTY  TIME CMD
root 699   1  0 Oct09 tty1 00:00:00 /bin/login -p --
greg 851 699  0 Oct09 tty1 00:00:00 -bash
greg 863 851  0 Oct09 tty1 00:00:00 /bin/sh /usr/bin/startx
[...]

See where it says "-bash"?  That's my login shell.

The purpose of having a "login shell" and a "regular shell" is because
you probably have some things that you need to do once per session,
when you login.  Like, setting up your environment variables.  Or
printing today's calendar, or today's message from the administration.
All of those things are unnecessary in a regular shell.  The environment
is already set up, and you've already seen today's calendar or whatever.

Any other time you started a shell, it would not have a "-" in front of its
name, so it would be a regular shell.  This included shell escapes from
your text editor or mail reader or news reader or pager.  Any time you
escaped to a new shell from inside your editor, you didn't need to go
through all the gyrations that a login shell did.  You don't want to
see the calendar again, etc.

A decade or two later, some people developed a windowing system.

In this windowing system, there's a terminal emulator.  Normally when you
run a terminal emulator, you run a shell inside it.  (Not always, but
usually.)  This shell doesn't need to be a login shell.  You're probably
going to open half a dozen terminal emulators with shells in them, maybe
more.  You don't need to run the day's calendar, or set up the session
environment, in every single terminal.  All of that has been taken care
of already.  (Right?)

So, in an X terminal emulator, you normally run a NON-login shell.  Just
a regular shell.

That's how it's supposed to work.

However.

Some people found that they had a really hard time getting their initial
environment set up during their X logins.  This was common among newbies
especially, because they didn't understand the new login procedure, and
had no idea how to customize it.

And where did we have a shit-load of Unix newbies?  Universities.

So, in the world of academia, there is a whole different paradigm.  In
this world, where everyone is expected to be incompetent, the old way
of setting up your environment one time and inheriting it in every
shell... that doesn't work.

In the newbie-centric environment, where nobody knows how to do anything
correctly, terminal emulators are configured to run login shells.

There's an option for it, of course.  The people who wrote xterm realized
that one might wish to run either a regular shell or a login shell.  So
xterm has this option:

   -ls This option indicates that the shell that is started in the
   xterm window will be a login shell (i.e., the first character
   of argv[0] will be a dash, indicating to the shell that it
   should read the user's .login or .profile).

Universities configured things so that their users' terminals would all
run with this option, which means the users would get a login shell in
each terminal.

And then the users, who were all newbies and don't know any better, could
simply be told "if you want to change your environment, edit this 

Re: A .profile puzzle

2021-10-17 Thread Andrew M.A. Cater
On Sun, Oct 17, 2021 at 01:23:34PM -0400, Gene Heskett wrote:
> On Sunday 17 October 2021 12:35:01 deloptes wrote:
> 
> > Gene Heskett wrote:
> > > 1. Before the latest failure I could do all this as me because the
> > > mount point for the card is in my home directory, I own it all. And
> > > didn't have to be root to do any of it.  This was not fixed by a 2nd
> > > reboot.
> >
> > I guess this problem is not related to the .profile issue you are
> > having below.
> 
> Agreed.
> 
> > Check the permissions on the mount point
> 
> done, I still own it.
> 
> > and the fstab
> 
> its not in fstab, never was. I touched a file in 
> home/gene/Downloads/3dp.stf named sdb1 to create a mount I didn't have 
> to search thru /media to access.
> 

What on EARTH? This is a very trange way to do this, I think.

Either put it in fstab at which point it will alwsays be found or learn
where it's mounted under /media - which will be consistent, maybe? 
Interestingly,mounting an SD card that fits an SD card slot gave me one path, 
a micro-SDin a holder gave me another but they were always consistent.

lsblk is your friend here, I think, as is the mount command.

> Up until this 5 second power failure, I could, as me, mount that SD card 
> there, and use mc, as me, to overwrite a file on that card, then sync; 
> eject sdb1. Led on card adapter goes out, pull the card, take it back to 
> the printer and select and print the updated file.  Now I have to be 
> root to do any of it except the printer. The card is vfat, which has no 
> concept of file ownership.
> 
> > and also your  
> > group membership.
> 
> gene@dddprint:~/AppImages$ cat /etc/group|grep gene
> dialout:x:20:gene
> cdrom:x:24:gene
> sudo:x:27:gene
> audio:x:29:pulse,gene
> video:x:44:gene
> gene:x:1000:
> 
> Nothing changed there in months.
> 
> > The SD card might also need a fsck.
> 
> by whose fsck?
> 

Make sure it's not mounted, then fsck the device. Probably dosfstools is
needed.

> > > 2. and another pesky thing is starting a konsole to do work, needs a
> > > $PATH modification that we used to put in ~.profile. But opening a
> > > terminal hasn't called a ". .profile" since about jessie.  So thats
> > > another PITA.
> > >
> > > So, what has replaced .profile as the function for such as that in
> > > recent releases?
> >
> > AFAIK bash is not reading profile when you login, but not sure - it
> > could be also that it is not a login shell.
> 
> XFCe login, I think. I only see it once on that machine. logging in 
> remotely with "ssh -Y machine-name" or 'user1000'@machine-name is how I 
> generally run things from a comfy chair.
> 
> > AFAIK you should open the terminal with "bash --login" to read the
> > profile. So try in the terminal "bash --login"
> 
> Done, but no change in the $PATH. But it did take two ctl-d's to exit it.
> 
> > I have put in my .profile
> >
> > alias bash='bash --login'
> >
> > long time ago
> 
> Thank you deloptes.
> 
> Cheers, Gene Heskett.
> -- 
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
> 
Take care, with all good wishes as always,

Andy Cater



Re: "OCR" pour images via machine learning

2021-10-17 Thread Billard François-Marie

Bonsoir

peut être en regardant par ici pour un début:

https://ressources.labomedia.org/les_pages_intelligence_artificielle_en_details#reconnaissance_d_objets_dans_des_images

François-Marie

Le 17/10/2021 à 11:32, Bernard Schoenacker a écrit :

Bonjour,

Je recherche une solution pour reconnaitre les images et ainsi
faciliter le classement, je sais que c'est dans l'esprit
apprentissage automatique (Machine Learning), mais je
ne sais pas par quel bout commencer à trouver l'information

Merci pour votre aimable attention

Bien à vous

Bernard





Re: A .profile puzzle

2021-10-17 Thread Gene Heskett
On Sunday 17 October 2021 12:35:01 deloptes wrote:

> Gene Heskett wrote:
> > 1. Before the latest failure I could do all this as me because the
> > mount point for the card is in my home directory, I own it all. And
> > didn't have to be root to do any of it.  This was not fixed by a 2nd
> > reboot.
>
> I guess this problem is not related to the .profile issue you are
> having below.

Agreed.

> Check the permissions on the mount point

done, I still own it.

> and the fstab

its not in fstab, never was. I touched a file in 
home/gene/Downloads/3dp.stf named sdb1 to create a mount I didn't have 
to search thru /media to access.

Up until this 5 second power failure, I could, as me, mount that SD card 
there, and use mc, as me, to overwrite a file on that card, then sync; 
eject sdb1. Led on card adapter goes out, pull the card, take it back to 
the printer and select and print the updated file.  Now I have to be 
root to do any of it except the printer. The card is vfat, which has no 
concept of file ownership.

> and also your  
> group membership.

gene@dddprint:~/AppImages$ cat /etc/group|grep gene
dialout:x:20:gene
cdrom:x:24:gene
sudo:x:27:gene
audio:x:29:pulse,gene
video:x:44:gene
gene:x:1000:

Nothing changed there in months.

> The SD card might also need a fsck.

by whose fsck?

> > 2. and another pesky thing is starting a konsole to do work, needs a
> > $PATH modification that we used to put in ~.profile. But opening a
> > terminal hasn't called a ". .profile" since about jessie.  So thats
> > another PITA.
> >
> > So, what has replaced .profile as the function for such as that in
> > recent releases?
>
> AFAIK bash is not reading profile when you login, but not sure - it
> could be also that it is not a login shell.

XFCe login, I think. I only see it once on that machine. logging in 
remotely with "ssh -Y machine-name" or 'user1000'@machine-name is how I 
generally run things from a comfy chair.

> AFAIK you should open the terminal with "bash --login" to read the
> profile. So try in the terminal "bash --login"

Done, but no change in the $PATH. But it did take two ctl-d's to exit it.

> I have put in my .profile
>
> alias bash='bash --login'
>
> long time ago

Thank you deloptes.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: A .profile puzzle

2021-10-17 Thread Dan Ritter
Gene Heskett wrote: 
> 
> The local electrical system, while better than Haiti's is getting to be a 
> nuisance with 5 second power failures about weekly, or is that weakly?

That's a great case for a UPS...

> 1. Before the latest failure I could do all this as me because the mount 
> point for the card is in my home directory, I own it all. And didn't 
> have to be root to do any of it.  This was not fixed by a 2nd reboot.

Are you mounting via /etc/fstab? If so, show us the line.


> 2. and another pesky thing is starting a konsole to do work, needs a 
> $PATH modification that we used to put in ~.profile. But opening a 
> terminal hasn't called a ". .profile" since about jessie.  So thats 
> another PITA.
> 
> So, what has replaced .profile as the function for such as that in recent 
> releases?

I'm guessing that your shell is /bin/sh. That used to be bash,
but now it's dash.

You could make your own shell bash -- just run chsh and log out,
then come back in again.

Note that .profile is supposed to be read only by a login
shell, whereas .bashrc will be read by every interactive shell.
Here's the chunk of man bash:

   When bash is invoked as an interactive login shell, or as a
 non-interactive shell with the --login option, it first reads and
 executes commands from the file /etc/profile, if that file exists.
 After reading that file, it looks for ~/.bash_profile, ~/.bash_login,
 and ~/.profile, in that or der, and reads and executes commands from the
 first one that exists and is readable.  The --noprofile option may be
 used when the shell is started to inhibit this behavior.
 
When an interactive login shell exits, or a non-interactive
 login shell executes the exit builtin command, bash reads and executes
 commands from the file ~/.bash_logout, if it exists.
 
When an interactive shell that is not a login shell is started,
 bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if
 these files exist.  This may be inhibited by using the --norc option.
 The --rcfile file option will force bash to read and execute commands
 from file instead of /etc/bash.bashrc and ~/.bashrc.

When bash is started non-interactively, to run a shell script,
 for example, it looks for the variable BASH_ENV in the environment,
 expands its value if it appears there, and uses the expanded value
 as the name of a file to read and execute.  Bash behaves as if the
 following command were executed: if [ -n "$BASH_ENV" ]; then .
 "$BASH_ENV"; fi but the value of the PATH variable is not used to search
 for the filename.


-dsr-



Re: A .profile puzzle

2021-10-17 Thread deloptes
Gene Heskett wrote:

> 1. Before the latest failure I could do all this as me because the mount
> point for the card is in my home directory, I own it all. And didn't
> have to be root to do any of it.  This was not fixed by a 2nd reboot.
> 

I guess this problem is not related to the .profile issue you are having
below.
Check the permissions on the mount point and the fstab and also your group
membership.
The SD card might also need a fsck.

> 2. and another pesky thing is starting a konsole to do work, needs a
> $PATH modification that we used to put in ~.profile. But opening a
> terminal hasn't called a ". .profile" since about jessie.  So thats
> another PITA.
> 
> So, what has replaced .profile as the function for such as that in recent
> releases?

AFAIK bash is not reading profile when you login, but not sure - it could be
also that it is not a login shell.
AFAIK you should open the terminal with "bash --login" to read the profile.
So try in the terminal "bash --login"

I have put in my .profile

alias bash='bash --login'

long time ago

-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0



[Off topic] Linux lynxes. was: Re: question from total newbie.

2021-10-17 Thread Thomas Schmitt
Hi,

Jude DaShiell wrote:
> I've been installing debian since sarge and remember
> no lynx code word attached to any debian version.

There was an Ubuntu release named Lucid Lynx, 11 years ago.
(My bet is that it won't run on a contemporary laptop.)


Have a nice day :)

Thomas



A .profile puzzle

2021-10-17 Thread Gene Heskett
Greetings all;

The local electrical system, while better than Haiti's is getting to be a 
nuisance with 5 second power failures about weekly, or is that weakly?

Most of my machines are running a 64 bit buster with a preempt-rt kernel. 

I made some mods to a 3d printer project in openscad last week, printed 
it, but forgot to save it. So I lost it when the latest failure rebooted 
that machine. A procedure I had long since committed to muscle memory 
now requires I be root to do what I've been doing as me for the last 
year, so I have now reprinted that after reinventing it, 4 times, w/o 
changing the printout, after the latest failure I have to be root to 
mount the card from the printer, I have to be root to overwrite the 
resliced file to the printers SD card, root to do it all. But mc now 
goes thru the motions as me, without telling me it doesn't have 
permission to overwrite that file.  What the heck?

2 things really.

1. Before the latest failure I could do all this as me because the mount 
point for the card is in my home directory, I own it all. And didn't 
have to be root to do any of it.  This was not fixed by a 2nd reboot.

2. and another pesky thing is starting a konsole to do work, needs a 
$PATH modification that we used to put in ~.profile. But opening a 
terminal hasn't called a ". .profile" since about jessie.  So thats 
another PITA.

So, what has replaced .profile as the function for such as that in recent 
releases?

Thank you.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: question from total newbie. a little help please

2021-10-17 Thread Jude DaShiell
I think the o.p. may have got debian linux confused with debian lynx that
makes more sense over here.  Many Linux distros have code words for each
major version of their distributions.  The current stable code word for
debian is bullseye.  I've been installing debian since sarge and remember
no lynx code word attached to any debian version.


On Sun, 17 Oct 2021, Dan Ritter wrote:

> Thomas Schmitt wrote:
> > Hi,
> >
> > JAMES BOSWELL wrote:
> > > > install debian lynx
> >
> > Dan Ritter
> > > Lynx is a text-mode web browser. Did you mean Debian bullseye,
> >
> > I rather guess that "Debian GNU/Lynx, The Unyversl operating system"
> > is meant. ;-)
> >
>
> Ah, you think it's a spieling error. Reasonable.
>
> -dsr-
>
>



gnome-recipes [était Gourmet ne démarre plus.]

2021-10-17 Thread Txo



Bonjour.
Pour faire fonctionner Gourmet j'ai cherché et j'ai trouvé
gnome-recipes présenté comme le successeur de Gourmet qui ne veut plus 
de Sid. Mais c'était trop beau. Sous Sid , Recipes qui peut être 
intéressant est en anglais et le reste. Malgré le fait que j'ai traduit 
les fichiers po et l'ai recompilé à partir des sources qu'on peut 
télécharger là :

http://deb.debian.org/debian/pool/main/g/gnome-recipes/gnome-recipes_2.0.2.orig.tar.xz

Déjà à mon âge j'ai du mal en dehors du traditionnel configure make et 
checkinstall.
Là si on en croit le peu de docs laissé sur gitlag.gnome.org il faut 
passer par

meson --prefix= build
ninja -C build
ninja -C build install

Ce qui bien sur, vous fait installer une ribambelle de dépendances. Je 
ne suis pas allé jusqu'au install car j'ai déjà un programme exécutable 
bien caché dans les sources. Mais quand je le lance le programme est en 
anglais. Exactement comme celui installé par apt.


J'ai bien essayé de m'adresser à la liste de traduction de gnome 
(traduc.org/mailman/listinfo/gnome.fr) mais la liste de diffusion mène à 
un beau 404.

Gnome m'a tuer ;-)

Je refuse de tout faire en anglais et de passer lentement à l'anglais 
obligatoire.



--
-- Dominique Marin http://txodom.free.fr  --
Ô l'ange des plaisirs perdus Ô rumeurs d'une autre habitude
Mes désirs dès lors ne sont plus Qu'un chagrin de ma solitude
-- La mémoire et la mer Léo Ferré --



Re: question from total newbie. a little help please

2021-10-17 Thread Dan Ritter
Thomas Schmitt wrote: 
> Hi,
> 
> JAMES BOSWELL wrote:
> > > install debian lynx
> 
> Dan Ritter
> > Lynx is a text-mode web browser. Did you mean Debian bullseye,
> 
> I rather guess that "Debian GNU/Lynx, The Unyversl operating system"
> is meant. ;-)
> 

Ah, you think it's a spieling error. Reasonable.

-dsr-



Re: question from total newbie. a little help please

2021-10-17 Thread David Wright
On Sun 17 Oct 2021 at 09:00:52 (-0400), JAMES BOSWELL wrote:
> if i divide my hard drive and install debian lynx on it. will i be able to
> effectively run debian on this laptop?

How big is the hard drive, and how much space is currently occupied?

Cheers,
David.



Re: question from total newbie. a little help please

2021-10-17 Thread Thomas Schmitt
Hi,

JAMES BOSWELL wrote:
> > install debian lynx

Dan Ritter
> Lynx is a text-mode web browser. Did you mean Debian bullseye,

I rather guess that "Debian GNU/Lynx, The Unyversl operating system"
is meant. ;-)


Have a nice day :)

Thomas



Re: USB sticks & Debian

2021-10-17 Thread Andrew M.A. Cater
On Sun, Oct 17, 2021 at 02:41:36PM +0200, Holger Wansing wrote:
> 
> > On Sat, 25 Sep 2021, rhkra...@gmail.com wrote:
> > 
> > I don't understand what you are trying to do.  Do you want to:
> > 
> > This one:
> > * create a bootable USB on another OS to boot (the USB) and install Linux 
> > on some other system, or
> 
> At https://www.debian.org/CD/faq/#write-usb you find a pointer to
> https://sourceforge.net/projects/win32diskimager/
> 
> Moreover, https://rufus.ie/en/ might be another way...
> 

If you use rufus, use the dd mode to write the ISO image to the USB stick -
other methods using Rufus appear to give problems.

Pete Batard - author of Rufus - appears every now and again on the lists.

All the very best, as ever,

Andy Cater

> 
> Holger
> 
> 
> -- 
> Holger Wansing 
> PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076
> 



Re: question from total newbie. a little help please

2021-10-17 Thread Dan Ritter
JAMES BOSWELL wrote: 
> if i divide my hard drive and install debian lynx on it. will i be able to
> effectively run debian on this laptop?
> 
> Device name LAPTOP-R4DB7V5U
> Processor Intel(R) Core(TM) i3-10110U CPU @ 2.10GHz   2.59 GHz
> Installed RAM 4.00 GB (3.81 GB usable)
> Product ID 00356-02325-39311-AAOEM
> System type 64-bit operating system, x64-based processor

Lynx is a text-mode web browser. Did you mean Debian bullseye,
which is the current stable version?

Bullseye should not have a problem with this laptop. If you need
to install via wifi rather than wired ethernet, you should start
with the non-free firmware installer:

https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/

-dsr-



Re: question from total newbie. a little help please

2021-10-17 Thread john doe

On 10/17/2021 3:00 PM, JAMES BOSWELL wrote:

if i divide my hard drive and install debian lynx on it. will i be able to
effectively run debian on this laptop?



You are planning on creating a 'multiboot' with Debian and Windows!

The best thing that I can suggest is to Google 'multiboot Bullseye and
Windows10'.


i know about enough to fill a thimble but i'm hopeful and any guidance
would be greatly appreciated and i would follow it to the T's



With W10 you have also the possibility of using 'WLS' an order
alternative would be to install Debian as a VM.
If you choose to go the VM way Virtualbox and Qemu are working fine on
Windows.

I would say that 'WLS' and 'VB/Qemu' are less prone to crashing your laptop.

--
John Doe



question from total newbie. a little help please

2021-10-17 Thread JAMES BOSWELL
if i divide my hard drive and install debian lynx on it. will i be able to
effectively run debian on this laptop?

Device name LAPTOP-R4DB7V5U
Processor Intel(R) Core(TM) i3-10110U CPU @ 2.10GHz   2.59 GHz
Installed RAM 4.00 GB (3.81 GB usable)
Device ID CAACC244-37B7-4294-84E4-E73B9C030FDF
Product ID 00356-02325-39311-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display

Edition Windows 10 Home
Version 21H1
Installed on ‎4/‎2/‎2021
OS build 19043.1288
Experience Windows Feature Experience Pack 120.2212.3920.0

i know about enough to fill a thimble but i'm hopeful and any guidance
would be greatly appreciated and i would follow it to the T's


Re: USB sticks & Debian

2021-10-17 Thread Holger Wansing


> On Sat, 25 Sep 2021, rhkra...@gmail.com wrote:
> 
> I don't understand what you are trying to do.  Do you want to:
> 
> This one:
> * create a bootable USB on another OS to boot (the USB) and install Linux on 
> some other system, or

At https://www.debian.org/CD/faq/#write-usb you find a pointer to
https://sourceforge.net/projects/win32diskimager/

Moreover, https://rufus.ie/en/ might be another way...


Holger


-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Re: AMD OpenCL support

2021-10-17 Thread piorunz

On 17/10/2021 09:00, didier gaumet wrote:


Hello,

Disclaimer: I have no AMD graphic card and have not personally tested
what is describe below


Thanks for your reply and thoughts.


Right now with an AMD/ATI graphic card in Debian, the only OpenCL run-
time loader (ICD) present in the offical repos is the mesa one (mesa-
opencl-icd) that you have already installed.



If it not already installed, install the clinfo package and run clinfo
to have more informations about the status of your OpenCL setup.


Yes I have that mesa version of OpenCL installed. Unfortunately, this
version is too old and not recognized. I need OpenCL 1.2 at least I
think. clinfo says, among many other things:
  Device Version  OpenCL 1.1 Mesa 20.3.5
  Driver Version  20.3.5
  Device OpenCL C Version OpenCL C 1.1



Perhaps your claim of not having OpenCL support is erroneous and what
happens actually is you have uncomplete/unsufficent support for your
use case: a typical example is Darktable not having OpenCL image
support, this requiring more recent OpenCL implementation that the Mesa
one.

Then you would probably have to either:
- revert to use the proprietary amdgpu-pro driver (including an AMD
ICD) instead of the free amdgpu one



https://www.amd.com/en/support/kb/faq/amdgpu-installation


This procedure requires downloading .deb drivers from
https://support.amd.com/en-us/download. Only distros supported are
Ubuntu 18.04.5 HWE, Ubuntu 20.04.3. They will most likely fail in Debian.


- or continue using the free amdgpu driver but install ROCm (AMD ICD)
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html


I spend some time testing this, best I got is ROCm 3.3 with only one
error (is breaks package "python" which doesn't even exist in debian).
Newer ROCm versions have many package breaks, therefore cannot be installed.


- or continue using the free amdgpu driver but install the ICD subset
of the proprietary driver
https://linuxconfig.org/install-opencl-for-the-amdgpu-open-source-drivers-on-debian-and-ubuntu


I will try this solution next.


--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: Keyboard prevents screensaver & scrolling terminal window

2021-10-17 Thread Thomas Schmitt
Hi,

due to the lack of other proposals i now come up with something ancient.
If you are still running the X Window System, then there should be a
program named xev.
Start it in a dedicated terminal window which will get its verbous
text output. Redirect a copy of that output to a file:

  xev | tee -i /tmp/xev.log

xev will pop up a small window, of which it will report the received
X events. Among them are input events of keyboard and mouse.
So give this small window the input focus. (I.e. move mouse cursor into
it. Maybe you need to click at it. Whatever your desktop expects.)

You will see a little storm of events like

  PropertyNotify event, serial 8, synthetic NO, window 0x1141,
  atom 0x27 (WM_NAME), time 382397390, state PropertyNewValue

  ... more window setup events ...

  MotionNotify event, serial 40, synthetic NO, window 0x1141,
  root 0xa4, subw 0x0, time 382398675, (59,148), root:(390,245),
  state 0x0, is_hint 0, same_screen YES

  ... more mouse events ...

Next take your hands off mouse and keyboard.
At some point - at least for me - xev stops to report new events and i
can make key tests. E.g. i press "Shift" and see

  KeyPress event, serial 40, synthetic NO, window 0x1141,
  root 0xa4, subw 0x0, time 382860609, (81,134), root:(412,231),
  state 0x0, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
  XLookupString gives 0 bytes:
  XmbLookupString gives 0 bytes:
  XFilterEvent returns: False

  KeyRelease event, serial 40, synthetic NO, window 0x1141,
  root 0xa4, subw 0x0, time 382860680, (81,134), root:(412,231),
  state 0x1, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
  XLookupString gives 0 bytes:
  XFilterEvent returns: False

In order to end the program, i put the input focus on the terminal
window, where it reports its events, and press Ctrl+C.

If your suspicion is right, xev should show lots of such Key* events
as soon as its receiver window gets the focus, without you pressing any
key at the keyboard. In that case, end xev and look at the messages
on the terminal window or in file  /tmp/xev.log .


Have a nice day :)

Thomas



Unbreaking the system [WAS Re: Cannot install vlc on bullseye ]

2021-10-17 Thread Andrew M.A. Cater
On Sat, Oct 16, 2021 at 02:57:13PM -0500, R. Ramesh wrote:
> Understood. Please also understand that we are users and not experts. I
> understand unix/linux and general SW principles. I will use debian as I
> trust this more than any other distribution. That does not mean I can learn
> everything about it. I will have no choice but to go with help from
> communities. I understand the cost.
> > 

== Fixing the breakage ==

> > I would recommend finding all the packages on your system with a
> > dmo source, removing them, removing the dmo apt repository,
> > fixing your system, and then... carefully consider whether you
> > want to re-add the dmo apt repository at all.

This. Remove all of these: remove VLC. Clear the packages. dpkg --purge 
them if that's what it takes. You will need to clear the packages in order
to instqall/upgrade cleanly.

Then add the deb-multimedia lines to /etc/apt/sources.list as at
https://deb-multimedia.org/

Temporarily comment out the debian lines in that file - so _only_ the
deb-multimedia lines are active [Add a # sign at the front of the line].

Do apt-update and so on as it says on the deb-multimedia site. Install
the packages you want.

Then comment out deb-multimedia and uncomment the debian lines.

That means that the packages you want from deb-multimedia will all have 
been installed together without any conflicting packages from Debian main.

Repeat the process when you update repositories.

== deb-multimedia.org ==

>From https://deb-multimedia.org

Subscribe to the mailing list to find out when packages are updated:

To subscribe send an e-mail to dmo-changes-requ...@debmultimedia.org with 
subscribe in the subject.
Or click on this link : dmo-changes-requ...@deb-multimedia.org?subject=subscribe

Pretty much anything else you need is found at

https://deb-multimedia.org/faq#q1 and following.

> This is not acceptable to me. I will live broken system than a useless
> system. I need what I have and I cannot simply delete them for the sake
> making something pristine. Please understand we are users. No point in
> having a system that does nothing. Apart from mythtv, I use browser. So, if
> I take out dmo then I might as well install Win10.
> > 

== Troubleshooting and further support ==

With luck: The steps given above will un-break your system sufficiently for you
to install the deb-multimedia packages you want. 

At that point you are on your own because we can't really do more than best 
endeavours support for a mixed system and troubleshooting and problem solving 
are likely beyond us.

We can't help you much further here on debian-user: effectively, you're 
then absolutely reliant on a third party repository for your mythtv. 
Problems/updates and so on are theirs to sort out.

Any problems: Contact Christian Marillat

Any breakage: Contact Christian Marillat.

== Build it yourself ==

The other option is for you to build and maintain mythtv on your own system.
This is well documented by the MythTV devs and would give you a
self-contained system with a consistent build.

https://www.mythtv.org/wiki/Build_from_Source#Installing_Build_Dependencies_without_Ansible
 and so on.

The instructions at https://www.mythtv.org/wiki/Installing_MythTV_on_Debian
are fairly clear though you'll want fixes/31 rather than fixes/30.

> > Don't think I hate deb-multimedia. I have that repo enabled...
> > on one system. Not on a system that I depend on functioning all
> > the time.
> > 
> > -dsr-
> Thanks for your comments. I understand where you come from. I have no hard
> feelings when someone tells me I am dumb. That is why I used debian-user. If
> I do not get any help, I will find a way as I have done that many times.  In
> fact, I was going to wipe my system and reinstall from scratch and add dmo
> as that is easier.
> 

No one's telling you that you're dumb. You ended up with a broken system.
Some of the steps above may help you fix it. Almost certainly, you don't 
actually need to reinstall from scratch - the Debian packaging system
is fairly robust - but it might possibly be quicker, if you can't be
bothered to find the dmo packages.

> I was a linux user in 1991 and remained one. I am not going to be afraid to
> find issues and resolve them. I just want to try to get expert opinion first
> because I think that is the best approach.
> 

The best expert opinion is fairly well summed up on the Debian wiki at
https://wiki.debian.org/DontBreakDebian . The advice given above is fairly
blunt and matter of fact because the users and developers on this list have 
seen this sort of thing lots of times before.

> Regards
> Ramesh
> 

With every good wish, as ever,

Andy Cater



Re: security of debian default sudoers file (was: dead lock)

2021-10-17 Thread Keith Bainbridge



On 17/10/21 20:41, Gregor Zattler wrote:

PS: in my opinion you should avoid creating a sudoers file unless you
really know what you are doing. the defaults are very insecure.



So force sudo to use the root passwd.

After you ensure your root passwd works, simply add the line:

Defaultsrootpw

to /etc/sudoers.

You should need a fresh terminal to test this.




--
All the best

Keith Bainbridge

keithrbaugro...@gmail.com



security of debian default sudoers file (was: dead lock)

2021-10-17 Thread Gregor Zattler
Hi Peter,
* Peter Ehlert  [2021-10-14; 06:30]:
> PS: in my opinion you should avoid creating a sudoers file unless you
> really know what you are doing. the defaults are very insecure.

Could you please elaborate on this, or provide a pointer?

Thanks; Gregor
--
 -... --- .-. . -.. ..--.. ...-.-



"OCR" pour images via machine learning

2021-10-17 Thread Bernard Schoenacker
Bonjour,

Je recherche une solution pour reconnaitre les images et ainsi
faciliter le classement, je sais que c'est dans l'esprit 
apprentissage automatique (Machine Learning), mais je 
ne sais pas par quel bout commencer à trouver l'information

Merci pour votre aimable attention

Bien à vous

Bernard



[Sid] Firefox problem

2021-10-17 Thread Grzesiek

Hi there,

On some of machines I use, after opening of Firefox I get empty browser 
window (with menus, decorations etc) but nothing else is displayed. Its 
impossible to open menu, type address, etc. The only thing you can do is 
to close the window. After changing display configuration (rotate to 
portrait, adding external monitor..) it starts to work as expected. You 
do not even need to reopen. Moreover, it looks that Firefox was running 
ok all the time but nothing was displayed.
After recent updates on some machines I get the same problem using 
firefox-esr.

The only error mesg I get is:
###!!! [Parent][RunMessage] Error: Channel closing: too late to 
send/recv, messages will be lost


Thanks in advance for any help

Greg



Re: why pae kernel has only 3G memory

2021-10-17 Thread deloptes
lou wrote:

> Thanks, i've just installed linux-image-686, result is same

you understand that in most cases if you use a 32bit OS with 4GB of memory
you may not utilize 1GB, because the overhead of utilizing this memory
consumes much of this memory with the registers to overcome the 3GB
barrier.
So IMO you have two options:
1. leave it as it is
2. sell 1GB on ebay

-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0



Re: AMD OpenCL support

2021-10-17 Thread didier gaumet


Hello,

Disclaimer: I have no AMD graphic card and have not personally tested
what is describe below

Right now with an AMD/ATI graphic card in Debian, the only OpenCL run-
time loader (ICD) present in the offical repos is the mesa one (mesa-
opencl-icd) that you have already installed.

If it not already installed, install the clinfo package and run clinfo
to have more informations about the status of your OpenCL setup.

Perhaps your claim of not having OpenCL support is erroneous and what
happens actually is you have uncomplete/unsufficent support for your
use case: a typical example is Darktable not having OpenCL image
support, this requiring more recent OpenCL implementation that the Mesa
one.

Then you would probably have to either:
- revert to use the proprietary amdgpu-pro driver (including an AMD
ICD) instead of the free amdgpu one
https://www.amd.com/en/support/kb/faq/amdgpu-installation
- or continue using the free amdgpu driver but install ROCm (AMD ICD)
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html
- or continue using the free amdgpu driver but install the ICD subset
of the proprietary driver
https://linuxconfig.org/install-opencl-for-the-amdgpu-open-source-drivers-on-debian-and-ubuntu






Re: dead lock

2021-10-17 Thread Keith Bainbridge



On 17/10/21 00:33, Greg Wooledge wrote:

On Sat, Oct 16, 2021 at 03:00:28PM +1100, Keith Bainbridge wrote:


On 15/10/21 00:14, Greg Wooledge wrote:

If for some reason you've forgotten the root password that you used
during installation, or you've lost your membership in the sudo group,
then you can add "init=/bin/bash" to the kernel parameters in GRUB,
re-mount the root file system read/write, run the "passwd root" command
to set a new root password, and then reboot again.



Good afternoon

My experience is that if you chose a root passwd at installation, sudo is
NOT installed.


Correct.  I believe that in my earlier message, I said that sudo is
installed only if you choose to leave the root password blank.  If not,
then I at least implied it.



Yes you had said that.

Somebody had kind of countered your comments by saying something like 
'if you have lost access to sudo'  I just wanted re-enforce your your words


--
All the best

Keith Bainbridge

keithrbaugro...@gmail.com



Re: vimb web browser glib.h

2021-10-17 Thread Camaleón
El 2021-10-16 a las 23:22 -0300, gustavo c escribió:

> No pude finalizar/iniciar la instalacion de vimb web browser.
> despues de $ make
> el error es que no está glib.h, pero se que está y además tengo
> instalado todo lo necesario.
> No se como agregar en el archivo Makefile la salida de:
> pkg-config --cflags --libs glib-2.0
> -> -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
> -L/usr/lib/i386-linux-gnu -lglib-2.0
> 
> Estoy usando Debian 9, gracias
> esta instalado libglib2.0-dev

Seguramente se trata de este problema:

Compilation errors
https://github.com/fanglingsu/vimb/issues/494

Comprueba que tengas instalados los paquetes indicados.

Saludos,

-- 
Camaleón