You are not logged in.
Pages: 1
Hi,
After installing Arch, I am unable to run any OpenGL applications.
When running glxinfo I get the following:
name of display: :0
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 35
Current serial number in output stream: 36I also get a similar error trying to run compton:
[ 0.00 ] error 2 BadValue request 154 minor 3 serial 37: "BadValue (integer parameter out of range for operation)"
glx_init(): Failed to get GLX context.I found several posts relating this problem, but they seemed to be caused by NVidia drivers, whereas I do not have a NVidia card. I am on a DELL Latitude E6540 laptop with two VGA card, an integrated Intel and an AMD Radeon.
The relevant part of lspci -v is:
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics
Controller (rev 06) (prog-if 00 [VGA controller])
Subsystem: Dell Device 05be
Flags: bus master, fast devsel, latency 0, IRQ 33
Memory at f5800000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars XTX [Radeon HD 8790M] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: radeon
Kernel modules: radeon, amdgpuI am using the open-source driver xf86-video-ati for the ATI card, as well as mesa and xf86-video-intel for my Intel card.
My Xorg log (http://dpaste.com//3AMDX4E) contains several errors:
[ 10.716] (EE) Failed to load module "intel" (module does not exist, 0)
[ 10.720] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 10.768] (EE) modeset(0): eglGetDisplay() failed
[ 10.770] (EE) modeset(0): glamor initialization failed
[ 11.041] (EE) modeset(G0): eglGetDisplay() failed
[ 11.042] (EE) modeset(G0): glamor initialization failed
[ 11.182] (EE) AIGLX: reverting to software renderingMy dmesg output is here : http://dpaste.com//1XDJAAF.
Please tell me if there is some more information that I can provide.
Thank you in advance.
Last edited by qbammey (2017-07-27 22:33:31)
Offline
offtopic :
zerobin required javascript enabled , and appears to put a multi-line selection into one large wall of text when copying .
Maybe look for another pastebin service ?
-------------------------------
[ 10.621] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 10.621] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 10.621] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 10.621] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 12 paused 0
[ 10.623] (--) PCI:*(0:0:2:0) 8086:0416:1028:05be rev 6, Mem @ 0xf5800000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 10.623] (--) PCI: (0:1:0:0) 1002:6606:1028:05be rev 0, Mem @ 0xe0000000/268435456, 0xf7c00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[ 10.623] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 10.623] (II) LoadModule: "glx"
[ 10.624] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 10.714] (II) Module glx: vendor="X.Org Foundation"
[ 10.714] compiled for 1.19.3, module version = 1.0.0
[ 10.714] ABI class: X.Org Server Extension, version 10.0
[ 10.714] (II) Applying OutputClass "intel" to /dev/dri/card1
[ 10.714] loading driver: modesetting
[ 10.714] (II) Applying OutputClass "Radeon" to /dev/dri/card0
[ 10.714] loading driver: radeonOn a hybrid graphics system like yours normally card0 corresponds to the primary card and card1 to the secondary card.
That would result in intel beign assigned to card0 at 00:02.0 and radeon to card1 at 01:00.0 .
The Xorg log however shows the reverse : intel is being assigned to card1 and radeon to card0 .
Did you create any xorg *.conf-files or issue xrandr commands ?
Last edited by Lone_Wolf (2017-07-27 16:58:16)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thank you for answering. I modified the pastebin links to dpaste.com.
I do not have any Xorg configuration file, and I have not used any xrandr command yet.
In case this could be useful, I just ran xrandr --listproviders:
Providers: number : 2
Provider 0: id: 0x6c cap: 0x2, Sink Output crtcs: 3 outputs: 7 associated providers: 0 name:modesetting
Provider 1: id: 0x42 cap: 0x2, Sink Output crtcs: 2 outputs: 1 associated providers: 0 name:modesettingOffline
it's getting weirder : no Source Output, Source Offload or Sink Offload .
Output of ls -l /etc/X11/xorg.conf.d , ls -l /usr/share/X11/xorg.conf.d and ls -l /usr/lib/xorg/modules/drivers .
Are you using the laptop on a docking station ?
Last edited by Lone_Wolf (2017-07-27 22:05:14)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I was not aware of another xorg.conf.d folder at /usr/share. Although /etc/X11/xorg.conf.d was empty, /usr/share/X11/xorg.conf.d was not. Especially, 10-nvidia.conf was in /usr/share/X11/xorg.conf.d, and nvidia_drv.so was in /usr/lib/xorg/modules/drivers, which was strange as I do not have any nvidia card.
Looking through my installed packages with pacman, I found that I had installed (either accidentally or through a dependency, as I do not remember installing it) nvidia-340xx-utils. Removing it caused the deletion of the two nvidia files in xorg.conf.d and /usr/lib/xorg/modules/drivers, and everything now works perfectly.
Thanks a lot for your help!
Offline
Pages: 1