Ubuntu X Server screen refresh rate drops

john524

I have a very weird issue with the X server environment under ubuntu. Im running an R9 280x using the fglxr AMD drivers and on boot up everything is fine, but after some time (its random and I’m not sure its connected with heavy GPU load or not) the screen will all of a suddenly start refreshing every 3 seconds or so.

Everything still works fine, its just that the screen refreshes really slowly. At first only a reboot would fix this, but then I figured out going into the display settings and changing the resolution temporarily would fix this. I guess changing screen resolution either resets x server in some way, or reset whatever fault is going on in the GPU.

Has anyone come across this issue and know of any solution?

At the very least whats a minimum command I can issue that would reset the display, similar to how changing the resolution works for temporarily fixing this issue. (anything not involving restarting x server and losing the state of my desktop environment/running x programs).
——

completely disabling composite in KDE for use of NVIDIA vision 3D

schockschwerenot

hi guys,

since a couple of years (since ubuntu 10.04/gnome) i’m using a dual screen system together with the NVIDIA 3D vision shutter system (on an NVIDIA Quadro FX 3800 graphics card along with, lastly, the NVIDIA proprietary driver 340.96).

having installed Ubuntu-14.04 two years ago i needed to switch to KDE in order to be able to activate stereoscopic viewing. that is in detail, i installed ubuntu-gnome first, afterwards a added the XFCE, LXDE, and, finally, the KDE desktop on top of that until i was successful. in particular, i needed to deactivate composite in the KWIN settings. in nvidia-settings (xorg.conf) i always have (need) the additional lines:

Section “Extensions”
Option “Composite” “Disable”
EndSection

and, in the screen section these ones among others:

Option “AllowDFPStereo” “1”
Option “UBB” “1”
Option “Stereo” “10”

now, two years later i directly installed Kubuntu-16.04 rather than Ubuntu and, again, toggled off the setting related to composite starting during system start. after system start i do realize that desktop effects (transparency, etc.) indeed are off and 3D stereoscopy works fine. however, when either hitting ALT-F2, clicking the “KDE start button”, or clicking on the background of the secondary screen, both entire screens turn black. i than need to hit ESC or “somewhere” on the primary screen in order to get rid of the black screen.

it somehow seems, that some 3D effects are still active. following the hints of some web site, i installed and started the compiz manager

sudo apt-get install compizconfig-settings-manager
ccsm &

however, any compiz effect is deactivated here as well. does anyone know a solution to this problem? do you think it makes any difference if installing Ubuntu-16.04 and the KWIN desktop on top of that as i had done 2 years before?

many thanks in advance
——
T.J.

Kde does not use Compiz. It’s effects are built into Kwin. You can disable them via the settings manager. It can simulate some effects even with Composite disabled by using XRender.

schockschwerenot

ok. got it. stereoscopy works “fine” now on 16.04. what i did is: installing Ubuntu-16.04 and using a copy of my old home partition (of 14.04) for the new OS. then installing gnome and afterwards plasma-desktop. i don’t even need to add the lines

Section “Extensions” Option “Composite” “Disable”
EndSection

anymore. i guess it’s actaully just a matter of setting, but no one was able so far to tell me what exactly to do.

Openbox sometimes ignores XFCE panel at top of screen

halogen2

I have a Xubuntu 16.04 VM with 2048-qt installed. The window size of 2048-qt is too big vertically for my virtual screen, and I don’t have room on my physical screen to increase the virtual screen vertical size.

Using xfwm4, the 2048-qt window is placed immediately below the panel on the top of the screen, with a (unimportant) small amount of the bottom of the window off-screen.
Openbox places the window at the very top of my screen – under the xfce panel – and I can’t access the menus. Fortunately, the bottom of the window is visible, so I can right-click it > Move, and drag it down.

Openbox does see an edge where the panel is – as it will edge-resist when dragging a window under/out-from-under the panel.
I’ve tried setting margin in Openbox but it seems to ignore that.

Something I notice, in my Lubuntu 14.04 the bottom of my top panel is seen as “0” whereas here the very top of the virtual screen is what’s seen as “0”.

I’m finding that XFCE desktop + Openbox window manager to be the most stable environment that suits my needs, so using other desktop environment or window manager won’t work.

So how to prevent Openbox from placing windows under the XFCE panel?
——
vasa1

Does 2048-qt accept any –geometry type arguments? If so, you could specify the size of its window when it starts up.

Or maybe it remembers its last size and opens again to the last size?

(I don’t know anything about virtual screens). I used to play 2048 a bit before but I don’t remember it being a qt app then. Now it wants to bring in all of qt5 🙁

