Problem to start gdm. ATI driver. [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Problem to start gdm. ATI driver. [Solved]

Postby lucassim » Fri Oct 12, 2012 4:10

hi.

I have a serious problem making me nervous. I installed sabayon X, amd 64, Gnome. This is a fresh installation, and the only thing that I did was:

Code: Select all
#equo update
#equo install entropy sulfur equo --relaxed
#equo conf update
#equo update
#equo repo mirrorsort sabayon-weekly
#equo upgrade
#equo conf update
#equo install gdm



My kernel list is:
Code: Select all
eselect kernel list
Available kernel symlink targets:
  [1]   linux-3.5.0-sabayon *



My opengl list is:
Code: Select all
eselect opengl list
Available OpenGL implementations:
  [1]   ati *
  [2]   xorg-x11
  [3]   nvidia



My make.conf is:
Code: Select all
# Only enable Graphite via package.env
CFLAGS="-march=k8 -O2 -pipe  " # -ftree-vectorize ${GRAPHITE}"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16 -s"

## USE ARRAYS ##
SAB_BAD=" -kdeprefix -arts -qt3  -kde -doc -docs -beagle -gnome -evo -mono -eds -apm -oss -branding -esd"
SAB_MEDIA="musicbrainz sdl pulseaudio wmf fame cdr dvi mp3rtp xine cddb alsa dvb dvd network dvdread ipod audiofile artswrappersuid dvdr jack dri cdda mjpeg mmx joystick xvmc cpudetection v4l v4l2"
SAB_CODECS="x264 gsm lame dv mp3 stream live openal theora ogg a52 win32codecs matroska xvid flac ffmpeg aac speex real dts musepack"
SAB_SYSTEM="cjk unicode gnutls nptl gcj udev kerberos acl dbus bash-completion lzo rar policykit xcb bzip2 bidi wifi lm_sensors acpi usb pcmcia bluetooth irda ieee1394 perl python"
SAB_FILESYS="fat hfs jfs xfs ntfs reiserfs sysfs inotify"
SAB_PRINT="cups ppds foomatic-db gimpprint freetype xprint scanner"
SAB_XSYS="cairo X opengl png gif gtk qt4 qt3support xpm tiff xinerama aiglx svg gphoto2 dga lcd openexr"
SAB_DESKTOP="kdehiddenvisibility gmp libnotify rdesktop pda zeroconf kdeenablefinal visualization avahi startup-notification accessibility"
SAB_BROWSER="nsplugin firefox mozdevelop xulrunner"
SAB_COMMS="jabber msn yahoo icq irc aim rss slp mail imap"

## DEVICES ##
INPUT_DEVICES="evdev void"
#VIDEO_CARDS="fbdev vesa radeonhd"
[color=#FF0000]VIDEO_CARDS="radeon"[/color]



So... I installed this package to use a ATI.
Code: Select all
# equo search x11-drivers/xf86-video-ati
>>  @@ Searching...
>>      @@ Package: x11-drivers/xf86-video-ati-6.14.6-r1 branch: 5, [sabayon-weekly]
>>         Available:     version: 6.14.6-r1 ~ tag: NoTag ~ revision: 1
>>         Installed:     version: 6.14.6-r1 ~ tag: NoTag ~ revision: 1
>>         Slot:          0
>>         Homepage:      http://xorg.freedesktop.org/
>>         Description:   ATI video driver
>>         License:       MIT
>>  Keywords:  x11-drivers/xf86-video-ati
>>  Found:     1 entry




And my xorg.conf is:

Code: Select all
Section "Module"
    SubSection  "extmod"
       Option    "omit xfree86-dga"
    EndSubSection

    Load    "i2c"
    Load    "ddc"
    Load    "vbe"
    Load    "dri"
    Load    "dri2"
    Load    "glx"
    Load    "synaptics"
EndSection

Section "ServerFlags"
     Option    "AllowMouseOpenFail"    "true"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    VertRefresh    43 - 60
    HorizSync      28 - 80
EndSection


Section "Device"

    Identifier  "SabayonVga0"
    Driver      "radeon"
    #BusID    "PCI:01:05"
    #Option "RenderAccel" "on"
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
    # UseEvents is causing segmentation faults with
    # NVIDIA 6xxx, 7xxx and >=275.xx.xx drivers
    #Option "UseEvents" "True"
    #Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"

EndSection



Section "Screen"

    Identifier    "Screen 0"
    Device        "SabayonVga0"
    Monitor       "Generic Monitor"
    #Option       "AddARGBGLXVisuals" "true"

    DefaultDepth 24


    SubSection "Display"
        Depth           24
        ViewPort        0 0
        #Modes          "1024x768" "800x600" "640x480"
    EndSubsection

EndSection


Section "DRI"
    Mode 0666
EndSection

Section "ServerLayout"
    Identifier   "Main Layout"
    Screen 0    "Screen 0"
EndSection

Section "Extensions"
   #Option "Composite" "Enable"
EndSection





And, finally, my problem is when I boot my system it do not load/start gdm. My screen take a blink and my screen stay black, my keyboard do not work and I try press ctrl+alt+f1 but nothing happens. I really not understand it, I am completly lost and what I need to do, for my Xorg works correctly?

Other thing, if I press ctrl+alt+f1 many times during the boot, the console shows to me.

MY GOD :(
lucassim
Young Hen
 
Posts: 23
Joined: Wed Feb 22, 2012 23:00

Re: Problem to start gdm. ATI driver.

Postby Fitzcarraldo » Fri Oct 12, 2012 8:31

Notice that you have left your xorg.conf file specifying the open-source Radeon driver:

Code: Select all
Driver      "radeon"

If you want to use the closed-source FGLRX driver (the package ati-drivers) then you need to change that line to:

Code: Select all
Driver "fglrx"

In fact, you could first try deleting the file corg.conf completely, as modern versions of X Windows normally do not need it.

Not only that, you also need to point to the correct OpenGL libraries for the closed-source driver. Use the following command to see which OpenGL libraries your installation is currently configured to use:

Code: Select all
eselect opengl list

and the following command to select the OpenGL libraries for the FGLRX driver:

Code: Select all
eselect opengl set ati

If you can't get to a Konsole/Terminal window or to a VT to make the above corrections, you will need to boot the LiveDVD and chroot into the HDD installation. To do that, see the SL Wiki article HOWTO: chroot from a LiveCD.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7342
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Problem to start gdm. ATI driver.

Postby lucassim » Fri Oct 12, 2012 15:16

I use a open driver xf86-ati-drivers, because my VGA is onboard, and too old.
Code: Select all
# lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01.0 PCI bridge: ASUSTeK Computer Inc. RS880 PCI to PCI bridge (int gfx)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS780 [Radeon HD 3200]
01:05.1 Audio device: Advanced Micro Devices [AMD] nee ATI RS780 HDMI Audio [Radeon HD 3000-3300 Series]
02:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
04:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
04:07.0 Ethernet controller: ADMtek NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)

lucassim
Young Hen
 
Posts: 23
Joined: Wed Feb 22, 2012 23:00

Re: Problem to start gdm. ATI driver.

Postby Fitzcarraldo » Sat Oct 13, 2012 8:25

If you want to use the open-source driver then you must use the correct OpenGL libraries:

Code: Select all
 eselect opengl set xorg-x11
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7342
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Problem to start gdm. ATI driver.

Postby lucassim » Thu Oct 18, 2012 2:02

@Fitzcarraldo

I reinstalled sabayon linux, using version MATE X86_64. And I observed one thing when my system is doing boot.

My lxdm shows a info "Nox on booting messages". After booting is complete, the system show the console login.

So... I put my username and password, and run these commands.

Code: Select all
sudo /etc/init.d/xdm stop
sudo /etc/init.d/xdm start


After that, shows lxdm normally.

Which file log, can I see the error about o LXDM?
lucassim
Young Hen
 
Posts: 23
Joined: Wed Feb 22, 2012 23:00

Re: Problem to start gdm. ATI driver.

Postby Fitzcarraldo » Thu Oct 18, 2012 9:48

If you're seeing a message at boot referring to "nox", that makes me think that the nox parameter is specified in the kernel boot line. Therefore, have a look in the file /boot/grub/grub.cfg. If there is "gentoo=nox" in the kernel boot line, delete the "gentoo=nox".

Furthermore, perhaps you have to add the nomodeset boot parameter: see http://forum.sabayon.org/viewtopic.php? ... 84#p154050

The log files you would need to look in are /var/log/messages and /var/log/Xorg.0.log
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7342
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Problem to start gdm. ATI driver.

Postby joost » Thu Oct 18, 2012 10:28

2 things here:

- gentoo=nox is being set if you used the text-installer
- nomodeset is ONLY needed if you want to use FGLRX and a >=3.6 kernel (Sabayon MATE does NOT ship with FGLRX)
User avatar
joost
Sagely Hen
 
Posts: 2332
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Problem to start gdm. ATI driver.

Postby Fitzcarraldo » Thu Oct 18, 2012 10:33

joost wrote:- nomodeset is ONLY needed if you want to use FGLRX and a >=3.6 kernel (Sabayon MATE does NOT ship with FGLRX)

Ah, thanks for the info.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7342
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Problem to start gdm. ATI driver.[solved]

Postby lucassim » Sat Oct 20, 2012 1:06

Fitzcarraldo wrote:If you're seeing a message at boot referring to "nox", that makes me think that the nox parameter is specified in the kernel boot line. Therefore, have a look in the file /boot/grub/grub.cfg. If there is "gentoo=nox" in the kernel boot line, delete the "gentoo=nox".

Furthermore, perhaps you have to add the nomodeset boot parameter: see http://forum.sabayon.org/viewtopic.php? ... 84#p154050

The log files you would need to look in are /var/log/messages and /var/log/Xorg.0.log


joost wrote:2 things here:

- gentoo=nox is being set if you used the text-installer
- nomodeset is ONLY needed if you want to use FGLRX and a >=3.6 kernel (Sabayon MATE does NOT ship with FGLRX)



I love you guys!!!! ahsuhaushau thank you the trick was a successful. The problem is gentoo=nox in grub.cfg.

thank you!!!
lucassim
Young Hen
 
Posts: 23
Joined: Wed Feb 22, 2012 23:00

Re: Problem to start gdm. ATI driver. [Solved]

Postby Fitzcarraldo » Sat Oct 20, 2012 9:30

lucassim, when your problem is solved, please edit the first post in the thread and append " [Solved]" to the Subject (see the first link in my signature). I'll do it for you this time.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7342
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest