Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RetroArch segfaults when scanning any directory for games #3105

Closed
kevinfishburne opened this issue Jun 13, 2016 · 21 comments
Closed

RetroArch segfaults when scanning any directory for games #3105

kevinfishburne opened this issue Jun 13, 2016 · 21 comments

Comments

@kevinfishburne
Copy link

I tried this with current builds in both the stable and testing PPA's on Linux Mint 17.3 amd64. It even crashes scanning an empty directory, so it's not bad ROMs. I also deleted the config file in ~/.config/retroarch, so it's not a settings file issue. RetroArch worked on my system a couple of weeks ago until reinstalling it from PPA tonight. Any ideas on how to gather more information about the crash? The terminal simply outputs "Segmentation fault". dmesg reports "error 4 in retroarch".

@hizzlekizzle
Copy link
Contributor

Launching from a terminal with --menu --verbose will give you a full output to the console. You can also try running it through gdb for more information.

@kevinfishburne
Copy link
Author

--menu --verbose display a lot of output, but nothing just before the crash:

kevinfishburne@codex:~$ retroarch --menu --verbose
RetroArch [INFO] :: === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES
Built: Jun 12 2016
RetroArch [INFO] :: Version: 1.3.4
RetroArch [INFO] :: =================================================
RetroArch [INFO] :: Looking for config in: "/home/kevinfishburne/.config/retroarch/retroarch.cfg".
RetroArch [WARN] :: SYSTEM DIR is empty, assume CONTENT DIR
RetroArch [INFO] :: Config: loading config from: /home/kevinfishburne/.config/retroarch/retroarch.cfg.
RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch [INFO] :: Version of libretro API: 1
RetroArch [INFO] :: Compiled against API: 1
RetroArch [INFO] :: Set audio input rate to: 29975.00 Hz.
RetroArch [INFO] :: Video @ 960x720
RetroArch [ERROR] :: Failed to connect to Wayland server.
RetroArch [INFO] :: Found GL context: x
RetroArch [INFO] :: Detecting screen resolution 3840x1080.
RetroArch [INFO] :: [GLX]: X = 0, Y = 0, W = 960, H = 720.
RetroArch [INFO] :: [GLX]: Found swap function: glXSwapIntervalEXT.
RetroArch [INFO] :: [GLX]: glXSwapIntervalEXT(1)
RetroArch [INFO] :: [GL]: Vendor: NVIDIA Corporation, Renderer: GeForce GTX 750/PCIe/SSE2.
RetroArch [INFO] :: [GL]: Version: 4.4.0 NVIDIA 340.96.
RetroArch [INFO] :: Querying GL extension: ARB_ES2_compatibility => exists
RetroArch [INFO] :: Querying GL extension: ARB_sync => exists
RetroArch [INFO] :: Querying GL extension: ARB_texture_float => exists
RetroArch [INFO] :: Querying GL extension: EXT_texture_sRGB => exists
RetroArch [INFO] :: Querying GL extension: ARB_framebuffer_sRGB => exists
RetroArch [INFO] :: GL: Using resolution 960x720
RetroArch [INFO] :: [GL]: Default shader backend found: glsl.
RetroArch [INFO] :: [Shader driver]: Using GLSL shader backend.
RetroArch [INFO] :: Checking GLSL shader support ...
RetroArch [WARN] :: [GL]: Stock GLSL shaders will be used.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: [GL]: Using 4 textures.
RetroArch [INFO] :: [GL]: Loaded 1 program(s).
RetroArch [INFO] :: [GL]: Using GL_RGB565 for texture uploads.
RetroArch [INFO] :: [udev]: Plugged pad: Logitech Logitech Dual Action (046d:c216) on port #0.
RetroArch [INFO] :: Autodetect: 0 profiles found
RetroArch [INFO] :: Autodetect: no profiles found for Logitech Logitech Dual Action (1133/49686)
RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event4) supports 0 force feedback effects.
RetroArch [INFO] :: [udev]: Plugged pad: USB Gamepad (0079:0011) on port #1.
RetroArch [INFO] :: Autodetect: 0 profiles found
RetroArch [INFO] :: Autodetect: no profiles found for USB Gamepad (121/17)
RetroArch [INFO] :: [udev]: Pad #1 (/dev/input/event15) supports 0 force feedback effects.
RetroArch [INFO] :: Found joypad driver: "udev".
RetroArch [INFO] :: Using font rendering backend: freetype.
RetroArch [INFO] :: Suspending screensaver (X11).
RetroArch [INFO] :: ALSA: Using signed 16-bit format.
RetroArch [INFO] :: ALSA: Period size: 768 frames
RetroArch [INFO] :: ALSA: Buffer size: 3072 frames
RetroArch [INFO] :: ALSA: Can pause: yes.
RetroArch [INFO] :: Found menu display driver: "menu_display_gl".
RetroArch [INFO] :: Querying GL extension: ARB_framebuffer_object => exists
RetroArch [INFO] :: Using font rendering backend: freetype.
RetroArch [INFO] :: Using font rendering backend: freetype.
RetroArch [INFO] :: SRAM will not be saved.
RetroArch [INFO] :: null: [/home/kevinfishburne/.config/retroarch/content_history.lpl].
RetroArch [INFO] :: [GL]: VSync => on
RetroArch [INFO] :: [GLX]: glXSwapIntervalEXT(1)
RetroArch [INFO] :: [GL]: VSync => on
RetroArch [INFO] :: [GLX]: glXSwapIntervalEXT(1)
Segmentation fault

Running it in gdb only displays this when it crashes:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000424184 in ?? ()

@kevinfishburne
Copy link
Author

Turns out the retroarch package in synaptic fails to install as dependencies or even recommend the installation of any of the libretro packages. Issuing "sudo apt-get install libretro*" solves the problem, however after the ROMs are scanned RetroArch fails to add the relevant systems to the menu, so there's no way to access the scanned ROMs. Ideas?

@kevinfishburne
Copy link
Author

Perhaps there is a discrepancy between the way Lakka configures RetroArch versus a vanilla RetroArch installation. Lakka automatically adds a system icon after ROMs are scanned, but vanilla RetroArch does not, requiring me to use "Load Content", "Select File And Detect Core", then manually browse to the ROM.

@kivutar
Copy link
Member

kivutar commented Jun 13, 2016

Lakka uses vanilla retroarch, but we provide the database and the core infos out of the box. While in the vanilla retroarch you have to download those through the online updater, which is not very intuitive.

@kevinfishburne
Copy link
Author

Not intuitive, but it works. Thank you. I may now be able to forgo Lakka and do a proper distro with the NVIDIA drivers for good output on my CRT television with RetroArch. Good information, but the "unintuitive" part should be modified so the user is prompted if they want to update the games database on first run or something.

@kivutar
Copy link
Member

kivutar commented Jun 13, 2016

If you still like Lakka, you can learn how to compile it by yourself and customize it to suit your needs. For example, this pull request shows how to build Lakka with the proprietary NVIDIA drivers and X11 https://github.com/libretro/Lakka/pull/391/files

@kevinfishburne
Copy link
Author

I do like Lakka; I reinstalled it yesterday after getting poor performance on the same machine using Mint 17.3 with the binary NVIDIA drivers, surprisingly. This question is probably beyond the scope of this bug report (which should be under PPA dependency recommendations), but is there a script to create a "testing" Lakka .img with 391's X11 and/or proprietary driver additions? All I need is xrandr but I don't know how to compile Lakka from source or create a bootable image. The nouveau driver works amazingly well in Lakka. Nouveau and X11 with xrandr could control over/underscan compensation easily and it would be awesome.

@kivutar
Copy link
Member

kivutar commented Jun 20, 2016

Yes, clone lakka, apply this PR, libretro/Lakka#391 and compile it following the instructions on the wiki.

@kevinfishburne
Copy link
Author

@kivutar Okay, I suck at git. I've cloned Lakka and have a Lakka directory full of files. What command do I issue to apply the pull request, and do I issue it from within the Lakka directory (containing CHANGELOG, config, CONTRIBUTING.md, etc.) or some other directory?

@kevinfishburne
Copy link
Author

Not too much code was changed, so I manually edited the source files to remove and add lines as necessary and am compiling now. Will report findings.

@kevinfishburne
Copy link
Author

Got "checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool" during compilation. Tried this to install perl "XML::Parser" module and am reattempting compilation:

http://mynixworld.info/2014/02/17/xmlparser-perl-module-required-intltool/

