Scratch execution windows blurred & blinking: is video driver faulty? - driver

I installed Lubuntu 19.04 on old Inspiron 6400 computer (GeForce 7300 laptop edition) to teach Scratch to my son through web scratch editor. Every time I open web editor for a new project through firefox, right zone with the cat is blurred and blinks like if video driver was badly configured.
Here is screenshot:
At the beginning I used to have this for the whole Ubuntu system, any application.
Using now Lubuntu, everything seems correct but that srcatch window.
Is it still a video driver issue ? Or is the problem on Scratch application side ?
Edit:
So I revert back to Lubuntu 16.04 to better support GeForce 7300, and eveything gets corrected. Then I upgraded firefox through: sudo apt install firefox. This performed the following:
Start-Date: 2020-03-28 12:06:21
Commandline: apt install firefox
Requested-By: me (1001)
Install: libatomic1:i386 (5.4.0-6ubuntu1~16.04.12, automatic)
Upgrade: cpp-5:i386 (5.3.1-14ubuntu2, 5.4.0-6ubuntu1~16.04.12), libquadmath0:i386 (5.3.1-14ubuntu2, 5.4.0-6ubuntu1~16.04.12), gcc-5-base:i386 (5.3.1-14ubuntu2, 5.4.0-6ubuntu1~16.04.12), libgomp1:i386 (5.3.1-14ubuntu2, 5.4.0-6ubuntu1~16.04.12), firefox:i386 (45.0.2+build1-0ubuntu1, 74.0+build3-0ubuntu0.16.04.1), libstdc++6:i386 (5.3.1-14ubuntu2, 5.4.0-6ubuntu1~16.04.12)
And problem is back again. Any idea ?
Thanks.

I do believe that only some part of the graphics is faulty. Most likely, this is processing and web error. I would recommend checking if you have Adobe Flash and/or Chrome on your computer.
Hopefully this helps.

Related

Docker Engine don't start after the first installation in Windows 11

I want to learn about Docker. So I go ahead to install Docker, check all requirements for Windows 11,
wsl2 is enabled in my system.
virtualization is also enabled.
I have 16gb ram
but I don't know why the docker engine don't start. Every time I see the following image click here
I have done so many things, I am listing all of them ---
Execute the command "C:\Program Files\Docker\Docker\DockerCli.exe" -SwitchDaemon by running command line as administrator but no effect.
I watch from an youtube video that some time ubuntu installed in wsl2 make interruption in docker daemon, so I uninstall it. But still the problem persists.
I installed hyper-v as there is no option for hyper-v in windows 11' s "turn windows features on or off" and enabled it. same problem exist.
Uninstalling and reinstalling docker and restarting multiple times, but still no luck.
I don't know why this happened. Please help me in this matter. I have windows 11 home single language installed in my computer.
I had the same problem in Windows 11, but the solution in the link below fixed it.
wsl --update
https://github.com/docker/for-win/issues/11805#issuecomment-891528897

Error "LoadLibrary failed with error 126: The module could not be found" when launching Spyder IDE through VPN

