first post

This commit is contained in:
naoufal zerai 2022-08-21 23:38:08 -04:00
parent 80671b8ad3
commit 28848473a2
12 changed files with 101 additions and 24 deletions

View File

@ -1,6 +1,17 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
+++
title = "{{ replace .Name `-` ` ` | title }}"
date = {{ .Date }}
lastmod = {{ .Date }}
tags = []
categories = []
imgs = []
cover = "" # image show on top
readingTime = true # show reading time after article date
toc = true
comments = false
justify = false # text-align: justify;
single = false # display as a single page, hide navigation on bottom, like as about page.
license = "" # CC License
draft = true
+++

View File

@ -60,7 +60,7 @@ darkTheme = "dracula"
[params.profile]
enable = true
avatar = "zerai.jpg"
avatar = "https://avatars.githubusercontent.com/u/2678365"
name = ""
bio = "" # support markdown syntax
# twitter = "GoHugoIO" # https://twitter.com/XXX

View File

@ -1,7 +0,0 @@
---
title: 'Our Difference'
button: 'About us'
weight: 2
---
Lorem ipsum dolor sit amet, et essent mediocritatem quo, choro volumus oporteat an mei. Ipsum dolor sit amet, et essent mediocritatem quo.

View File

@ -1,3 +0,0 @@
---
headless: true
---

View File

@ -1,7 +0,0 @@
---
title: 'We Help Business Grow'
button: 'Our Work'
weight: 1
---
Lorem ipsum dolor sit amet, et essent mediocritatem quo, choro volumus oporteat an mei. Numquam dolores mel eu, mea docendi omittantur et, mea ea duis erat. Elit melius cu ius. Per ex novum tantas putant, ei his nullam aliquam apeirian. Aeterno quaestio constituto sea an, no eum intellegat assueverit.

View File

@ -0,0 +1,78 @@
+++
title = "AMD GPU Screen Tearing"
date = 2022-08-21T22:09:40-04:00
lastmod = 2022-08-21T22:09:40-04:00
tags = ["AMD","GPU","Fix"]
categories = ["Linux"]
imgs = []
cover = "" # image show on top
readingTime = true # show reading time after article date
toc = true
comments = false
justify = false # text-align: justify;
single = false # display as a single page, hide navigation on bottom, like as about page.
license = "" # CC License
+++
According to Wikipedia :
> Screen tearing is a visual artifact in video display where a display device shows information from multiple frames in a single screen draw.
If you are on Debian or Ubuntu, and you have an AMD GPU this might fix the problem 😊
<!--more-->
#### 1. Check if the is any config
ls -l /etc/X11/xorg.*
{{< highlight bash-session >}}
$ ls -l /etc/X11/xorg.*
total 4
-rw-r--r-- 1 root root 108 Jul 30 11:33 20-amdgpu.conf
{{< /highlight >}}
##### Backup if found
mkdir ~/xorg-backup
sudo mv -v /etc/X11/xorg.conf ~/xorg-backup/
sudo mv -v /etc/X11/xorg.conf.d ~/xorg-backup/
#### 2. Check if the is any config
lspci -nnk | grep -i -EA3 "3d|display|vga"
{{< highlight bash-session >}}
$ lspci -nnk | grep -i -EA3 "3d|display|vga"
09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c9)
Subsystem: Gigabyte Technology Co., Ltd Cezanne [1458:d000]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
{{< /highlight >}}
##### If you have amdgpu then
###### create the config file
sudo mkdir /etc/X11/xorg.conf.d
sudo vi /etc/X11/xorg.conf.d/20-amdgpu.conf
###### Add the following to the config file 20-amdgpu.conf</kbd>
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "TearFree" "true"
EndSection
##### If you have Radeon then
###### create the config file
sudo vi /etc/X11/xorg.conf
###### And add the following
Section "Device"
Identifier "Radeon"
Driver "radeon"
Option "TearFree" "on"
EndSection
#### 3. Reboot <span class="emojify">💣</span>
You can test now with <kbd> [Screen tearing test](https://www.testufo.com/stutter) </kdb>

View File

@ -6,6 +6,7 @@ description = "Guide to emoji usage in Hugo"
tags = [
"emoji",
]
draft = true
+++
Emoji can be enabled in a Hugo project in a number of ways.

View File

@ -15,6 +15,7 @@ categories = [
]
series = ["Themes Guide"]
aliases = ["migrate-from-jekyl"]
draft = true
+++
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.

View File

@ -10,6 +10,7 @@ tags : [
"html",
"themes",
]
draft : true
---
Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.

View File

@ -7,6 +7,7 @@ tags = [
"markdown",
"text",
]
draft = true
+++
Lorem est tota propiore conpellat pectoribus de pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.

View File

@ -7,6 +7,7 @@ tags = [
"shortcodes",
"privacy",
]
draft = true
+++
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.

View File

@ -515,7 +515,7 @@ b {
display: block;
max-width: 130px;
margin: auto;
border-radius: 3px;
border-radius: 65px;
}
.article.author .name {