LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   xorg upgrade warning (https://www.linuxquestions.org/questions/slackware-14/xorg-upgrade-warning-4175481528/)

arubin 10-20-2013 05:23 PM

xorg upgrade warning
 
At the time of the previous xorg upgrade I reported here a problem with chrome crashing kde. This has recurred with the latest xorg upgrade and the fix is the same, reinstalling the nvidia drivers.

volkerdi 10-20-2013 05:25 PM

This will always happen since the nVidia drivers replace files that are part of the xorg-server package.

arubin 10-20-2013 05:33 PM

Indeed and idiots like me will be caught out every time. It's a curious feeling when you are desperately googling for a solution and find it in your own posting!

arubin 10-20-2013 05:37 PM

Would you consider a warning with the mailing list email next time a xorg update is posted?

ljb643 10-20-2013 08:53 PM

I did not have to reinstall the Nvidia driver. All I had to do after upgradepkg xorg-server-1.12.4-i486-2.txz is point one link back to the file installed by Nvidia:
Code:

cd /usr/lib/xorg/modules/extensions
mv libglx.so libglx.so-xorg-server
ln -s libglx.so.304.88 libglx.so

I am fairly sure that for my setup at least there are no other conflicts between xorg-server and the Nvidia driver. (There are also some between the mesa* package and Nvidia.)

Sadly, this problem with Xfce terminal border missing is still there. Instead of reverting to 1.12.3 again, I am going to try using a different desktop background color.

andrewthomas 10-20-2013 09:06 PM

Quote:

Originally Posted by arubin (Post 5049303)
Indeed and idiots like me will be caught out every time. It's a curious feeling when you are desperately googling for a solution and find it in your own posting!

I love this.

kjhambrick 10-21-2013 04:24 AM

arubin --

This one bit me the last time I updated xorg and again this time as well.

I panicked both times because having no X, I couldn't google an answer.

When I figured out what was going on, I knew the xorg update would bite me again ( and again and again ... ).

I wrote a note to myself in a file: /etc/X11/KJH-WARNING-for-xorg-Updates.txt

Code:

Note to self:

rebuild these packages whenever xorg is updated !

/dld/slackbuilds/nvidia/nvidia-kernel/nvidia-kernel.SlackBuild
/dld/slackbuilds/nvidia/nvidia-driver/nvidia-driver.SlackBuild

then run upgradepkg --reinstall for each

-- kjh

This time I only panicked for 2-minutes rather than 2-hours :)

-- kjh

dimm0k 10-21-2013 08:44 AM

Quote:

Originally Posted by kjhambrick (Post 5049530)
arubin --

This one bit me the last time I updated xorg and again this time as well.

I panicked both times because having no X, I couldn't google an answer.

When I figured out what was going on, I knew the xorg update would bite me again ( and again and again ... ).

I wrote a note to myself in a file: /etc/X11/KJH-WARNING-for-xorg-Updates.txt

Code:

Note to self:

rebuild these packages whenever xorg is updated !

/dld/slackbuilds/nvidia/nvidia-kernel/nvidia-kernel.SlackBuild
/dld/slackbuilds/nvidia/nvidia-driver/nvidia-driver.SlackBuild

then run upgradepkg --reinstall for each

-- kjh

This time I only panicked for 2-minutes rather than 2-hours :)

-- kjh

This update also bit me in the ... like it did the last time xorg was updated. Second time around I knew it had something to do with the nvidia files so it didn't take as long as it did to fix. Is there a need to rebuild the two nvidia packages? I believe just reinstalling them is sufficient.

ruario 10-21-2013 09:11 AM

Quote:

Originally Posted by kjhambrick (Post 5049530)
I panicked both times because having no X, I couldn't google an answer.

Lynx is your friend, or should be!

ruario 10-21-2013 09:16 AM

Quote:

Originally Posted by arubin (Post 5049303)
It's a curious feeling when you are desperately googling for a solution and find it in your own posting!

I have been in that situation myself (albeit for a different issue). :D

irgunII 10-21-2013 09:50 AM

I simply installed the upgrade xorg files and later had to reboot (for reasons nothing to do with xorg or Nvidia). Once rebooted, I didn't/haven't notice anything different. How do I know if my system is still using the nvidia drivers (from nvidia btw) or not?

kjhambrick 10-21-2013 12:05 PM

Quote:

Originally Posted by dimm0k (Post 5049636)
This update also bit me in the ... like it did the last time xorg was updated. Second time around I knew it had something to do with the nvidia files so it didn't take as long as it did to fix. Is there a need to rebuild the two nvidia packages? I believe just reinstalling them is sufficient.

Thanks for that dimm0k.

I backed up the old packages before running the SlackBuild scripts and reran `upgradepkg --reinstall ...` with the old SBo Packages.

All works as before with the old Packages.

-- kjh

TobiSGD 10-21-2013 01:18 PM

Quote:

Originally Posted by irgunII (Post 5049675)
How do I know if my system is still using the nvidia drivers (from nvidia btw) or not?

Code:

glxinfo|grep render
should give you an answer.

jtsn 10-21-2013 02:09 PM

Quote:

Originally Posted by kjhambrick (Post 5049530)
This one bit me the last time I updated xorg and again this time as well.

I panicked both times because having no X, I couldn't google an answer.

alt.os.linux.slackware is always around. You can access it right from the console with alpine(1), slrn(1), nn(1), tin(1), which are all part of a Slackware full install. In case of emergency you can visit the ##slackware channel on chat.freenode.net with irssi(1), which is part of Slackware, too.

So you're not completely lost without a Google and without a Chrome. :-)

Lenard Spencer 10-21-2013 04:43 PM

I've pretty much made it a habit of uninstalling the Nvidia drivers before upgrading ANYTHING do do with X, Mesa, or the kernel.

irgunII 10-21-2013 06:44 PM

Quote:

Originally Posted by TobiSGD (Post 5049821)
Code:

glxinfo|grep render
should give you an answer.

Thanks, TobiSGD! That did the trick and it shows I am still using the nvidia drivers,

Code:

me@thebar:~$ glxinfo|grep render
direct rendering: Yes
OpenGL renderer string: GeForce GT 520/PCIe/SSE2
    GL_NV_compute_program5, GL_NV_conditional_render,
    GL_NV_parameter_buffer_object2, GL_NV_path_rendering,
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info,

so I don't know why others are having troubles with theirs after the xorg upgrade the other day.

Mobile1 10-21-2013 07:59 PM

Performance, just because it says all is good doesn't mean everything renders properly. I just installed AMD Drivers for my good old Radeon HD4650 and all hell has broken loose.

Now things are really interesting...troubleshooting is in my immediate future : )

arubin 12-24-2014 11:27 AM

Quote:

Originally Posted by arubin (Post 5049303)
Indeed and idiots like me will be caught out every time. It's a curious feeling when you are desperately googling for a solution and find it in your own posting!

Caught out again.


All times are GMT -5. The time now is 07:25 AM.