@kevinfishburne
Copy link
Author

Failed the second time after burning 8 cores for nearly two hours with:

Resolving us.download.nvidia.com (us.download.nvidia.com)... 23.205.120.114, 23.205.120.128
Connecting to us.download.nvidia.com (us.download.nvidia.com)|23.205.120.114|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38511679 (37M) [application/octet-stream]
Saving to: 'sources/xf86-video-nvidia/NVIDIA-Linux-x86_64-340.96-no-compat32.run'

100%[====================================================================================================================================================================================================>] 38,511,679 6.59MB/s in 6.3s

2016-06-21 01:42:45 (5.86 MB/s) - 'sources/xf86-video-nvidia/NVIDIA-Linux-x86_64-340.96-no-compat32.run' saved [38511679/38511679]

UNPACK xf86-video-nvidia
Creating directory build.Lakka-Generic.x86_64-devel/xf86-video-nvidia-340.96
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.96.........................................................................................................................................................................................................
APPLY PATCH (common) /home/kevinfishburne/Lakka/Lakka/packages/x11/driver/xf86-video-nvidia/patches/xf86-video-nvidia-kernel-3.18.patch
patching file kernel/nv-drm.c
Hunk #1 succeeded at 17 with fuzz 2.
Hunk #2 succeeded at 119 with fuzz 2 (offset 4 lines).
BUILD xf86-video-nvidia (target)
make[1]: Entering directory '/home/kevinfishburne/Lakka/Lakka/build.Lakka-Generic.x86_64-devel/xf86-video-nvidia-340.96/kernel'
The kernel you are installing for is a PREEMPT_RT kernel!

The NVIDIA driver does not support real-time kernels. If you
are using a stock distribution kernel, please install
a variant of this kernel that does not have the PREEMPT_RT
patch set applied; if this is a custom kernel, please
install a standard Linux kernel. Then try installing the
NVIDIA kernel module again.

*** Failed PREEMPT_RT sanity check. Bailing out! ***

nvidia-modules-common.mk:201: recipe for target 'build-sanity-checks' failed
make[1]: *** [build-sanity-checks] Error 1
make[1]: Leaving directory '/home/kevinfishburne/Lakka/Lakka/build.Lakka-Generic.x86_64-devel/xf86-video-nvidia-340.96/kernel'
make: *** [image] Error 2
kevinfishburne@codex:~/Lakka/Lakka$

Complete terminal output from both failures is here:

http://eightvirtues.com/lakka/Lakka%20-%20Two%20Compile%20Fails%20in%20Mint%2017.3

@kivutar
Copy link
Member

kivutar commented Jun 21, 2016

Ok, that's a problem. You need to revert the Real Time kernel patch we applied last week. Try to use git revert with the commit id, and launch compilation again.

@kevinfishburne
Copy link
Author

There are five RT-related commits when I look here: https://github.com/libretro/Lakka/commits/lakka I ran the command "git checkout bd067b2db6a984857f841f08a70a8fc5537a8e69" which hopefully will "revert" the code back to the "Gamegirl, finalize inputs" commit on June 14th, just before all the RT commits. I checked a file and it appears to have worked (yes, I barely know what I'm doing). Compiling now; will report findings.

@kevinfishburne
Copy link
Author

Here's the terminal output of compile failure three: http://eightvirtues.com/lakka/Lakka%20-%20Compile%20Fail%20Three

Everything works until attempting to build the image, after which it gives "No space left on device" errors. When I try to boot a pen drive using the resulting image it fails. I just merged my root and home directories on my workstation to ensure I had enough disk space locally, so this seems to be some other error, perhaps related to how it creates the image file. Here's the end of the terminal output:

mkimage: boo. now root access (sudo) is required...
mkimage: see scripts/image and scripts/mkimage if you dont trust us :)
[sudo] password for kevinfishburne: 
image: creating image: /home/kevinfishburne/Lakka/Lakka/target/Lakka-Generic.x86_64-devel-20160622011755-r21471-gbd067b2.img...
292+0 records in
292+0 records out
306184192 bytes (306 MB) copied, 0.277069 s, 1.1 GB/s
image: creating partition table on /home/kevinfishburne/Lakka/Lakka/target/Lakka-Generic.x86_64-devel-20160622011755-r21471-gbd067b2.img...
image: creating part1 on /home/kevinfishburne/Lakka/Lakka/target/Lakka-Generic.x86_64-devel-20160622011755-r21471-gbd067b2.img...
image: creating part2 on /home/kevinfishburne/Lakka/Lakka/target/Lakka-Generic.x86_64-devel-20160622011755-r21471-gbd067b2.img...
image: writing mbr...
1+0 records in
1+0 records out
440 bytes (440 B) copied, 0.000240637 s, 1.8 MB/s
image: creating filesystem on part1...
tune2fs 1.42.9 (4-Feb-2014)
e2fsck 1.42.9 (4-Feb-2014)
/dev/loop0: clean, 11/65536 files, 18527/262144 blocks
image: mounting part1 on /tmp/tmp.Gc7HtatCJl...
image: creating bootloader configuration...
image: installing extlinux to part1...
/tmp/tmp.Gc7HtatCJl is device /dev/loop0
image: copying files to part1...
cp: error writing '/tmp/tmp.Gc7HtatCJl/SYSTEM': No space left on device
cp: failed to extend '/tmp/tmp.Gc7HtatCJl/SYSTEM': No space left on device
cp: error writing '/tmp/tmp.Gc7HtatCJl/splash.png': No space left on device
cp: failed to extend '/tmp/tmp.Gc7HtatCJl/splash.png': No space left on device
cp: error writing '/tmp/tmp.Gc7HtatCJl/vesamenu.c32': No space left on device
cp: failed to extend '/tmp/tmp.Gc7HtatCJl/vesamenu.c32': No space left on device
cp: error writing '/tmp/tmp.Gc7HtatCJl/libcom32.c32': No space left on device
cp: failed to extend '/tmp/tmp.Gc7HtatCJl/libcom32.c32': No space left on device
cp: error writing '/tmp/tmp.Gc7HtatCJl/libutil.c32': No space left on device
cp: failed to extend '/tmp/tmp.Gc7HtatCJl/libutil.c32': No space left on device
image: unmounting part1...
image: creating filesystem on part2...
tune2fs 1.42.9 (4-Feb-2014)
e2fsck 1.42.9 (4-Feb-2014)
/dev/loop0: clean, 11/8192 files, 5530/32768 blocks
image: mounting part2 on /tmp/tmp.Gc7HtatCJl...
image: unmounting part2...
image: compressing...
image: cleanup...
kevinfishburne@codex:~/Lakka/Lakka$ ^C
kevinfishburne@codex:~/Lakka/Lakka$ 

@kevinfishburne
Copy link
Author

Holy shit, may have figured it out. I edited the /scripts/mkimage file and changed "SYSTEM_SIZE=256" to "SYSTEM_SIZE=512" and didn't get the errors on next compile. Will test booting to the resulting image and report.

@kevinfishburne
Copy link
Author

I can boot to the image but X and RetroArch fail to start. I'm modifying local code to try to change the NVIDIA driver version to 304.131 for my older video card. I'm not sure if the codebase dynamically downloads string-specified driver versions like that, but I'm testing just in case. Compiling now to see.

@kevinfishburne
Copy link
Author

kevinfishburne commented Jun 22, 2016

I can compile and boot to the image now and modifying Lakka/packages/x11/driver/xf86-video-nvidia/package.mk does cause it to download the correct driver version, however during compilation it displays this, which may be a problem (no idea):

--2016-06-22 02:38:21--  http://us.download.nvidia.com/XFree86/Linux-x86_64/304.125/NVIDIA-Linux-x86_64-304.125-no-compat32.run
Resolving us.download.nvidia.com (us.download.nvidia.com)... 104.70.123.9, 104.70.123.11
Connecting to us.download.nvidia.com (us.download.nvidia.com)|104.70.123.9|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 41547370 (40M) [application/octet-stream]
Saving to: 'sources/xf86-video-nvidia/NVIDIA-Linux-x86_64-304.125-no-compat32.run'

100%[====================================================================================================================================================================================================>] 41,547,370  7.11MB/s   in 6.5s   

2016-06-22 02:38:28 (6.11 MB/s) - 'sources/xf86-video-nvidia/NVIDIA-Linux-x86_64-304.125-no-compat32.run' saved [41547370/41547370]

      CLEAN    xf86-video-nvidia
          * Removing build.Lakka-Generic.x86_64-devel/xf86-video-nvidia-340.96 ...
      UNPACK   xf86-video-nvidia
