LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-17-2015, 04:17 AM   #31
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled

Quote:
Originally Posted by fogpipe View Post
Seems the open source drivers are still lagging behind.
Except (1) during the week after xorg-server-1.18 is released, until the nVidia blobs are updated, and (2) during the years after nVidia withdraws support for your GPU, and (3) on those nVidia GPUs where nVidia's blob is randomly broken (e.g. the embedded MCP78S on which I am typing this). But otherwise, yes, the open source drivers are still lagging behind. Of course they are. And what is the root cause of that? Do I have to spell it out? When people denigrate nouveau, I hear victim-blaming.
 
1 members found this post helpful.
Old 11-17-2015, 06:19 AM   #32
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by cgorac View Post
Besides, nouveau driver doesn't support GPU computing, so it's pretty much useless for anyone intending to use its Slackware machine for some sort of scientific calculations or, more importantly, development of alike codes.
I'm a 3D animator and the software I use for a living requires proprietary drivers with OpenCL/OpenGL so I simply can't run nouveau. I find -current to be very stable so I don't see a reason not to use it in production. Here's a bit of trivia for you: Security updates on Mac OS X often break the nVidia drivers on OS X as well, since they are tied to a specific kernel version/build.
 
1 members found this post helpful.
Old 11-17-2015, 08:49 AM   #33
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
I dips me lid to all who contributed to this thread.
Having been warned of the breakage by @Lenard Spencer, which I agree with @volkerdi that should not be a brake on development, I followed the advice of @55020 and waited for the release of an updated nVidia driver as signalled by @mats_b_tegner on my desktop with an nVidia GPU. This box is now running with the latest updates to -current and the nVidia proprietary driver(304.131).
From @ReaperX7
Quote:
And yet you guys complain about a proprietary driver that isn't properly supported by the current software packages...
My only complaint with the nVidia proprietary driver is the need to manually create symlinks so that MPlayer will run.
Code:
ln -s /usr/lib64/libvdpau_nvidia.so /usr/lib64/libvdpau.so.1
ln -s /usr/lib64/libvdpau.so.1 /usr/lib64/libvdpau.so
 
1 members found this post helpful.
Old 11-17-2015, 09:35 AM   #34
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by allend View Post
My only complaint with the nVidia proprietary driver is the need to manually create symlinks so that MPlayer will run.
Code:
ln -s /usr/lib64/libvdpau_nvidia.so /usr/lib64/libvdpau.so.1
ln -s /usr/lib64/libvdpau.so.1 /usr/lib64/libvdpau.so
Hmm, Mplayer works for me. Did you use the .run-file directly or did you use Ed Koenig's SlackBuild-scripts? (Which will fix the symlinks for you). Also make sure you have the libvdpau package installed.
Code:
bash-4.3$ ls -lha /usr/lib64/ |grep libvdpau
-rwxr-xr-x   1 root root  1,1K sep  1 10:24 libvdpau.la*
lrwxrwxrwx   1 root root    17 sep  1 10:26 libvdpau.so -> libvdpau.so.1.0.0*
lrwxrwxrwx   1 root root    17 sep  1 10:26 libvdpau.so.1 -> libvdpau.so.1.0.0*
-rwxr-xr-x   1 root root   12K sep  1 10:25 libvdpau.so.1.0.0*
lrwxrwxrwx   1 root root    25 nov 16 19:15 libvdpau_nvidia.so -> libvdpau_nvidia.so.340.96*
lrwxrwxrwx   1 root root    25 nov 16 19:15 libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.340.96*
-rwxr-xr-x   1 root root  1,9M nov 16 19:06 libvdpau_nvidia.so.340.96*

Mats

Last edited by mats_b_tegner; 11-17-2015 at 09:53 AM.
 
1 members found this post helpful.
Old 11-17-2015, 11:24 AM   #35
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

I'm reading Phoronix on daily basis. I know that some folks aren't big fans of that site, but I have no problems with it. And thanks to this article, I new perfectly that NVIDIA driver will break with this -current update, by just seeing what is the xorg version in the ChangeLog.

BTW, I'm not NVIDIA user (but used to be).

--
Best regards,
Andrzej Telszewski
 
1 members found this post helpful.
Old 11-17-2015, 01:44 PM   #36
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
Quote:
Originally Posted by lems View Post
Here you go:

