Glxinfo error unable to open display

#1 Post by TheRealBecks » 2015-02-15 14:41

TheRealBecks

Posts: 6
Joined: 2014-07-13 14:11

Radeon HD 7970 + glxinfo: «Error: unable to open display»

#1

Post

by TheRealBecks » 2015-02-15 14:41

Hello,

after an dist-upgrade a few months ago my PC has no working KDE desktop anymore. Before that update everything was fine. When testing «glxinfo» or «sudo glxinfo» I get following error:

So there is no way to work anymore with the desktop :(

Here are additional information:

Code: Select all

[15:19:13][becks@bierlinux]:~$ uname -a
Linux bierlinux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt4-3 (2015-02-03) x86_64 GNU/Linux

Code: Select all

[15:19:20][becks@bierlinux]:~$ dpkg -l "*radeon*"
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name                                               Version                        Architektur                    Beschreibung
+++-==================================================-==============================-==============================-=========================================================================================================
ii  libdrm-radeon1:amd64                               2.4.58-2                       amd64                          Userspace interface to radeon-specific kernel DRM services -- runtime
ii  libdrm-radeon1:i386                                2.4.58-2                       i386                           Userspace interface to radeon-specific kernel DRM services -- runtime
ii  radeontool                                         1.6.3-1                        amd64                          utility to control ATI Radeon backlight functions on laptops
ii  xserver-xorg-video-radeon                          1:7.5.0-1                      amd64                          X.Org X server -- AMD/ATI Radeon display driver

Code: Select all

[15:19:57][becks@bierlinux]:~$ dpkg -l "*xorg*"  
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name                                               Version                        Architektur                    Beschreibung
+++-==================================================-==============================-==============================-=========================================================================================================
ii  xorg                                               1:7.7+7                        amd64                          X.Org X Window System
un  xorg-docs                                          <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xorg-docs-core                                     1:1.7-1                        all                            Core documentation for the X.org X Window System
un  xorg-driver-input                                  <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xorg-driver-synaptics                              <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xorg-driver-video                                  <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xorg-input-abi-21                                  <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xorg-sgml-doctools                                 1:1.11-1                       all                            Common tools for building X.Org SGML documentation
un  xorg-video-abi-18                                  <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xserver-xorg                                       1:7.7+7                        amd64                          X.Org X server
ii  xserver-xorg-core                                  2:1.16.2.901-1                 amd64                          Xorg X server - core server
un  xserver-xorg-core-no-multiarch                     <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-driver-all                            <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-input                                 <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-input-2                               <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-input-2.1                             <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-input-4                               <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-input-7                               <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xserver-xorg-input-all                             1:7.7+7                        amd64                          X.Org X server -- input driver metapackage
ii  xserver-xorg-input-evdev                           1:2.9.0-2                      amd64                          X.Org X server -- evdev input driver
un  xserver-xorg-input-evtouch                         <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-input-joystick                        <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xserver-xorg-input-mouse                           1:1.9.1-1                      amd64                          X.Org X server -- mouse input driver
ii  xserver-xorg-input-synaptics                       1.8.1-1                        amd64                          Synaptics TouchPad driver for X.Org server
un  xserver-xorg-input-tslib                           <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xserver-xorg-input-vmmouse                         1:13.0.0-1+b3                  amd64                          X.Org X server -- VMMouse input driver to use with VMWare
ii  xserver-xorg-input-wacom                           0.26.0+20140918-1              amd64                          X.Org X server -- Wacom input driver
un  xserver-xorg-video                                 <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-video-1.0                             <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-video-1.9                             <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-video-2                               <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-video-4                               <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-video-5                               <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-video-6                               <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xserver-xorg-video-all                             1:7.7+7                        amd64                          X.Org X server -- output driver metapackage
ii  xserver-xorg-video-ati                             1:7.5.0-1                      amd64                          X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-cirrus                          1:1.5.2-2+b1                   amd64                          X.Org X server -- Cirrus display driver
un  xserver-xorg-video-cyrix                           <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xserver-xorg-video-fbdev                           1:0.4.4-1+b2                   amd64                          X.Org X server -- fbdev display driver
un  xserver-xorg-video-i810                            <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xserver-xorg-video-imstt                           <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xserver-xorg-video-intel                           2:2.21.15-2+b2                 amd64                          X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-mach64                          6.9.4-2                        amd64                          X.Org X server -- ATI Mach64 display driver
ii  xserver-xorg-video-mga                             1:1.6.3-2+b1                   amd64                          X.Org X server -- MGA display driver
ii  xserver-xorg-video-modesetting                     0.9.0-1+b1                     amd64                          X.Org X server -- Generic modesetting driver
ii  xserver-xorg-video-neomagic                        1:1.2.8-1+b2                   amd64                          X.Org X server -- Neomagic display driver
ii  xserver-xorg-video-nouveau                         1:1.0.11-1                     amd64                          X.Org X server -- Nouveau display driver
un  xserver-xorg-video-nsc                             <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xserver-xorg-video-openchrome                      1:0.3.3-1+b2                   amd64                          X.Org X server -- VIA display driver
ii  xserver-xorg-video-qxl                             0.1.1-2+b1                     amd64                          X.Org X server -- QXL display driver
ii  xserver-xorg-video-r128                            6.9.2-1+b2                     amd64                          X.Org X server -- ATI r128 display driver
ii  xserver-xorg-video-radeon                          1:7.5.0-1                      amd64                          X.Org X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-savage                          1:2.3.7-2+b2                   amd64                          X.Org X server -- Savage display driver
ii  xserver-xorg-video-siliconmotion                   1:1.7.7-2+b2                   amd64                          X.Org X server -- SiliconMotion display driver
ii  xserver-xorg-video-sisusb                          1:0.9.6-2+b2                   amd64                          X.Org X server -- SiS USB display driver
un  xserver-xorg-video-sunbw2                          <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xserver-xorg-video-tdfx                            1:1.4.5-1+b2                   amd64                          X.Org X server -- tdfx display driver
ii  xserver-xorg-video-trident                         1:1.3.6-2+b2                   amd64                          X.Org X server -- Trident display driver
un  xserver-xorg-video-v4l                             <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xserver-xorg-video-vesa                            1:2.3.3-1+b3                   amd64                          X.Org X server -- VESA display driver
un  xserver-xorg-video-vga                             <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  xserver-xorg-video-vmware                          1:13.0.2-3+b1                  amd64                          X.Org X server -- VMware display driver

Code: Select all

[15:22:35][becks@bierlinux]:~$ dpkg -l "*mesa*"
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name                                               Version                        Architektur                    Beschreibung
+++-==================================================-==============================-==============================-=========================================================================================================
ii  libegl1-mesa:amd64                                 10.3.2-1                       amd64                          free implementation of the EGL API -- runtime
ii  libegl1-mesa-drivers:amd64                         10.3.2-1                       amd64                          free implementation of the EGL API -- hardware drivers
ii  libgl1-mesa-dri:amd64                              10.3.2-1                       amd64                          free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:i386                               10.3.2-1                       i386                           free implementation of the OpenGL API -- DRI modules
un  libgl1-mesa-dri-experimental                       <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  libgl1-mesa-glx:amd64                              10.3.2-1                       amd64                          free implementation of the OpenGL API -- GLX runtime
ii  libgl1-mesa-glx:i386                               10.3.2-1                       i386                           free implementation of the OpenGL API -- GLX runtime
un  libgl1-mesa-glx-no-multiarch                       <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  libgl1-mesa-swx11                                  <keine>                        <keine>                        (keine Beschreibung vorhanden)
ii  libglapi-mesa:amd64                                10.3.2-1                       amd64                          free implementation of the GL API -- shared library
ii  libglapi-mesa:i386                                 10.3.2-1                       i386                           free implementation of the GL API -- shared library
ii  libgles1-mesa:amd64                                10.3.2-1                       amd64                          free implementation of the OpenGL|ES 1.x API -- runtime
ii  libgles2-mesa:amd64                                10.3.2-1                       amd64                          free implementation of the OpenGL|ES 2.x API -- runtime
ii  libglu1-mesa:amd64                                 9.0.0-2                        amd64                          Mesa OpenGL utility library (GLU)
ii  libglu1-mesa:i386                                  9.0.0-2                        i386                           Mesa OpenGL utility library (GLU)
ii  libopenvg1-mesa:amd64                              10.3.2-1                       amd64                          free implementation of the OpenVG API -- runtime
ii  libwayland-egl1-mesa:amd64                         10.3.2-1                       amd64                          implementation of the Wayland EGL platform -- runtime
ii  mesa-utils                                         8.2.0-1                        amd64                          Miscellaneous Mesa GL utilities
ii  mesa-vdpau-drivers:amd64                           10.3.2-1                       amd64                          Mesa VDPAU video acceleration drivers
un  mesag3                                             <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xlibmesa-dri                                       <keine>                        <keine>                        (keine Beschreibung vorhanden)
un  xlibmesa3                                          <keine>                        <keine>                        (keine Beschreibung vorhanden)

Code: Select all

[15:27:36][becks@bierlinux]:~$ cat /var/log/Xorg.0.log | grep WW
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     4.662] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     4.839] (WW) Falling back to old probe method for modesetting
[     4.839] (WW) Falling back to old probe method for fbdev
[     4.859] (WW) Falling back to old probe method for vesa
[     6.479] (WW) evdev: Logitech Unifying Device. Wireless PID:2010: ignoring absolute axes.
[     6.480] (WW) evdev:   wired keyboard: ignoring absolute axes.

Code: Select all

[15:28:56][becks@bierlinux]:~$ lspci | grep -e VGA -e 3D
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]

Code: Select all

[15:38:33][becks@bierlinux]:~$ dpkg -l "*firmware-linux*"
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name                                               Version                        Architektur                    Beschreibung
+++-==================================================-==============================-==============================-=========================================================================================================
ii  firmware-linux                                     0.43                           all                            Binary firmware for various drivers in the Linux kernel (meta-package)
ii  firmware-linux-free                                3.3                            all                            Binary firmware for various drivers in the Linux kernel
ii  firmware-linux-nonfree                             0.43                           all                            Binary firmware for various drivers in the Linux kernel

And I’m in the «video» group:

Code: Select all

[15:38:41][becks@bierlinux]:~$ groups
becks adm cdrom floppy sudo audio dip video plugdev scanner lpadmin bluetooth netdev

Is there any additional information you need? So let me know! :) Thanks everyone for help!

Greeting
Martin


User avatar

thanatos_incarnate

Posts: 717
Joined: 2012-11-04 20:36

Re: Radeon HD 7970 + glxinfo: «Error: unable to open display

#2

Post

by thanatos_incarnate » 2015-02-15 15:48

Seems like the update messed up Xorg configuration?

1. If you are running the open source radeon drivers, then
from the command prompt, do this as root:

See if the radeon module is loaded. Again as root:

If it’s empty, then it failed to load.
Check also if modesetting is disabled:

Code: Select all

cat /etc/default/grub | grep nomodeset

It should return nothing. If any line is returned with nomodeset,
then open the file as root with an editor

and remove the string: nomodeset

Reboot and it should work.

To check if you have «real 3D» and not just software llvm, do:

Code: Select all

glxinfo | grep "OpenGL renderer string"

It should say anything other than llvm for it to be successful.

2. If you are using the proprietary Catalyst drivers, then you either have to reinstall
the fglrx packages:

https://wiki.debian.org/ATIProprietary

or if you’ve installed them manually from AMD’s website, you have to run its uninstall
script and install it again. As root:

Code: Select all

sh /usr/share/ati/smd-uninstall.sh

reboot, then:

Code: Select all

sudo sh ati-driver-installer-YOUR-VERSION.run


TheRealBecks

Posts: 6
Joined: 2014-07-13 14:11

Re: Radeon HD 7970 + glxinfo: «Error: unable to open display

#3

Post

by TheRealBecks » 2015-02-15 16:14

thanatos_incarnate wrote:Seems like the update messed up Xorg configuration?

1. If you are running the open source radeon drivers, then
from the command prompt, do this as root:

Ok, done. Nothing returned, so there shouldn’t be an error. glxinfo still not works.

thanatos_incarnate wrote:See if the radeon module is loaded. Again as root:

Done:

Code: Select all

[17:03:43][becks@bierlinux]:~$ lsmod | grep radeon
radeon               1341066  2 
ttm                    77862  1 radeon
drm_kms_helper         49210  1 radeon
drm                   249955  5 ttm,drm_kms_helper,radeon
i2c_algo_bit           12751  1 radeon
i2c_core               46012  5 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,radeon

thanatos_incarnate wrote:Check also if modesetting is disabled:

Code: Select all

cat /etc/default/grub | grep nomodeset

Nothing returned.

thanatos_incarnate wrote:To check if you have «real 3D» and not just software llvm, do:

Code: Select all

glxinfo | grep "OpenGL renderer string"

It should say anything other than llvm for it to be successful.

Reboot, but glxinfo is still not possible :(

thanatos_incarnate wrote:2. If you are using the proprietary Catalyst drivers, then you either have to reinstall
the fglrx packages:

Nope, open-source «radeon».

Any other idea what we could check? Thanks a lot!




TheRealBecks

Posts: 6
Joined: 2014-07-13 14:11

Re: Radeon HD 7970 + glxinfo: «Error: unable to open display

#6

Post

by TheRealBecks » 2015-02-20 10:00

Ok, two thinks:

First of all I didn’t know, that «glxinfo» only works when sitting in front of the monitor — so ssh + glxinfo is not possible! So, yeah, glxinfo IS working and now I get an output…! :D But before I logged me in, I did the following…:

I updatet my PC (via ssh), rebootet, logged me in and startet the terminal. What I can say is… it’s working… a few days ago my graphics still didn’t working and my desktop lagged horribly. But today was an update for «xserver-xorg-core» and now it’s working! I can’t believe it! O.O Since decembre my graphics were broken and now it got fixed! Why did I invest hours of bugtracking with no result?! :D

Okay, really, thank you for your help! :)


  • Index
  • » Multimedia and Games
  • » Intel HD graphics problem. glxinfo/xbmc -> Unable to open display

Pages: 1

#1 2012-06-02 17:19:39

KevBel
Member
Registered: 2012-06-02
Posts: 6

Intel HD graphics problem. glxinfo/xbmc -> Unable to open display

Hi,

First time intstalling Arch Linux for me, and I can’t seem to get something working, not sure what exactly is wrong but here are the symptoms :

  • When I run «startx», I get a GUI with 3 terminal windows and a clock in the top right corner, which I assume is the normal behaviour…

  • When I run «glxinfo», I get the output:
    Error: unable to open display

  • I initially encountered a problem when I tried to run xbmc. I got the following error:
    Error: unable to open display
    XBMC needs hardware accelerated OpenGL rengering.
    Install appropriate graphics driver.

Here are the steps I have followed to get to where I am:

  • Install the X Windows System
        i.    Install stuff:
                pacman -Sy xf86-video-driver
                pacman -Sy lib32-intel-dri
                pacman -Sy libva-driver-intel
                pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils xorg-twm xorg-xclock xterm
        ii.    Setup stuff:
                — Remove any references to vga or nomodeset from the kernel line in /boot/grub/menu.lst
                — Add the i915 module to the MODULES line in /etc/mkinitcpio.conf:
                    MODULES=»i915″
                — Regenerate the initramfs:
                    sudo mkinitcpio -p linux
                — Reboot

  • Install XBMC
        — Install stuff:
            pacman -Sy xbmc

I’m running on an intel celeron G530, which has built in intel HD graphics. I do not have a discrete video card installed. I’m booting off a SSD, if that makes any difference.

I’m assuming you guys will need the output of some scripts and/or the contents of some setup files but I wouldn’t know what to give you so I’ll wait until you ask!

Thanks for any help guys!

Update :

So, I followed the steps posted here : https://bbs.archlinux.org/viewtopic.php … 5#p1030435
Everything seems to work, the KMS test responds with «1»

There are no more errors in my /var/log/Xorg.0.log file :
http://codepad.org/USjbDkg5

However, glxinfo and xbmc still respond with the same errors, whether I run them as user or as root…

Could this be because I’m running off the VGA port on my motherboard and not the DVI or HDMI ports ?

Last edited by KevBel (2012-06-02 22:02:58)

#2 2012-06-02 17:23:36

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Intel HD graphics problem. glxinfo/xbmc -> Unable to open display

Post the content of /var/log/Xorg.0.log

But if I just guess… Are you in the video group?

#3 2012-06-02 17:31:37

KevBel
Member
Registered: 2012-06-02
Posts: 6

Re: Intel HD graphics problem. glxinfo/xbmc -> Unable to open display

Gusar wrote:

Post the content of /var/log/Xorg.0.log

Here: http://codepad.org/RQvWKMU8

Gusar wrote:

But if I just guess… Are you in the video group?

running «groups kevin» output a list which include «video», so yes.

#4 2012-06-02 18:01:58

KevBel
Member
Registered: 2012-06-02
Posts: 6

Re: Intel HD graphics problem. glxinfo/xbmc -> Unable to open display

I transfered this over to the «Multimedia and Games» forum, I think it’s more appropriate over there.

https://bbs.archlinux.org/viewtopic.php?id=142582

#5 2012-06-02 18:21:29

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Intel HD graphics problem. glxinfo/xbmc -> Unable to open display

Please don’t duplicate posts, instead report your post using the report-link and request it to be moved.

#6 2012-06-02 18:49:03

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Intel HD graphics problem. glxinfo/xbmc -> Unable to open display

Deleted the copy and moved this thread to «Multimedia and Games».
Please do as litemotiv said in future.


To know or not to know …
… the questions remain forever.

#7 2012-06-02 18:49:11

KevBel
Member
Registered: 2012-06-02
Posts: 6

Re: Intel HD graphics problem. glxinfo/xbmc -> Unable to open display

So, I followed the steps posted here : https://bbs.archlinux.org/viewtopic.php … 5#p1030435
Everything seems to work, the KMS test responds with «1»

There are no more errors in my /var/log/Xorg.0.log file :
http://codepad.org/USjbDkg5

However, glxinfo and xbmc still respond with the same errors, whether I run them as user or as root…

Could this be because I’m running off the VGA port on my motherboard and not the DVI or HDMI ports ?

PS : sorry about the duplicate post.

Last edited by KevBel (2012-06-02 22:02:17)

#8 2012-06-03 00:00:32

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,127

Re: Intel HD graphics problem. glxinfo/xbmc -> Unable to open display

Are you using 32 or 64 bit? I thought packages starting «lib32-» were for multilib stuff but maybe I’m wrong.

Try replacing xf86-video-driver with xf86-video-intel.

Try replacing lib32-intel-dri with intel-dri.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

#9 2012-06-03 02:06:27

KevBel
Member
Registered: 2012-06-02
Posts: 6

Re: Intel HD graphics problem. glxinfo/xbmc -> Unable to open display

I’m running 64bit, or so I assumed…

Intel G530 processor…

#10 2012-06-13 22:26:17

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,127

Re: Intel HD graphics problem. glxinfo/xbmc -> Unable to open display

KevBel wrote:

I’m running 64bit, or so I assumed…

Intel G530 processor…

So why:

?

Just use intel-dri.

If you are using 32 bit, lib32-intel-dri is the wrong package. You won’t want this package in that case but you will want intel-dri.

If you are using 64 bit, you may or may not want lib32-intel-dri but you will definitely want intel-dri.

So either way, you want intel-dri. pacman will use the correct intel-dri for your architecture. The lib32- packages are just if you want to run 32 bit applications on a 64 bit system e.g. acroread which isn’t available for 64 bit Linux. You might want those later, but get rid of them for now until you’ve got the basics working.

I can’t even find a package called xf86-video-driver. Are you sure this is what you installed? In any case, try xf86-video-intel instead and make sure that no other video drivers are installed. (If I remember correctly, the wiki page on intel says these drivers don’t always play well with others.)

will tell you if you are running 64 bit or not for sure but for installing the intel stuff, you don’t actually need to know as pacman will sort everything out. (Except, as I say, later if you want to run 32 bit apps on a 64 bit system — then you need to tell it you want lib32-whatever.)

Last edited by cfr (2012-06-13 22:29:27)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Posts: 22

Joined: Feb 2009

Reputation:
0

zeptic



Junior Member
Posts: 22

I’m having difficulties getting XBMC Live to work on an old laptop. All the places I’ve searched uses glxinfo to check up on the hardware. When I run glxinfo all I get is:

Error: unable to open display

I’ve tried setting the DISPLAY-variable manually without luck. The command xhost +localhost also fails with the same error message.

What should I do to get glxinfo to work?

Posts: 4,997

Joined: May 2004

Reputation:
12

please read the sticky on how to post problems in a useful manner.

Posts: 22

Joined: Feb 2009

Reputation:
0

zeptic



Junior Member
Posts: 22

I’ve installed xbmc on the HDD of a DELL Latitude D600 (x86 with an ATI RV250 (Radeon Mobility 9000)) using the «XBMC Live 8.10»-distibution CD. When I try to diagnose why I’m having problems getting X to work I SSH to the machine and run the command glxinfo which fails.

I would expect glxinfo to work regardless of how the machine is set up. As this is not the case what should be set up for this command to work?

(I hope I provided enough information this time Blush)

Posts: 853

Joined: Jan 2008

Reputation:
13

First of all, you’d better use a newer version, RC1 or Gold (out in a few hours).
Start Live in «SAFE MODE — AMD/ATI», log on and type «startx».
You will land to a standard X desktop with fluxbox as WM.
From there you will be able to perform all the tests you need — and launch xbmc as well.

Posts: 974

Joined: May 2006

Reputation:
10

Which graphics type are you trying to start on the D600? ATI will not work. The binary ATI video driver won’t work with the graphics chipset on the D600, the Mobility 9000, as it’s considered a legacy chipset by ATI and is not supported under thier binary/proprietary driver. At best you can launch it with the Intel drivers. It’ll work, but it’s very slow.

Posts: 22

Joined: Feb 2009

Reputation:
0

zeptic



Junior Member
Posts: 22

l.capriotti Wrote:First of all, you’d better use a newer version, RC1 or Gold (out in a few hours).
Start Live in «SAFE MODE — AMD/ATI», log on and type «startx».
You will land to a standard X desktop with fluxbox as WM.
From there you will be able to perform all the tests you need — and launch xbmc as well.

I’ve now installed Babylon and I’m now able to see output from GLXInfo. Now I just have to figure out how to setup X correctly for XBMC… Wink

Posts: 22

Joined: Feb 2009

Reputation:
0

zeptic



Junior Member
Posts: 22

pumkinut Wrote:Which graphics type are you trying to start on the D600? ATI will not work. The binary ATI video driver won’t work with the graphics chipset on the D600, the Mobility 9000, as it’s considered a legacy chipset by ATI and is not supported under thier binary/proprietary driver. At best you can launch it with the Intel drivers. It’ll work, but it’s very slow.

I’m trying to get the Open Source Drivers to work as ATIs Radeon RV250 Mobility 9000 card is unsupported in the Binary ATI Drivers.

I’m confident that the Open Source Drivers should work as I’ve seen several post regarding people getting Compiz to work on Ubuntu on a Dell Latitude D600. I just haven’t had any luck yet…

(At one point I did get XBMC to work using the VESA drivers. Boy was that SLOW. Probably 0.1 FPS… )

View previous topic :: View next topic  
Author Message
Kuggeo
n00b
n00b

Joined: 02 Aug 2021
Posts: 1

PostPosted: Mon Aug 02, 2021 3:34 pm    Post subject: glxinfo cannot open display (nvidia-drivers) Reply with quote

I’ve followed the guide on the wiki about nvidia-drivers, I’ve installed them with emerge, then changed my kernel options.

But I cannot figure out why I cannot use my graphic card (1050TI) (glxinfo error below).

I’ve recompiled the kernel & packages, initramfs and grub. I don’t know how to solve this.

When using «echo nvidia > /etc/modules-load.d/video.conf» openRC show «failed to load nvidia» on boot,

with no informations.

Using nouveau drivers (on a previous installation) worked.

No useful information on google, I already tried many things.

COMMANDS:

uname -a : Linux kugge 5.10.52-gentoo #4 SMP Mon Aug 2 16:48:27 CEST 2021 x86_64 AMD Ryzen 9 3900X 12-Core Processor AuthenticAMD GNU/Linux

glxinfo : «Error: unable to open display»

modprobe -v nvidia : insmod /lib/modules/5.10.52-gentoo/video/nvidia.ko NVreg_PreserveVideoMemoryAllocations=0 NVreg_TemporaryFilePath=/var/tmp NVreg_DeviceFileGID=27 NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_ModifyDeviceFiles=1

lsmod : http://ix.io/3uNR

emerge —info : http://ix.io/3uNS

dmesg | grep -i nvidia : http://ix.io/3uNT

lspci -v : http://ix.io/3uNU

FILES:

.config kernel file : http://ix.io/3uNl

make.conf file : http://ix.io/3uNP

BTW I got exactly the same issue as https://forums.gentoo.org/viewtopic-t-1137696.html

Back to top

View user's profile Send private message

mike155
Advocate
Advocate

