Re: [gentoo-user] update broke X

2013-01-17 Thread Neil Bothwick
On Wed, 16 Jan 2013 22:18:44 -0800, Cinder wrote:

 VIDEO_CARDS=nouveau v4l

Add vesa to this. It won't fix the nouveau problem but it will give you a
fallback when it fails.


-- 
Neil Bothwick

Evolution stops when stupidity is no longer fatal!


signature.asc
Description: PGP signature


Re: [gentoo-user] update broke X

2013-01-17 Thread Andrew Hoffman
I would try the standard nvidia driver next.


On Thu, Jan 17, 2013 at 4:32 AM, Neil Bothwick n...@digimed.co.uk wrote:

 On Wed, 16 Jan 2013 22:18:44 -0800, Cinder wrote:

  VIDEO_CARDS=nouveau v4l

 Add vesa to this. It won't fix the nouveau problem but it will give you a
 fallback when it fails.


 --
 Neil Bothwick

 Evolution stops when stupidity is no longer fatal!



[gentoo-user] update broke X

2013-01-16 Thread Cinder
Hello there! I updated my macbook pro 7,1 about a month ago and X broke. It has 
an nvidia 320M chipset(id:08a0) I have rebuilt the kernel modules. I have moved 
/etc/make.conf to /etc/portage/make.conf. I'm not sure if I need to split my 
xorg.conf into seperate xorg.conf.d entries. I haven't used the machine since 
and I'm out of practice. Mant thanks in advance

/var/log/Xorg.0.log
[   638.450] 
X.Org X Server 1.13.0
Release Date: 2012-09-05
[   638.459] X Protocol Version 11, Revision 0
[   638.463] Build Operating System: Linux 3.4.9-gentoo-rt17 x86_64 Gentoo
[   638.466] Current Operating System: Linux macro 3.4.9-gentoo-rt17 #36 SMP 
PREEMPT RT Mon Oct 29 16:37:53 EST 2012 x86_64
[   638.466] Kernel command line: root=/dev/sda2 ro 
video=VGA-1:1280x800-24@60.2,modeset=1,nofbaccel=1,mtrr:3,ywrap,threadirqs 
splash=silent,fadein,fadeout,theme:natural_gentoo console=tty1 
[   638.478] Build Date: 06 December 2012  07:39:36PM
[   638.482]  
[   638.486] Current version of pixman: 0.28.0
[   638.495]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   638.495] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   638.512] (==) Log file: /var/log/Xorg.0.log, Time: Thu Jan 17 11:55:12 
2013
[   638.516] (==) Using config file: /etc/X11/xorg.conf
[   638.521] (==) Using system config directory /usr/share/X11/xorg.conf.d
[   638.535] (==) No Layout section.  Using the first Screen section.
[   638.535] (==) No screen section available. Using defaults.
[   638.535] (**) |--Screen Default Screen Section (0)
[   638.535] (**) |   |--Monitor default monitor
[   638.535] (==) No device specified for screen Default Screen Section.
Using the first device section listed.
[   638.535] (**) |   |--Device video
[   638.535] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[   638.535] (==) Automatically adding devices
[   638.535] (==) Automatically enabling devices
[   638.535] (==) Automatically adding GPU devices
[   638.547] (WW) The directory /usr/share/fonts/misc/ does not exist.
[   638.547]Entry deleted from font path.
[   638.547] (WW) The directory /usr/share/fonts/TTF/ does not exist.
[   638.547]Entry deleted from font path.
[   638.547] (WW) The directory /usr/share/fonts/OTF/ does not exist.
[   638.547]Entry deleted from font path.
[   638.547] (WW) The directory /usr/share/fonts/Type1/ does not exist.
[   638.547]Entry deleted from font path.
[   638.547] (WW) The directory /usr/share/fonts/100dpi/ does not exist.
[   638.547]Entry deleted from font path.
[   638.547] (WW) The directory /usr/share/fonts/75dpi/ does not exist.
[   638.547]Entry deleted from font path.
[   638.547] (==) FontPath set to:

[   638.547] (==) ModulePath set to /usr/lib64/xorg/modules
[   638.547] (**) Extension Composite is enabled
[   638.547] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[   638.547] (II) Loader magic: 0x80cbe0
[   638.547] (II) Module ABI versions:
[   638.547]X.Org ANSI C Emulation: 0.4
[   638.547]X.Org Video Driver: 13.0
[   638.547]X.Org XInput driver : 18.0
[   638.547]X.Org Server Extension : 7.0
[   638.549] (II) config/udev: Adding drm device (/dev/dri/card0)
[   638.550] (--) PCI:*(0:4:0:0) 10de:08a0:106b:00c2 rev 162, Mem @ 
0xd200/16777216, 0xc000/268435456, 0xd000/33554432, I/O @ 
0x1000/128, BIOS @ 0x/131072
[   638.550] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or 
directory)
[   638.555] Initializing built-in extension Generic Event Extension
[   638.560] Initializing built-in extension SHAPE
[   638.564] Initializing built-in extension MIT-SHM
[   638.568] Initializing built-in extension XInputExtension
[   638.572] Initializing built-in extension XTEST
[   638.576] Initializing built-in extension BIG-REQUESTS
[   638.579] Initializing built-in extension SYNC
[   638.583] Initializing built-in extension XKEYBOARD
[   638.587] Initializing built-in extension XC-MISC
[   638.590] Initializing built-in extension XINERAMA
[   638.594] Initializing built-in extension XFIXES
[   638.597] Initializing built-in extension RENDER
[   638.601] Initializing built-in extension RANDR
[   638.604] Initializing built-in extension COMPOSITE
[   638.607] Initializing built-in extension DAMAGE
[   638.611] Initializing built-in extension MIT-SCREEN-SAVER
[   638.614] Initializing built-in extension DOUBLE-BUFFER
[   638.617] Initializing built-in extension RECORD
[   638.620] Initializing built-in extension DPMS
[   638.623] Initializing built-in extension X-Resource
[   638.626] Initializing built-in extension XVideo
[   638.629] 

Re: [gentoo-user] update broke X

2013-01-16 Thread Dale
Cinder wrote:
 [   638.685] (EE) Please also check the log file at /var/log/Xorg.0.log for 
 additional information.
 [   638.685] (EE) 

You may want to post that log too.  The one listed above in the error. 
It looks like it is not finding your card.  Makes me think it is the
wrong driver or something.  Maybe someone with more Mac knowledge has a
better idea. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] update broke X

2013-01-16 Thread Canek Peláez Valdés
On Wed, Jan 16, 2013 at 8:17 PM, Cinder cin...@linuxwaves.com wrote:
 Hello there! I updated my macbook pro 7,1 about a month ago and X broke. It 
 has an nvidia 320M chipset(id:08a0) I have rebuilt the kernel modules. I have 
 moved /etc/make.conf to /etc/portage/make.conf. I'm not sure if I need to 
 split my xorg.conf into seperate xorg.conf.d entries. I haven't used the 
 machine since and I'm out of practice. Mant thanks in advance

 /var/log/Xorg.0.log
 [   638.450]
 X.Org X Server 1.13.0
 Release Date: 2012-09-05
 [   638.459] X Protocol Version 11, Revision 0
 [   638.463] Build Operating System: Linux 3.4.9-gentoo-rt17 x86_64 Gentoo
 [   638.466] Current Operating System: Linux macro 3.4.9-gentoo-rt17 #36 SMP 
 PREEMPT RT Mon Oct 29 16:37:53 EST 2012 x86_64
 [   638.466] Kernel command line: root=/dev/sda2 ro 
 video=VGA-1:1280x800-24@60.2,modeset=1,nofbaccel=1,mtrr:3,ywrap,threadirqs 
 splash=silent,fadein,fadeout,theme:natural_gentoo console=tty1
 [   638.478] Build Date: 06 December 2012  07:39:36PM
 [   638.482]
 [   638.486] Current version of pixman: 0.28.0
 [   638.495]Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 [   638.495] Markers: (--) probed, (**) from config file, (==) default 
 setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [   638.512] (==) Log file: /var/log/Xorg.0.log, Time: Thu Jan 17 11:55:12 
 2013
 [   638.516] (==) Using config file: /etc/X11/xorg.conf
 [   638.521] (==) Using system config directory /usr/share/X11/xorg.conf.d
 [   638.535] (==) No Layout section.  Using the first Screen section.
 [   638.535] (==) No screen section available. Using defaults.
 [   638.535] (**) |--Screen Default Screen Section (0)
 [   638.535] (**) |   |--Monitor default monitor
 [   638.535] (==) No device specified for screen Default Screen Section.
 Using the first device section listed.
 [   638.535] (**) |   |--Device video
 [   638.535] (==) No monitor specified for screen Default Screen Section.
 Using a default monitor configuration.
 [   638.535] (==) Automatically adding devices
 [   638.535] (==) Automatically enabling devices
 [   638.535] (==) Automatically adding GPU devices
 [   638.547] (WW) The directory /usr/share/fonts/misc/ does not exist.
 [   638.547]Entry deleted from font path.
 [   638.547] (WW) The directory /usr/share/fonts/TTF/ does not exist.
 [   638.547]Entry deleted from font path.
 [   638.547] (WW) The directory /usr/share/fonts/OTF/ does not exist.
 [   638.547]Entry deleted from font path.
 [   638.547] (WW) The directory /usr/share/fonts/Type1/ does not exist.
 [   638.547]Entry deleted from font path.
 [   638.547] (WW) The directory /usr/share/fonts/100dpi/ does not exist.
 [   638.547]Entry deleted from font path.
 [   638.547] (WW) The directory /usr/share/fonts/75dpi/ does not exist.
 [   638.547]Entry deleted from font path.
 [   638.547] (==) FontPath set to:

 [   638.547] (==) ModulePath set to /usr/lib64/xorg/modules
 [   638.547] (**) Extension Composite is enabled
 [   638.547] (II) The server relies on udev to provide the list of input 
 devices.
 If no devices become available, reconfigure udev or disable 
 AutoAddDevices.
 [   638.547] (II) Loader magic: 0x80cbe0
 [   638.547] (II) Module ABI versions:
 [   638.547]X.Org ANSI C Emulation: 0.4
 [   638.547]X.Org Video Driver: 13.0
 [   638.547]X.Org XInput driver : 18.0
 [   638.547]X.Org Server Extension : 7.0
 [   638.549] (II) config/udev: Adding drm device (/dev/dri/card0)
 [   638.550] (--) PCI:*(0:4:0:0) 10de:08a0:106b:00c2 rev 162, Mem @ 
 0xd200/16777216, 0xc000/268435456, 0xd000/33554432, I/O @ 
 0x1000/128, BIOS @ 0x/131072
 [   638.550] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or 
 directory)
 [   638.555] Initializing built-in extension Generic Event Extension
 [   638.560] Initializing built-in extension SHAPE
 [   638.564] Initializing built-in extension MIT-SHM
 [   638.568] Initializing built-in extension XInputExtension
 [   638.572] Initializing built-in extension XTEST
 [   638.576] Initializing built-in extension BIG-REQUESTS
 [   638.579] Initializing built-in extension SYNC
 [   638.583] Initializing built-in extension XKEYBOARD
 [   638.587] Initializing built-in extension XC-MISC
 [   638.590] Initializing built-in extension XINERAMA
 [   638.594] Initializing built-in extension XFIXES
 [   638.597] Initializing built-in extension RENDER
 [   638.601] Initializing built-in extension RANDR
 [   638.604] Initializing built-in extension COMPOSITE
 [   638.607] Initializing built-in extension DAMAGE
 [   638.611] Initializing built-in extension MIT-SCREEN-SAVER
 [   638.614] Initializing built-in extension DOUBLE-BUFFER
 [   638.617] Initializing built-in extension RECORD
 [   638.620] Initializing 

Re: [gentoo-user] update broke X

2013-01-16 Thread Cinder
 7.0
