(Fedora 22) Failed to create the opengl context
#1
Hello,

I recently installed fedora (just today), I am using fedora 22, I am having trouble using pcsx2.

pcsx2 version: PCSX2 1.3.0.r0  - compiled on May 19 2015

hardware:
Here are some hardware specs:
CPU: intel core i7 2600K
GPU: nvidia gtx 770


Here is what I have done:

Installed fedora

installed pcsx2 from rpmfusion using
Code:
dnf install pcsx2


installed graphics drivers using this guide: http://rpmfusion.org/Howto/nVidia#Newer_GeForce
from the above guide I did these two lines:
Code:
dnf install akmod-nvidia "kernel-devel-uname-r == $(uname -r)"
dnf update -y


then I restarted.

I am using the plugin gsdxogl (hardware), when I run pcsx2 from the terminal and do system boot (fast) I get this error:



Code:
pcsx2

(pcsx2:2914): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(pcsx2:2914): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Command line parsing...
Command line parsed!
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Failed to create the opengl context. Check your drivers support openGL 3.3. Hint: opensource drivers don't
libEGL warning: DRI2: failed to authenticate
EGL: warning your driver doesn't suport advance openGL context attributes
EGL: Mesa Project : 1.4 (DRI2)
EGL: extensions supported: EGL_MESA_configless_context EGL_KHR_get_all_proc_addresses EGL_KHR_surfaceless_context
Failed to find glUniformSubroutinesuiv


I also tried ZZogl PG 0.4.0, but I get a different error

Code:
pcsx2

(pcsx2:3722): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(pcsx2:3722): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Command line parsing...
Command line parsed!
ZZOgl-PG:  Calling GSinit.
ZZOgl-PG:  GSinit finished.
ZZOgl-PG:  Disabling MRT depth writing.
ZZOgl-PG:  Calling GSopen2.
ZZOgl-PG:  Capturing ZZOgl window.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

(pcsx2:3722): Gdk-ERROR **: The program 'pcsx2' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
 (Details: serial 30 error_code 2 request_code 153 minor_code 3)
 (Note to programmers: normally, X errors are reported asynchronously;
  that is, you will receive the error a while after causing it.
  To debug your program, run it with the --sync command line
  option to change this behavior. You can then get a meaningful
  backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)


Thanks for any help, let me know if you need more information.
Reply

Sponsored links

#2
(10-25-2015, 03:44 AM)lookingforcheats Wrote: Hello,

I recently installed fedora (just today), I am using fedora 22, I am having trouble using pcsx2.

pcsx2 version: PCSX2 1.3.0.r0  - compiled on May 19 2015

hardware:
Here are some hardware specs:
CPU: intel core i7 2600K
GPU: nvidia gtx 770


Here is what I have done:

Installed fedora

installed pcsx2 from rpmfusion using
Code:
dnf install pcsx2


installed graphics drivers using this guide: http://rpmfusion.org/Howto/nVidia#Newer_GeForce
from the above guide I did these two lines:
Code:
dnf install akmod-nvidia "kernel-devel-uname-r == $(uname -r)"
dnf update -y


then I restarted.

I am using the plugin gsdxogl (hardware), when I run pcsx2 from the terminal and do system boot (fast) I get this error:



Code:
pcsx2

(pcsx2:2914): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(pcsx2:2914): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Command line parsing...
Command line parsed!
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Failed to create the opengl context. Check your drivers support openGL 3.3. Hint: opensource drivers don't
libEGL warning: DRI2: failed to authenticate
EGL: warning your driver doesn't suport advance openGL context attributes
EGL: Mesa Project : 1.4 (DRI2)
EGL: extensions supported: EGL_MESA_configless_context EGL_KHR_get_all_proc_addresses EGL_KHR_surfaceless_context
Failed to find glUniformSubroutinesuiv


I also tried ZZogl PG 0.4.0, but I get a different error

Code:
pcsx2

(pcsx2:3722): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(pcsx2:3722): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Command line parsing...
Command line parsed!
ZZOgl-PG:  Calling GSinit.
ZZOgl-PG:  GSinit finished.
ZZOgl-PG:  Disabling MRT depth writing.
ZZOgl-PG:  Calling GSopen2.
ZZOgl-PG:  Capturing ZZOgl window.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

(pcsx2:3722): Gdk-ERROR **: The program 'pcsx2' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
 (Details: serial 30 error_code 2 request_code 153 minor_code 3)
 (Note to programmers: normally, X errors are reported asynchronously;
  that is, you will receive the error a while after causing it.
  To debug your program, run it with the --sync command line
  option to change this behavior. You can then get a meaningful
  backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)


Thanks for any help, let me know if you need more information.

I was actually able to fix it, all I had to do was this:

Code:
sudo dnf install xorg-x11-drv-nvidia-libs.i686

maybe this will help someone in the future.
Reply




Users browsing this thread: 1 Guest(s)