Here's what happens:
Using a Macbook Pro, I use the Microsoft Remote Desktop Connection application to connect to my work computer, which is a Windows 10 machine
If I try to launch Spyder on my work computer, I get this error:
Load Library Error
However:
If I am at my work computer (i.e. physically at work instead of logging in remotely), I can launch Spyder successfully
If I leave Spyder open on my work computer, then go home and do a remote log-in to my work computer, I can use Spyder without issue. The problem/error described above arises only if I try to open Spyder through the remote connection.
This error only seems to affect Spyder and I can use all other programs without issue through a remote connection. As a workaround I've been using other IDEs and successfully running scripts, but I strongly prefer Spyder.
What I have tried so far (without success):
The 4 troubleshooting steps posted by Fazil M. to this Microsoft thread
Uninstalling/reinstalling Spyder using Conda
Restarting my work computer
System Information:
Work Computer OS: Windows 10, 64-bit
OS of computer through which I'm logging in to work computer: Mac OS X El Capitan 10.11.6
Spyder version: 4.1.1
Any thoughts as to what could be going on?
Update--More information and trials:
I checked out Issue #3736 on Spyder's GitHub. It says to download and add a file called opengl32sw.dll to the folder ~\Lib\site-packages\PyQt5\Qt\bin. But when I go to the PyQt5 folder, I do not see a subfolder for Qt. I tried placing it into the PyQt5 main folder, but that did not fix the problem.
I've heard this can be a graphics card issue too. On my machine I have two graphics cards: AMD RadeonT R5 430 and Intel(R) HD Graphics 630.
Darren's answer did not work for me. What did work was to:
First option: go into the device manager and disable the Intel HD Graphics card under "display adapters."
Second option:
run "Gpedit.msc"
navigate to Computer Configuration->Administrative
Templates->Windows Components->Remote Desktop Services->Remote
Desktop Session Host->Remote Session Environment
Disable "use WDDM graphics display driver for remote desktop
connections"
Restart the computer
See https://answers.microsoft.com/en-us/windows/forum/all/windows-10-1903-may-update-black-screen-with/23c8a740-0c79-4042-851e-9d98d0efb539
It took help from my organization's IT contractor, but I fixed the issue by doing the following:
Run a file called "gpedit.msc", which will open up a window for Local Group Policy Editor
In the tree menu on the left, navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment, and open the Remote Session Environment folder (not the subfolder within it)
Make sure the following are set to "Enabled":
"Use hardware graphics adapters for all Remote Desktop Services"
"Prioritize H.265/AVC444 graphics mode for Remote Desktop Connections"
"Configure H.264/AVC hardware encoding for Remote Desktop Connections"
Then restart the computer.
Since I was unable to get pass LoadLibrary 126 error using the solutions provided online and on here, I stepped back and realized the obvious workaround. The errors occurs when you open the program while you're using a remote session, right? The obvious solution is to launch the program while a remote session is not in progress. To do this while you're remoting, you should create a batch script to launch the program but make sure to include to a time delay before that (I used 'timeout 10 /nobreak' to do so). Run the batch script and, before your program launchs, disconnect from RDP. After enough time passes for the program to launch, you can reconnect to RDP and your program will be up and ready

Wampserver not changing the PHP version for WEB (not CLI)

I have WampServer Version 3.1.4 64bit installed on Windows 7 and it comes with PHP versions php5.6.38, php7.0.32, php7.1.22, and php7.2.10. I would like to use php5.6.x rather than php7.x.
So, when I switch from php7.2.10 to php5.6.38 from the server tray icon; it does not update the actual php version which is shown by phpinfo().
On localhost, it still says:
PHP Version: 7.2.10
However, it is updated on CLI side. This is tested with running this in the cmd:
php -v
The result is :
c:\wamp64\bin\apache\apache2.4.35\bin>php -v
PHP 5.6.38 (cli) (built: Sep 13 2018 12:45:08)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
After restarting WAMP services, and re opening the terminal, and restarting computer, it still not updated through phpinfo. It probably related the php version used by Apache service. How can I change this to 5.6.x
Any suggestions ?
Many thanks
Note : The issue is not related with changing php cli version as it was pointed here. I do not understand why some of them insist that this is potential duplication without reading the post carefully.
I have faced kind of similar issue, I have installed wampserver upgrades from https://wampserver.aviatechno.net/?lang=en. I needed php 7.3 and 7.4, after installing the php upgrades, those new versions were not being reflected in wampserver traymenu (left click on wamp icon->php-versions). After spending quite some time looking into this, finally could fix this by following steps :
Clearing logs (right click on wampserver icon -> tools -> empty logs)
[my php log file was 300+ MB].
Restarted wampserver and it was good to go.
I found solution from this thread http://forum.wampserver.com/read.php?2,159184
(TL:DR) Use left click -(instead of right click)- menu to change PHP versions.
(Long explanation)
Hi, this happened to me today. I was trying to change the php version from 7.2 to 5.6 to test something. However, Wampserver was not changing the web version of php. After much searching in the web and noticing in certain videos that some people were getting a different menu than me in the wamp server icon, I realised that there is a whole left click menu in wampserver in which you can change the php version and it does change the web version of php.
I understand that this can be a bit confusing for people who are used to using wampserver, but for someone who is using it for the first time, we are not used to having a left click menu in the bottom right icons. I hope this saves some time for others who have a similar issue than mine.
The wampmanager->Tools->Change PHP CLI Version menu only changes the version of PHP that will be used by wampmanager.exe to run all the PHP scripts that provide all the functionality of WAMPServer.
It has no effect on the version of PHP that will will be run from the command line in Windows.
If when you open a command windows and run the PHP interpreter >php.exe you actually get to the PHP interpreter, then you must have added one of the possible paths to one of WAMPServers PHP folders to the Window's PATH. You should never do this with WAMPServer, so if this is what you did, UNDO IT! This is for obvious reasons as you could have multiple versions of PHP available and want to run any one of them at any time as the CLI Version to test some code against multiple versions of PHP.
Instead create yourself a little batch/cmd file that accepts a php version as a parameter like in this answer I posted a while ago
With that you can set the PATH temporarily for the life of a command window ONLY. You can also make it include a PATH to the PEAR and/or COMPOSER folders at the same time, if you use either of these.
To check All VC Runtimes
There is a tool for checking if you have all the possible required VC Runtimes installed. Go to this page, the backup repo for WAMPServer, and download the little utility called Checks VC++ packages installed you will find it down near the bottom of the page. Download and run it, then throw it away, as it changes over time as new VC Runtimes become required.