[  8532.158] (==) AIGLX enabled
[  8532.161] Loading extension GLX
[  8532.161] (==) Matched nouveau as autoconfigured driver 0
[  8532.161] (==) Matched nv as autoconfigured driver 1
[  8532.161] (==) Matched nouveau as autoconfigured driver 2
[  8532.161] (==) Matched nv as autoconfigured driver 3
[  8532.161] (==) Matched vesa as autoconfigured driver 4
[  8532.161] (==) Matched modesetting as autoconfigured driver 5
[  8532.161] (==) Matched fbdev as autoconfigured driver 6
[  8532.161] (==) Assigned the driver to the xf86ConfigLayout
[  8532.161] (II) LoadModule: nouveau
[  8532.161] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[  8532.161] (II) Module nouveau: vendor=X.Org Foundation
[  8532.161]compiled for 1.13.0, module version = 1.0.4
[  8532.161]Module class: X.Org Video Driver
[  8532.161]ABI class: X.Org Video Driver, version 13.0
[  8532.161] (II) LoadModule: nv
[  8532.161] (WW) Warning, couldn't open module nv
[  8532.161] (II) UnloadModule: nv
[  8532.161] (II) Unloading nv
[  8532.161] (EE) Failed to load module nv (module does not exist, 0)
[  8532.161] (II) LoadModule: vesa
[  8532.161] (WW) Warning, couldn't open module vesa
[  8532.161] (II) UnloadModule: vesa
[  8532.161] (II) Unloading vesa
[  8532.161] (EE) Failed to load module vesa (module does not exist, 0)
[  8532.162] (II) LoadModule: modesetting
[  8532.162] (WW) Warning, couldn't open module modesetting
[  8532.162] (II) UnloadModule: modesetting
[  8532.162] (II) Unloading modesetting
[  8532.162] (EE) Failed to load module modesetting (module does not exist, 0)
[  8532.162] (II) LoadModule: fbdev
[  8532.162] (WW) Warning, couldn't open module fbdev
[  8532.162] (II) UnloadModule: fbdev
[  8532.162] (II) Unloading fbdev
[  8532.162] (EE) Failed to load module fbdev (module does not exist, 0)
[  8532.162] (II) NOUVEAU driver 
[  8532.162] (II) NOUVEAU driver for NVIDIA chipset families :
[  8532.162]RIVA TNT(NV04)
[  8532.162]RIVA TNT2   (NV05)
[  8532.162]GeForce 256 (NV10)
[  8532.162]GeForce 2   (NV11, NV15)
[  8532.162]GeForce 4MX (NV17, NV18)
[  8532.162]GeForce 3   (NV20)
[  8532.162]GeForce 4Ti (NV25, NV28)
[  8532.162]GeForce FX  (NV3x)
[  8532.162]GeForce 6   (NV4x)
[  8532.162]GeForce 7   (G7x)
[  8532.162]GeForce 8   (G8x)
[  8532.162]GeForce GTX 200 (NVA0)
[  8532.162]GeForce GTX 400 (NVC0)
[  8532.162] (--) using VT number 7

[  8532.166] (II) [drm] nouveau interface version: 1.0.0
[  8532.166] (EE) No devices detected.
[  8532.166] 
Fatal server error:
[  8532.166] no screens found
[  8532.166] (EE) 
Please consult the The X.Org Foundation support 
 at http://wiki.x.org
 for help. 
[  8532.166] (EE) Please also check the log file at /var/log/Xorg.0.log for 
additional information.
[  8532.166] (EE) 


--- can...@gmail.com wrote:

From: Canek Peláez Valdés can...@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] update broke X
Date: Wed, 16 Jan 2013 20:38:51 -0600

On Wed, Jan 16, 2013 at 8:17 PM, Cinder cin...@linuxwaves.com wrote:
 Hello there! I updated my macbook pro 7,1 about a month ago and X broke. It 
 has an nvidia 320M chipset(id:08a0) I have rebuilt the kernel modules. I have 
 moved /etc/make.conf to /etc/portage/make.conf. I'm not sure if I need to 
 split my xorg.conf into seperate xorg.conf.d entries. I haven't used the 
 machine since and I'm out of practice. Mant thanks in advance

 /var/log/Xorg.0.log
 [   638.450]
 X.Org X Server 1.13.0
 Release Date: 2012-09-05
 [   638.459] X Protocol Version 11, Revision 0
 [   638.463] Build Operating System: Linux 3.4.9-gentoo-rt17 x86_64 Gentoo
 [   638.466] Current Operating System: Linux macro 3.4.9-gentoo-rt17 #36 SMP 
 PREEMPT RT Mon Oct 29 16:37:53 EST 2012 x86_64
 [   638.466] Kernel command line: root=/dev/sda2 ro 
 video=VGA-1:1280x800-24@60.2,modeset=1,nofbaccel=1,mtrr:3,ywrap,threadirqs 
 splash=silent,fadein,fadeout,theme:natural_gentoo console=tty1
 [   638.478] Build Date: 06 December 2012  07:39:36PM
 [   638.482]
 [   638.486] Current version of pixman: 0.28.0
 [   638.495]Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 [   638.495] Markers: (--) probed, (**) from config file, (==) default 
 setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [   638.512] (==) Log file: /var/log/Xorg.0.log, Time: Thu Jan 17 11:55:12 
 2013
 [   638.516] (==) Using config file: /etc/X11/xorg.conf
 [   638.521] (==) Using system config directory /usr/share/X11/xorg.conf.d
 [   638.535] (==) No Layout section.  Using the first Screen section.
 [   638.535] (==) No screen section available. Using defaults.
 [   638.535] (**) |--Screen Default Screen Section (0)
 [   638.535] (**) |   |--Monitor default monitor
 [   638.535] (==) No device

Re: [gentoo-user] update broke X

2013-01-16 Thread Canek Peláez Valdés
On Wed, Jan 16, 2013 at 9:16 PM, Cinder cin...@linuxwaves.com wrote:
 Thank you Canek. No luck. Without an xorg.conf my /var/log/Xorg.o.log looks 
 like this:

[ huge snip ]

 [  8532.166] (II) [drm] nouveau interface version: 1.0.0
 [  8532.166] (EE) No devices detected.

Nouveau complains about not finding your device, which I believe it
could only happen if the kernel driver is missing.

You originally used the NVidia binary drivers, or nouveau? If you use
the binary drivers, you need to remove nouveau from X.org (uninstall
xf86-video-nouveau) and from the kernel (make sure you don't have
CONFIG_DRM_NOUVEAU in your kernel). If you want to use the open source
nouveau driver, you need to remove nvidia-drivers, and install both
the X.org driver (install xf86-video-nouveau), and the kernel module
(set CONFIG_DRM_NOUVEAU in your kernel).

As far as I know, you should not mix them up. To make things more
clear, could you please post the output from equery l -if
x11-drivers/, and also your kernel .config? Also, do you have
VIDEO_CARDS in /etc/portage/make.conf, and if so to which value?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] update broke X

2013-01-16 Thread Canek Peláez Valdés
On Thu, Jan 17, 2013 at 12:18 AM, Cinder cin...@linuxwaves.com wrote:
 Thank you Canek. I have always used nouveau driver.

[ huge snip again ]

Everything looks OK. You have the kernel configured to use nouveau,
and you have the X.org driver and the correct VIDEO_CARDS setting in
/etc/portage/make.conf; I don't understand why X says that it can't
detect your device.

As a hail Mary, you could try to recompile your kernel (reinstalling
it and its modules), reemerge xorg-server and all the installed
packages in the x11-drivers/ category, and reboot. Also, did you
updated all your config files with dispatch-conf?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] update broke X

2013-01-16 Thread Raffaele BELARDI
On 01/17/2013 07:47 MA, Canek Peláez Valdés wrote:
 On Thu, Jan 17, 2013 at 12:18 AM, Cinder cin...@linuxwaves.com wrote:
 Thank you Canek. I have always used nouveau driver.
 
 [ huge snip again ]
 
 Everything looks OK. You have the kernel configured to use nouveau,
 and you have the X.org driver and the correct VIDEO_CARDS setting in
 /etc/portage/make.conf; I don't understand why X says that it can't
 detect your device.

What about the syslog? Could you check if the kernel detects the video
card correctly?

raffaele