LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-01-2018, 05:39 PM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173
Fresh Installation of Debian 9 : Update Issue and Graphics issue


Hi:

Just performed a fresh installation of Debian 9 and two things are not working properly and I need help.

When I update the system APT seems to be looking for the DVD Install disk.

Code:
Ign:7 cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11] stretch/contrib amd64 DEP-11 Metadata
Ign:8 cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11] stretch/contrib all DEP-11 Metadata
Ign:9 cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11] stretch/contrib DEP-11 64x64 Icons
Ign:10 cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11] stretch/contrib DEP-11 128x128 Icons
Ign:11 cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11] stretch/main all Packages
Ign:14 cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11] stretch/main Translation-en_US
Ign:15 cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1:11] stretch/main all DEP-11 Metadata
Ign:16 cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1:11] stretch/main amd64 DEP-11 Metadata
Ign:17 cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1:11] stretch/main DEP-11 64x64 Icons
Ign:18 cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1:11] stretch/main DEP-11 128x128 Icons
Hit:19 http://security.debian.org/debian-security stretch/updates InRelease
Ign:20 http://mirrors.kernel.org/debian stretch InRelease               
Hit:21 http://mirrors.kernel.org/debian stretch-updates InRelease
Hit:22 http://mirrors.kernel.org/debian stretch Release
Get:24 http://mirrors.kernel.org/debian stretch/main amd64 DEP-11 Metadata [3,
Get:25 http://mirrors.kernel.org/debian stretch/main DEP-11 64x64 Icons [6,804
Get:26 http://mirrors.kernel.org/debian stretch/main DEP-11 128x128 Icons [15.
Get:27 http://mirrors.kernel.org/debian stretch/non-free amd64 DEP-11 Metadata
Get:28 http://mirrors.kernel.org/debian stretch/non-free DEP-11 64x64 Icons [3
Get:29 http://mirrors.kernel.org/debian stretch/non-free DEP-11 128x128 Icons
Get:30 http://mirrors.kernel.org/debian stretch/contrib amd64 DEP-11 Metadata
Get:31 http://mirrors.kernel.org/debian stretch/contrib DEP-11 64x64 Icons [10
Get:32 http://mirrors.kernel.org/debian stretch/contrib DEP-11 128x128 Icons [
Fetched 26.1 MB in 1min 7s (387 kB/s)                                        
Reading package lists... Done
W: The repository 'cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64  20171209-12:11] stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentius to use.
N: See apt-secure(8) manpage for repository creation and user configuration de
How do I fix that?
Edit the sources.list and un-comment the line for the CD/DVD?

The other issue I've run into is the graphics.

The desktop background and the fonts are all elongated.
In other words the appearance of the desktop and fonts are all stretched out and don't look right.

Here's the GPU for this desktop:

Code:
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850 / R7 265 / R9 270 1024SP]
I really don't want to install the Display driver that AMD offers unless it's the only option.

Suggestions please on what driver to install OR how to handle the graphics issue.

Thanks:-
 
Old 01-01-2018, 05:46 PM   #2
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2, Tumbleweed, Kubuntu 18.04/20.10, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 857
Blog Entries: 45

Rep: Reputation: 119Reputation: 119
You want to comment it out of sources.list at
Code:
/etc/apt/sources.list
For the desktop, is this a resolution issue? Xrandr might fix that
 
Old 01-01-2018, 06:56 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173
Quote:
Originally Posted by wagscat123 View Post
You want to comment it out of sources.list at
Code:
/etc/apt/sources.list
For the desktop, is this a resolution issue? Xrandr might fix that
Thanks for the quick reply.-

Commenting that line in the sources.list worked.

This desktops monitor is 1920 X 1080.
Here's the choices that xrandr is giving me.

Code:
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 400, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024      0.00*
   1152x864       0.00 
   1024x768       0.00 
   800x600        0.00 
   640x480        0.00 
   720x400        0.00  ​
How would I get 1920 x 1080 in the list?
 
Old 01-01-2018, 08:11 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173
I'm trying to add 1920 x 1080 but I don't get it:-

Code:
bash-4.3$ xrandr -addmode "1920x1080_59.90"
xrandr: unrecognized option '-addmode'
Try 'xrandr --help' for more information.
bash-4.3$ xrandr --addmode "1920x1080_59.90"
xrandr: --addmode requires two arguments
Try 'xrandr --help' for more information.
bash-4.3$ xrandr --addmode "1920x1080_59.90" 106.29
xrandr: cannot find output "1920x1080_59.90"
The man page says to add a mode run this:
--addmode <output> , <name>

Found this but still haven't a clue.

https://ubuntuforums.org/showthread.php?t=1112186

Any ideas?
 
Old 01-01-2018, 08:47 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173
Adding a new resoloution to xrandr isn't the easiest thing. Or at least that's what I'm finding.
https://askubuntu.com/questions/3779...tom-resolution

Think I need this:

https://packages.debian.org/stretch/...g-video-amdgpu
 
Old 01-01-2018, 09:52 PM   #6
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2, Tumbleweed, Kubuntu 18.04/20.10, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 857
Blog Entries: 45

Rep: Reputation: 119Reputation: 119
Glad the first bit helped!

It doesn't look like my go-to for Ubuntu graphics issues "xdiagnose" is available for Debian 9. Installing that may not be a worthwhile rabbit hole for you, but it's out there.

I've only messed with xrandr a little, and haven't had too much issue my only AMD Radeon graphics card. I'm not really qualified to judge whether that package will help matters for you. Maybe someone else will see this thread
 
Old 01-01-2018, 09:57 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173
Quote:
Originally Posted by wagscat123 View Post
Glad the first bit helped!

It doesn't look like my go-to for Ubuntu graphics issues "xdiagnose" is available for Debian 9. Installing that may not be a worthwhile rabbit hole for you, but it's out there.

I've only messed with xrandr a little, and haven't had too much issue my only AMD Radeon graphics card. I'm not really qualified to judge whether that package will help matters for you. Maybe someone else will see this thread
The link to the driver in post #5 is already installed and it's not helping.

Do I need to rm the xserver-xorg-video-amdgpu driver that's already installed and install this one?

https://packages.debian.org/wheezy/fglrx-driver

Last edited by Ztcoracat; 01-01-2018 at 10:19 PM.
 
Old 01-02-2018, 01:27 AM   #8
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,766

Rep: Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577
You definitely don't want a fglrx driver for wheezy!

I think you need to install the firmware.

See https://wiki.debian.org/AtiHowTo
 
1 members found this post helpful.
Old 01-02-2018, 01:21 PM   #9
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
"firmware-amd-graphics" is something I have to install frequently.
 
1 members found this post helpful.
Old 01-02-2018, 02:02 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173
Quote:
Originally Posted by descendant_command View Post
You definitely don't want a fglrx driver for wheezy!

I think you need to install the firmware.

See https://wiki.debian.org/AtiHowTo
Do I need to rm the xserver-xorg-video-amdgpu driver that's already installed?

Than install the firmware-amd-graphics driver that you pointed me to?
https://packages.debian.org/stretch/...e-amd-graphics
 
Old 01-02-2018, 02:52 PM   #11
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,766

Rep: Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577
No, you need both the firmware and the kernel module (driver)
 
Old 01-02-2018, 05:00 PM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173
Quote:
Originally Posted by descendant_command View Post
No, you need both the firmware and the kernel module (driver)
Thanks for that confirmation.

I used g-debi to install the firmware-amd-graphics_20161130-3_all.deb and rebooted.

Upon rebooting the fonts and the DE were right.

Thank you for your time and help descendant_command.

------***------***------***------***------***------***------***
@wagscat123 thank you for your time and help too!
 
Old 01-02-2018, 05:29 PM   #13
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
add to "utility belt"

Code:
apt edit-sources
and this does a great job. I understood most of it.
Beginner's Guide
Quite thorough.
Debian Administrator's Handbook
or install it...!
Code:
apt-get install debian-handbook
Have Fun!
 
Old 01-02-2018, 05:57 PM   #14
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,766

Rep: Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577
Quote:
Originally Posted by Ztcoracat View Post
I used g-debi to install the firmware-amd-graphics_20161130-3_all.deb
Can I ask why you are downloading .deb's and using gdebi instead of just using apt?

That seems much more prone to picking the wrong ones (like you earlier looking at wheezy versions) and ending up breaking your system.
 
Old 01-02-2018, 06:32 PM   #15
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173
Quote:
Originally Posted by descendant_command View Post
Can I ask why you are downloading .deb's and using gdebi instead of just using apt?

That seems much more prone to picking the wrong ones (like you earlier looking at wheezy versions) and ending up breaking your system.
I used g-debi because I thought it would handle installing the .deb pkg. And, I've been running Slackware for the last 6 years that has it's own pkg management system. I'm not really good with APT except for apt-get update. I have some pkg management documentation to read.

Should I have used dpkg -i instead?

Thanks for the links Habitual:-
 
  


Reply


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
How to automate update of security issue from debian announce list on Debian Sid? s.verma Debian 6 12-19-2015 11:34 PM
Issue with black screen during boot. Possible graphics issue? TerrahBite Linux - Newbie 27 11-26-2015 12:36 AM
Fedora 13 Installation issue -- Unable to install multiple linux distributions ---partition issue navneethr Linux - General 6 12-22-2010 11:17 PM
[SOLVED] issue installing graphics card driver in Debian (sluggish KDE) Cultist Linux - Laptop and Netbook 25 02-08-2010 01:46 PM
ongoing graphics issue Nvidia 7676 + debian + cedega + EQ help please lleb Linux - Software 1 05-12-2006 04:31 PM

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

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