mirror of
https://github.com/naoufalzerai/zerai.xyz.git
synced 2025-11-09 07:05:53 +00:00
first post
This commit is contained in:
parent
80671b8ad3
commit
28848473a2
@ -1,6 +1,17 @@
|
|||||||
---
|
+++
|
||||||
title: "{{ replace .Name "-" " " | title }}"
|
title = "{{ replace .Name `-` ` ` | title }}"
|
||||||
date: {{ .Date }}
|
date = {{ .Date }}
|
||||||
draft: true
|
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
|
||||||
|
+++
|
||||||
|
|
||||||
|
|||||||
@ -60,7 +60,7 @@ darkTheme = "dracula"
|
|||||||
|
|
||||||
[params.profile]
|
[params.profile]
|
||||||
enable = true
|
enable = true
|
||||||
avatar = "zerai.jpg"
|
avatar = "https://avatars.githubusercontent.com/u/2678365"
|
||||||
name = ""
|
name = ""
|
||||||
bio = "" # support markdown syntax
|
bio = "" # support markdown syntax
|
||||||
# twitter = "GoHugoIO" # https://twitter.com/XXX
|
# twitter = "GoHugoIO" # https://twitter.com/XXX
|
||||||
|
|||||||
@ -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.
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
headless: true
|
|
||||||
---
|
|
||||||
@ -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.
|
|
||||||
78
content/post/AMD-GPU-Screen-Tearing.md
Normal file
78
content/post/AMD-GPU-Screen-Tearing.md
Normal 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>
|
||||||
@ -6,6 +6,7 @@ description = "Guide to emoji usage in Hugo"
|
|||||||
tags = [
|
tags = [
|
||||||
"emoji",
|
"emoji",
|
||||||
]
|
]
|
||||||
|
draft = true
|
||||||
+++
|
+++
|
||||||
|
|
||||||
Emoji can be enabled in a Hugo project in a number of ways.
|
Emoji can be enabled in a Hugo project in a number of ways.
|
||||||
|
|||||||
@ -15,6 +15,7 @@ categories = [
|
|||||||
]
|
]
|
||||||
series = ["Themes Guide"]
|
series = ["Themes Guide"]
|
||||||
aliases = ["migrate-from-jekyl"]
|
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.
|
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.
|
||||||
|
|||||||
@ -10,6 +10,7 @@ tags : [
|
|||||||
"html",
|
"html",
|
||||||
"themes",
|
"themes",
|
||||||
]
|
]
|
||||||
|
draft : true
|
||||||
---
|
---
|
||||||
|
|
||||||
Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
|
Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
|
||||||
|
|||||||
@ -7,6 +7,7 @@ tags = [
|
|||||||
"markdown",
|
"markdown",
|
||||||
"text",
|
"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.
|
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.
|
||||||
|
|||||||
@ -7,6 +7,7 @@ tags = [
|
|||||||
"shortcodes",
|
"shortcodes",
|
||||||
"privacy",
|
"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.
|
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.
|
||||||
|
|||||||
@ -515,7 +515,7 @@ b {
|
|||||||
display: block;
|
display: block;
|
||||||
max-width: 130px;
|
max-width: 130px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
border-radius: 3px;
|
border-radius: 65px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article.author .name {
|
.article.author .name {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user