LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-07-2016, 04:23 PM   #31
infernalbuild
LQ Newbie
 
Registered: Nov 2016
Distribution: Arch
Posts: 20

Original Poster
Rep: Reputation: 1

i have an issue in my test program
OpenGL start by throwing GL_INVALID_ENUM after uploading the buffer
Code:
	glGenBuffers(1, &vertex_buffer);
	glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer);
	glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
and then throwing GL_INVALID_OPERATION on each operation related to the shader
 
Old 11-07-2016, 06:32 PM   #32
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I have a question for infernalbuild...

You seem to have an Intel based chipset with the i915 driver, but also the GeForce GT series card. Have you tried using the Bumblebee(Optimus) setup?

http://docs.slackware.com/howtos:har...nvidia_optimus

The DRI_PRIMUS feature is mostly for using two identical video chipsets in SLI or CrossFire mode, not two different chipsets.

To use the OpenGL 4.5 capabilities of your card, you will have to install the bumblebee packages and then use OPTIRUN to utilize the 3D accelerator. You will still have to setup the Intel chip for X11 standard rendering for 2D and 3D applications, however when you use Optirun it will activate the Nvidia chip for 3D rendering support.

I also recommend since you have a still supported Nvidia card, you might want to use the Nvidia drivers rather than nouveau for full acceleration support and power management.
 
Old 11-07-2016, 09:13 PM   #33
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by ReaperX7 View Post
The DRI_PRIMUS feature is mostly for using two identical video chipsets in SLI or CrossFire mode, not two different chipsets.
Primus is different than PRIME. PRIME is for using two different graphics cards that are both using opensource drivers. Support for this already exists in Xorg.

https://wiki.archlinux.org/index.php/PRIME

Way to go developers for picking confusing names!
 
Old 11-08-2016, 12:47 PM   #34
infernalbuild
LQ Newbie
 
Registered: Nov 2016
Distribution: Arch
Posts: 20

Original Poster
Rep: Reputation: 1
so i finally solved this issue with your help (thanks for that)

and run a simple test programm with and without DRI_PRIME=1
which worked perfectly

SOLVED !!!!

Last edited by infernalbuild; 11-08-2016 at 01:19 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Current State Of OpenGL 3, OpenGL 4 In Mesa 9.2 LXer Syndicated Linux News 0 07-15-2013 12:21 PM
LXer: What Mesa Has Left With OpenGL 3, OpenGL 4 LXer Syndicated Linux News 0 08-11-2011 10:00 PM
Driver fails using nvidia for OpenGL interface but works using Mesa OpenGL interface rrrssssss Gentoo 9 01-03-2010 10:19 AM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 03:33 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration