You are not logged in.

#1 2017-03-07 14:15:47

mcbaron
Member
Registered: 2017-03-07
Posts: 11

Proper use of jessie-scratch repo -or- graphics drivers update?

Hello all,

This is actually motivated by trying to update linux graphics drivers, as I'm running into this issue when trying to work with glfw: (https://github.com/glfw/glfw/blob/maste … nit.c#L538), after asking around there, I was told multiple times to update my graphics drivers. I'm running on an intel NUC 6i7KYK, so I'm reliant on the integrated chipset for the CPU.

I hunted down what I'd need, and came across the stack recipies here: https://01.org/linuxgraphics/downloads/stack and I realized that they all call for versions of packages that are not in repos that I currently have enabled. (I'll post my /etc/apt/sources at the end of the post.)

I did notice that most of the packages I need are at appropriate versions in the jessie scratch repo. I foolishly added it to my sources.list, and ran an upgrade. This didn't solve my problem, and left me at an unusable state with X, which induced me to go on a weekend long bender trying to restore the working state of my machine, ultimately ending in a reinstall after fighting UEFI for most of Sunday. I'd like to avoid going through that experience again, if only to avoid the effect on my blood pressure.

So my question, is there a way to safely enable the jessie scrath repo without being liable to bork a system? Or is there a better way for me to update the graphics libraries for me to get glfw to play happy?

Thank you!


/etc/apt/sources.list(s) as promised:

# From /sources.list.d/bunsen-jessie-backports.list

deb http://pkg.bunsenlabs.org/debian/ jessie-backports main

# From /sources.list.d/bunsen.list

deb http://pkg.bunsenlabs.org/debian/ bunsen-hydrogen main

# From sources.list

deb http://httpredir.debian.org/debian/ jessie contrib non-free main   
# deb-src http://httpredir.debian.org/debian/ jessie main non-free contrib 

# deb http://security.debian.org/ jessie/updates main contrib non-free 
# deb-src http://security.debian.org/ jessie/updates main contrib non-free 

# jessie-updates, previously known as 'volatile'
# deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free 
# deb-src http://httpredir.debian.org/debian/ jessie-updates main contrib non-free 

deb http://httpredir.debian.org/debian/ jessie main non-free contrib 
# deb-src http://httpredir.debian.org/debian/ jessie main non-free contrib 

deb http://security.debian.org/ jessie/updates main contrib non-free 
# deb-src http://security.debian.org/ jessie/updates main contrib non-free 
deb http://httpredir.debian.org/debian/ jessie contrib non-free main   
# deb-src http://httpredir.debian.org/debian/ jessie main non-free contrib 

# deb http://security.debian.org/ jessie/updates main contrib non-free 
# deb-src http://security.debian.org/ jessie/updates main contrib non-free 

# jessie-updates, previously known as 'volatile'
# deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free 
# deb-src http://httpredir.debian.org/debian/ jessie-updates main contrib non-free 

deb http://httpredir.debian.org/debian/ jessie main non-free contrib 
# deb-src http://httpredir.debian.org/debian/ jessie main non-free contrib 

deb http://security.debian.org/ jessie/updates main contrib non-free 
# deb-src http://security.debian.org/ jessie/updates main contrib non-free

-Mod-edit- Please use code tags for large hunks of code, thanks!

Last edited by hhh (2017-03-07 16:45:16)

Offline

#2 2017-03-07 16:59:42

hhh
Meep!
Registered: 2015-09-17
Posts: 10,618
Website

Re: Proper use of jessie-scratch repo -or- graphics drivers update?

1) Your sources are an absolute mess.
2) What is the jessie "scratch" repo?
3) We now have UEFI enabled ISOs (32 bit is posted later in the thread)...
https://forums.bunsenlabs.org/viewtopic.php?id=3423

Your graphics are, frankly, the least of your problems ATM.

Offline

#3 2017-03-07 19:38:36

mcbaron
Member
Registered: 2017-03-07
Posts: 11

Re: Proper use of jessie-scratch repo -or- graphics drivers update?

@hhh,

I feel like you are being unfair to me. I wrote a post detailing a specific problem that I'm curious about, my motivation behind it, and provided appurtenant information. You respond by telling me that my sources.list file is "an absolute mess". What I posted is an auto-generated file. I haven't touched it since I reinstalled on Sunday. I will plead ignorance, and concede my lack of knowledge is a fair charge to levy against me, however that is why I posted, to learn from more experienced users. You offer no suggestions to clean up the mess. You could direct me to a more tidy file.

As for your question, what is the jessie scratch repo, I will again take the blame, I looked at "stretch" (https://packages.debian.org/stretch/) and encoded it in my mind as "scratch".

Thank you for directing me to a thread with updated ISOs. I will keep it in mind for the next time I have to reinstall.

Could you, as the forum rules suggest, have some patience, and help me help myself? Or was your suggestion that I should ditch what I have and reinstall using the images on the attached forum thread?

Offline

#4 2017-03-07 20:09:23

damo
....moderator....
Registered: 2015-08-20
Posts: 6,351

Re: Proper use of jessie-scratch repo -or- graphics drivers update?

The safest way to do it is to use jessie-backports. @HoaS has a couple of guides...

Broadwell and beyond in BunsenLabs

Newer Graphics Hardware in BunsenLabs

BTW The first post in Basic Help and Support is...... Sources - sources.list and backports details wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2017-03-07 20:49:42

hhh
Meep!
Registered: 2015-09-17
Posts: 10,618
Website

Re: Proper use of jessie-scratch repo -or- graphics drivers update?

mcbaron wrote:

@hhh,

I feel like you are being unfair to me.

Sorry, I was in a rush this morning, I should have waited until I had more time or until someone else posted their advice.

I wrote a post detailing a specific problem that I'm curious about, my motivation behind it, and provided appurtenant information.

Sorry again. Someone trying to upgrade graphics drivers because of a single error in an x11_init.c file for libglfw when their sources have security disabled and triplicate entries is a red flag. I mean, just look at the search results for those terms. Haskell? c++ undefined references? Respectfully, what is it you are trying to do?
https://duckduckgo.com/?q=glfw&t=hh&ia=web
https://duckduckgo.com/?q=glfw+x11_init.c&t=hh&ia=web


You respond by telling me that my sources.list file is "an absolute mess". What I posted is an auto-generated file. I haven't touched it since I reinstalled on Sunday.

It wasn't generated by BunsenLabs, that's for sure. See @Head_on_a_Stick's sources.list post that @damo linked to.

I will plead ignorance, and concede my lack of knowledge is a fair charge to levy against me, however that is why I posted, to learn from more experienced users. You offer no suggestions to clean up the mess. You could direct me to a more tidy file.

As for your question, what is the jessie scratch repo, I will again take the blame, I looked at "stretch" (https://packages.debian.org/stretch/) and encoded it in my mind as "scratch".

Thank you for directing me to a thread with updated ISOs. I will keep it in mind for the next time I have to reinstall.

Could you, as the forum rules suggest, have some patience, and help me help myself? Or was your suggestion that I should ditch what I have and reinstall using the images on the attached forum thread?

Of course, and, again, my apologies. Give me a do-over...

Hello, and welcome to the forums!

It seems you've gotten in over your head. We have many users here who are more knowledgeable than me who can help you, please be patient.

re: UEFI installation, one of our developers, @johnraff, has built test ISOs with EFI support (see the link in my first post). If this is a new system, you probably can reinstall using the appropriate architecture quicker than we can remotely debug your system.

If you'd rather not do that, please post your graphics hardware, computer architecture and any error messages you've seen. To identify your graphics, scroll down to that section here...
https://www.cyberciti.biz/faq/linux-tel … installed/

To get you started, see our "Getting Started" forum (see @damo's link). Intel graphics usually work very well on Linux out-of-the-box, though sometimes a kernel upgrade can help. We have instructions for that here (for 64 bit, post back if you don't understand how to install the i386/32 bit kernel)...
https://forums.bunsenlabs.org/viewtopic.php?id=1257

Sorry I came off as rude, we're actually a very friendly bunch here most of the time (nobody's perfect)!

Cheers, and welcome.

Offline

#6 2017-03-07 20:54:57

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 381

Re: Proper use of jessie-scratch repo -or- graphics drivers update?

Your sources.list has several duplicates for the main Debian repo--it can be reduced to what's in the wiki: https://wiki.debian.org/SourcesList plus the jessie-backports.

You have Skylake 6th generation Iris Pro graphics, so pay attention to additional packages necessary from backports, such as firmware-misc-nonfree and intel-microcode from the stock Jessie nonfree.

Offline

#7 2017-03-07 21:00:51

damo
....moderator....
Registered: 2015-08-20
Posts: 6,351

Re: Proper use of jessie-scratch repo -or- graphics drivers update?

stevep wrote:

Your sources.list has several duplicates for the main Debian repo--it can be reduced to what's in the wiki: https://wiki.debian.org/SourcesList plus the jessie-backports.

You have Skylake 6th generation Iris Pro graphics, so pay attention to additional packages necessary from backports, such as firmware-misc-nonfree and intel-microcode from the stock Jessie nonfree.

The default and backports sources are in the link I posted; and the Skylake packages are described in the first link I posted wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#8 2017-03-08 00:33:37

mcbaron
Member
Registered: 2017-03-07
Posts: 11

Re: Proper use of jessie-scratch repo -or- graphics drivers update?

@hhh
I completely understand, we all get hangry and stressed from time to time. I wasn't trying to blame you, I just felt a little put off by the response. I appreciate you responding again, and your guidance.
I'm actually trying to run Julia packages, so your guess of Haskell isn't that far off. It's code that I didn't write, but am being required to use by the course I'm in. The codebase includes a GLFW interface to do some graphics rendering and visualizations, and the error I pointed to is what I was able to trace to from the errors I get when I try to run the tests on the Julia GLFW package.

@damo, @Stevep Thanks! I've cleaned up my sources.list file, and added a seperate debian-backports file to sources.list.d/ I haven't made it through the graphics related links you included, but I will.


Graphics related stuff...
I'm actually already running an updated kernel off of the backports, as you can see below. I'll take a spin at the other suggested packages in the thread @demo posted.

>$ uname -a
Linux nyquist 4.9.0-0.bpo.1-amd64 #1 SMP Debian 4.9.2-2~bpo8+1 (2017-01-26) x86_64 GNU/Linux
>$
>$ lspci -vnn | grep VGA -A 12
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:193b] (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Intel Corporation Device [8086:2064]
	Flags: bus master, fast devsel, latency 0, IRQ 11
	Memory at db000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 90000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>

00:08.0 System peripheral [0880]: Intel Corporation Device [8086:1911]
	Subsystem: Intel Corporation Device [8086:2064]
	Flags: fast devsel, IRQ 11
	Memory at dc44b000 (64-bit, non-prefetchable) [disabled] [size=4K]

Thank you all for your support, I will post back with how I make out.

Offline

#9 2017-03-09 14:33:18

mcbaron
Member
Registered: 2017-03-07
Posts: 11

Re: Proper use of jessie-scratch repo -or- graphics drivers update?

Thanks for the help.

I was able to update most of the packages in the intel stack recipie (https://01.org/linuxgraphics/downloads/ … ack-recipe) to meet version numbers specified. I'm still behind on libva, vaapi intel-driver, Cairo, and the xserver.

I don't think those are necessarially keeping me from getting past my error with glfw, but I'm still stuck on the same error with glfw. Any other thoughts?

Thanks,

Offline

#10 2017-03-09 21:40:31

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Proper use of jessie-scratch repo -or- graphics drivers update?

mcbaron wrote:

Any other thoughts?

Have you tried following the guide to which you were linked earlier?

Here is the link again:

https://forums.bunsenlabs.org/viewtopic.php?id=1185

Note that if you have used a manual installation method for this mysterious "intel stack recipie" [sic] of which you speak then you may have to remove those packages to get everything working.

The output of the following commands will show if the correct Debian packages are installed for your graphics stack:

sysctl kernel.version
apt-cache policy xserver-xorg-video-intel libegl1-mesa libgl1-mesa-glx libgl1-mesa-dri firmware-misc-nonfree

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#11 2017-03-10 00:57:31

mcbaron
Member
Registered: 2017-03-07
Posts: 11

Re: Proper use of jessie-scratch repo -or- graphics drivers update?

I followed that guide to the letter!

When I was comparing my versions to the versions listed on the intel page, I installed the latest version that I could of the packages listed. A few were already installed.

~$ sysctl kernel.version
kernel.version = #1 SMP Debian 4.9.2-2~bpo8+1 (2017-01-26)
~$
~$ apt-cache policy xserver-xorg-video-intel libegl1-mesa libgl1-mesa-glx libgl1-mesa-dri firmware-misc-nonfree
xserver-xorg-video-intel:
  Installed: 2:2.99.917+git20161206-1~bpo8+1
  Candidate: 2:2.99.917+git20161206-1~bpo8+1
  Version table:
 *** 2:2.99.917+git20161206-1~bpo8+1 0
        100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     2:2.21.15-2+b2 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
libegl1-mesa:
  Installed: 13.0.4-1~bpo8+1
  Candidate: 13.0.4-1~bpo8+1
  Version table:
 *** 13.0.4-1~bpo8+1 0
        100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     10.3.2-1+deb8u1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
libgl1-mesa-glx:
  Installed: 13.0.4-1~bpo8+1
  Candidate: 13.0.4-1~bpo8+1
  Version table:
 *** 13.0.4-1~bpo8+1 0
        100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     10.3.2-1+deb8u1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
libgl1-mesa-dri:
  Installed: 13.0.4-1~bpo8+1
  Candidate: 13.0.4-1~bpo8+1
  Version table:
 *** 13.0.4-1~bpo8+1 0
        100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     10.3.2-1+deb8u1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
firmware-misc-nonfree:
  Installed: 20161130-2~bpo8+1
  Candidate: 20161130-2~bpo8+1
  Version table:
 *** 20161130-2~bpo8+1 0
        100 http://httpredir.debian.org/debian/ jessie-backports/non-free amd64 Packages
        100 /var/lib/dpkg/status

Offline

#12 2017-03-10 07:59:04

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Proper use of jessie-scratch repo -or- graphics drivers update?

OK, you have upgraded your graphics stack as far as it will go on a jessie (+backports) base.

If you still need newer package versions then you will have to look to the Debian development branches — stretch has recently been frozen and may work for you:

https://www.debian.org/devel/debian-installer/

We have an experimental "Helium-dev" netinstall script that could be used in a stretch system to Bunsenify it:

https://github.com/BunsenLabs/bunsen-ne … helium-dev


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

Board footer

Powered by FluxBB