LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-13-2014, 03:57 PM   #16
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 666Reputation: 666Reputation: 666Reputation: 666Reputation: 666Reputation: 666

Quote:
Originally Posted by OtagoHarbour View Post
What is strange is that it boots to the command line and I need to enter startx to get the desktop.
You need to install KDM with apt-get. If you get a blue and red dialog box on the CLI prompting you to choose a display manager, choose KDM; otherwise, execute dpkg-reconfigure kdm (after you install it) and select it from the dialog box.

Last edited by Hungry ghost; 07-13-2014 at 04:38 PM. Reason: spelling
 
Old 07-13-2014, 08:35 PM   #17
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
http://forums.opensuse.org/showthrea...hen-logging-in
Try that or just deal with graphics card issue
BTW did, you install firmware-linux & firmware-linux-nonfree
 
Old 12-25-2014, 11:35 PM   #18
oschreiber.ae90
LQ Newbie
 
Registered: Jan 2005
Location: USA/LA
Distribution: debian
Posts: 3

Rep: Reputation: 0
Debian vesa, radeon, fglrx, Beta, latest AMD drivers on sid

Hi,
I replaced an old NVIDIA GeForce GTX550Ti
with a brand new
SAPPHIRE DUAL-X OC with Boost (UEFI) 100373-2L AMD Radeon R9 280 3GB 384-Bi GDDR5 PCI-E

I tried and documented below my attempts with:
1)Debian vesa driver
2)Debian radeon driver
3)debian fglrx driver:
4.1)Beta fglrx from AMD 128742301 Jul 11 02:47 amd-driver-installer-14.20-x86.x86_64.run
4.2)Latest fglrx from AMD 157989882 Nov 28 13:59 amd-driver-installer-14.501.1003-x86.x86_64.run

Any help or advice apreciated. Thanks!

Code:
root@quad:/home/olivier# lspci -nn|grep VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] [1002:679a]
Running
deb http://ftp.us.debian.org/debian/ unstable main contrib non-free

These prerequisite are installed:
Code:
ii  xserver-xorg-video-vesa 1:2.3.3-1+b3 amd64 X.Org X server -- VESA display driver

ii  firmware-linux-nonfree 0.43 all Binary firmware for various drivers in the Linux kernel
ii  libgl1-mesa-dri:amd64 10.3.2-1 amd64 free implementation of the OpenGL API -- DRI modules
ii  xserver-xorg-video-ati 1:7.5.0-1 amd64 X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-radeon 1:7.5.0-1 amd64 X.Org X server -- AMD/ATI Radeon display driver

#Prefer gmd3 but can try xdm:
ii  gdm3               3.14.1-3 amd64        GNOME Display Manager
ii  libgdm1            3.14.1-3 amd64        GNOME Display Manager (shared library)
ii  libxdmcp6:amd64    1:1.1.1-1+b1 amd64        X11 Display Manager Control Protocol library
ii  xdm                1:1.1.11-1 amd64        X display manager
1)Debian vesa driver:
Code:
root@quad:/etc/X11# cat xorg.conf
Section "ServerLayout"
        Identifier   "layoutid"
        Screen       "screenid"
EndSection
Section "Screen"
        Identifier 	"screenid"
        Device     	"devid"
        Monitor    	"monid"
	DefaultDepth    24
	SubSection     	"Display"
		Depth   24
	EndSubSection
EndSection
Section "Device"
        Identifier "devid"
        #Driver     "fglrx"
        #Driver     "radeon"
        #Driver     "ati"
        Driver     "vesa"
        #Driver     "nv"
        #Driver     "nvidia"
	BusID       "PCI:1:0:0"
EndSection
Section "Monitor"
        Identifier 	"monid"
	HorizSync       28.0 - 33.0
	VertRefresh     43.0 - 72.0
	Option         	"DPMS"
EndSection
root@quad:/etc/X11# 
root@quad:/home/olivier# /etc/init.d/gdm3 restart
[ ok ] Restarting gdm3 (via systemctl): gdm3.service.
root@quad:/home/olivier#
I get a low definition:
Code:
Oh no! Something has gone wrong.
A problem has occurred and the system can't recover
Please log out and try again.
Xorg.0.log shows these errors:
Code:
[  7178.940] (EE) AIGLX: reverting to software rendering
[  7178.973] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
[  7178.973] (EE) GLX: could not load software renderer
[  7178.973] (II) GLX: no usable GL providers found for screen 0
Please see Xorg.0.log_vesa.txt in attachment.

2)Debian radeon driver:
Let X autoconfigure itself for radeon:
Code:
root@quad:/etc/X11# rm xorg.conf
root@quad:/home/olivier# /etc/init.d/gdm3 restart
[ ok ] Restarting gdm3 (via systemctl): gdm3.service.
root@quad:/home/olivier#
I get a high definition:
Code:
Oh no! Something has gone wrong.
A problem has occurred and the system can't recover
Please log out and try again.
Code:
root@quad:/etc/X11# lsmod |egrep "radeon|fglrx"
radeon               1341087  2 
ttm                    69670  1 radeon
drm_kms_helper         49210  1 radeon
drm                   249955  5 ttm,drm_kms_helper,radeon
i2c_algo_bit           12751  1 radeon
i2c_core               46012  5 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon
root@quad:/etc/X11#
Xorg.0.log shows these errors:
Code:
[  7492.970] (EE) open /dev/dri/card0: No such file or directory
[  7492.970] (EE) open /dev/dri/card0: No such file or directory
[  7492.975] (EE) open /dev/fb0: No such file or directory
[  7492.975] (EE) open /dev/fb0: No such file or directory
[  7492.975] (EE) Screen 0 deleted because of no matching config section.
[  7492.975] (EE) Screen 0 deleted because of no matching config section.
[  7492.975] (EE) Screen 0 deleted because of no matching config section.
[  7493.171] (EE) AIGLX: reverting to software rendering
[  7493.205] (EE) AIGLX error: dlopen of
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed
(/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol:
_glapi_tls_Dispatch)
[  7493.205] (EE) GLX: could not load software renderer
Please see Xorg.0.log_radeon.txt in attachment.


xdm gives me the same Oh no! screen:
Code:
root@quad:/home/olivier# /etc/init.d/gdm3 stop
[ ok ] Stopping gdm3 (via systemctl): gdm3.service.
root@quad:/home/olivier# /etc/init.d/xdm restart
[ ok ] Restarting xdm (via systemctl): xdm.service.
root@quad:/home/olivier#
and similar Xorg.0.log
Please see Xorg.0.log_radeon_4_xdm.txt in attachment


3)debian fglrx driver:
Installed:
Code:
ii  fglrx-atieventsd 1:14.9+ga14.201-2  daemon for the non-free ATI/AMD RadeonHD display driver
ii  fglrx-control 1:14.9+ga14.201-2 amd64 control panel for the non-free ATI/AMD RadeonHD display driver
ii  fglrx-driver 1:14.9+ga14.201-2 amd64 non-free ATI/AMD RadeonHD display driver
ii  fglrx-modules-dkms 1:14.9+ga14.201-2 amd64 dkms module source for the non-free ATI/AMD RadeonHD display driver
ii  glx-alternative-fglrx 0.5.1 amd64 allows the selection of FGLRX as GLX provider
ii  libfglrx:amd64 1:14.9+ga14.201-2 amd64 non-free ATI/AMD RadeonHD display driver (runtime libraries)
ii  libfglrx-amdxvba1:amd64 1:14.9+ga14.201-2 amd64 AMD XvBA (X-Video Bitstream Acceleration) runtime libraries
ii  libgl1-fglrx-glx:amd64 1:14.9+ga14.201-2 amd64 proprietary libGL for the non-free ATI/AMD RadeonHD display driver
Code:
root@quad:/etc/X11# aticonfig --initial
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.original-1
root@quad:/etc/X11#
root@quad:/etc/X11# cat xorg.conf
Section "ServerLayout"
	Identifier     "aticonfig Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Module"
EndSection
Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection
Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
EndSection
Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
root@quad:/home/olivier# /etc/init.d/gdm3 restart
[ ok ] Restarting gdm3 (via systemctl): gdm3.service.
root@quad:/home/olivier# 
I get a black screen
root@quad:/etc/X11# lsmod|grep fglrx
fglrx                9097975  39 
button                 12944  1 fglrx
root@quad:/etc/X11#
Xorg.0.log shows these errors:
Code:
[  8305.563] (EE) AIGLX error: failed to open /usr/X11R6/lib64/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib64/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
[  8305.563] (EE) AIGLX error: failed to open /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
[  8305.563] (EE) AIGLX error: failed to open /usr/X11R6/lib/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
Please see Xorg.0.log_fglrx_Debian.txt in attachment.


4)fglrx from AMD
Uninstalled in aptitude all fglrx packages.
Retried radeon just to see and got another type of error:
I get black screen and:
Code:
[  1251.785] (II) [KMS] drm report modesetting isn't supported.
[  1251.785] (EE) Screen 0 deleted because of no matching config section.
[  1251.785] (II) UnloadModule: "radeon"
[  1251.785] (EE) Device(s) detected, but none match those in the config file.
[  1251.785] (EE) 
Fatal server error:
[  1251.785] (EE) no screens found(EE)
Please see Xorg.0.log_radeon_2.txt in attachment.

Code:
root@quad:/etc/X11# Xorg -configure
X.Org X Server 1.16.2.901 (1.16.3 RC 1)
Release Date: 2014-12-09
Build Operating System: Linux 3.2.0-4-amd64 x86_64 Debian
Current Operating System: Linux quad 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=5f8a3826-c360-44f4-8e56-18587eadc598 ro quiet
Build Date: 09 December 2014  10:15:28PM
xorg-server 2:1.16.2.901-1 (http://www.debian.org/support) 
Current version of pixman: 0.32.6
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 25 16:44:18 2014
List of video drivers:
	nouveau
	intel
	mga
	radeon
	sisusb
	mach64
	ati
	tdfx
	savage
	trident
	r128
	siliconmotion
	cirrus
	neomagic
	nvidia
	vmware
	openchrome
	vesa
	fbdev
	modesetting
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] drm report modesetting isn't supported.
(EE) 
(EE) Backtrace:
(EE) 0: Xorg (xorg_backtrace+0x56) [0x7f1a326e2a76]
(EE) 1: Xorg (0x7f1a3252c000+0x1bac59) [0x7f1a326e6c59]
(EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f1a30221000+0x35180) [0x7f1a30256180]
(EE) 
(EE) Segmentation fault at address 0x0
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
Aborted
root@quad:/etc/X11#

Anyway, installing Proprietary fglrx from AMD, 2 versions:

4.1)Beta fglrx from AMD 128742301 Jul 11 02:47 amd-driver-installer-14.20-x86.x86_64.run
Code:
cd /var/lib/dkms/fglrx/14.20/build; sh make.sh --nohints --uname_r=3.16.0-4-amd64 --norootcheck......(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-14.20 with DKMS
[Error] Kernel Module : Removing fglrx-14.20 from DKMS
------------------------------
Deleting module version: 14.20
completely from the DKMS tree.
------------------------------

4.2)Latest fglrx from AMD 157989882 Nov 28 13:59 amd-driver-installer-14.501.1003-x86.x86_64.run
Code:
cd /var/lib/dkms/fglrx/14.501.1003/build; sh make.sh --nohints
--uname_r=3.16.0-4-amd64 --norootcheck.....
cleaning build area....
DKMS: build completed.
fglrx:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-4-amd64/kernel/drivers/char/drm/
depmod....
DKMS: install completed.
[Reboot] Kernel Module : update-initramfs

root@quad:/etc/X11# aticonfig --initial
aticonfig: error while loading shared libraries: libGL.so.1: cannot open shared
object file: No such file or directory
root@quad:/etc/X11# LD_LIBRARY_PATH=/usr/lib64 aticonfig --initial
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.original-2
root@quad:/etc/X11# 
(same xorg.conf as for Debian aticonfig)
# reboot
I get a black screen
The fglrx module is loaded:
Code:
root@quad:/home/olivier# lsmod|egrep "radeon|vesa|fglrx"
fglrx               10877607  0 
button                 12944  1 fglrx
root@quad:/home/olivier#
But /var/log/Xorg.0.log says it has been unloaded:
Code:
[   285.606] (--) PCI:*(0:1:0:0) 1002:679a:174b:a003 rev 0, Mem @
0xd0000000/268435456, 0xfde80000/262144, I/O @ 0x0000ee00/256, BIOS @
0x????????/131072
[   285.606] (II) "glx" will be loaded by default.
[   285.606] (II) LoadModule: "glx"
[   285.607] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   285.607] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so:
libGL.so.1: cannot open shared object file: No such file or directory
[   285.607] (II) UnloadModule: "glx"
[   285.607] (II) Unloading glx
[   285.607] (EE) Failed to load module "glx" (loader failed, 7)
[   285.607] (II) LoadModule: "fglrx"
[   285.607] (WW) Warning, couldn't open module fglrx
[   285.607] (II) UnloadModule: "fglrx"
[   285.607] (II) Unloading fglrx
[   285.607] (EE) Failed to load module "fglrx" (module does not exist, 0)
[   285.607] (EE) No drivers available.
[   285.607] (EE) 
Fatal server error:
[   285.607] (EE) no screens found(EE) 
[   285.607] (EE)
Please see:
[attach]Xorg.0.log_fglrx_14.501.1003.txt[/attach]