What do you have in ~/.config/openbox? Do you have rc.xml?

If you’ve sorted out the opening size issue, you could try editing rc.xml to set where exactly 2048 opens.

After you’ve backed it up for safety, check it in a terminal with openbox –reconfigure. There should be no pop-up. If the xml has been messed with, you’ll get a pop-up.

Now, go right to the bottom of the file to the section that starts with and ends with . It has a lot of commented out lines that indicate just what this section can do. Here’s a part: # the position is only used if both an x and y coordinate are provided
# (and not set to ‘default’)
# when force is “yes”, then the window will be placed here even if it
# says you want it placed elsewhere. this is to override buggy
# applications who refuse to behave
center
# a number like 50, or ‘center’ to center on screen. use a negative number
# to start from the right (or bottom for ), ie -50 is 50 pixels from the
# right edge (or bottom).
200
1
# specifies the monitor in a xinerama setup.
# 1 is the first head, or ‘mouse’ for wherever the mouse is

halogen2

This from 2048-qt man page:

OPTIONS
2048-QT is configured graphically and does not have any commandline
options.

There are no options to graphically change the startup window size. Anyway I’m just using 2048-qt as a working example, I’m sure other programs are affected too.

What do you have in ~/.config/openbox? Do you have rc.xml?
Yes and that’s it.

you could try editing rc.xml to set where exactly 2048 opens.
Thank you that suggestion fixes 2048 😀
What’s odd is the exact XML code to place the 2048 window immediately below the top panel:

center
0

The desired is apparently 0 and not the vertical size of the top panel. This configuration directly contradicts the Openbox window position indicator.
So I’m not sure what to think?

(Just a note for passers-bys, the comments starting with # are apparently not treated as comments by the XML parser and if they contain anything that looks like XML tags it will cause openbox –reconfigure to bork exactly as described by vasa1 with an error message that’s hard to make sense of. Mousepad’s syntax highlighting was really helpful to figure that out.)

Anyway thanks again vasa1 for the fix. :KS

vasa1


What’s odd is the exact XML code to place the 2048 window immediately below the top panel:

center
0

The desired is apparently 0 and not the vertical size of the top panel. This configuration directly contradicts the Openbox window position indicator.
So I’m not sure what to think?

(Just a note for passers-bys, the comments starting with # are apparently not treated as comments by the XML parser and if they contain anything that looks like XML tags it will cause openbox –reconfigure to bork exactly as described by vasa1 with an error message that’s hard to make sense of. Mousepad’s syntax highlighting was really helpful to figure that out.)

Anyway thanks again vasa1 for the fix. :KS
Hi, if you also have obconf, take a look at it. I think Openbox tries not to let application windows cover panels, docks, systrays, etc. So even when a window is maximized, the area taken by them is excluded. If you start playing with the “snap” aspects of rc.xml, you’ll agree.

About comments, the impression I have is that anything following # is seen as a comment unless, as you say, the parser thinks it’s xml code. Oh, and the parser doesn’t like — in comments!

If you want more on rc.xml, aka lubuntu-rc.xml if you’re running a Lubuntu session, there’s a wiki bit (https://help.ubuntu.com/community/Lubuntu/Windows#Launching_Windows_Maximized_or_Fullscreen) I wrote a couple of years ago and two links I found very helpful:
http://pclosmag.com/html/Issues/201011/page09.html ::: LXDE: Meet The Heart & Soul — lxde-rc.xml
http://pclosmag.com/html/Issues/201107/page08.html ::: Openbox – Edit rc.xml to Gain Control

halogen2

Hi, if you also have obconf, take a look at it. I think Openbox tries not to let application windows cover panels, docks, systrays, etc. So even when a window is maximized, the area taken by them is excluded. If you start playing with the “snap” aspects of rc.xml, you’ll agree.
I do have obconf, but none of the settings there seem to change this. In all cases:
– maximized windows maximize below the top panel
– 2048-Qt opens above & under the panel (unless rc.xml is manually edited as above)

After discovering this I tried maximizing 2048 and that also gets it placed below the panel.

So maybe it’s actually some setting in XFCE that takes precedence over the Openbox configuration, in terms of how Openbox treats that panel?
(Panel settings can make windows go above the panel but they always stay under it.)

And thanks for the links on rc.xml.

vasa1

BTW, thanks for reminding me about 2048. I had it installed as a browser version quite some time ago. I dug it out again after reading your post!

halogen2

no problem :mrgreen:

Resize topbar in Gnome

poumon

Hello everyone, i use ubuntu gnome 16.04. I really like that but i found the topbar too big. I ask if there is a way to make it smaller ? An extension or a file to edit ?

Thank you 🙂
——
Joentokyo

I am not sure if it is the same as on my system. I use gnome fall back or flashback, but if it is the same try holding down the alt key while right clicking the bar and select properties. That should open up a graphic that lets you change the size by increasing the number of pixels.

poumon

Yes but we can’t do that with the new version of Gnome. But i found a solution ! I modified the usr/share/themes/name-of-the-theme/gnome-shell/gnome-shell.css file

We have to found

/* Panel */

#panel {
background-gradient-direction:none;
background-color: rgba(0,0,0,0.5);
/* border: 0px solid rgba(90,105,111,0.5);
box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.15);*/
border: 1px solid rgba(90,105,111,0.5);
box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.5);
border-top:0px;border-right:0px;border-left:0px;
font-weight: bold;
height: 24px;}

we have to change the ” height ” value. After we have to reload the theme. I use the extension ” activities configurator ” for the other parameters of the topbar ( sorry for my English )

How to create launchers in Ubuntu 16.04

clymbon

Installed ubuntu 16.04. I think I’m using the “unity” desktop – not sure. It’s whatever the default was when I did the install.

I just installed google-chrome so I could watch Netflix. I couldn’t find it with the “Ubuntu Software”, but I installed Synaptic, found it easily there, and installed it. It works fine if I launch it from a terminal window, but I the install did not create a “launcher” for it, probably because Synaptic isn’t fully integrated with the desktop environment I am using.

Interestingly, I installed classicmenu-indicator, and after I did the google-chrome install with Synaptic it automagically shows up in the classic menus, right there under Internet where I would expect it. It also runs fine from the command line.

A couple of questions:
1) How do I create launcher for new apps like this?
2) How do I get the classicmenu-indicator to show up on my desktop automatically after a reboot?

Also, a more general question. I did some searching to find the answer to these questions, and I was surprised to see answers like: “you can’t do that”. Almost felt like I was on an Apple website. Of course with ubuntu I can do anything I want to – the whole thing is open source after all – so it’s just a matter of how much effort I’m willing to put into it. Can someone explain the philosophy here? Is there a conscious attempt to discourage users from installing software by any means other than the “ubuntu software” tool? Is that just a “Unity” think? If so, that’s fine, I can see how that might make sense for some users, but it’s not for me. What’s the idea?

Thanks,

Duncan
——
CantankRus

Firstly let’s determine what desktop you are running.

Install this small sysinfo script via terminal…

sudo apt install inxi
After install, post the terminal output of …

inxi -S

google-chrome isn’t available from the default repositories.
What you may have installed is the open source chromium-browser
What is your output from the below command(include the * when copying)…

apt policy chromium-browser google-chrome*

As to this…

Also, a more general question. I did some searching to find the answer to these questions, and I was surprised to see answers like: “you can’t do that”. Almost felt like I was on an Apple website. Of course with ubuntu I can do anything I want to – the whole thing is open source after all – so it’s just a matter of how much effort I’m willing to put into it. Can someone explain the philosophy here? Is there a conscious attempt to discourage users from installing software by any means other than the “ubuntu software” tool? Is that just a “Unity” think? If so, that’s fine, I can see how that might make sense for some users, but it’s not for me. What’s the idea?

Thanks,

Duncan
You can do anything you like but heed warnings that tell you it may make your system unreliable or insecure.
The unity desktop (Ubuntu) is relatively inflexible but it is just a desktop environment and can be replaced while still running the core of ubuntu underneath….
or install from an iso of Lubuntu, Kubuntu Xubuntu or Gnome-ubuntu from the get go.

clymbon

Thanks for your response.

Actually, the next time I logged onto the system (actually I think it was after a reboot) the launcher showed up. Perhaps some kind of re-indexing of the installed application had to happen. is that expected behavior?

So my immediate problem is actually solved – without doing anything, but I’m still wondering about the design decision that prevents users from creating their own launchers.

I’ll keep messing around with Unity for a while, but I think I may abandon it and switch to something I’m a little more familiar with. Not sure I understand the philosophy behind it. As I said, it seems “Apple-like”.

Anyway, thanks for the pointer to inxi, very useful tool. Just for completeness, here’s what I’m running:

System: Host: linuxbox Kernel: 4.4.0-36-generic x86_64 (64 bit)
Desktop: Unity 7.4.0 Distro: Ubuntu 16.04 xenial

