good OSD for linux? [SOLVED]

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Alpha_sh
Level 1
Level 1
Posts: 19
Joined: Tue Jul 03, 2018 4:25 pm

good OSD for linux? [SOLVED]

Post by Alpha_sh » Sat Jul 28, 2018 12:34 pm

i used to love the afterburner OSD for linux. ive looked into alternatives, but GLXOSD is discontinued and i cannot find any other good OSDs for linux. i tried even making my own with OSD_cat, but the refreshing every certain interval caused stutters when being used in games. anyone know a alternative to GLXOSD or OSD_cat i could use?
Last edited by Alpha_sh on Wed Aug 01, 2018 4:50 pm, edited 1 time in total.
OS: Linux Mint 19 Cinnamon 64-bit
CPU: AMD Ryzen 3 1200
GPU: Overclocked Geforce GTX 1050 Ti ASUS STRIX OC edition
Motherboard: MSI B350 Tomahawk
RAM: HyperX fury DDR4-2400 4GBx2
feel free to message me on discord! @[ALPHA.sh]#7586

User avatar
phd21
Level 17
Level 17
Posts: 7237
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: good OSD for linux?

Post by phd21 » Sat Jul 28, 2018 1:52 pm

Hi Alpha_sh,

I am not sure how the afterburner OSD for Linux worked. But there are various OSD options available in the Software Manager or Synaptic Package Manager SPM. You might even be able to use "Conky" for this.

I use a simple OSD to display text for tutorial and training videos

A Quick search found these articles that may or may not be pertinent to your post. Can't you continue to use "GLXOSD" even though it has been discontinued?

nickguletskii/GLXOSD: GLXOSD is an extensible on-screen display (OSD)/overlay for OpenGL applications running on Linux with X11 which aims to provide similar functionality to MSI Afterburner/RivaTuner OSD. It can show FPS, frame timings, temperatures and more in OpenGL games and applications. It can also be used to benchmark games, much like voglperf.
https://github.com/nickguletskii/GLXOSD

Performance OSD and Benchmarking tool for Linux similar to FRAPS and MSI Afterburner : linux_gaming
https://www.reddit.com/r/linux_gaming/c ... for_linux/
"Steam" game system has a built-in function for this

How to Change Screen Notification Position in Ubuntu 18.04 | UbuntuHandbook
http://ubuntuhandbook.org/index.php/201 ... ntu-18-04/

How To Move GNOME Shell Notifications - OMG! Ubuntu!
https://www.omgubuntu.co.uk/2017/03/cho ... ons-appear


This is what I do: Must first install osdsh and osd_cat, etc...

Example: create an "osd.txt" file

Code: Select all

How to setup a VPN connection in Linux Mint 18.x Cinnamon using the Network Manager
- and how to change your local ISP's default DNS server IP addresses
Then I open a console terminal window and issue the "osd_cat" command, and minimize it.

Code: Select all

osd_cat -A center -p top -f "12x24" -c white -d 21 -s 1 -S yellow  osd.txt

Another option using "osdsh"

Code: Select all

2 step process

osdsh -c orange -p 0 -a 1 -d 600

osdctl -s "How to update your computer's Bios using a USB stick with FreeDOS"



OSDSH(1)                                        General Commands Manual                                        OSDSH(1)

NAME
       osdsh - Overlays your screen with various system informations

SYNOPSIS
       osdsh [options]

DESCRIPTION
       osdsh  is a a little program that overlays system information using the XOSD library. OSDsh was originally based
       on osdd but got some features added, like:
         * It is able to display a clock.
         * Shows the volume levels of the soundcard whenever they change.
         * Tells you if you are on- or off-line, and the time you were connected.
         * Shows the battery status and
         * shows any message you want it to.
       osdsh forks to the background when started and should be started in the user's session  scripts  (like  ~/.xses‐
       sion)