Joined: 17 Sep 2010
Posts: 4312
Location: Frankfurt, Germany

PostPosted: Mon Aug 02, 2021 3:50 pm    Post subject: Reply with quote

I don’t fully understand the issue.

It seems that you’re still on a TTY console. Right?

If that’s true, it’s perfectly fine that glxinfo doesn’t work. It works only in an X11 environment.

So what’s the real problem? Do you want to start X and «startx» fails? If that’s the case: please post the Xorg log file.

Furthermore, your profile is «default/linux/amd64/17.1/no-multilib». Why didn’t you choose a desktop profile?

Back to top

View user's profile Send private message

NeddySeagoon
Administrator
Administrator

Joined: 05 Jul 2003
Posts: 51961
Location: 56N 3W

PostPosted: Mon Aug 02, 2021 4:04 pm    Post subject: Reply with quote

Kuggeo,

Welcome to Gentoo.

If you installed using the no-multilib tarball, your no-multilib profile is correct.

There are no desktop profiles for no-multilib.

Your

Code:
 dmesg | grep -i nvidia : http://ix.io/3uNT

strips out all the error messages.

We need whole logs, so that we can see what should be there is there and spot things that are missing that should be there.

Your lspci is correct.

Code:
0a:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1) (prog-if 00 [VGA controller])

   Subsystem: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti]

   Kernel driver in use: nvidia

   Kernel modules: nvidia_drm, nvidia

How are you starting your desktop?

glxinfo requires to have access to the Xorg display, so needs to be run from your desktop.

Your USE flags

Code:
USE=»X acl amd64 bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib»

look very light for a desktop.

Choose the desktop profile that is closest to what you would like but do not install anything.

Run

Code:
emerge —info

so you can see the USE flags it sets.

Copy them to your make.conf as thats a good starting point for a desktop install.

Revert the profile to /no-multilib

Code:
emerge -uDNav @world

to make your new use flags take effect.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-

those that do backups

those that have never had a hard drive fail.

Back to top

View user's profile Send private message

Display posts from previous:   

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

@1z-z1

Hello!

Optimus-manager stopped working for me after a system update recently.
The output during tty mode is…

Error reading current mode : Cannot run glxinfo : Failed to execute 'glxinfo' : Error: unable to open display

There is more output too it but piping didn’t catch it.
I’ll try to update this asap with that info.

System info
OS — Arch Linux
Kernel — 4.19.98-1-lts
WM — Openbox
DM- Lightdm
Laptop — Clevo N855HJ
Version — Optimus Manager (Client) version 1.2.2

Logs
OMboot_setup.txt
OMgpu_setup.txt
OMprime_setup.txt

@1z-z1

Here’s a photo of the extra info that pipe didn’t catch.
Will convert into text soon.
image

@Askannz

Yeah that Python crash has been fixed already (b4d07c7), the fix just hasn’t made its way into a release yet.

Use optimus-manager-git for now.

@1z-z1

@1z-z1

The…
Error reading current mode : Cannot run glxinfo : Failed to execute 'glxinfo' : Error: unable to open display
…is still persisting after changing to optimus-manager-git.
But there is no python crashing anymore.

@Kr1ss-XD

I assume you entered that command in a tty session (the screenshot you posted looks like if you did).

Since glxinfo needs an X display, the error would be the supposed behavior if that’s the case.
If so, could you pls try again in a terminal emulator inside a graphical session ?

E/

There is more output too it but piping didn’t catch it.

optimus-manager --status |& <other_command>
does pipe both stdout and stderr of the first command into the second one, btw 😉

@1z-z1

@Kr1ss-XD
You’re correct.
glxinfo is running correctly now.

I’m confused on where this leaves me though.

I made another issue with #204

In which I mention that I do make it to a lightdm login screen.
That means there is an X display getting opened?

It’s when I try and login and the screen tries to create an openbox-session that it blacks out and sends me back to the lightdm login screen.

@Kr1ss-XD

This seems to be another problem. I’m afraid I can’t help you with that, since I’m not experienced with display managers nor with OpenBox, sorry.

@1z-z1

Понравилась статья? Поделить с друзьями:
  • Glwf error 65543 wgl the driver does not appear to support opengl
  • Glwf error 65543 minecraft
  • Glwf error 65542 wgl the driver does not appear to support opengl
  • Glwf error 65542 minecraft
  • Golang url error