Code:
[   10.209986] noueau  [  DEVICE][0000:02:00.0] BOOT0  : 0x092a00a2
[   10.209992] nouveau  [  DEVICE][0000:02:00.0] Chipset: G92 (NV92)
[   10.209994] nouveau  [  DEVICE][0000:02:00.0] Family : NV50
[   10.324697] nouveau  [   VBIOS][0000:02:00.0] using image from PRAMIN
[   10.324825] nouveau  [   VBIOS][0000:02:00.0] BIT signature found
[   10.324828] nouveau  [   VBIOS][0000:02:00.0] version 62.92.84.00.00
[   10.345402] nouveau E[   VBIOS][0000:02:00.0] 0xdf7e[ ]: unknown opcode 0x9f
[   10.345441] nouveau E[ DEVINIT][0000:02:00.0] init failed, -22
[   10.345475] nouveau E[     DRM] failed to create 0x00000080, -22
[   10.346347] nouveau: probe of 0000:02:00.0 failed with error -22
Linux kernel 4.1.12, GeForce 9800 GT. All I get then is the VESA driver when starting X. Would be nice if nouveau was working, but unfortunately it does not even initialise on my card.
Funny, I have a 9800GT and it works.

Readout of glxinfo
Code:
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NV92
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.5
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.0.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
Readout of Xorg.0.log
Code:
[    33.012] (II) LoadModule: "nouveau"
[    33.012] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[    33.040] (II) Module nouveau: vendor="X.Org Foundation"
[    33.041] (II) [drm] nouveau interface version: 1.2.2
[    33.746] (II) NOUVEAU(0): [DRI2]   DRI driver: nouveau
[    33.746] (II) NOUVEAU(0): [DRI2]   VDPAU driver: nouveau
[    38.902] (II) AIGLX: Loaded and initialized nouveau
Readout of lspci
Code:
01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800 GT] (rev a2)
Did you set up an xorg.conf file?

Last edited by ReaperX7; 11-17-2015 at 03:23 PM.
 
Old 11-18-2015, 02:09 AM   #37
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by ReaperX7 View Post
Did you set up an xorg.conf file?
I tried to include the nouveau module in my initrd, added `nouveau.config=NvBios=PRAMIN' to my kernel command-line (as per http://nouveau.freedesktop.org/wiki/...ing/#index10h3), and even compiled nouveau into the kernel. It all results in the same error. Specifying nouveau in a xorg conf file results in:

Code:
[   221.817] (EE) [drm] KMS not enabled
[   221.817] (EE) No devices detected.
[   221.817] (EE)
Fatal server error:
[   221.817] (EE) no screens found(EE)
[   221.817] (EE)
There was a time when nouveau loaded, but this was 2 years ago or so, since then I haven't really tried anyway: I have the habit of starting Live CDs with the `nomodeset' parameter because when nouveau still worked, it meant having an unusable system with borked graphics. My onboard graphics (GeForce 7025) does work with nouveau, though.
 
Old 11-18-2015, 06:25 AM   #38
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 don't use the generic kernel, I use huge. I also don't use any extra kernel parameters.

I don't know what all you've done, but my card has been working for several years through many updates and drivers.
 
Old 11-18-2015, 06:45 AM   #39
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
I appreciate your help, ReaperX7. But I guess at this point the only way to get this fixed is by reporting it as a bug.
 
Old 11-18-2015, 07:43 AM   #40
atelszewski.versades
Member
 
Registered: Oct 2014
Posts: 61

Rep: Reputation: Disabled
Hi,

Would it be of any help to someone: NVIDIA Updates Legacy Drivers For X.Org Server 1.18?

--
Best regards,
Andrzej Telszewski
 
1 members found this post helpful.
Old 11-18-2015, 08:08 AM   #41
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by atelszewski.versades View Post
Hi,

Would it be of any help to someone: NVIDIA Updates Legacy Drivers For X.Org Server 1.18?
Old news, I have already mentioned those drivers in this thread. Also, Phoronix fails to mention driver 340.96 in that article.

Mats
 
1 members found this post helpful.
Old 11-18-2015, 08:51 AM   #42
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
Quote:
Originally Posted by lems View Post
I appreciate your help, ReaperX7. But I guess at this point the only way to get this fixed is by reporting it as a bug.
Well, I would start at this:

1. Use the Huge kernel rather than Generic. Huge includes all the necessary drivers internally with only select hardware drivers as modules that are easily handled by udev. This can help greatly as hardware can vary revision to revision requiring extra support that may or may not get loaded correctly. The memory footprint argument on modern systems is moot.

2. Remove all kernel parameters. No nomodeset, nothing. Run it bare with only the options passed by the bootloader.

3. Setup an xorg.conf file and make sure you only have a single screen defined. I have seen instanced where multiple screens defined in xorg.conf can throw a monkey wrench in the works very quickly. Make sure also nouveau is the only defined driver. If it does offer fallbacks, modesetting and fbdev should be the only drivers used for Nvidia cards.

Of course I can't guarantee it'll work for you, but it works for me.

Last edited by ReaperX7; 11-18-2015 at 08:52 AM.
 
2 members found this post helpful.
Old 11-18-2015, 11:19 AM   #43
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by ReaperX7 View Post
Well, I would start at this:

1. Use the Huge kernel rather than Generic. Huge includes all the necessary drivers internally with only select hardware drivers as modules that are easily handled by udev. This can help greatly as hardware can vary revision to revision requiring extra support that may or may not get loaded correctly. The memory footprint argument on modern systems is moot.
Are you sure? A quick diff shows that huge simply has file system stuff built into it, nouveau is still `m'. Maybe I'm overlooking something? I simply diffed both default configs.

Quote:
Originally Posted by ReaperX7 View Post
2. Remove all kernel parameters. No nomodeset, nothing. Run it bare with only the options passed by the bootloader.
I need to specify at least root=UUID=XXX since I have two disks, and sda is my backup drive. I also don't think adding quiet hurts much, but who knows.

Quote:
Originally Posted by ReaperX7 View Post
3. Setup an xorg.conf file and make sure you only have a single screen defined. I have seen instanced where multiple screens defined in xorg.conf can throw a monkey wrench in the works very quickly. Make sure also nouveau is the only defined driver. If it does offer fallbacks, modesetting and fbdev should be the only drivers used for Nvidia cards.
According to the nouveau FAQ, one should not need a config file; in case nouveau does not get loaded automatically, one should create a config in /etc/X11/xorg.conf.d (e.g. 20-nouveau.conf) instead with the following content:
Code:
Section "Device"
    Identifier "n"
    Driver "nouveau"
EndSection
Anyway, I'll try your suggestions and report back in case of success.

edit: huge did not work either.

Last edited by lems; 11-18-2015 at 12:48 PM.
 
Old 11-18-2015, 03:48 PM   #44
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
@lems
Quote:
[ 221.817] (EE) [drm] KMS not enabled
Try with KMS enabled as it is a prerequisite for the nouveau driver.
 
Old 11-18-2015, 07:07 PM   #45
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
Quote:
Originally Posted by lems View Post
Are you sure? A quick diff shows that huge simply has file system stuff built into it, nouveau is still `m'. Maybe I'm overlooking something? I simply diffed both default configs.

I need to specify at least root=UUID=XXX since I have two disks, and sda is my backup drive. I also don't think adding quiet hurts much, but who knows.

According to the nouveau FAQ, one should not need a config file; in case nouveau does not get loaded automatically, one should create a config in /etc/X11/xorg.conf.d (e.g. 20-nouveau.conf) instead with the following content:
Code:
Section "Device"
    Identifier "n"
    Driver "nouveau"
EndSection
Anyway, I'll try your suggestions and report back in case of success.

edit: huge did not work either.
Typically, you can get away with a trimmed xorg.conf.d file, but this is diagnosis, so a full file is better at this point.

Nouveau is built as "m" but it's other kernel drivers that may be needed that might not be getting loaded from the initrd/initramfs.

Disk options should be done by your bootloader (LILO, Grub, etc.) so those are safe, everything is sacrificial.

Last edited by ReaperX7; 11-18-2015 at 07:09 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
[SOLVED] kmail broken by latest -current updates? pchristy Slackware 2 08-26-2015 01:36 PM
[SOLVED] X broken after latest x86_64 -current upgrade the_penguinator Slackware 3 02-24-2013 05:45 PM
[SOLVED] wicd broken after latest -current upgrade the_penguinator Slackware 2 06-29-2012 01:29 PM
Latest update to -Current has broken X - again! BobNutfield Slackware 18 02-07-2011 09:34 PM

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

All times are GMT -5. The time now is 03:40 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