Messed up graphics driver installation

Everything about X, Gnome, KDE, ... and everything running on it

Messed up graphics driver installation

Postby Fingolfin » 2018-06-02 04:42

Hi,
I had trouble running some games on my Debian laptop (e.g. Rimworld) so I tried updating my graphics driver. My laptop is an Asus x53sc and my graphics card is a Nvidia Geforce GT 520MX. I think before I did anything the driver was nouveau.
I ran the following command :
Code: Select all
sudo apt-get install nvidia-driver
which told me I had to manually configure the Xorg. Following advice from https://wiki.debian.org/fr/NvidiaGraphicsDrivers#configure I created a xorg.conf file using both methods. Upon rebooting, The X-server would not start and I would be stuck in console mode. Pressing Ctrl+Alt+F7 would only show a black screen with a blinking underscore in the upper-left corner. Using the command line, I deleted the conf file and rebooted, which gave me my display back, but errors persist : upon launching Steam using the command line as I usually do
Code: Select all
steam &
I get the following message :
Code: Select all
OpenGL GLX extension not supported by display
. Upon launching Rimworld using the command line, I get
Code: Select all
Xlib:  extension "GLX" missing on display ":0".


Here is the output of lspci if it helps:
Code: Select all
$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)                                                                         
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)                                                       
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)                                           
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)                                                           
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)                                                       
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)                                                       
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)                                                                   
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)                                                                   
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b5)                                                                   
00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 [8086:1c1a] (rev b5)                                                                   
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)                                                       
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 05)                                                                                   
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 05)                                                         
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)                                                                               
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119M [GeForce GT 520MX] [10de:1051] (rev a1)                                                                           
03:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)                                                                         
04:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller [1b21:1042]                                                                                       
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)


I know how to use the command line but am by no means an experienced Linux user. Does anyone have any clue what I should do?
Fingolfin
 
Posts: 3
Joined: 2018-06-02 04:16

Re: Messed up graphics driver installation

Postby Wheelerof4te » 2018-06-02 08:17

You have an Optimus laptop, which requires setting up Bumblebee:
https://wiki.debian.org/Bumblebee
I think you will have to remove nvidia-driver first.

NVIDIA Optimus doesn't play nice with Linux. I believe sunrat has an Optimus laptop, so he might tell you more.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Messed up graphics driver installation

Postby Fingolfin » 2018-06-02 16:25

Thank you, I'll try that right now.
Fingolfin
 
Posts: 3
Joined: 2018-06-02 04:16

Re: Messed up graphics driver installation

Postby stevepusser » 2018-06-02 16:34

Wheelerof4te wrote:You have an Optimus laptop, which requires setting up Bumblebee:
https://wiki.debian.org/Bumblebee
I think you will have to remove nvidia-driver first.

NVIDIA Optimus doesn't play nice with Linux. I believe sunrat has an Optimus laptop, so he might tell you more.


I've had two laptops with Optimus that I've gotten to work fine...an Acer E5 575G and this bleeding edge CoffeeLake MSI GP63 that required rolling up my sleeves and doing a lot of backports first to get working. In MX Linux, we've also had lots of success with dolphin_oracle's Nvidia driver tool which can detect Optimus if present and sets up the drivers automatically depending on the hardware...so I wouldn't say it's bound for failure. Just go ahead and follow the wiki for Bumblebee setup. You'll need nvidia-driver anyway for that.



Hmm... I'm pretty sure that the MX tool will "just work" in plain Debian, too, being mostly just a script. Dells seem to be tricky with how they implement Optimus, though.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10273
Joined: 2009-10-06 05:53

Re: Messed up graphics driver installation

Postby Fingolfin » 2018-06-02 17:02

It seems to work just fine ! I can run Rimworld with no problem. Thank you both for your replies !
Fingolfin
 
Posts: 3
Joined: 2018-06-02 04:16

Re: Messed up graphics driver installation

Postby sunrat » 2018-06-03 12:33

Wheelerof4te wrote:I believe sunrat has an Optimus laptop, so he might tell you more.

I don't even have a laptop, just a couple of desktops. I think stevepusser is the droid you're looking for. :mrgreen: Thankfully he answered already.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2495
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable