You are not logged in.

#1 2013-09-05 17:49:09

obatard
Member
Registered: 2013-09-04
Posts: 14

[SOLVED] KDM Hang

Hi,

I'm just trying to use KDE (and KDM) on a macbook pro retina 15".

So I've installed xorg-server, xorg-server-utils and the nvidia package.

But when I launch HDM or even startx, the system hang with a black screen.

Is anyone knows how to run X on that machine ? Is it the right driver ?

Thanks by advance.


EDIT : The chipset is Nvidia GT 650m

Last edited by obatard (2013-09-06 16:46:28)

Offline

#2 2013-09-06 09:15:10

cju
Member
Registered: 2013-06-23
Posts: 194

Re: [SOLVED] KDM Hang

Did you also install xorg-xinit?

Edit: If so, did you enable kdm.service? Regarding startx: What does your ~/.xinitrc look like?

Last edited by cju (2013-09-06 09:17:46)

Offline

#3 2013-09-06 11:09:41

obatard
Member
Registered: 2013-09-04
Posts: 14

Re: [SOLVED] KDM Hang

Thanks for your reply.

YEs xorg-xinit is installed.
I have enabled kdm.service, but when it launch, a black screen is displayed.

There is no .xinitrc, like it is said in the doc.

Offline

#4 2013-09-06 11:28:37

cju
Member
Registered: 2013-06-23
Posts: 194

Re: [SOLVED] KDM Hang

For testing purposes, you could try the following: Disable kdm.service, create (as user) a .xinitrc via `cp /etc/skel/.xinitrc /home/$user`, uncomment `exec startkde` and try to lauch X via startx.

But wait: Could it be that you have hybrid graphics (in your case NVIDIA plus (CPU-)integrated Intel)? Please post `lspci | grep -i vga`for clarification.

Offline

#5 2013-09-06 11:43:01

obatard
Member
Registered: 2013-09-04
Posts: 14

Re: [SOLVED] KDM Hang

I've tried the .xinitrc method, but same problem.

You're right, that's hybrid, intel i915 and nvidia GT 650m. I've tried to blacklist the i915 module but no luck.

Offline

#6 2013-09-06 11:51:57

cju
Member
Registered: 2013-06-23
Posts: 194

Re: [SOLVED] KDM Hang

Perhaps you may try Bumblebee? Alternativly, you could go for a manual switching solution with vgaswitcheroo, but that requires afaik the free nouveau instead of the nvidia blob.

Besides, is there a way to disable the integrated graphics via the BIOS? If so, this would be also a quick 'n' dirty possibility if you intend to use only the dedicated one…

Offline

#7 2013-09-06 12:17:50

obatard
Member
Registered: 2013-09-04
Posts: 14

Re: [SOLVED] KDM Hang

Yes I tried bumblebee, installed it and activate the service. Not luck. The nouveau driver doesn't work either. I'll search for a way to disable the i915 card.

Offline

#8 2013-09-06 12:40:52

obatard
Member
Registered: 2013-09-04
Posts: 14

Re: [SOLVED] KDM Hang

I can't disable the i915 card. Bumblebee seems not working. So how can I use bumblebee to start kde correctly ?

I'm quite stucked here. anyone has already used Archlinux and kde on a macbookpro Retina ?

Anyway, thanks for your help.

Offline

#9 2013-09-06 13:03:47

cju
Member
Registered: 2013-06-23
Posts: 194

Re: [SOLVED] KDM Hang

Well, there is quite a bunch of articles about that issue on the web, so you might try some of the proposed approaches, such as https://vec.io/posts/use-arch-linux-and … na-display or https://wiki.archlinux.org/index.php/MacBookPro_Retina or…

Offline

#10 2013-09-06 13:05:40

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: [SOLVED] KDM Hang

bumblebee isn't to start a DE, you may look at Xorg.0.log?


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#11 2013-09-06 13:33:26

obatard
Member
Registered: 2013-09-04
Posts: 14

Re: [SOLVED] KDM Hang

Here's the Xorg.0.log :

[   181.671] (WW) Disabling Mouse0
[   181.671] (WW) Disabling Keyboard0
[   181.671] (II) Loader magic: 0x7fdc20
[   181.671] (II) Module ABI versions:
[   181.671] 	X.Org ANSI C Emulation: 0.4
[   181.671] 	X.Org Video Driver: 14.1
[   181.671] 	X.Org XInput driver : 19.1
[   181.671] 	X.Org Server Extension : 7.0
[   181.674] (--) PCI: (0:0:2:0) 8086:0166:106b:00f7 rev 9, Mem @ 0xc1400000/4194304, 0xb0000000/268435456, I/O @ 0x00003000/64
[   181.674] (--) PCI:*(0:1:0:0) 10de:0fd5:106b:00f2 rev 161, Mem @ 0xc0000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
[   181.674] Initializing built-in extension Generic Event Extension
[   181.674] Initializing built-in extension SHAPE
[   181.674] Initializing built-in extension MIT-SHM
[   181.674] Initializing built-in extension XInputExtension
[   181.674] Initializing built-in extension XTEST
[   181.674] Initializing built-in extension BIG-REQUESTS
[   181.674] Initializing built-in extension SYNC
[   181.674] Initializing built-in extension XKEYBOARD
[   181.674] Initializing built-in extension XC-MISC
[   181.674] Initializing built-in extension SECURITY
[   181.674] Initializing built-in extension XINERAMA
[   181.674] Initializing built-in extension XFIXES
[   181.674] Initializing built-in extension RENDER
[   181.674] Initializing built-in extension RANDR
[   181.674] Initializing built-in extension COMPOSITE
[   181.674] Initializing built-in extension DAMAGE
[   181.674] Initializing built-in extension MIT-SCREEN-SAVER
[   181.674] Initializing built-in extension DOUBLE-BUFFER
[   181.674] Initializing built-in extension RECORD
[   181.674] Initializing built-in extension DPMS
[   181.674] Initializing built-in extension X-Resource
[   181.674] Initializing built-in extension XVideo
[   181.674] Initializing built-in extension XVideo-MotionCompensation
[   181.674] Initializing built-in extension XFree86-VidModeExtension
[   181.674] Initializing built-in extension XFree86-DGA
[   181.674] Initializing built-in extension XFree86-DRI
[   181.674] Initializing built-in extension DRI2
[   181.674] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   181.674] (II) LoadModule: "glx"
[   181.677] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   181.679] (II) Module glx: vendor="X.Org Foundation"
[   181.679] 	compiled for 1.14.2, module version = 1.0.0
[   181.679] 	ABI class: X.Org Server Extension, version 7.0
[   181.679] (==) AIGLX enabled
[   181.679] Loading extension GLX
[   181.679] (II) LoadModule: "nvidia"
[   181.680] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   181.696] (II) Module nvidia: vendor="NVIDIA Corporation"
[   181.696] 	compiled for 4.0.2, module version = 1.0.0
[   181.696] 	Module class: X.Org Video Driver
[   181.696] (II) NVIDIA dlloader X Driver  325.15  Wed Jul 31 17:50:57 PDT 2013
[   181.696] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   181.696] (++) using VT number 7

[   181.714] (II) Loading sub module "fb"
[   181.714] (II) LoadModule: "fb"
[   181.714] (II) Loading /usr/lib/xorg/modules/libfb.so
[   181.715] (II) Module fb: vendor="X.Org Foundation"
[   181.715] 	compiled for 1.14.2, module version = 1.0.0
[   181.715] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   181.715] (WW) Unresolved symbol: fbGetGCPrivateKey
[   181.715] (II) Loading sub module "wfb"
[   181.715] (II) LoadModule: "wfb"
[   181.716] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   181.717] (II) Module wfb: vendor="X.Org Foundation"
[   181.717] 	compiled for 1.14.2, module version = 1.0.0
[   181.717] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   181.717] (II) Loading sub module "shadow"
[   181.717] (II) LoadModule: "shadow"
[   181.717] (II) Loading /usr/lib/xorg/modules/libshadow.so
[   181.718] (II) Module shadow: vendor="X.Org Foundation"
[   181.718] 	compiled for 1.14.2, module version = 1.1.0
[   181.718] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   181.718] (II) Loading sub module "ramdac"
[   181.718] (II) LoadModule: "ramdac"
[   181.718] (II) Module "ramdac" already built-in
[   181.813] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   181.814] (==) NVIDIA(0): RGB weight 888
[   181.814] (==) NVIDIA(0): Default visual is TrueColor
[   181.814] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   181.814] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[   181.814] (**) NVIDIA(0): Enabling 2D acceleration
[   181.814] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[   181.814] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[   181.814] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[   181.814] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[   181.814] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
[   182.341] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[   182.343] (II) NVIDIA(0): NVIDIA GPU GeForce GT 650M (GK107) at PCI:1:0:0 (GPU-0)
[   182.343] (--) NVIDIA(0): Memory: 1048576 kBytes
[   182.343] (--) NVIDIA(0): VideoBIOS: 80.07.26.04.01
[   182.343] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   182.352] (II) NVIDIA(GPU-0): Display (Apple Color LCD (DFP-3)) does not support NVIDIA 3D
[   182.352] (II) NVIDIA(GPU-0):     Vision stereo.
[   182.363] (--) NVIDIA(0): Valid display device(s) on GeForce GT 650M at PCI:1:0:0
[   182.363] (--) NVIDIA(0):     DFP-0
[   182.363] (--) NVIDIA(0):     DFP-1
[   182.363] (--) NVIDIA(0):     DFP-2
[   182.363] (--) NVIDIA(0):     Apple Color LCD (DFP-3) (boot, connected)
[   182.364] (--) NVIDIA(0):     DFP-4
[   182.364] (--) NVIDIA(0):     DFP-5
[   182.364] (--) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[   182.364] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[   182.364] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
[   182.364] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
[   182.364] (--) NVIDIA(0): DFP-2: 165.0 MHz maximum pixel clock
[   182.364] (--) NVIDIA(0): DFP-2: Internal Single Link TMDS
[   182.364] (--) NVIDIA(0): Apple Color LCD (DFP-3): 480.0 MHz maximum pixel clock
[   182.364] (--) NVIDIA(0): Apple Color LCD (DFP-3): Internal DisplayPort
[   182.364] (--) NVIDIA(0): DFP-4: 480.0 MHz maximum pixel clock
[   182.364] (--) NVIDIA(0): DFP-4: Internal DisplayPort
[   182.364] (--) NVIDIA(0): DFP-5: 480.0 MHz maximum pixel clock
[   182.364] (--) NVIDIA(0): DFP-5: Internal DisplayPort
[   182.364] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   182.364] (**) NVIDIA(0):     device Apple Color LCD (DFP-3) (Using EDID frequencies has
[   182.364] (**) NVIDIA(0):     been enabled on all display devices.)
[   183.395] (==) NVIDIA(0): 
[   183.395] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   183.395] (==) NVIDIA(0):     will be used as the requested mode.
[   183.395] (==) NVIDIA(0): 
[   183.396] (II) NVIDIA(0): Validated MetaModes:
[   183.396] (II) NVIDIA(0):     "DFP-3:nvidia-auto-select{}"
[   183.396] (II) NVIDIA(0): Virtual screen size determined to be 2880 x 1800
[   187.403] (EE) NVIDIA(GPU-0): Failed to tear down EVO channel
[   187.405] (--) NVIDIA(0): DPI set to (221, 217); computed from "UseEdidDpi" X config
[   187.405] (--) NVIDIA(0):     option
[   187.405] (--) Depth 24 pixmap format is 32 bpp
[   187.406] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[   187.406] (II) NVIDIA:     access.
[   191.410] (EE) NVIDIA(GPU-0): EVO Push buffer channel allocation failed
[   191.413] (EE) NVIDIA(GPU-0): Failed to allocate EVO core DMA push buffer
[   191.414] (EE) 
Fatal server error:
[   191.414] (EE) AddScreen/ScreenInit failed for driver 0
[   191.414] (EE) 
[   191.414] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   191.414] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   191.414] (EE) 
[   191.423] (EE) Server terminated with error (1). Closing log file.

My Xorg.conf :

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "nvidia"
	BusID       "PCI:1:0:0"
        Option      "ProbeALLGpus" "false"
	Option      "UseDPLib" "off"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

I've tried that https://vec.io/posts/use-arch-linux-and … na-display, no luck.

Last edited by obatard (2013-09-06 13:37:05)

Offline

#12 2013-09-06 16:46:11

obatard
Member
Registered: 2013-09-04
Posts: 14

Re: [SOLVED] KDM Hang

That works fine with the installation of the nvidia driver provided on the nvidia website. The arch package doesn't work with macbook.

Offline

#13 2013-09-15 03:28:34

jantman
Member
Registered: 2013-09-14
Posts: 7

Re: [SOLVED] KDM Hang

I'm running the same hardware and am now having the same problem (the same errors in the logs). This is a regression (upstream I assume). I waited way too long to do an update... yesterday I was still running stock arch kernel 3.9.8-1 and nvidia 319.32-2.  This morning I did an update to kernel 3.10.10-1 and nvidia 319.32-2 and this behavior started.

So, hopefully this will get fixed.

For the benefit of the rest of us, can you please confirm what kernel version you're on, and what driver version you downloaded from nvidia that's working?

Offline

Board footer

Powered by FluxBB