• Breaking News

    [Android][timeline][#f39c12]

    Saturday, March 26, 2022

    Linux [[^2?? HELP , Terminal going berserk. no stickey keys

    Linux [[^2?? HELP , Terminal going berserk. no stickey keys


    [[^2?? HELP , Terminal going berserk. no stickey keys

    Posted: 24 Mar 2022 05:23 AM PDT

    tried dual booting windows 10 and linux manjaro and it appears something terrible has happened

    Posted: 24 Mar 2022 02:19 PM PDT

    Enable hardware acceleration chromium

    Posted: 24 Mar 2022 02:35 PM PDT

    I've been beating my head against a wall for hours at this point.

    I'm trying to enable hardware accelerated video playback in chromium on arch linux on my laptop.

    It has an intel celeron N4020 with HD 600 graphics.

    I have installed the intel drivers and the intel-media-driver.

    I launch chromium using: chromium --ignore-gpu-blocklist --use-gl=desktop --enable-features=VaapiVideoDecoder

    Then the terminal tells me: ERROR: gpu_init.cc(440) Passthrough is not supported, GL is desktop, ANGLE is

    chrome://gpu says:

    Canvas: Hardware Accelerated Canvas out-of-process rasterization: Disabled Direct Rendering Display Compositor: Disabled Compositing: Hardware Accelerated Multiple Raster Threads: Disabled OpenGL: Enabled Rasterization: Software Only. Hardware Acceleration disabled Raw Draw: Disabled Skia Renderer: Enabled Video Decode: Hardware Accelerated Video Encode: Software Only. Hardware Acceleration Disabled Vulkan: Disabled WebGL: Hardware Accelerated WebGL2: Hardware Accelerated 

    But, I can confirm that hardware acceleration is NOT working

    because when I run intel_gpu_top the video bar stays at 0% And CPU usage is way higher than it is on a windows 10 install.

    I have followed the arch wiki https://wiki.archlinux.org/title/Hardware_video_acceleration about enabling hardware acceleration and everything seems to me as if it is in order. But it's still not working. And when I did some searching about the error of Passthrough not supported GL is desktop, ANGLE is all I get is some people trying to do headless electron stuff? I couldn't find anything useful on it at all. So I turn to you reddit. Any help you can provide is appreciated.

    submitted by /u/Not_Brilliant_3968
    [link] [comments]

    nvidia vs amd [2022] + pros/cons (laptop)

    Posted: 24 Mar 2022 01:37 AM PDT

    so, before we get to the nvidia vs amd part i would like to know if besides gaming performance there is any other effect of system being all amd. also what are your toughts on asus g14 for example? it has equivalent to optimus, but idk how that works with linux.

    anyway, is the gap between amd and nvidia closing? before arguments for amd were that its open source, it supports wayland, its not as shady as nvidia but it was lacking in performance. but nowadays it seems like those arguments are irelevant. nvidia supports wayland, i think they were supposed to release something open source and amd is catching up to nvidia lately.

    so are there any arguments to get nvidia or amd over one another? is it just strict foss/less bloat vs bit more fps/often driver updates/day one support?

    i might not have the most accurate info so if you notice something wrong plz lemme know. ty

    submitted by /u/Zajlordg
    [link] [comments]

    Hey guys I need help, I'm stuck on the laptop company logo while booting my Kubuntu.

    Posted: 24 Mar 2022 09:03 AM PDT

    Question about installing Ubuntu 20.04.4 LTS with three hard drives

    Posted: 24 Mar 2022 10:29 AM PDT

    Hey guys, huge noob here, I have a quick question: I want to install Ubuntu 20.04.4 LTS on my PC and now I'm somewhat stuck at the create partition part.
    I have one 240GB SSD, one 500GB HDD and one 4TB HDD in my PC and I was wondering what would be the best way to partition them?
    What I want to do is to make sure that my PC boots up fast and that all the programs and games will be installed on the 4TB hard drive. The 500GB hard drive will be used for random, unimportant stuff and the 240 GB SSD will be used for the "core" of the OS.

    I looked at a few installation videos on YouTube and read a few articles and some people say that the mount point for the SSD should be "/" and "usr" should be on the other, bigger drive, but then I read an article saying that "usr" shouldn't be separated and that there should be also some space left for "swap" (whatever that is), so I'm extremely confused what would be the best way to set all of this up.

    tl;dr: Have one SSD (240GB) and two HDD (1x 500GB & 1x $TB), how do I properly set them up for installation?

    submitted by /u/That_Dom
    [link] [comments]

    Need a tool for automatic screenshots

    Posted: 24 Mar 2022 01:01 PM PDT

    I'm looking for a tool that saves snapshots of a chosen window at fixed intervals.

    All i've found are tools take that either taker a single screenshot and/or create a timelapse video automatically. But i want to create and edit the video myself so i need all the frames separate.

    submitted by /u/cannimal
    [link] [comments]

    Does GUI affect battery life in anyways?

    Posted: 24 Mar 2022 02:12 AM PDT

    I am not sure if this is a duplicate but I failed to find a similar post. Sorry if it's a duplicate

    Thank you in advance!

    submitted by /u/manho1e
    [link] [comments]

    Deleted Partition? No Problem

    Posted: 24 Mar 2022 09:45 AM PDT

    IF YOU ACCIDENTALLY DELETED YOUR PARTITION, DO NOT OVERWRITE IT. That way, you have a high probability of recovering all your data unharmed. This is different from deleting a file.

    I had this recent oopsie at work, where while trying to resize a HDD partition with home mounted, I deleted the partition and foolishly restarted without backing up the data.

    OS: Ubuntu 18.04.6 Bionic

    Partition config: sda1 = root; sda2 = /home; sda3 = swap; ....Free Space ...Requirement: increase size of sda2Solution I thought of: 1-Delete swap; 2-Extend sda2; 3-Make new swap; 4-Turn on swap

    Steps

    1. Using Gnome Disks, stop and delete swap
      1. Right here, came the problem. Since I didn't boot using Live CD as recommended, the moment I removed sda3, something weird happened to sda2 and was no longer being detected properly. Hence, I could not go ahead with the next step of extending sda2.
    2. Delete sda2 because my brain wonked out.
    3. Restart without backing up data... and Facepalm at what you just did

    After restart, you will find yourself in Emergency Mode because Ubuntu is unable to find sda2 required for /home

    1. Press Enter to get into Maintenance Mode
    2. Run parted
    3. print
    4. Look at the partitions currently available. Hopefully you see sda1 and its start and finish points
    5. Try to recall the size of sda2 that you had set before. Hopefully you do
    6. rescue
    7. It will ask for a Start location:
      1. Enter the number of MB/GB that you had the starting point of that partition on. Most probably it is the same as the end point of sda1
    8. It will ask for a Finish location:
      1. Enter the value of Start Location + Size of sda2.
    9. It should show you that it detected a partition in that area. If you want it back, confirm it by typing "Yes"/"Y"/"y" then Enter.
    10. print , just to make sure you really got back your partition.
    11. quit
    12. reboot
    13. Look at Ubuntu boot normally and be happy.
    submitted by /u/Ulterno
    [link] [comments]

    Change over to (Arch) Linux?

    Posted: 24 Mar 2022 02:29 PM PDT

    TL;DR Down below

    I'm very interested in Linux, due to its "simplicity" and uniformity. The thing that is holding me back from switching over to windows is that most of the apps I use with my friends, they are windows ONLY. I've thought about running Linux on a virtual machine on my Windows, but I would want Linux to be my go-to "desktop enviroment"(Linux pretty and customizable).

    I'm also a programmer, that way Linux is very beneficial for me. I'm planning to buy a new computer soon, and when I buy this new computer I want to run Linux, but that's only if I get a good answer here.

    I know that it's easier to pass through and allocate resources from Linux to Windows in terms of using virtual machines, than Windows to Linux. But when running many of my apps in windows vm, how much performance loss will I get from passing through almost everything to Windows Virtual Machine if it's even possible?

    The system I'm planning to buy is this:
    -New Zen 4 CPU
    -32gb DDR5 5200mhz (New motherboards might only use DDR5, when they're for Zen 4 at least. But I don't know yet)
    -1070 GTX (GPU Shortage, so sticking to my current 1070)
    -Motherboard don't exist yet.

    TL;DR
    -Is it worth it running windows on a virtual machine on Linux? (How many percentage performance loss will I have)
    -Any tips to doing this?
    -What distro might be good? (Thinking Archlinux); I'm basic on linux, knowing enough to get around etc.

    submitted by /u/byggmesterPRO
    [link] [comments]

    Is polling expensive? Simple timer-based application, programming

    Posted: 24 Mar 2022 09:11 AM PDT

    I've been looking for a simple timer-based application to use, e.g. wait X time, do something. There are tons of applications that do that, I'm not looking for a recommendation. However, on Linux I'm writing modules for my status bar and nearly everything requires polling.

    I looked at examples online and come across people using shell script with a sleep 1 to poll every second, where sleep is an external process and not even a shell builtin. In this continuous loop, they would run the date command to display the time, so it would be run on every second if they wanted a timer "accurate to the second".

    In statusbar applications like polybar, waybar, etc., modules involve polling would have defaults of polling e.g. every 5 seconds for time, every 30 seconds for disk space, etc.

    I was wondering how expensive polling is and whether it's a reasonable consideration for e.g. polling non-stop when the system is running such as in these applications. Polling itself is probably negligible and what it does on each poll is of importance, right? For example, I came across this simple C-based open-source CLI timer utility that apparently polls every 500ms and prints the time in ms. How resource-intensive is this relatively speaking compared to the same application that polls twice as long (every 1s)? And compared to the date...; sleep 1 shell script, all of which print time elapsed? Are there any decent reasons to prefer e.g. such a C-based application over say a Python application implemented exactly the same way or is it absolutely arbitrary, assuming the user doesn't intend to work with the source code of either application?

    I say relatively speaking because obviously even the timer utility polling at 500ms is not comparable to e.g. a web browser running in the background in terms of resource-consumption and battery usage. I would like like to get a sense of differences in memory footprint, resource usage, etc. that could affect battery life in the long-run (say these timer apps run for many hours or potentially several days, which is not unreasonable). The fact that there are different polling intervals for different modules when the command it ultimately runs (e.g. the df command for the disk size) and exits pretty much immediately suggests that polling as fast as possible without immediate perceivable impact on performance is probably not a good idea--but how to know this?

    submitted by /u/gregorie12
    [link] [comments]

    Before it was using Wayland. After I installed NVIDIA drivers through software store, it changed to X11. How to get wayland back? I heard it's better.

    Posted: 24 Mar 2022 09:05 AM PDT

    POP OS driver help

    Posted: 24 Mar 2022 01:43 PM PDT

    new user here, and I'm going to be switching my graphics card from a GT 730 (yes, I know it's old) to an AMD RX 6500.

    are there any drivers I need to download before I pop the new graphics card into my system?

    submitted by /u/5d100
    [link] [comments]

    How do I go from being able to survive Linux to an Advanced user?

    Posted: 24 Mar 2022 05:18 PM PDT

    I switched to Linux about two years ago and since then, i have picked up some knowledge that is generally enough to do simple everyday tasks. However, I would really like to become an advanced user. I switched from Ubuntu to Arch because I wanted a more challenging distro but it's still not enough. What would be the correct path to becoming an advanced user?

    submitted by /u/HristosM
    [link] [comments]

    how do I install gnome on Ubuntu on the android app userland

    Posted: 24 Mar 2022 01:09 PM PDT

    I tried the sudo apt-get install ubuntu-gnome-desktop command and it installed but I'm still at the terminal on reboot

    submitted by /u/MariahLawrence
    [link] [comments]

    No video sources on Gentoo

    Posted: 24 Mar 2022 10:38 AM PDT

    Hi guys,

    I've freshly installed gentoo.

    After the reboot, the screen goes blank cause it can't find a video sources...

    I set AMDGPU in the kernel as a module, enabled framebuffer support and installed Xorg, but the problem still there...

    I was wondering if the problems is the framebuffer stuff, but i have no clue.

    Thanks for the help

    submitted by /u/Cikuozzo
    [link] [comments]

    Change downloads folder for firefox/firejail

    Posted: 24 Mar 2022 04:09 PM PDT

    I'm trying to whitelist a directory "/mnt/storage/Downloads" so that firefox downloads files to that directory rather than the temporary directory it uses. At the moment firefox is just giving me a permission denied error.

    I am unsure of where I am supposed to do this. I tried to add "whitelist /mnt/storage/Downloads" to /etc/firejail/firefox.profile but that didn't work.

    The directory I'm trying to give it access to is on a separate hard drive as well.

    EDIT: There's definitely something in firejail preventing /mnt to be used as the downloads directory. I have other drives mounted to my system so my assumption is that firejail is just preventing access to these drives by blocking /mnt.

    What I did was create a new directory called /firejail_mnt and mounted my storage hard drive to it. Now firefox is able to use my storage drive and I don't have to fiddle around with profiles.

    submitted by /u/ChipsMCcoyy
    [link] [comments]

    I have installed LAMPP for local testing. How can I block all external connection to my database ?

    Posted: 24 Mar 2022 11:59 AM PDT

    I am a newbie starting a simple web development. I am afraid that the default will open my server to the internet. May I ask is there any GUI version to set the server ON and OFF ?

    I have no idea to set the config file inside etc. Even though I have did my google search for the solution I am just copied and paste all code to execute. Because I really have no confidence what was I actually set. Is there a way to check whether I have carelessly open some port in the internet ? or Is there ways to monitor the safety ?

    submitted by /u/gp2aero
    [link] [comments]

    ubuntu 20.04 crashes when clicking play in warframe launcher

    Posted: 24 Mar 2022 03:24 PM PDT

    whenever I click play in the Warframe launcher, ubuntu crashes. The log says:

    GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)CRITICAL: gsm_client_peek_id: assertion 'GSM_IS_CLIENT (client)' failedgkr-pam: unable to locate daemon control file

    and then 31/32 times the following errors in random orders:
    Failed to start GNOME Wacom handling.
    Failed to start GNOME Power management handling.
    Failed to start GNOME Media keys handling.
    Failed to start GNOME Keyboard handling.
    Failed to start GNOME Color management handling.

    submitted by /u/Boaz08
    [link] [comments]

    Fixing mouse transfer between different DPI displays

    Posted: 24 Mar 2022 03:15 PM PDT

    I just switched over to Manjaro KDE from Windows 10 and I'm running into some issues with configuring my displays. I have a 32" 4K monitor as my primary display and a 27" 1440p monitor to the right of it, and since the DPI is different, the mouse isn't transferring between the screens properly. I was able to fix this on Windows using an awesome program called LittleBigMouse -- it's on GitHub but there's no compiled version available for linux, just the source code. Am I able to compile it myself from source, or is there maybe some way I can get it to work with Wine perhaps? Or maybe there's another solution that's more popular on linux? I would appreciate any help I can get.

    submitted by /u/cpekin42
    [link] [comments]

    3:2 Screen Ratio Aspect Problem

    Posted: 24 Mar 2022 02:54 PM PDT

    Was trying to switch to Linux from Windows but the only thing I deal with at the moment is the odd scaling issues... my laptop Runs a 2160x1440 resolution at 3:2 aspect ratio, I set scaling to 150% which is what is was in windows and it looks great, my only issue is that certain apps don't seem to adhere to the scaling setting? Steam, Runelite... etc I've also found the login screen doesn't scale either if I reboot scaling goes to 100% which is really small and looks odd until i login and then scaling kicks in...

    submitted by /u/emrestive
    [link] [comments]

    Windows file transfer to NFS file share

    Posted: 24 Mar 2022 10:59 AM PDT

    Using Windows File Manager, I'm getting about 12-15Mbs on a large file transfer across the network to a Linux NFS file share -- I can literally download the file across the Internet quicker than this. This is on a 10Gbs LAN connection.

    I ended up simply SCP'ing the files from the Windows box to the Linux server and then got expected speeds. I don't believe this is a problem when booting to Linux and doing transfers from/to the same machine.

    The /etc/exports options are (rw,no_root_squash, subtree_check).

    This is probably more of a Windows 10 problem than a Linux problem if it's working from Linux to Linux as expected but any ideas on how to fix this?

    Windows 10 NFS mount options are:

    • Read Buffer size: 1048576
    • Write Buffer size: 1048576
    • Initial timeout: 10
    • Retries: 1
    • Mount type: Soft
    • Mounted NFS version: 3
    • Enable Locking: Y
    • Enable Caching: Y
    • Enable version3 remote write caching: Y
    submitted by /u/mlcarson
    [link] [comments]

    Tooks 2m47s from the time I enter password in GDM to see dekstop background

    Posted: 24 Mar 2022 02:19 PM PDT

    Hi, I noticed recently that arch tooks exactly 2 minutes and 47 secondes (tested 3 times) from the time I enter password in GDM to see dekstop background.

    When I hibernate my PC this issues doesn't happen at all. Only when shutdown/restart.

    EDIT: It happens only with xorg (wayland works fine)

    This is systemd-analyze output. I know it doesn't calculate the time from entering password in GDM to see dekstop background, but just in case you need it.

    Startup finished in 8.783s (firmware) + 998ms (loader) + 13.753s (kernel) + 56.007s (userspace) = 1min 19.543s graphical.target reached after 56.007s in userspace

    This is output of journalct -xb -p 0..3

    Mar 24 21:14:06 kernel: snd_hda_intel 0000:08:00.1: no codecs found! Mar 24 21:14:06 kernel: leds dell::kbd_backlight: Setting an LED's brightness failed (-5) Mar 24 21:14:06 kernel: Bluetooth: hci0: unexpected event for opcode 0xfc2f Mar 24 21:13:44 systemd-modules-load[325]: Failed to find module 'vboxdrv\nvboxnetflt\nvboxnetadp\nvboxpci' Mar 24 21:14:18 kernel: usb 2-3: Device is not authorized for usage Mar 24 21:14:31 kernel: snd_hda_intel 0000:08:00.1: can't change power state from D3cold to D0 (config space inaccessible) Mar 24 21:14:31 kernel: snd_hda_intel 0000:08:00.1: can't change power state from D3cold to D0 (config space inaccessible) Mar 24 21:14:32 kernel: snd_hda_intel 0000:08:00.1: can't change power state from D3cold to D0 (config space inaccessible) Mar 24 21:14:32 libvirtd[917]: internal error: PCI header type '127' for device '0000:08:00.1' Mar 24 21:14:32 kernel: snd_hda_intel 0000:08:00.1: can't change power state from D3cold to D0 (config space inaccessible) Mar 24 21:14:33 kernel: snd_hda_intel 0000:08:00.1: can't change power state from D3cold to D0 (config space inaccessible) Mar 24 21:14:40 gnome-session-binary[3824]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed Mar 24 21:14:40 gnome-session-binary[3824]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed Mar 24 21:15:28 bluetoothd[592]: Failed to set mode: Blocked through rfkill (0x12) Mar 24 21:16:37 gdm-password][4541]: gkr-pam: unable to locate daemon control file Mar 24 21:19:23 gdm-launch-environment][2833]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

    systemd-analyze critical-chain
    graphical.target @56.007s └─gdm.service @55.656s +350ms └─optimus-manager.service @29.055s +26.598s └─basic.target @29.043s └─sockets.target @29.043s └─virtlogd.socket @29.043s └─sysinit.target @28.918s └─systemd-timesyncd.service @28.654s +263ms └─systemd-tmpfiles-setup.service @27.956s +694ms └─systemd-journal-flush.service @4.617s +23.337s └─systemd-remount-fs.service @4.295s +219ms └─systemd-journald.socket @4.092s └─system.slice @3.721s └─-.slice @3.721s

    I noticed weired thing:

    In xorg notice the long time between these 2 entries: Mar 24 21:16:37 gdm-password][4541]: gkr-pam: unable to locate daemon control file Mar 24 21:19:23 gdm-launch-environment][2833]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

    In wayland notice the small time between these 2 entries: Mar 24 23:08:39 Unknown gdm-password][4526]: gkr-pam: unable to locate daemon control file Mar 24 23:08:51 Unknown gdm-launch-environment][2042]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

    I use Arch, Gnome 41.4.

    If you need anything else tell me !

    submitted by /u/Spare_Prize1148
    [link] [comments]

    xorg does crazy rainbow colours when i open and gui application

    Posted: 24 Mar 2022 01:55 PM PDT

    I am typing this on my phone because as I said in the title, my screen gets corrupted every time I open a GUI application. I can't send much useful information due to me being on my phone but I can send the xorg logs https://pastebin.com/xptMc0ND Some of my useful system information is:

    I am using gentoo kernel 5.15 I have an amd GPU and a nvidia GPU both plugged in but I use the amd one I am using openrc

    This issue happened right after I installed directx9 and some shader compilers with winetricks so it could be that but I am not familier with winetricks so I don't know how to troubleshoot that. Before this happened I had not updated my system in awhile but after it started happening I decided to update my system which didn't fix anything. I think this is most likely something to do with graphics drivers or winetricks. Please let me know if you can help me out or if you need any additional information to solve the problem, thanks in advance.

    submitted by /u/Bramble1138
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel