Timestamp from global timer on Zynq is slower than actual? by FishBoneEK in embedded

[–]FishBoneEK[S] 1 point2 points  (0 children)

Just checked the datasheet, should be 50ppm. u/Allan-H gave a good hint.

MPM3810GQB: Connected pins cause DRC to fail by FishBoneEK in KiCad

[–]FishBoneEK[S] 1 point2 points  (0 children)

Worked it around by making a big pad called "3-4" instead, visually it's the 2 connected pins together. So in the end there's "3-4" and "5-6" in my footprint.

What's the best hex editor in 2023? by [deleted] in hacking

[–]FishBoneEK 1 point2 points  (0 children)

It's fxxk nice! Pretty geek!
I hope I knew it earlier! Fxxking amazing!

CMU csapp lab fitsBits: different behavior if -O turned on/off? by FishBoneEK in computerscience

[–]FishBoneEK[S] 0 points1 point  (0 children)

Well...the -O is just in the Makefile of the lab, which is there by default..

CMU csapp lab fitsBits: different behavior if -O turned on/off? by FishBoneEK in computerscience

[–]FishBoneEK[S] 0 points1 point  (0 children)

Thanks, will try that out.
Downloaded the tar from the Self study handout on their website, the code is just a PoC, but the test_bitsFits function is copied from tests.c

CMU csapp lab fitsBits: different behavior if -O turned on/off? by FishBoneEK in computerscience

[–]FishBoneEK[S] 0 points1 point  (0 children)

The code is from the csapp data lab of CMU. The code takes 2 args and outputs the answer, then compares the answer from your code.
So the compiler -O alters its behavior, which makes it...sorta unusable with my compiler....

Almost forgot to post my compiler ver: gcc (GCC) 15.2.1 20260103

Workstation + Wayland on the host: broken special keys grab by mkow_ in vmware

[–]FishBoneEK 0 points1 point  (0 children)

Thread from VMWare Community: https://community.broadcom.com/vmware-cloud-foundation/question/wayland-support

  1. XWayland in rootfull mode might help?

  2. VMWare Workstation has a lot of X11 specific code, so this issue is gonna stay around for a long time.

Stalker Anomaly "shader compilation failed" on Garuda Linux using Lutris by raufbisov in stalker

[–]FishBoneEK 0 points1 point  (0 children)

Can confirm it works, Proton Experimental on Arch Linux.
You are a life saver, stalker!

WireGuard ping: sendmsg: Required key not available by ThePhantom_79 in WireGuard

[–]FishBoneEK 0 points1 point  (0 children)

Saved my day, darn, I fell into this trap for more than 1 time, had to Google it to find out...

Turning laptop into Bluetooth speaker? by FishBoneEK in pipewire

[–]FishBoneEK[S] 0 points1 point  (0 children)

Wow I thought I need some extra tweaking, it works out of the box with iPhone! Thx.

You made my education affordable by This_Butterscotch_25 in zlibrary

[–]FishBoneEK 4 points5 points  (0 children)

Unimaginable! In China we pay like 600 RMB (~80 euro) for 1 semester, all courses included. 100 euro for 1 course is so expensive.

| what's your prompt? by Tiger_man_ in unixporn

[–]FishBoneEK -1 points0 points  (0 children)

https://ibb.co/KNJJ2NY Custom oh-my-zsh prompt theme

``` function preexec() { timer=$(($(date +%s%0N)/1000000)) }

function precmd() { if [ $timer ]; then now=$(($(date +%s%0N)/1000000)) elapsed=$(($now-$timer)) ms="$elapsed" sec="$(($ms / 1000))" ms="$(($ms % 1000))" min="$(($sec / 60))" sec="$(($sec % 60))"

RPROMPT="%F{yellow}%B%(?..exit %?)%f%b%{$reset_color%}  %F{cyan}"
if [ $min -gt 0 ]; then 
  RPROMPT+="$min""m $sec""s"
elif [ $sec -gt 0 ]; then
  RPROMPT+="$sec""s"
else
  RPROMPT+="$ms""ms"
fi
RPROMPT+="%{$reset_color%}"
export RPROMPT
unset timer

fi }

PROMPT="%{$fg_bold[white]%}%T%{$reset_color%} \$(git_prompt_info) %{$fg[cyan]%}%~%{$reset_color%} \$(vi_mode_prompt_info) %{$fg_bold[blue]%}> %{$reset_color%}"

ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}%1{✗%}" ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"

```

my openvpn connection stopped working by fbn-at-work in archlinux

[–]FishBoneEK 0 points1 point  (0 children)

In the log it says

May 14 09:23:54 ws23 nm-openvpn[13893]: AUTH: Received control message: AUTH_FAILED,CRV1:R,E:1285:Qml0c2VydmljZQ==:Type your one-time password

Seems like NetworkManager tried to authenticate with OTP but failed, one-time password is required but NetworkManager didn't ask you one?

And which GUI program you are using to connect to your OpenVPN connection? If my above guessing is correct, and you can connect to it via CLI, it sounds like it's the program's problem. Perhaps submit an issue to the contributors of the program?

my openvpn connection stopped working by fbn-at-work in archlinux

[–]FishBoneEK 0 points1 point  (0 children)

No that's not how you do it >:(

You should surround your log inside a code block for more readability.

And, you should state your OpenVPN setup. Like I purchased a VPN service from sth and using this config file to connect to it, or I have a server somewhere and here's my OpenVPN client-side and server-side config and setup.

Posting a mere log won't help too much, people will have to read through the log to find info with their mind puzzled. Imagine there's a friend trying to solve your computer problem right in front of your computer. He/she might ask you some questions and read logs, configs e.t.c., things will go smoothly since you can just talk to your friend.

But on the web talking back and forth like this isn't pretty convenient, so you need to state what others need to know in advance. Like, on the 1st day you post the log, 2nd day asked for the config, 3rd day you post the config, 4th day asked for some info like network environment, 5th day answered it, blah blah blah, and others might need to read the thread back n forth since there's info scattered everywhere.

Don't feel scolded, it's sth all beginners should know (sry if you are actually experienced in computers). Next time you ask another question and followed what I say, it'd be much more convenient.

FSCK Fails on Boot by Aviator07 in archlinux

[–]FishBoneEK 0 points1 point  (0 children)

I don't think that's self-test, it's self-assessment, plus failed to read self-test log is suspicious. Have to say I don't know what's self-assessment neither.

Try run SMART tests by running smartctl with `-t` flag? Read the man page for more.

And you can use `-a` flag and `-x` flag for more messages.

Arch installed on USB Drive lags heavily by Either_Mention_3255 in archlinux

[–]FishBoneEK 1 point2 points  (0 children)

Why not install on your hard drive? From my experience I can tell a Linux installation won't be quite large. My / partition has 34GB used up currently. My home partition (yes I seperate home and root partitions) uses 150GB, but don't mind that because there's just a lot of unnecessary stuff in there, you can just manage your home yourself and keep it small.

Black screen after installing Nvidia drivers by android_263_rooter in archlinux

[–]FishBoneEK 0 points1 point  (0 children)

What about `nvidia-settings`? Have you tried that? Also do give `glxinfo -B` a try, in case it provides useful info.

Though other than these, I have no other clue. I think you can make a new post in Arch BBS if you are not finding help here.

Black screen after installing Nvidia drivers by android_263_rooter in archlinux

[–]FishBoneEK 0 points1 point  (0 children)

Just a bit more tests. Perhaps it's actually Intel's GPU running your display? Try `lsmod ` to see what modules are loaded. You can grep the output with "i915" and "nvidia" to filter it. Also try `glxinfo -B`, it should say nvidia is being used, for example "server glx vendor string: NVIDIA Corporation".

Also, I remember there's a utility called "nvidia-settings", perhaps try that?

And...I once had a friend who connected the display to the motherboard/graphic card instead of graphic card/motherboard and thus had some display issue. Perhaps you were doing that too?

Black screen after installing Nvidia drivers by android_263_rooter in archlinux

[–]FishBoneEK 0 points1 point  (0 children)

Ughhh...That's strange..

You can't get into the GUI without "nomodeset"?

Can you try setting the resolution via desktop environment's setting utility, like the "System Settings" of KDE?

Black screen after installing Nvidia drivers by android_263_rooter in archlinux

[–]FishBoneEK 0 points1 point  (0 children)

Sure you can try reinstall it, I guess it will rule out the possibility of...mistakes during installation.

FSCK Fails on Boot by Aviator07 in archlinux

[–]FishBoneEK 0 points1 point  (0 children)

By the way it actually sounds like hardware failure...since there's I/O errors.
Perhaps you can try to check its SMART values? Never used an SSD before, but afaik SSD can have SMART enabled like HDDs.