I did install chromium-browser, but it does not provide the functionality I was looking for (the ability to play Netflix videos, which depend on Microsoft Silverlight). So I removed it. I subsequently installed google-chrome (using Synaptic, not the “Ubuntu Software” tool). It works fine.

Here’s the output of the apt command:

$ apt policy chromium-browser google-chrome*
chromium-browser:
Installed: (none)
Candidate: 52.0.2743.116-0ubuntu0.16.04.1.1250
Version table:
52.0.2743.116-0ubuntu0.16.04.1.1250 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
100 /var/lib/dpkg/status
49.0.2623.108-0ubuntu1.1233 500
500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
google-chrome-stable:
Installed: 53.0.2785.113-1
Candidate: 53.0.2785.113-1
Version table:
*** 53.0.2785.113-1 100
100 /var/lib/dpkg/status

CantankRus

Create a launcher…
https://ubuntuforums.org/showthread.php?t=2272591&p=13260814#post13260814
There was a couple of apps to create launchers but it is just as easy to do it manually.

To make an application autostart, search in the dash for “start” and open “startup applications”
and add your application.

PS: Most who have gained some experience use synaptic.

ian-weisser

The Launcher (Shortcut Bar) should be showing up every time. No ‘reindexing’ should be needed. Perhaps you have a display issue?

Unity is neither Apple-like nor Windows-like. And not trying to. Unity is designed to be easy to use, easy to discover, and safe to use by unskilled users.
Happily, a plethora od Desktop Environments are easily available for you to try.

Dolphin, how to forget ownCloud connection

courtney2

In dolphin I did a webDav connection and now I’m trying to remove it and login as a different user, but each time it connects to the first user despite having the login name and URL as the new user. It seems perhaps there’s some cache that needs to get cleared? Not sure
——

New Xubuntu User Here, Trying to Automatically Boot into XFCE

michael236

This is my first post on the Ubuntu forums, so I’m sorry if it seems a bit awkward.

I’m using an old Thinkpad T61. Upgrading RAM and popping in an SSD has helped make it more functional, but I’ve found it works best in XFCE in Xubuntu. The problem is every time I reboot I have to turn XFCE back on, as it starts in GNOME.

How would I go about tweaking my settings so that it automatically boots with XFCE on? Thanks in advance.

– Michael
——
howefield

Did you install with an Xubuntu live media or did you use another flavour and have xfce installed thereafter ?

michael236

Did you install with an Xubuntu live media or did you use another flavour and have xfce installed thereafter ?

I used Unetbootin, put Xubuntu on a flash drive, then installed it from there. Not sure what you mean about flavour.

howefield

I used Unetbootin, put Xubuntu on a flash drive, then installed it from there. Not sure what you mean about flavour.

Flavour as in UbuntuGnome or Ubuntu Mate or other such variant of Ubuntu.

I was trying to understand what you meant by starting in Gnome.

michael236

Flavour as in UbuntuGnome or Ubuntu Mate or other such variant of Ubuntu.

I was trying to understand what you meant by starting in Gnome.

Oh, I’m sorry. I’m not familiar with all the Linux lingo. I sort of assumed Gnome was the automatic GUI.

I have to pull up this window manually every session, click XFCE and “save configuration” (which doesn’t really, I think?).

Again, I’m still an Ubuntu newb, so I appreciate the patience.

View post on imgur.com

yoshii

there’s also a “default applications” or “preferred applications” setting where you can choose the file manager.

Emergency Mode

Geoff_Lane

Folks,

Running Mate on a Raspberry Pi, had two lock-ups, even Ctrl-Alt-F1 didn’t get me a terminal so power off restart.

For some reason now every restart drops me into Emergency Mode Command Line.

I then get some options to reboot or Ctrl-D to try again, this latter option then boots in to the Desktop login window.

Any ideas why it always boots into Emergency Mode?

Geffers
——

Plasmoid widgets not working

philipwmirabelli

Hello, just a quick one, does anyone know of a plasmoid widget that just shows the date (and perhaps if clicked drops a calendar?), although I’m only really interested in the correct day being displayed. I have downloaded a couple of plasmoids using the facility in KDE but all I get is a white cross in a red background…..any ideas? thanks
——

issue with opengl kubuntu 16.04

andry93miticohotm

hi,
this evening I modified .config/kwinrc to set a different default zoom in desktop effect. Now the problem is when i choose a composer i can see in top of the window “The OpenGL composition (the default) has caused KWin stability problems”, in fact if I modify the desktop effect like magnifier instead of zoom this one doesn’t work properly. how I can fix this issue?

thanks.
——