ElectronJs Quick Start not starting?

I am new begin electronjs on windows, before I am used on linux not lived any problem like this.
My problem is when I am give CMD npm start then no any errors but don't opening any windows only terminal looking like this:
C:\Users\Ramazan\Desktop\electron-quick-start-master>npm start
electron-quick-start#1.0.0 start C:\Users\Ramazan\Desktop\electron-quick-start-master
electron .
And nothing, I find this subject but Why doesn't npm start run electron app? and this ElectronJs: HellowWorld application is not starting But not working vc++ 2015 already installed on my pc and I tried reinstall 5 times node_modules folder.
How can I do for this problem?
Electron doesn't support the current release of nodejs yet (v11), so people trying to use this unfortunately need to downgrade to the LTS version and it should work. I also spent almost a whole day wondering what's wrong, but this is the only thing that worked for me.

How to make WiFi work for toshiba C850...?

I have a toshiba laptop c850, dual core. Toshiba does not provide any driver for Wi-Fi for Ubuntu 12.10. I am currently having problem in using DSL modem, Ethernet and Wi-Fi. Can anyone tell me the solution to this problem?
maybe you will find some information there :
http://www.linlap.com/toshiba_satellite_c850-c855
Wireless
A really up to date kernel is required for wireless support, at least
3.5.0 is recommended. Realtek has the Linux drivers available for download but they must be re-complied after upgrades to kernel.
As you commented, you got the Atheros Communications Inc. AR8162 Fast Ethernet Controller.
This is some guesswork here because there are several versions of the driver and some people state only one is working for them, I stick with the most popular for now.
First download this file from another machine:
https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/28/compat-drivers-2013-03-28-5-u.tar.bz2
If you have Ubuntu or another Linux distro on your second machine you can use wget to download the file:
wget https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/28/compat-drivers-2013-03-28-5-u.tar.bz2
Next, use your preferred method (preferably an USB Drive) to copy it to your target machine (Toshiba C850) and use the following commands in a terminal. Make sure you are in the right directory first and use cd to change to the directory where your downloaded file resides.
tar -xzvf compat-drivers-2013-03-28-5-u.tar.bz2
cd compat-drivers-2013-03-28-5-u
./scripts/driver-select alx
make
sudo make install
sudo modprobe alx
If this doesn't work try a reboot first then you can try one of the other versions, I can't tell which will work for you:
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2012-02-28-p.tar.bz2
https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/04/compat-drivers-2013-03-04-u.tar.bz2
Sources (for further reading): This question on AskUbuntu and this thread in the Ubuntu forums.

Resources