Creating directory build.Lakka-Generic.x86_64-devel/xf86-video-nvidia-304.125
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 304.125...................................................................................................................................................
          APPLY PATCH (common)   /home/kevinfishburne/Lakka/Lakka/packages/x11/driver/xf86-video-nvidia/patches/xf86-video-nvidia-kernel-3.18.patch
patching file kernel/nv-drm.c
Hunk #1 succeeded at 17 with fuzz 2.
Hunk #2 succeeded at 75 with fuzz 1 (offset -40 lines).
      BUILD    xf86-video-nvidia (target)
make[1]: Entering directory '/home/kevinfishburne/Lakka/Lakka/build.Lakka-Generic.x86_64-devel/xf86-video-nvidia-304.125/kernel'
NVIDIA: calling KBUILD...
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        \
echo >&2;                           \
echo >&2 "  ERROR: Kernel configuration is invalid.";       \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
echo >&2 ;                          \

When I boot into Lakka it shows this:

0622161900

systemctl reports this:

Lakka:~ # systemctl status xorg.service
● xorg.service - Xorg Server
   Loaded: loaded (/usr/lib/systemd/system/xorg.service; disabled; vendor preset: enabled)
   Active: activating (start) since Wed 2016-06-22 23:05:27 UTC; 4s ago
 Main PID: 1281 (xorg-launch-hel)
   CGroup: /system.slice/xorg.service
           └─1281 xorg-launch-helper vt01 -s 0 -noreset -allowMouseOpenFail

Jun 22 23:05:27 Lakka xorg-launch[1281]: (EE)
Jun 22 23:05:27 Lakka xorg-launch[1281]: Fatal server error:
Jun 22 23:05:27 Lakka xorg-launch[1281]: (EE) no screens found(EE)
Jun 22 23:05:27 Lakka xorg-launch[1281]: (EE)
Jun 22 23:05:27 Lakka xorg-launch[1281]: Please consult the The X.Org Foundation support
Jun 22 23:05:27 Lakka xorg-launch[1281]: at http://wiki.x.org
Jun 22 23:05:27 Lakka xorg-launch[1281]: for help.
Jun 22 23:05:27 Lakka xorg-launch[1281]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Jun 22 23:05:27 Lakka xorg-launch[1281]: (EE)
Jun 22 23:05:27 Lakka xorg-launch[1281]: (EE) Server terminated with error (1). Closing log file.

Here's Xorg.0.log, which looks like it's unable to load any video driver at all:

Lakka:~ # cat /var/log/Xorg.0.log
[2053846.055] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[2053846.056] X Protocol Version 11, Revision 0
[2053846.057] Build Operating System: Linux 3.19.0-32-generic x86_64 OpenELEC.tv
[2053846.057] Current Operating System: Linux Lakka 4.4.2 #1 SMP Wed Jun 22 03:25:49 EDT 2016 x86_64
[2053846.057] Kernel command line: root=/dev/ram0 rdinit=/init usbcore.autosuspend=-1 BOOT_IMAGE=/KERNEL boot=UUID=3837b501-807c-4174-9265-5f7e118e7f65 disk=UUID=23c2a19a-fd92-48b8-97c3-bec5d6523cf3 quiet ssh vga=current vt.global_cursor_default=0 loglevel=2
[2053846.057] Build Date: 22 June 2016  03:57:33AM
[2053846.057]  
[2053846.057] Current version of pixman: 0.32.6
[2053846.057]   Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[2053846.057] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2053846.058] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 22 23:21:33 2016
[2053846.058] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[2053846.058] (==) No Layout section.  Using the first Screen section.
[2053846.058] (==) No screen section available. Using defaults.
[2053846.058] (**) |-->Screen "Default Screen Section" (0)
[2053846.058] (**) |   |-->Monitor "<default monitor>"
[2053846.059] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[2053846.059] (==) Automatically adding devices
[2053846.059] (==) Automatically enabling devices
[2053846.059] (==) Automatically adding GPU devices
[2053846.059] (==) FontPath set to:
    /usr/share/fonts/misc,
    built-ins
