You are not logged in.

#1 2014-08-31 00:42:33

JacobGuy7805
Member
From: Here
Registered: 2014-08-31
Posts: 5

My nouveau driver file is too short? [Solved]

Yesterday I had this error when I was starting Xorg and it said my file was too short in the Xorg.0.log. I changed the device driver in my xorg.conf to "nouveau". (I do have a NVDIA card and nouveau is installed.)

I have this youtube video to document the error. (It still doesn't work but I changed the device driver to "fbdev")

(Yes, I am young! Please don't make fun of me!)
https://www.youtube.com/watch?v=oDYtZUNcYB8

Last edited by JacobGuy7805 (2014-09-01 17:24:25)


Want to dox, blackmail, or just plain humiliate me? Here are all the forums I go on.
http://tech-talk.ml
http://betaarchive.com (Inactive)
http://shiftos.net (Inactive)

Offline

#2 2014-08-31 00:54:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: My nouveau driver file is too short? [Solved]

That video isn't very helpful - none of the text can be made out.  Just post the text.  Text is readable, searchable, useable.

But as a guess, it may be that the file was corrupted.  Clear your cache, then reinstall the package.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-08-31 02:25:31

JacobGuy7805
Member
From: Here
Registered: 2014-08-31
Posts: 5

Re: My nouveau driver file is too short? [Solved]

Trilby wrote:

That video isn't very helpful - none of the text can be made out.  Just post the text.  Text is readable, searchable, useable.

But as a guess, it may be that the file was corrupted.  Clear your cache, then reinstall the package.

Okay, here is the Xorg.0.log.old.

http://pasteht.ml/SdB31


Want to dox, blackmail, or just plain humiliate me? Here are all the forums I go on.
http://tech-talk.ml
http://betaarchive.com (Inactive)
http://shiftos.net (Inactive)

Offline

#4 2014-08-31 06:21:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: My nouveau driver file is too short? [Solved]

I agree with Trilby, the file is probably corrupt -- or -- you have the wrong architecture (x86 instead of x86_64, for example)

How (specifically) did you install the driver?

As to your age.  We don't care.  Really.
On the other hand, if you give us good reason to yank your chain, we will -- regardless of your age tongue
I wrote my first program when I was 14. In 1975.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2014-08-31 16:56:17

JacobGuy7805
Member
From: Here
Registered: 2014-08-31
Posts: 5

Re: My nouveau driver file is too short? [Solved]

ewaller wrote:

I agree with Trilby, the file is probably corrupt -- or -- you have the wrong architecture (x86 instead of x86_64, for example)

How (specifically) did you install the driver?

As to your age.  We don't care.  Really.
On the other hand, if you give us good reason to yank your chain, we will -- regardless of your age tongue
I wrote my first program when I was 14. In 1975.

(Sorry, there are some Linux forums that ban me for being too young)

I did "pacman -Sc" and then I did "pacman -S nouveau-dri lib32-nouveau-dri xf86-video-nouveau" to reinstall the packages. Before that I just did the latter.

I have an x86_64 PC.


Want to dox, blackmail, or just plain humiliate me? Here are all the forums I go on.
http://tech-talk.ml
http://betaarchive.com (Inactive)
http://shiftos.net (Inactive)

Offline

#6 2014-08-31 17:10:28

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: My nouveau driver file is too short? [Solved]

JacobGuy7805 wrote:

[Sorry, there are some Linux forums that ban me for being too young

Their loss.

I did "pacman -Sc" and then I did "pacman -S nouveau-dri lib32-nouveau-dri xf86-video-nouveau" to reinstall the packages. Before that I just did the latter.

It appears that you may be doing partial upgrades.  Arch does not support that.  Let's ensure your system is fully up to date.  Please do a pacman -Syu


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2014-09-01 01:26:20

JacobGuy7805
Member
From: Here
Registered: 2014-08-31
Posts: 5

Re: My nouveau driver file is too short? [Solved]

ewaller wrote:
JacobGuy7805 wrote:

[Sorry, there are some Linux forums that ban me for being too young

Their loss.

I did "pacman -Sc" and then I did "pacman -S nouveau-dri lib32-nouveau-dri xf86-video-nouveau" to reinstall the packages. Before that I just did the latter.

It appears that you may be doing partial upgrades.  Arch does not support that.  Let's ensure your system is fully up to date.  Please do a pacman -Syu

I did pacman -Syu, rebooted my system, and the error still happens when I set nouveau in my xorg.conf. I am using fbdev for the X driver right now.


Want to dox, blackmail, or just plain humiliate me? Here are all the forums I go on.
http://tech-talk.ml
http://betaarchive.com (Inactive)
http://shiftos.net (Inactive)

Offline

#8 2014-09-01 02:12:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: My nouveau driver file is too short? [Solved]

pacman -Sc will not remove currently installed packages from the cache - so that likely did not do anything.  You need to actually remove the package file, or use -Scc (and answer yes) to remove the cached file(s).

Then reinstall.  It should show that it is being downloaded before installing.

You can also check whether this is actually the issue by comparing the output of the following two commands to the output I'm getting (as long as you are on x86_64):

$ ls -l /usr/lib/xorg/modules/drivers/nouveau_drv.so
-rwxr-xr-x 1 root root 203232 Jul 18 07:13 /usr/lib/xorg/modules/drivers/nouveau_drv.so

$ md5sum /usr/lib/xorg/modules/drivers/nouveau_drv.so
4eb8a6bd9ec92637a17ae70adaa9ef1f  /usr/lib/xorg/modules/drivers/nouveau_drv.so

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2014-09-01 05:02:54

JacobGuy7805
Member
From: Here
Registered: 2014-08-31
Posts: 5

Re: My nouveau driver file is too short? [Solved]

Trilby wrote:

pacman -Sc will not remove currently installed packages from the cache - so that likely did not do anything.  You need to actually remove the package file, or use -Scc (and answer yes) to remove the cached file(s).

Then reinstall.  It should show that it is being downloaded before installing.

You can also check whether this is actually the issue by comparing the output of the following two commands to the output I'm getting (as long as you are on x86_64):

$ ls -l /usr/lib/xorg/modules/drivers/nouveau_drv.so
-rwxr-xr-x 1 root root 203232 Jul 18 07:13 /usr/lib/xorg/modules/drivers/nouveau_drv.so

$ md5sum /usr/lib/xorg/modules/drivers/nouveau_drv.so
4eb8a6bd9ec92637a17ae70adaa9ef1f  /usr/lib/xorg/modules/drivers/nouveau_drv.so

I had to pacman -Scc and then when I did "pacman -S {,lib32-}nouveau-dri xf86-video-nouveau" it said that a whole bunch of files existed in the filesystem (although when I did pacman -R and the packages it kept insisting I did not download those packages) so I ended up just removing the files manually with rm. I then installed the packages and things seem fine now. I'm going to reboot.

EDIT: IT WORKED! I had to generate a new Xorg.conf, and then I just changed some things, and it worked!

Last edited by JacobGuy7805 (2014-09-01 17:24:05)


Want to dox, blackmail, or just plain humiliate me? Here are all the forums I go on.
http://tech-talk.ml
http://betaarchive.com (Inactive)
http://shiftos.net (Inactive)

Offline

Board footer

Powered by FluxBB