Find the answer to your Linux question:
Results 1 to 3 of 3
After a fresh install of FC20 and following the wiki to install nvidia drivers using bumblebee I seem to have hit a wall. When running Code: optirun glxgears I get ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2012
    Location
    Nashville, TN
    Posts
    98

    optirun can't find glamorgl


    After a fresh install of FC20 and following the wiki to install nvidia drivers using bumblebee I seem to have hit a wall.

    When running
    Code:
    optirun glxgears
    I get the following error
    Code:
    [jstephens@TuxAsus ~]$ optirun glxgears
    [  539.359734] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "glamoregl" (module does not exist, 0)
    
    [  539.359812] [ERROR]Aborting because fallback start is disabled.
    
    
    I ran the following and got information that I do have glamore installed
    [jstephens@TuxAsus ~]$ rpm -qi xorg-x11-glamor
    Name        : xorg-x11-glamor
    Version     : 0.5.1
    Release     : 1.20131009gitba209eee.fc20
    Architecture: x86_64
    Install Date: Wed 11 Dec 2013 06:12:29 PM CST
    Group       : System Environment/Libraries
    Size        : 235820
    License     : MIT
    Signature   : RSA/SHA256, Wed 09 Oct 2013 10:45:24 PM CDT, Key ID 2eb161fa246110c1
    Source RPM  : xorg-x11-glamor-0.5.1-1.20131009gitba209eee.fc20.src.rpm
    Build Date  : Wed 09 Oct 2013 09:47:52 AM CDT
    Build Host  : buildvm-11.phx2.fedoraproject.org
    Relocations : (not relocatable)
    Packager    : Fedora Project
    Vendor      : Fedora Project
    URL         : http://www.freedesktop.org/wiki/Software/Glamor
    Summary     : X.org glamor library
    Description :
    glamor provides xorg-x11 acceleration using the OpenGL driver.
    [jstephens@TuxAsus ~]$
    Also here is an strace
    Code:
    [jstephens@TuxAsus ~]$ strace optirun glxgears
    execve("/usr/bin/optirun", ["optirun", "glxgears"], [/* 46 vars */]) = 0
    brk(0)                                  = 0x2291000
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb05104d000
    access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=83009, ...}) = 0
    mmap(NULL, 83009, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb051038000
    close(3)                                = 0
    open("/lib64/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\246\1\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=1234520, ...}) = 0
    mmap(NULL, 3323376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb050b03000
    mprotect(0x7fb050c2c000, 2097152, PROT_NONE) = 0
    mmap(0x7fb050e2c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x129000) = 0x7fb050e2c000
    mmap(0x7fb050e2e000, 1520, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb050e2e000
    close(3)                                = 0
    open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\"\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=44048, ...}) = 0
    mmap(NULL, 2128952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb0508fb000
    mprotect(0x7fb050902000, 2093056, PROT_NONE) = 0
    mmap(0x7fb050b01000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fb050b01000
    close(3)                                = 0
    open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\36\2\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=2097256, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb051037000
    mmap(NULL, 3924576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb05053c000
    mprotect(0x7fb0506f0000, 2097152, PROT_NONE) = 0
    mmap(0x7fb0508f0000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b4000) = 0x7fb0508f0000
    mmap(0x7fb0508f6000, 16992, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb0508f6000
    close(3)                                = 0
    open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340m\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=147544, ...}) = 0
    mmap(NULL, 2213104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb05031f000
    mprotect(0x7fb050337000, 2093056, PROT_NONE) = 0
    mmap(0x7fb050536000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fb050536000
    mmap(0x7fb050538000, 13552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb050538000
    close(3)                                = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb051036000
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb051034000
    arch_prctl(ARCH_SET_FS, 0x7fb051034740) = 0
    mprotect(0x7fb0508f0000, 16384, PROT_READ) = 0
    mprotect(0x7fb050536000, 4096, PROT_READ) = 0
    mprotect(0x7fb050b01000, 4096, PROT_READ) = 0
    mprotect(0x7fb050e2c000, 4096, PROT_READ) = 0
    mprotect(0x608000, 4096, PROT_READ)     = 0
    mprotect(0x7fb05104e000, 4096, PROT_READ) = 0
    munmap(0x7fb051038000, 83009)           = 0
    set_tid_address(0x7fb051034a10)         = 2686
    set_robust_list(0x7fb051034a20, 24)     = 0
    rt_sigaction(SIGRTMIN, {0x7fb0503258c0, [], SA_RESTORER|SA_SIGINFO, 0x7fb05032e750}, NULL, 8) = 0
    rt_sigaction(SIGRT_1, {0x7fb050325950, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fb05032e750}, NULL, 8) = 0
    rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
    getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
    brk(0)                                  = 0x2291000
    brk(0x22b2000)                          = 0x22b2000
    brk(0)                                  = 0x22b2000
    rt_sigaction(SIGHUP, {0x405240, [HUP], SA_RESTORER|SA_RESTART, 0x7fb050571cd0}, {SIG_DFL, [], 0}, 8) = 0
    rt_sigaction(SIGTERM, {0x405240, [TERM], SA_RESTORER|SA_RESTART, 0x7fb050571cd0}, {SIG_DFL, [], 0}, 8) = 0
    rt_sigaction(SIGINT, {0x405240, [INT], SA_RESTORER|SA_RESTART, 0x7fb050571cd0}, {SIG_DFL, [], 0}, 8) = 0
    rt_sigaction(SIGQUIT, {0x405240, [QUIT], SA_RESTORER|SA_RESTART, 0x7fb050571cd0}, {SIG_DFL, [], 0}, 8) = 0
    open("/usr/share/locale/locale.alias", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=2492, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb05104c000
    read(3, "# Locale name alias data base.\n#"..., 4096) = 2492
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    munmap(0x7fb05104c000, 4096)            = 0
    open("/etc/bumblebee/bumblebee.conf", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=2581, ...}) = 0
    read(3, "# Configuration file for Bumbleb"..., 4096) = 2581
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3
    connect(3, {sa_family=AF_LOCAL, sun_path="/var/run/bumblebee.socket"}, 110) = 0
    sendto(3, "Query LibraryPath\0", 18, MSG_NOSIGNAL, NULL, 0) = 18
    recvfrom(3, "Value: /usr/lib64/nvidia-bumbleb"..., 1024, 0, NULL, NULL) = 82
    sendto(3, "Query VirtualDisplay\0", 21, MSG_NOSIGNAL, NULL, 0) = 21
    recvfrom(3, "Value: :8\n\0", 1024, 0, NULL, NULL) = 11
    access("/usr/lib64/qt-3.3/bin/vglrun", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/local/bin/vglrun", X_OK)   = -1 ENOENT (No such file or directory)
    access("/usr/bin/vglrun", X_OK)         = 0
    access("/usr/lib64/qt-3.3/bin/vglclient", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/local/bin/vglclient", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/bin/vglclient", X_OK)      = 0
    sendto(3, "Connect \0", 9, MSG_NOSIGNAL, NULL, 0) = 9
    recvfrom(3, "No - error: [XORG] (EE) Failed t"..., 1024, 0, NULL, NULL) = 86
    write(2, "[  715.266821] ", 15[  715.266821] )         = 15
    write(2, "[ERROR]Cannot access secondary G"..., 118[ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "glamoregl" (module does not exist, 0)
    
    ) = 118
    shutdown(3, SHUT_RDWR)                  = 0
    close(3)                                = 0
    write(2, "[  715.266946] ", 15[  715.266946] )         = 15
    write(2, "[ERROR]Aborting because fallback"..., 52[ERROR]Aborting because fallback start is disabled.
    ) = 52
    exit_group(1)                           = ?
    +++ exited with 1 +++
    [jstephens@TuxAsus ~]$
    At this point I am pretty much stuck. Can someone lend a hand and help me get this solved?

    The hardware is ASUS Q550L which comes with both intel graphics and Nvidia 745M.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,882
    Quite often with graphics programs I find that there is a mismatch between the video driver architecture and the X program I've tried to run. Things that use OpenGL, stuff like Steam, et. al., demand that you have the 32-bit video drivers/libraries available.

    Your install log above shows that you have the 64-bit version of glamour installed. Try installing the i386 (or i686 if that's all that is available) version of the same library. Your system should be quite happy with both installed.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Sep 2012
    Location
    Nashville, TN
    Posts
    98
    ok I am a little further now. After trying the suggestions here and from irc I finally was pointed to a redhat bug and followed it. Which basically said to do the following because Nvidia's glamor will conflict with the communities basically.
    Code:
    yum erase xorg-x11-glamor
    However when running optirun glxgears I get the following
    Code:
    [jstephens@TuxAsus ~]$ optirun glxgears 
    [  611.385188] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:4:0:0.  Please
    
    [  611.385215] [ERROR]Aborting because fallback start is disabled.
    [jstephens@TuxAsus ~]$
    I am going to keep researching.

    Here is a post from lspci also
    Code:
    [jstephens@TuxAsus ~]$ lspci -vv -s 04:00.0
    04:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 745M] (rev a1)
    	Subsystem: ASUSTeK Computer Inc. Device 12dd
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    	Latency: 0, Cache Line Size: 64 bytes
    	Interrupt: pin A routed to IRQ 16
    	Region 0: Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
    	Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
    	Region 3: Memory at f0000000 (64-bit, prefetchable) [size=32M]
    	Region 5: I/O ports at d000 [size=128]
    	Expansion ROM at f7000000 [disabled] [size=512K]
    	Capabilities: <access denied>
    	Kernel driver in use: nvidia
    
    [jstephens@TuxAsus ~]$
    Last edited by bsdtux; 12-20-2013 at 01:22 PM. Reason: add more informataion.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •