Horrible graphics on new install

Hi,

I just installed OpenSUSE 13.1 on my new build and the display is awful:

  • the edges of the screen are missing. For example, I can’t see all the top part, I can barely read the date and I see “ctivities” instead of “Activities”. However, when I take a screenshot everything seems to be fine (the cursor doesn’t appear though)
  • the characters are sometimes too big and sometimes too small
  • the cursor is huge
  • and many other strange things.
    I’m using a 1080p monitor and the “display” parameters are set accordingly. I’m using the HD4400 integrated GPU, if that can help.
    Feel free to ask any missing information so you can help me.

Thanks

Here are a few pictures. As you can see some characters are so big that some text is sometimes missing, as on YaST.

On Mon, 18 Aug 2014 20:46:02 +0000, andrecmoi wrote:

> HD4400

Is this an AMD/ATI GPU?

If you can get it, what’s the output from:

lspci | grep VGA

?

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

It’s the GPU integrated to the Intel CPU. Here is the output of your command :

00:02.0 VGA compatible controller: Intel Corporation Device 041e (rev 06)

I’m (and many others) are using a similar CPU/GPU.

  • Make sure you’ve run “zypper up” to get the latest kernel drivers. For nearly 2 years now, Intel has been distributing the Community drivers for Intel integrated GPUs as part of the kernel distribution. Early kernel (ie About the time 13.1 was first released) support for Intel Graphics was pretty sketchy. Very latest available kernels support Intel GPUs pretty well.

  • Try switching KMS on or off. Should default to on now, and work well but YMMV

HTH,
TSU

  • I just ran “zypper up” and it only updated some packages I’ve installed today (for the “locate” command).
  • I already switched KMS off and put it back on since it hasn’t changed anything.

How?
Try adding “nomodeset” to the boot options, or select “Recovery Mode” under “Advanced Options” in the boot menu.

If that doesn’t help, it’s definitely no graphics driver issue.

Most likely your monitor settings are off then. Try to press the “Auto” (or similar) button if you have one. Try to switch off any “Zoom” mode or similar.

Regarding your font sizes: that’s most likely caused by wrong DPI value, probably your monitor reports a wrong display size.
Please post the output of:

xdpyinfo | egrep "dimen|dots"

KDE has a setting to override the fonts DPI, don’t know about GNOME.

I also tried that with no success.

I played with the settings but nothing has changed. I also have Windows 8 installed and it’s working fine, even though I had to play with the Intel Graphics settings to set everything properly.

Here is the output of the command :

xdpyinfo:  unable to open display "".

Thanks for your help :slight_smile:

Then we can rule out a problem with the driver.

I played with the settings but nothing has changed. I also have Windows 8 installed and it’s working fine, even though I had to play with the Intel Graphics settings to set everything properly.

Ok. Any idea what settings exactly you had to change there?

Here is the output of the command :

xdpyinfo:  unable to open display "".

You have to run it as user inside the graphical session (in gnome-terminal e.g.)

Maybe posting your /var/log/Xorg.0.log (upload it to http://susepaste.org or similar) might help as well. This should show what resolution is used f.e.

Another thought: is there any change to the better when you boot to recovery mode after you changed the “Console resolution” in YaST->System->Boot Loader->Boot Loader Options to something else than “Autodetect by Grub2”?
Maybe try different resolutions and see if any of them improves the situation.

Sorry I can’t tell you right now as I can’t reboot before an hour, but I’ll do it ASAP.

That’s what I did.

Here it is : SUSE Paste

Another thought: is there any change to the better when you boot to recovery mode after you changed the “Console resolution” in YaST->System->Boot Loader->Boot Loader Options to something else than “Autodetect by Grub2”?
Maybe try different resolutions and see if any of them improves the situation.

I just set this to the native resolution of my screen and I’ll reboot my computer in an hour, as I’m doing a lot of copies/installation at the moment.
Let me know if there’'s something wrong in the log file.

Thanks a lot :slight_smile:

I just installed VLC and it’s unable to play videos, and this issue might be related. Here are the error messages :


VLC media player 2.1.3 Rincewind (revision 2.1.3-0-ge6a71cc)
[0x9fd9f8] main interface error: no suitable interface module
[0x8b70b8] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x9fd9f8] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0x9fd9f8] main interface error: no suitable interface module
[0x8b70b8] main libvlc error: interface "dbus,none" initialization failed
[0x8b70b8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x9fd9f8] qt4 interface error: Could not connect to X server
[0x9fd9f8] skins2 interface error: cannot initialize OSFactory
[0x9fd9f8] [cli] lua interface: Listening on host "*console".
VLC media player 2.1.3 Rincewind


Hm, it should find your display then.
Did you run “su” or something like that before? You shouldn’t.

Here it is : SUSE Paste

I just set this to the native resolution of my screen and I’ll reboot my computer in an hour, as I’m doing a lot of copies/installation at the moment.

You should try the other ones as well, I’d say.

Right, that doesn’t find the current display either.
Does VLC open a window if you run it from GNOME’s start menu? (click on “Activities”)

PS: After looking at your log, I think I know what your problem is:
You’re using the “modesettings” driver, not intel.

Actually you have a /etc/X11/xorg.conf that tells X to use the “modesettings” driver.
Remove that and the display should be better I hope:

sudo rm /etc/X11/xorg.conf

In the log it looks like the config for recovery mode is used. Probably you copied/moved /etc/X11/xorg.conf.install to /etc/X11/xorg.conf at one point?

Yes, I did that when I was trying to fix the issue. There was no xorg.conf, but just xorg.conf.install or something like that. I’ll remove this file and see what happens

xorg.conf.install is the configuration used in recovery mode.
It only loads a generic driver (modesettings in your case) that should be able to give you a display but doesn’t really support your graphics chip. And it also is not able to get the correct resolution from your monitor.

You do not need an xorg.conf and it is deprecated nowadays anyway. If none is present, X will try to figure out most things automatically, and will load the best available driver for your graphics chip.

And VLC does open a window.

Well, it actually would have surprised me if not.

Then you should be able to run vlc (and xdpyinfo) in a terminal window as well.
But again, you should not use “su” or “sudo” to run them.

I’m connected as a simple user and I’m not using sudo or anything like that.

Hm. Then something unsets your $DISPLAY variable?

Try running it as:

DISPLAY=:0 vlc

Does this work?

And what about /etc/X11/xorg.conf? Did you remove it? Did it change anything?

OK so I removed xorg.conf and it hasn’t changed anything at all, I tried several definitions in the Boot settings in YaST, and hasn’t changed anything neither and here is the output of your command :


VLC media player 2.1.3 Rincewind (revision 2.1.3-0-ge6a71cc)
[0x215a0c8] main interface error: no suitable interface module
[0x20540b8] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x20540b8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.

Then VLC isn’t able to play any file, saying that it doesn’t have the required library. I tried several formats.

What else can I try?