PS:
/var/log/messages and /var/log/syslog show a lot of:
Code:
Dec 25 17:16:27 quad kernel: [   51.755897] nvidia: module license 'NVIDIA' taints kernel.
Dec 25 17:16:27 quad kernel: [   51.770702] NVRM: No NVIDIA graphics adapter found!
Dec 25 17:16:27 quad kernel: [   51.770752] NVRM: NVIDIA init module failed!
and /var/log/kern.log as well:
Code:
Dec 25 17:50:35 quad kernel: [   48.118122] [drm] Initialized drm 1.1.0 20060810
Dec 25 17:50:38 quad kernel: [   51.224378] NVRM: No NVIDIA graphics adapter found!
Dec 25 17:50:38 quad kernel: [   51.224430] NVRM: NVIDIA init module failed!
Thanks.
Attached Files
File Type: txt Xorg.0.log_5of6.txt (255.7 KB, 20 views)
File Type: txt Xorg.0.log_fglrx_14.501.1003.txt (3.4 KB, 11 views)
 
Old 12-28-2014, 07:22 AM   #19
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 312

Original Poster
Rep: Reputation: 3
I thought I had posted my resolution to this problem. I ran lynis and it said to change umask, in /etc/init.d/rc, to 027. Prior to doing that, Gnome was starting up fine. However, after I made that recommended change, restart produced the "Oh no!" screen. I used ctrl-alt-F4 to get the command line, edited /etc/init.d/rc and changed its umask value back to 022. When I restarted, the Gnome desktop started up just fine. So, setting umask, in /etc/init.d/rc, to 027 was what caused my problem.

I have not installed any graphics cards so am unable to help with that problem.
 
Old 12-29-2014, 01:12 PM   #20
oschreiber.ae90
LQ Newbie
 
Registered: Jan 2005
Location: USA/LA
Distribution: debian
Posts: 3

Rep: Reputation: 0
Thanks OtagoHarbour,
I checked my /etc/init.d/rc and it has umask 022.
Maybe Debian unstable has something messed up with respect to libraries needed for radeon or fglrx drivers.
I am thinking of installing `testing' or `stable' on another machine to see if card will work.
Thanks!
 
Old 09-01-2015, 03:42 PM   #21
SmailhodzicA
LQ Newbie
 
Registered: Sep 2015
Posts: 1

Rep: Reputation: Disabled
Oh no! Something has gone wrong! Kali 2.0 VMware

As I was attempting to install Kali 2.0 on VMware I was running into the same issue. Startx was not found, and even upon manually installing it would not work. The one thing that worked for me was to enable virtualization in bios. This is usually a problem that occurs with VirtualBox for me, but this time it resolves the issue with Kali 2.0 on VMware.
 
Old 09-06-2017, 07:10 AM   #22
ram5019
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Rep: Reputation: Disabled
Thumbs up Solution

Login into terminal instead of GUI. And move gnome session with some name.
Example
Cd .config
Mv gnome-session gnome-session-old
And try logging into GUI.

This will fix the above stated issue.
 
  


Reply

Tags
debian, gnu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
why `tr "\000" "\125" < /dev/zero | dd bs=1K count=1 of=01data` creates wrong size? albert316 Linux - Newbie 11 11-16-2011 10:08 AM
Getting "SIOCADDRT: No such process" when running "service network restart" cmlorentz Linux - Networking 1 11-26-2010 01:06 PM
How do I disable "shutdown" and "restart" options in KDE logout screen for all users? maxgsp Linux - Distributions 1 12-12-2008 03:18 PM
Lost "Shutdown" and "Restart" From system menu in FC6 Nader1 Linux - Software 3 02-12-2007 04:40 PM
"Shutdown" and "Restart" option missing after upgrade hansalfredche Mandriva 8 11-02-2006 07:23 AM

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

All times are GMT -5. The time now is 07:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration