Unable to set Screen Resolution to 1920x1080



osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
1,381
Reaction score
1,396
Credits
13,314
I've had to research this not having a linux mint box at present. This is what I saw as the unmodified sources.list file which is placed in /etc/apt/sources.list.d/official-package-repositories.list in linux mint:
Code:
deb http://packages.linuxmint.com elsie main upstream import backport #id:linuxmint_main

deb https://deb.debian.org/debian bullseye main contrib non-free
deb https://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://security.debian.org bullseye-security main contrib non-free

deb https://deb.debian.org/debian bullseye-backports main contrib non-free

It is evident that it includes the non-free repositories, and it is certain that the package firmware-misc-nonfree is available in that debian repository set in this sources list above.

If you could compare your sources list in /etc/apt/sources.list, and the sources in /etc/apt/sources.list.d/official-package-repositories.list with the above and see what is missing, that would help.

If you have the line:
Code:
deb https://deb.debian.org/debian bullseye main contrib non-free
in your sources list, then the firmware-misc-nonfree package will be available to be installed by apt-get.

If by chance that repository is already there on your system after your attempts to install it and failed to, then it's a conundrum that I can't get at the moment.

If that repository doesn't appear, you could include it, and then run apt-get again, update and install the firmware package.

An alternative to the above approach is to download the package from a debian or linux mint repository
and install it with the dpkg command.

First however, install the package: initramfs-tools, if it is not already installed. Use apt-get to install that because it's recommended for the firmware package. Then, download the firmware package and install it with dpkg with a command like:
Code:
dpkg -i firmware-misc-nonfree_20210315-3_all.deb
The package is available in the directory here: http://ftp.au.debian.org/debian/pool/non-free/f/firmware-nonfree/
 
Last edited:
OP
Cubifyy

Cubifyy

New Member
Joined
Jan 6, 2023
Messages
12
Reaction score
1
Credits
78
This is my official package repositories
1673340921623.png

1673341117692.png

This was the output after putting those non-free repositories in sources.list (not official package repositories) (initramfs-tools was already installed after trying apt-get in root terminal)
 
OP
Cubifyy

Cubifyy

New Member
Joined
Jan 6, 2023
Messages
12
Reaction score
1
Credits
78
Also
I've had to research this not having a linux mint box at present. This is what I saw as the unmodified sources.list file which is placed in /etc/apt/sources.list.d/official-package-repositories.list in linux mint:
Code:
deb http://packages.linuxmint.com elsie main upstream import backport #id:linuxmint_main

deb https://deb.debian.org/debian bullseye main contrib non-free
deb https://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://security.debian.org bullseye-security main contrib non-free

deb https://deb.debian.org/debian bullseye-backports main contrib non-free

It is evident that it includes the non-free repositories, and it is certain that the package firmware-misc-nonfree is available in that debian repository set in this sources list above.

If you could compare your sources list in /etc/apt/sources.list, and the sources in /etc/apt/sources.list.d/official-package-repositories.list with the above and see what is missing, that would help.

If you have the line:
Code:
deb https://deb.debian.org/debian bullseye main contrib non-free
in your sources list, then the firmware-misc-nonfree package will be available to be installed by apt-get.

If by chance that repository is already there on your system after your attempts to install it and failed to, then it's a conundrum that I can't get at the moment.

If that repository doesn't appear, you could include it, and then run apt-get again, update and install the firmware package.

An alternative to the above approach is to download the package from a debian or linux mint repository
and install it with the dpkg command.

First however, install the package: initramfs-tools, if it is not already installed. Use apt-get to install that because it's recommended for the firmware package. Then, download the firmware package and install it with dpkg with a command like:
Code:
dpkg -i firmware-misc-nonfree_20210315-3_all.deb
The package is available in the directory here: http://ftp.au.debian.org/debian/pool/non-free/f/firmware-nonfree/
Those repositores are the norm for LMDE 5, I'm using Mint 21.1 Vera
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
1,381
Reaction score
1,396
Credits
13,314
In post #23 you didn't use the full package name: firmware-misc-nonfree. I don't know if it'll make a difference with your repository though. In the command to install initramfs-tools, you have omitted the "install" argument, but it's already installed so that's okay. Clearly I picked the wrong mint. You could consider taking the advice of the output from your command, to sort out the verification:
Code:
see apt-secure(8) manpage for repository creation and user configuration details.
Other than that, there's the alternative approach mentioned in post #22 using dpkg.
 
Last edited:

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
3,588
Reaction score
1,909
Credits
21,178
That pkg (firmware-misc-nonfree) is not installed from looking at the output that you posted, thanks.

In post #22 osprey posted the link for you to go get that pkg.

Code:
firmware-misc-nonfree_20210315-3_all.deb    2021-07-26 12:32     8.5M

If you must have that pkg installed I would get it from there.
 

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
3,588
Reaction score
1,909
Credits
21,178
IF you decide to edit your sources.list be careful and double check what you have added before saving and exiting.
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
7,727
Reaction score
6,378
Credits
51,224
@Cubifyy ....have you found a solution to this problem ??
 

Members online


Top