OPTIONS
       -h     Show summary of options.

       -m mixer
              Set mixer device.  (Default: /dev/mixer)

       -f font
              Set font (Default: -*-lucidatypewriter-bold-*-*-*-*-240-*-*-*-*-*-*)

       -c color
              Set color (Default: green)

       -d int Set OSD delay (Default: 5)

       -o int Set shadow offset (Default: 1)

       -p <0|1>
              Position of the osd: 0 for top, 1 for bottom.  (Default: 1 (bottom))

       -a <0|1|2>
              align of the osd: left, center or right


If you search the Internet, there are various examples and tutorials on using the various Linux OSD options.




Hope this helps ...
.
osd1.jpg
osd_cat command with an osd.txt file.
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
jimallyn
Level 18
Level 18
Posts: 8469
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: good OSD for linux?

Post by jimallyn » Sat Jul 28, 2018 10:51 pm

I had never heard of Afterburner before, but I googled it, and Conky will display that sort of information.
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

Citizen229
Level 5
Level 5
Posts: 819
Joined: Fri Nov 04, 2016 12:09 pm
Location: NW Ohio

Re: good OSD for linux?

Post by Citizen229 » Sun Jul 29, 2018 10:31 am

I was going to say conky, i just dont know if conky overlays ontop of games or fullscreen software.
Folding@home Project
Team Linux Mint-76140
PM for info on how you can help. Or visit viewtopic.php?f=58&t=243792
Seeking GPU's, i5/7/9's , Ryzens.

User avatar
Alpha_sh
Level 1
Level 1
Posts: 19
Joined: Tue Jul 03, 2018 4:25 pm

Re: good OSD for linux?

Post by Alpha_sh » Wed Aug 01, 2018 4:48 pm

after getting suggestions to use conky, i have it a try.
i figured out how to make it display on top of fullscreen games and show all the gpu information i needed
everything works fine, with no stutter at all
i modified the original conky configuration file to include GPU information and omit less important info, along with making it more compact and transparent
here is my .conkyrc for anyone interested in trying this themselves (only works on NVIDIA GPUs, and make sure you have conky-all)

Code: Select all

-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
]]
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
]]

conky.config = {
    alignment = 'top_right',
    background = false,
    border_width = 1,
    cpu_avg_samples = 2,
	default_color = 'green',
    default_outline_color = 'black',
    default_shade_color = 'black',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = true,
    draw_shades = true,
    use_xft = true,
    font = 'DejaVu Sans Mono:size=8',
    gap_x = 5,
    gap_y = 30,
    minimum_height = 5,
	minimum_width = 5,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_class = 'Conky',
    own_window_type = 'dock',
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
	double_buffer = true,
    show_graph_range = false
}

conky.text = [[
${color white} $alignc Conky Gaming OSD
${color white}$hr
${color white}CPU:
${color white}Temperature: $color ${hwmon 0 temp 1}C
${color white}Frequency (MHz):$color $freq
${color white}Usage:$color $cpu%
${color white}RAM Usage:$color $mem/$memmax - $memperc%
${color white}$hr
${color white}GPU:
${color white}Temperature:$color ${nvidia temp}C
${color white}Frequency (MHz):$color ${nvidia gpufreq}
${color white}Usage:$color ${nvidia gpuutil}%
${color white}VRAM Usage:$color ${nvidia membwutil}%
${color white}$hr
${color white}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color white}$hr
${color white}Networking:
Up:$color ${upspeed eth0} ${color white} - Down:$color ${downspeed eth0}
${color white}$hr
${color white}Name              PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]]
OS: Linux Mint 19 Cinnamon 64-bit
CPU: AMD Ryzen 3 1200
GPU: Overclocked Geforce GTX 1050 Ti ASUS STRIX OC edition
Motherboard: MSI B350 Tomahawk
RAM: HyperX fury DDR4-2400 4GBx2
feel free to message me on discord! @[ALPHA.sh]#7586

User avatar
phd21
Level 17
Level 17
Posts: 7237
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: good OSD for linux?

Post by phd21 » Wed Aug 01, 2018 7:55 pm

Hi Alpha_sh,

You are welcome from all of us that replied...

Thanks for sharing your Conky file, how about a screenshot or two showing it in regular and fullscreen mode?
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Post Reply

Return to “Gaming on Linux Mint”