[2053846.059] (==) ModulePath set to "/usr/lib/xorg/modules"
[2053846.059] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[2053846.059] (II) Loader magic: 0x614d80
[2053846.059] (II) Module ABI versions:
[2053846.059]   X.Org ANSI C Emulation: 0.4
[2053846.059]   X.Org Video Driver: 18.0
[2053846.059]   X.Org XInput driver : 21.0
[2053846.059]   X.Org Server Extension : 8.0
[2053846.064] (II) xfree86: Adding drm device (/dev/dri/card0)
[2053846.066] (--) PCI:*(0:2:0:0) 10de:01d3:19da:5001 rev 161, Mem @ 0xfa000000/16777216, 0xe0000000/268435456, 0xfb000000/16777216, BIOS @ 0x????????/131072
[2053846.066] (II) LoadModule: "glx"
[2053846.066] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[2053846.074] (II) Module glx: vendor="X.Org Foundation"
[2053846.074]   compiled for 1.16.4, module version = 1.0.0
[2053846.074]   ABI class: X.Org Server Extension, version 8.0
[2053846.074] (==) AIGLX enabled
[2053846.074] (==) Matched nouveau as autoconfigured driver 0
[2053846.074] (==) Matched nv as autoconfigured driver 1
[2053846.074] (==) Matched nouveau as autoconfigured driver 2
[2053846.074] (==) Matched nv as autoconfigured driver 3
[2053846.074] (==) Matched modesetting as autoconfigured driver 4
[2053846.074] (==) Matched fbdev as autoconfigured driver 5
[2053846.074] (==) Matched vesa as autoconfigured driver 6
[2053846.074] (==) Assigned the driver to the xf86ConfigLayout
[2053846.075] (II) LoadModule: "nouveau"
[2053846.075] (WW) Warning, couldn't open module nouveau
[2053846.075] (II) UnloadModule: "nouveau"
[2053846.075] (II) Unloading nouveau
[2053846.075] (EE) Failed to load module "nouveau" (module does not exist, 0)
[2053846.075] (II) LoadModule: "nv"
[2053846.075] (WW) Warning, couldn't open module nv
[2053846.075] (II) UnloadModule: "nv"
[2053846.075] (II) Unloading nv
[2053846.075] (EE) Failed to load module "nv" (module does not exist, 0)
[2053846.075] (II) LoadModule: "modesetting"
[2053846.076] (WW) Warning, couldn't open module modesetting
[2053846.076] (II) UnloadModule: "modesetting"
[2053846.076] (II) Unloading modesetting
[2053846.076] (EE) Failed to load module "modesetting" (module does not exist, 0)
[2053846.076] (II) LoadModule: "fbdev"
[2053846.076] (WW) Warning, couldn't open module fbdev
[2053846.076] (II) UnloadModule: "fbdev"
[2053846.076] (II) Unloading fbdev
[2053846.076] (EE) Failed to load module "fbdev" (module does not exist, 0)
[2053846.076] (II) LoadModule: "vesa"
[2053846.077] (WW) Warning, couldn't open module vesa
[2053846.077] (II) UnloadModule: "vesa"
[2053846.077] (II) Unloading vesa
[2053846.077] (EE) Failed to load module "vesa" (module does not exist, 0)
[2053846.077] (EE) No drivers available.
[2053846.077] (EE) 
Fatal server error:
[2053846.078] (EE) no screens found(EE) 
[2053846.078] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[2053846.080] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[2053846.080] (EE)

@kevinfishburne
Copy link
Author

I'm "moving" this thread to the forums, as it's become off-topic. Here's the forum link: http://libretro.com/forums/showthread.php?t=6143

@Alexandre-Garcia
Copy link
Contributor

@kevinfishburne
Today I removed the RT kernel patch of my fork for now, until I get compile the Nvidia driver with RT.
You can clone my fork of Lakka and compile by this.
git clone https://github.com/Alexandre-Garcia/Lakka.git
I changed the variable NVIDIAX11 to X11SERVER, then must compile this way.
DISTRO=Lakka PROJECT=Generic ARCH=x86_64 X11SERVER=yes make image
Currently this with the Nvidia driver 340, however you can switch to 304 in the same way you already did. I already test with 304 driver and a 6200 LE card and works fine.
After the first boot you can customize your xorg.conf file and put in the config folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants