LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Fresh Installation of Debian 9 : Update Issue and Graphics issue (https://www.linuxquestions.org/questions/debian-26/fresh-installation-of-debian-9-update-issue-and-graphics-issue-4175620675/)

Ztcoracat 01-01-2018 05:39 PM

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:-

wagscat123 01-01-2018 05:46 PM

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

Ztcoracat 01-01-2018 06:56 PM

Quote:

Originally Posted by wagscat123 (Post 5800350)
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?

Ztcoracat 01-01-2018 08:11 PM

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?

Ztcoracat 01-01-2018 08:47 PM

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

wagscat123 01-01-2018 09:52 PM

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

Ztcoracat 01-01-2018 09:57 PM

Quote:

Originally Posted by wagscat123 (Post 5800391)
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

descendant_command 01-02-2018 01:27 AM

You definitely don't want a fglrx driver for wheezy!

I think you need to install the firmware.

See https://wiki.debian.org/AtiHowTo

DVOM 01-02-2018 01:21 PM

"firmware-amd-graphics" is something I have to install frequently.

Ztcoracat 01-02-2018 02:02 PM

Quote:

Originally Posted by descendant_command (Post 5800424)
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

descendant_command 01-02-2018 02:52 PM

No, you need both the firmware and the kernel module (driver)

Ztcoracat 01-02-2018 05:00 PM

Quote:

Originally Posted by descendant_command (Post 5800711)
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!

Habitual 01-02-2018 05:29 PM

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!

descendant_command 01-02-2018 05:57 PM

Quote:

Originally Posted by Ztcoracat (Post 5800777)
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.

Ztcoracat 01-02-2018 06:32 PM

Quote:

Originally Posted by descendant_command (Post 5800795)
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:-

descendant_command 01-02-2018 06:41 PM

You shouldn't be downloading .deb's in the first place.

Apt handles that for you, along with downloading any dependencies needed.

Just 'apt update' to sync package lists with the repo's, then 'apt install package-you-want'.

Job done.

Ztcoracat 01-02-2018 07:07 PM

Quote:

Originally Posted by descendant_command (Post 5800819)
You shouldn't be downloading .deb's in the first place.

Apt handles that for you, along with downloading any dependencies needed.

Just 'apt update' to sync package lists with the repo's, then 'apt install package-you-want'.

Job done.

Got it, thanks.


All times are GMT -5. The time now is 08:55 PM.