You are not logged in.

#1 2016-10-13 14:56:37

cxb
Member
Registered: 2016-06-15
Posts: 7

Xorg Issues on Mac Pro (2008)

I thought it would be a fun project to install Arch on a 2008 Mac Pro (3,1), because I am not a huge fan of OS X. The Arch install went great, but I'm having problems with getting Xorg working (I would like to install openbox eventually).

I have done a lot of reading of the forums, and the Wiki on Xorg, Xinit, and so on, but nothing I do seems to work.

Here is the xorg log file: I get this (or a similar) error log every time I run the startx command

X.Org X Server 1.18.4
Release Date: 2016-07-19
[   944.421] X Protocol Version 11, Revision 0
[   944.421] Build Operating System: Linux 4.5.4-1-ARCH x86_64 
[   944.421] Current Operating System: Linux thrasher 4.7.6-1-ARCH #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 x86_64
[   944.421] Kernel command line: initrd=\initramfs-linux.img root=PARTUUID=41f2c2bb-04c6-46db-9db1-91517112c0ee rw
[   944.421] Build Date: 19 July 2016  05:54:24PM
[   944.421]  
[   944.421] Current version of pixman: 0.34.0
[   944.421] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   944.421] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   944.421] (==) Log file: "/home/cisadmin/.local/share/xorg/Xorg.0.log", Time: Thu Oct 13 10:11:49 2016
[   944.421] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   944.421] (==) No Layout section.  Using the first Screen section.
[   944.421] (**) |-->Screen "Screen0" (0)
[   944.421] (**) |   |-->Monitor "Monitor0"
[   944.421] (==) No device specified for screen "Screen0".
	Using the first device section listed.
[   944.421] (**) |   |-->Device "Nvidia Card"
[   944.421] (==) Automatically adding devices
[   944.421] (==) Automatically enabling devices
[   944.421] (==) Automatically adding GPU devices
[   944.421] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   944.421] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   944.422] 	Entry deleted from font path.
[   944.422] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   944.422] 	Entry deleted from font path.
[   944.422] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   944.422] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   944.422] 	Entry deleted from font path.
[   944.422] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   944.422] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[   944.422] (==) ModulePath set to "/usr/lib/xorg/modules"
[   944.422] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   944.422] (II) Loader magic: 0x821d40
[   944.422] (II) Module ABI versions:
[   944.422] 	X.Org ANSI C Emulation: 0.4
[   944.422] 	X.Org Video Driver: 20.0
[   944.422] 	X.Org XInput driver : 22.1
[   944.422] 	X.Org Server Extension : 9.0
[   944.422] (++) using VT number 1

[   944.422] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   944.423] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   944.424] (II) xfree86: Adding drm device (/dev/dri/card0)
[   944.424] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[   944.426] (--) PCI:*(0:2:0:0) 10de:0602:10de:057c rev 162, Mem @ 0x92000000/16777216, 0x80000000/268435456, 0x90000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/131072
[   944.426] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   944.426] (II) LoadModule: "glx"
[   944.426] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   944.428] (II) Module glx: vendor="X.Org Foundation"
[   944.428] 	compiled for 1.18.4, module version = 1.0.0
[   944.428] 	ABI class: X.Org Server Extension, version 9.0
[   944.428] (==) AIGLX enabled
[   944.428] (II) LoadModule: "nouveau"
[   944.428] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[   944.428] (II) Module nouveau: vendor="X.Org Foundation"
[   944.428] 	compiled for 1.18.4, module version = 1.0.13
[   944.428] 	Module class: X.Org Video Driver
[   944.428] 	ABI class: X.Org Video Driver, version 20.0
[   944.428] (II) NOUVEAU driver 
[   944.428] (II) NOUVEAU driver for NVIDIA chipset families :
[   944.428] 	RIVA TNT        (NV04)
[   944.428] 	RIVA TNT2       (NV05)
[   944.428] 	GeForce 256     (NV10)
[   944.428] 	GeForce 2       (NV11, NV15)
[   944.428] 	GeForce 4MX     (NV17, NV18)
[   944.428] 	GeForce 3       (NV20)
[   944.428] 	GeForce 4Ti     (NV25, NV28)
[   944.428] 	GeForce FX      (NV3x)
[   944.428] 	GeForce 6       (NV4x)
[   944.428] 	GeForce 7       (G7x)
[   944.428] 	GeForce 8       (G8x)
[   944.428] 	GeForce GTX 200 (NVA0)
[   944.428] 	GeForce GTX 400 (NVC0)
[   944.428] (II) [drm] nouveau interface version: 1.3.1
[   944.428] (EE) No devices detected.
[   944.428] (EE) 
Fatal server error:
[   944.428] (EE) no screens found(EE) 
[   944.428] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   944.428] (EE) Please also check the log file at "/home/cisadmin/.local/share/xorg/Xorg.0.log" for additional information.
[   944.428] (EE) 

A section of the output of lspci -v regarding the video card:

02:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 8800 GT] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation Device 057c
	Physical Slot: 1
	Flags: bus master, fast devsel, latency 0, IRQ 34
	Memory at 92000000 (32-bit, non-prefetchable) [size=16M]
	Memory at 80000000 (64-bit, prefetchable) [size=256M]
	Memory at 90000000 (64-bit, non-prefetchable) [size=32M]
	I/O ports at 2000 [size=128]
	Expansion ROM at 93000000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nouveau

Any help is appreciated. Thanks!

Offline

#2 2016-10-13 15:20:41

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

Re: Xorg Issues on Mac Pro (2008)

I see you've installed the nouveau driver, right?  Are you sure it's not hybrid graphics?  Please post the output of the following

lspci | grep -e VGA -e 3D
pacman -Qs xf86-video

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2016-10-13 15:36:32

cxb
Member
Registered: 2016-06-15
Posts: 7

Re: Xorg Issues on Mac Pro (2008)

Thanks for the reply!

Yup, nouveau is installed, and it has been added to the MODULES section in /etc/mkinitcpio.conf so KMS works.

I'm almost certain there's only 1 Video card, so no hybrid graphics here. I've seen that it causes a lot of x problems on gaming laptops with both integrated graphics and a discrete card.
Here's the output of lspci | grep -e VGA -e 3D:

02:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 8800 GT] (rev a2)

It just occurred to me that I may not have been clear enough in my first post...So, if it helps, this is a desktop (not a MacBook). It's the one that looks like a massive cheese grater.

Offline

#4 2016-10-13 16:01:30

seth
Member
Registered: 2012-09-03
Posts: 49,967

Re: Xorg Issues on Mac Pro (2008)

> [   944.428] (EE) No devices detected.

Nouveau apparently thinks it doesn't support the chip (which is iirc basically a downsized NV86 - maybe that's why it's not listed?)

You could try https://www.archlinux.org/packages/extr … dia-340xx/
In case, blacklist the nouveau kernel module and drop the grub framebuffer (https://wiki.archlinux.org/index.php/GR … ramebuffer)

Offline

#5 2016-10-14 18:00:23

cxb
Member
Registered: 2016-06-15
Posts: 7

Re: Xorg Issues on Mac Pro (2008)

I removed and blacklisted nouveau, and installed nvidia-340xx, but now I don't get any visual output after the bootloader. I am using systemd-boot, so I didn't bother with the grub framebuffer change. Does systemd-boot have something similar?

Is there any extra setup required for nvidia-340xx and nvidia-340xx-libgl other than installing the packages?

Offline

#6 2016-10-14 20:16:39

cxb
Member
Registered: 2016-06-15
Posts: 7

Re: Xorg Issues on Mac Pro (2008)

Update on the Mac Pro:

I reverted to the nouveau drivers for now, so I can see things, and the same xorg errors persist when I run startx.

I thought to take a look at dmesg today, and I got this output with the nouveau drivers running. I hope it's helpful.

 dmesg | grep nouveau 
[    5.877399] nouveau 0000:02:00.0: enabling device (0002 -> 0003)
[    5.877570] nouveau 0000:02:00.0: NVIDIA G92 (092100a2)
[    5.985555] nouveau 0000:02:00.0: bios: version 62.92.20.00.16
[    6.006010] nouveau 0000:02:00.0: fb: 512 MiB GDDR3
[    6.404686] nouveau 0000:02:00.0: DRM: VRAM: 512 MiB
[    6.404688] nouveau 0000:02:00.0: DRM: GART: 1048576 MiB
[    6.404694] nouveau 0000:02:00.0: DRM: TMDS table version 2.0
[    6.404697] nouveau 0000:02:00.0: DRM: DCB version 4.0
[    6.404700] nouveau 0000:02:00.0: DRM: DCB outp 00: 02000100 00000028
[    6.404703] nouveau 0000:02:00.0: DRM: DCB outp 01: 01000102 00010030
[    6.404705] nouveau 0000:02:00.0: DRM: DCB outp 02: 04011210 00000028
[    6.404708] nouveau 0000:02:00.0: DRM: DCB outp 03: 02011212 00010030
[    6.404710] nouveau 0000:02:00.0: DRM: DCB conn 00: 00001030
[    6.404712] nouveau 0000:02:00.0: DRM: DCB conn 01: 00002130
[    6.425045] nouveau 0000:02:00.0: DRM: MM: using CRYPT for buffer copies
[    6.494826] nouveau 0000:02:00.0: DRM: allocated 1920x1200 fb: 0x70000, bo ffff88007d4ac000
[    6.638713] nouveau 0000:02:00.0: fb0: nouveaufb frame buffer device
[    6.656690] [drm] Initialized nouveau 1.3.1 20120801 for 0000:02:00.0 on minor 0

It seems like nouveau is initializing and detecting the card correctly...

I'm still stumped.

Offline

#7 2016-10-14 21:41:00

seth
Member
Registered: 2012-09-03
Posts: 49,967

Re: Xorg Issues on Mac Pro (2008)

The problem is in the xorg driver. You might try using the modesetting driver instead (uninstalling xf86-video-nouveau should do)

No idea about systemd-boot, sorry.

Offline

#8 2016-10-17 17:12:46

cxb
Member
Registered: 2016-06-15
Posts: 7

Re: Xorg Issues on Mac Pro (2008)

Thanks for the help...

I reverted to the modesetting driver, and it produces the same result as the nouveau driver...It loads properly, then doesn't find any devices/screens sad

Last edited by cxb (2016-10-17 17:13:02)

Offline

Board footer

Powered by FluxBB