Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That's by far the safest and easiest way to configure Xorg with an AMD card. It's all automated, and everything works as it should.
Quote:
Originally Posted by Lagamorph
I installed Steam using a guide I found on the Steam forums, which involved downloading and running a steam.deb file, I believe those were likely added by that package.
As you can see in my long post on page 1 here, you don't need to install Steam like that. Debian already has Steam in it's non-free repos.
Though this prompted that there were 0 packages to upgrade, install or remove, so looks like it's already been installed as part of the installation process (I did use the non-free image to install), so I'm proceeding with creating the Xorg configuration file, then on with the Steam installation instructions.
EDIT - Ok....so I've literally done nothing except the following,
Ok, it seems my system really hates anything to do with an xorg config.
I attempted to open the ATI Catalyst Control Center (When I checked in Synpatic, it was already installed without me needing to do anything) so that I could enable Crossfire on my system, but on attempting to open it I get the following message,
Code:
There was a problem initializing Catalyst Control Center Linux Edition. It could be the following,
No AMD Graphics Driver is installed, or the AMD driver is not functioning properly.
Please install the AMD driver appropriate to your AMD hardware or configure using aticonfig
So I realise I haven't run,
Code:
sudo aticonfig --intial
yet, so I go ahead and run that, then reboot. As soon as I reboot, yep, you guessed it, I'm back to booting into the command line again!
However, if I browse to /etc/X11 and then delete the xorg.conf files (I checked and the file was no present before running the aticonfig) and then reboot again, I'm back to booting into the GUI.
According to Synpatic, the non-free AMD RadeonHD display driver (Package fglrx-driver) is installed.
I think you should try the non-proprietary AMD driver instead -- the performance is pretty good these days and the open-source driver should be more reliable.
I really have NOT had a need for /etc/X11/xorg.conf for a while. Most adjustments (if any) can be made with xrandr and xinput after starting your window manager. Or amdcccle that is part of ati/amd's proprietary driver. You might need to build the fglrx kernel module and load it manually before starting kde. Depending on stuff (kernel source / video driver source). If you've used the proprietary driver by non distro specific means, you might need to reinstall that driver everytime that the kernel updates. Even if the kernel version is basically the same / security updates.
You might be missing a display manager which does most of the gui login stuff. gdm, kdm, wdm, xdm, lightdm, and others depending on what you have installed. You only need one of those installed, and I'm not sure what the default is these days as I prefer booting to the command line.
I really have NOT had a need for /etc/X11/xorg.conf for a while.
In this case, the xorg configuration file is needed to specify the fglrx driver.
When the OP removes the file, the system uses the non-proprietary AMD driver.
Quote:
Originally Posted by Shadow_7
You might need to build the fglrx kernel module and load it manually before starting kde. Depending on stuff (kernel source / video driver source). If you've used the proprietary driver by non distro specific means, you might need to reinstall that driver everytime that the kernel updates.
Just ran,
[code]sudo aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') fglrx-driver
Though this prompted that there were 0 packages to upgrade, install or remove, so looks like it's already been installed as part of the installation process (I did use the non-free image to install), so I'm proceeding with creating the Xorg configuration file, then on with the Steam installation instructions.
It's nearly impossible for that to be installed by default.
Did you add the "contrib" and "non-free" to your /etc/apt/sources.list?
Quote:
Originally Posted by Lagamorph
EDIT - Ok....so I've literally done nothing except the following,
I'm now back to Debian booting straight to command line....
There are a couple of things wrong with that.
First, it seems you didn't install any AMD driver at all.
Second, you created an Xorg.conf file for nothing. If no AMD driver was installed then you don't need an xorg.conf file.
Third, you created that xorg.conf file, didn't configure it, and then rebooted. That's why you booted on tty1.
Quote:
Originally Posted by Lagamorph
EDIT 2 -
Ok, removed the xorg.conf.d directory along with contents, rebooted, and I'm back to GUI mode again.
That's because Xorg automatically configures itself and doesn't require any additional configuration.
Quote:
Originally Posted by Lagamorph
Ok, it seems my system really hates anything to do with an xorg config.
I attempted to open the ATI Catalyst Control Center (When I checked in Synpatic, it was already installed without me needing to do anything) so that I could enable Crossfire on my system, but on attempting to open it I get the following message,
Code:
There was a problem initializing Catalyst Control Center Linux Edition. It could be the following,
No AMD Graphics Driver is installed, or the AMD driver is not functioning properly.
Please install the AMD driver appropriate to your AMD hardware or configure using aticonfig
So I realise I haven't run,
Code:
sudo aticonfig --intial
yet, so I go ahead and run that, then reboot. As soon as I reboot, yep, you guessed it, I'm back to booting into the command line again!
However, if I browse to /etc/X11 and then delete the xorg.conf files (I checked and the file was no present before running the aticonfig) and then reboot again, I'm back to booting into the GUI.
According to Synpatic, the non-free AMD RadeonHD display driver (Package fglrx-driver) is installed.
Please, if you're going to install the non-free AMD drivers the best way to do so is to follow what I described ->
Quote:
Next, lets install the AMD drivers. As the Debian Wiki page says, it's pretty easy:
Add "contrib" and "non free" to your sources.list repository (the file is in /etc/apt/sources.list). So if it looks like this:
Code:
deb http://httpredir.debian.org/debian/ jessie main
make it look like this:
Code:
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Next, lets tell the system to update and recognize the new packages:
You will notice that a message will appear while you install the driver, and this message says that "usually running aticonfig --initial is enough", etc. It is.
After install, then, you issue:
Code:
# aticonfig --initial
Notice the "#"? It means you must issue this command as root. Otherwise, do it as your regular user:
Code:
sudo aticonfig --initial
If you get a warning saying your user isn`t in the sudoers file, don't worry:
Code:
# adduser lagamorph sudo
Great, we're almost there!
Now reboot.
After reboot, we are going to install Steam and the 32-bit libraries for your drivers.
Lets tell Debian that we want 32-bit applications available to install:
Code:
dpkg --add-architecture i386
Debian now must refresh its repositories list
Code:
apt-get update
Good. Now let's install Steam:
Code:
apt install Steam
Now, the 32-bit libraries necessary for your(and mine too) driver, but first, forget the "ia-32libs" package (or whatever it is called), this collection is ANCIENT and UNNECESSARY.
Code:
apt install libgl1-fglrx-glx:i386
Done. You don't even need to reboot.
Enjoy your Debian + Steam system And you can even go into Big-Picture mode and pretend it's SteamOS, but this time you actually have an Operating System that is designed to be a Desktop OS.
First, it seems you didn't install any AMD driver at all.
Second, you created an Xorg.conf file for nothing. If no AMD driver was installed then you don't need an xorg.conf file.
Third, you created that xorg.conf file, didn't configure it, and then rebooted. That's why you booted on tty1.
First, yes he did -- `aptitude install fglrx-driver`
Second, it does need an xorg configuration file to specify fglrx rather than xserver-xorg-video-ati
Third, he did configure it -- that's what the `echo` command did.
First, yes he did -- `aptitude install fglrx-driver`
But note that if he didn't put "contrib non-free" to his sources.list then that command will output the same as he reported the output was, which is "0 installed". You can read that in post #38 http://www.linuxquestions.org/questi...ml#post5369987
It's unclear wether he added the "contrib non-free" to his sources.list file, but, considering the results of the command used to install fgrlx, I'd say no fgrlx driver was installed.
Either that or he didn't re-install THE OPERATING SYSTEM and still has some left-over files from the drivers downloaded from AMD's website, which could cause all sorts of problems. I put "THE OPERATING SYSTEM" in bold and italic because on post #33 he said "reinstall done" but didn't mention WHICH re-install he did. Did he install the graphic drivers or the operating system? If he re-installed the operating system then there is only one possibility: that he didn't install any graphic drivers at all.
Quote:
Originally Posted by Head_on_a_Stick
Second, it does need an xorg configuration file to specify fglrx rather than xserver-xorg-video-ati
Yes, when I said X doesn't need a Xorg.conf file I meant that it doesn't need such a file with the free drivers. See:
Quote:
If no AMD driver was installed then you don't need an xorg.conf file
Quote:
Originally Posted by Head_on_a_Stick
Third, he did configure it -- that's what the `echo` command did.
But did he install the driver? That's what I want to know. I'm using only the free amd driver, I don't even have the Firmware installed, and I'll create that conf file to see what happens.
First, yes he did -- `aptitude install fglrx-driver`
Second, it does need an xorg configuration file to specify fglrx rather than xserver-xorg-video-ati
Third, he did configure it -- that's what the `echo` command did.
Technically, not really. Caveat, if you modprobe fglrx beforehand. Implied modprobe -r radeon or blacklisted in /etc/modprobe.d/... Various ways to skin that cat. Although technically yes, for DRI / 3D acceleration to work properly with the prorpietary driver.
Bear in mind that ati "legacy" cards are no longer supported by the proprietary driver, you must use the radeon driver for kernels > 3.4.x for cards that fall into that category. My now deceased ATI/Visiontek HD 4550 was one of those. But the radeon driver was pretty nice. Or option two, use said older kernel(s) and the ati legacy drivers. Kind of a waste to do that though.
Exactly. The same thing happened with my old 9800GT from NVIDIA. September last year NVIDIA issued a new Legacy driver branch (340xx), and I didn't know that. I installed Arch, installed the newer nvidia drivers, and was presented with tty1 on reboot. I suspect this is what is happening here.
I was informed that there was nothing to install, implying it was already installed, yet this was one of the first things I ran.
As a test, I re-downloaded the installer from the AMD website and ran the .run file, which informed me that an older version of the fglrx driver was indeed already installed. I removed this through Synaptic, rebooted, re-ran the .run file to install the AMD website driver and it installed the driver successfully. I checked the /etc/X11 folder and found that xorg.conf and xord.conf.fglrx-0 files had been created. I rebooted again, which successfully got to the GUI rather than command line, and I can now open the Catalyst Control Center to enable Crossfire.
So for some reason, the only way I seem to be able to install the AMD proprietary driver is to download it from their website :S
The driver I'm downloading is the one AMD lists as compatible with my graphics cards as well, which is version 14.12. The one on the Debian repo appears to be 14.9. It's possible there's some kind of compatibility issue with the older driver, but the 5870 cards have been around for plenty long enough that a 3 month older driver shouldn't really be causing issues I think.
Here's my sources.list,
Code:
#
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150426-18:53]/ jessie contrib main non-free
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150426-18:53]/ jessie contrib main non-free
deb http://ftp.uk.debian.org/debian/ jessie main non-free contrib
deb-src http://ftp.uk.debian.org/debian/ jessie main non-free contrib
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# jessie-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ jessie-updates main contrib non-free
deb http://dl.google.com/linux/deb/ stable non-free main
The only changes I've made are commenting out the CD lines and adding the Google repo to install Chrome.
Maybe some bits on the drive went south and corrupted it. Or other things interrupted the process. It shouldn't hurt anything to do the --reinstall either way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.