You are not logged in.

#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)

Offline

#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?

Offline

#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.

Offline

#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

Offline

#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

KevBel wrote:

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

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


ᶘ ᵒᴥᵒᶅ

Offline

#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.

Offline

#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)

Offline

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

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

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

Offline

#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...

Offline

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

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

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:

lib32-intel-dri

?

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.)

uname -a

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

Offline

Board footer

Powered by FluxBB