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 read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Alpha_sh

good OSD for linux? [SOLVED]

Post by Alpha_sh »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
phd21
Level 20
Level 20
Posts: 10103
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: good OSD for linux?

Post by phd21 »

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
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
User avatar
jimallyn
Level 19
Level 19
Posts: 9075
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: good OSD for linux?

Post by jimallyn »

I had never heard of Afterburner before, but I googled it, and Conky will display that sort of information.
“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

Re: good OSD for linux?

Post by Citizen229 »

I was going to say conky, i just dont know if conky overlays ontop of games or fullscreen software.
Alpha_sh

Re: good OSD for linux?

Post by Alpha_sh »

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}
]]
phd21
Level 20
Level 20
Posts: 10103
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: good OSD for linux?

Post by phd21 »

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 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
Locked

Return to “Gaming”