Troubles after upgrading Manjaro


#61

Yeah but it was because I sent you just a pieces of the terminal. The output is very large. Sorry for that


#62

ok then, yes. wipe the pacman pkg cache. /var/cache/pacman/pkg/*


#63

But then I will have to download package again. right!


#64

you can try this, it should remove all cached packages except the most recent 1 of each package
sudo paccache -rk1
sudo pacman -Syyu

if you still run into all those errors, please post the contents of /var/log/pacman.log to pastebin.com and post the link to it here

edit: i changed the paccache to -rk1 , try that


#65
kafka@kafka-pc:~$ sudo paccache -r -k 1
[sudo] password for kafka: 
==> no candidate packages found for pruning


#66

I am afraid the source of your problems lies between your PC and your chair. This is the lightest way to put it.

Can you explain exactly how you did the “re-installation” or “upgrade”?

I maybe wrong, but it seems like you installed Manjaro on the partition of the old installation without reformatting the root partition. You said you created partitions, but it doesn’t look like you did. It seems you have reused some parts of an old installation.

To explain, it is not possible for pacman to try installing a package that was already installed, without first realizing that it is an upgrade. Every file that is installed is recorded in a database, so any file pre-existing and conflicting a package, is either an upgrade, or manually installed (not with package manager), or alien (from a non-formatted partition).

So you have to answer if you used any part of a previous installation to the new one.

What exactly does this mean?

Note: you could complete your upgrade with a proper --overwrite flag, but we should know how you "ve got in this situation. It may very well be the reason of your issues (apart from the user…) :wink:


#67

Hey @petsam I know what cause pacman issues. But I don’t care about that because I can reinstall my system again as I did. What worries to me is that the last version of Manjaro gave troubles playing some videos. It seems that new drivers don’t fix my hardware at all.


#68

And why don’t you share this info?
It seems I"ve lost the meaning of this topic…


#69

Ok Sorry then

Please look at the output of mpv:

 (+) Video --vid=1 (*) (vp9 1920x1080 23.976fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 1920x1080 yuv420p
AV: 00:00:00 / 00:03:13 (0%) A-V:  0.410 Cache: 192s+49MB

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

AV: 00:00:00 / 00:03:13 (0%) A-V:  1.382 Dropped: 4 Cache: 191s+49MB
Exiting... (Quit)


#70

@dglt I have upgraded properly my system but now I get this error when fixing drivers:

mhwd -r pci video-intel
Error: config 'video-intel' is not installed!
mhwd -i pci video-linux
Warning: a version of config 'video-linux' is already installed!
Use -f/--force to force installation...

Now that I have video-linux instead of video-intel the issue is still present
mpv and deepin-movie can’t play some videos.

mpv output

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

deepin-movie

probeHwdecInterop “” “”
“dtkwidget2” can not find qm files
“deepin-movie” can not find qm files
configPath “/home/kafka/.config/deepin/deepin-movie/config.conf”
create config “/home/kafka/.config/deepin/deepin-movie/config.conf”
Cannot load libcuda.so.1

don’t you think I would need to install this library: libcuda.so.1


#71

did you use -f to force installation? i think the reason it said “a version of config ‘video-linux’ is already installed!” is because maybe it was, or at least partially. before anything else can you please post
mhwd -li
inxi -Gxxxz


#72

mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

inxi -Gxxxz

Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx 
  Integrated Graphics 
  vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
  chip ID: 8086:22b1 
  Display: x11 server: X.Org 1.20.3 driver: intel unloaded: modesetting 
  alternate: fbdev,vesa resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 400 (Braswell) 
  v: 4.5 Mesa 18.3.2 compat-v: 3.0 direct render: Yes 

#73

i dont know if this is one of those “deepin” issues or if its a conflict of configurations left over from the last drivers you had installed. after you post that info lets try doing something simple and see what the situation is.

delete deepin-movie and mpv config folder and contents
rm -rf ~/.config/deepin/deepin-movie
rm -rf ~/.config/mpv
reinstall deepin-movie and mpv
sudo pacman -S mpv deepin-movie

run and see if they work. if they do then this is likely no longer a driver issue, let me know

if that does not fix it continue following this:

sudo rm -rf /etc/X11/xorg.conf
sudo rm -rf /etc/X11/xorg.conf.d/90-mhwd.conf

remove anything (sudo rm -rf filename) that is related to display or gpu in the following directories
/etc/X11/xorg.conf.d/
/etc/X11/mhwd.d/

sudo mhwd -r pci video-linux
sudo mhwd -a pci free 0300


#74

Ok. First I did not find some files to delete. for example deepin-movie, 90-mhwd.conf.

I made all you posted but it did not fix the bug.


#75

i meant the contents of ~/.config/deepin/deepin-movie/ so that you could see if this is simply a matter of a few apps having conflicting configurations or if its something more serious.

from what i understand, you are able to boot to a graphical environment but some apps dont work work properly?

if so, you could try and delete the entire contents of ~/.config/deepin/
sudo rm -rf ~/.config/deepin/*
and then re-install the deepin group of packages
sudo pacman -S deepin deepin-extra --overwrite='*'

note: --overwrite can cause breakages so never use unless absolutely necessary, in your case that may be necessary in an attempt to avoid re-installing manjaro, unless someone else has a better idea?


#76

This is a very low capabilities hardware and this is probably the reason for (some) video problems.
You have added one more difficulty factor “Deepin”, which is one of the heaviest DEs (if not THE heaviest).

Check this review for more…

You may want to add some memory and/or an SSD, if it is possible.
And of course, use a lighter DE!


#77

And what happened before when I could play the same videos perfectly @petsam

Also videos run well on Widows


#78

IMO reinstall Manjaro with a clean and fresh start…
https://wiki.manjaro.org/index.php?title=Installation_Guides

Read link over and take understanding of all link say…and dont forget format partitions.


#79

I can’t answer without an exhausting troubleshooting. But…

The upgraded packages are not specially considering backward compatibility to slower hardware. For such cases, custom configuration is needed after a new installation.

The fact is that your hardware is generally weak, so you should try to help your system One way is to use a lightweight DE, at least not the heaviest you may find.
I am just trying to make it easier for your case. That’s all. :man_shrugging:


#80

I’ve got more issues on other desktop. I’ve tried with many desktops and it was manjaro and deepin that brings a more satisfying response.