LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-19-2023, 09:42 AM   #1
plLang
LQ Newbie
 
Registered: Apr 2023
Distribution: Garuda, Fedora, Ubuntu Server, Debian, Pop OS, Batocera, Zorin
Posts: 5

Rep: Reputation: 0
Black Screen when trying to use interlaced resolutions


Hello!

I am new to LinuxQuestions - please correct me if I didn't include something or posted to the wrong forum.

I am running a system with a R9 270 GPU connected to a CRT monitor with a passive DVI-I to VGA adapter. Everything works just fine until I try to use xrandr to switch to an interlaced resolution. The command executes without any errors but my screen turns black and stays there until I switch back to the progressive mode I was using before.
I know the issue isn't with the adapter since I have used it before with an Nvidia GPU and the same monitor, and it was able to output an interlaced signal.
I have no idea how to get this working. Any help would be greatly appreciated!
 
Old 04-19-2023, 11:44 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,718

Rep: Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735
Quote:
Originally Posted by plLang View Post
Hello!

I am new to LinuxQuestions - please correct me if I didn't include something or posted to the wrong forum.

I am running a system with a R9 270 GPU connected to a CRT monitor with a passive DVI-I to VGA adapter. Everything works just fine until I try to use xrandr to switch to an interlaced resolution. The command executes without any errors but my screen turns black and stays there until I switch back to the progressive mode I was using before.
I know the issue isn't with the adapter since I have used it before with an Nvidia GPU and the same monitor, and it was able to output an interlaced signal.
I have no idea how to get this working. Any help would be greatly appreciated!
Assuming you did nothing wrong, Something in the video chain does not support that mode.
 
Old 04-19-2023, 11:57 AM   #3
plLang
LQ Newbie
 
Registered: Apr 2023
Distribution: Garuda, Fedora, Ubuntu Server, Debian, Pop OS, Batocera, Zorin
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wpeckham View Post
Assuming you did nothing wrong, Something in the video chain does not support that mode.
Thank you for the reply. Yeah I guess it would have to be the GPU then. I was convinced that the R9 200 Series can do interlaced over DVI but maybe I am mistaken. Or maybe there's something wrong with the AMD driver on Linux. I tried installing Windows to verify that, unfortunately I am unable to install the AMD software over there, and adding custom resolutions with 3rd party programs doesn't seem to work.
 
Old 04-19-2023, 08:14 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,852
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Could xrandr cause a problem because of your error or a needed parameter missing? Provide an example used that results in black, another that doesn't.

The adapter could be disallowing EDID to come through. A config file in /etc/X11/xorg.conf.d/ might be a solution, like from this modified default 50-monitor.conf file from many moons ago:
Code:
Section "Monitor"
  Identifier "Default Monitor"

  ## If your monitor doesn't support DDC you may override the
  ## defaults here
  HorizSync 28-85
  VertRefresh 50-100
  Option "PreferredMode" "1600x1200"
  ## Add your mode lines here if necessary, use e.g the cvt tool

EndSection
Conform the values above to your monitor and give it a try. Ignore the modelines. Xorg is just as good a mode calculator as any external tool, given appropriate configfile values. man xorg.conf
 
Old 04-20-2023, 09:40 AM   #5
plLang
LQ Newbie
 
Registered: Apr 2023
Distribution: Garuda, Fedora, Ubuntu Server, Debian, Pop OS, Batocera, Zorin
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrmazda View Post
Could xrandr cause a problem because of your error or a needed parameter missing? Provide an example used that results in black, another that doesn't.

The adapter could be disallowing EDID to come through. A config file in /etc/X11/xorg.conf.d/ might be a solution, like from this modified default 50-monitor.conf file from many moons ago:
Code:
Section "Monitor"
  Identifier "Default Monitor"

  ## If your monitor doesn't support DDC you may override the
  ## defaults here
  HorizSync 28-85
  VertRefresh 50-100
  Option "PreferredMode" "1600x1200"
  ## Add your mode lines here if necessary, use e.g the cvt tool

EndSection
Conform the values above to your monitor and give it a try. Ignore the modelines. Xorg is just as good a mode calculator as any external tool, given appropriate configfile values. man xorg.conf
Thank you for the suggestion! I cannot get this xorg.conf method to work, how can the config output a new resolution without me specifying the modeline? I must be missing something but it doesn't really do anything unless I put in a mode that xrandr already supports out of the box. However while playing around I found out that if I try to interlace a super high resolution such as 1600x1200 the monitor actually outputs an image! So yes the GPU is capable of it, just not at lower resolutions I suppose.

example working: xrandr --newmode "1600x1200_60.00" 167.25 1600 1712 1880 2160 1200 1203 1207 1292 interlace -hsync +vsync
example black screen: xrandr --newmode "800x600_60.00" 39.75 800 832 912 1024 600 603 607 650 interlace -hsync +vsync

I read somewhere online that there are Nvidia GPUs, which cannot output any signal at lower resolutions as there is not enough bandwidth going out of them. Maybe the same is true for my AMD card? If that's the case I'm probably gonna have to figure out how to send more signal out without displaying these high resolutions.
 
Old 04-20-2023, 11:05 AM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,852
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
Originally Posted by plLang View Post
how can the config output a new resolution without me specifying the modeline?
That's why I suggested the man page. I haven't messed with CRT configuration since probably a decade ago, got rid of my last ones 3 years ago.

What does xrandr output when using an xorg.conf file? Any difference from without? Did you try using xrandr with an xorg.conf in place?

I'm thinking the passive adapter must be the most likely obstacle. If you had to switch to an active adapter, your better way forward would be to switch to a flat screen and start saving on your electric and heating bills. Cheap route: put your old NVidia in the new PC.

What difference did you actually observe between progressive and interlaced when you were using the NVidia?

What distro and version are you using? A different one might make a difference.
 
Old 04-20-2023, 12:14 PM   #7
plLang
LQ Newbie
 
Registered: Apr 2023
Distribution: Garuda, Fedora, Ubuntu Server, Debian, Pop OS, Batocera, Zorin
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrmazda View Post
That's why I suggested the man page. I haven't messed with CRT configuration since probably a decade ago, got rid of my last ones 3 years ago.

What does xrandr output when using an xorg.conf file? Any difference from without? Did you try using xrandr with an xorg.conf in place?

I'm thinking the passive adapter must be the most likely obstacle. If you had to switch to an active adapter, your better way forward would be to switch to a flat screen and start saving on your electric and heating bills. Cheap route: put your old NVidia in the new PC.

What difference did you actually observe between progressive and interlaced when you were using the NVidia?

What distro and version are you using? A different one might make a difference.
With the xorg.conf xrandr displays that it's using the mode I specified in the config for resolutions that already were available beforehand. When I try other resolutions it just outputs the same thing it always does, no change really. But perhaps I just don't understand how to format that file correctly...maybe you can tell me how it should look like if my Horizontal range is 30-96KHz, the Vertical Refresh is 50-160 and my video output is DVI-0 (targeting 600i for example).
I also have an active DVI-D to VGA adapter but surprisingly I am getting the same behavior (no interlacing possible) with it, the only difference being there are more resolutions available in xrandr by default. I tried on a couple different distros to check if that would change something (it didn't), but I am mostly testing on Mint right now. When it comes to the Nvidia GPU it displayed both interlaced and progressive without issues as long as I was within the supported hz zone of my monitor. However I had another problem with it, where it was constantly giving me annoying micro stutters in games, specifically using the proprietary 470 driver and this CRT (the open source Nouveau driver was running just fine but obviously performed terribly, the issue also didn't occur with different monitors). In summary this particular CRT is giving me a lot of headaches and yeah I honestly am wondering if I should just change it out for another one but I really hate throwing away working electronics, it just makes the tech enthusiast inside me cry .
 
Old 04-20-2023, 01:07 PM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,852
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
Originally Posted by plLang View Post
In summary this particular CRT is giving me a lot of headaches and yeah I honestly am wondering if I should just change it out for another one but I really hate throwing away working electronics, it just makes the tech enthusiast inside me cry .
I agonized over that for several years because all mine were large and working well, but they just can't compare to a quality flat panel and digital connectivity. I put most out by the curb as junk, and gave my best one to an antique PC collector. Also it's nice the space recovered from their removal, and extra width of digital desktop space.
 
Old 04-21-2023, 08:01 AM   #9
plLang
LQ Newbie
 
Registered: Apr 2023
Distribution: Garuda, Fedora, Ubuntu Server, Debian, Pop OS, Batocera, Zorin
Posts: 5

Original Poster
Rep: Reputation: 0
Ok wow, I have finally found a solution I think. Not a good one but it works. So what I did is I searched the internet for other people's modelines and I found some guy who posted his interlaced modeline he used on a 15KHz monitor and with different parameters than I generated with CVT. I then copied those values to my xrandr and kept changing the dotclock frequency to random values. After many attempts one mode suddenly worked. I now have a great looking interlaced resolution and everything seems to be working perfectly. However,

DISCLAIMER: to anyone reading this trying to copy what I did - DON'T...or at least educate yourself before.
I am obviously no expert on the matter but, according to what I read online, messing with modelines like this without knowing what you're doing may damage your monitor. I only did this since I had given up hope and was going to throw away the CRT anyway. At least do your own research.

Thank you guys for commenting your thoughts and suggestions, it's always nice to know you're not alone when trying to solve frustrating hardware issues like this one.

Last edited by plLang; 04-21-2023 at 08:04 AM.
 
Old 04-21-2023, 02:02 PM   #10
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,718

Rep: Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735Reputation: 2735
Glad you found a solution.
Not a very satisfying one, but it works!
 
  


Reply



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 get rid of interlaced rending in Blender browny_amiga Linux - Software 2 10-19-2009 04:56 PM
Virtual resolutions + Magnifier = Higher Resolutions? equinoxe5 Linux - Software 1 01-14-2006 07:01 AM
Monitors , linux and interlaced refresh rate, I'm confused DARKGuy Linux - Hardware 1 06-27-2005 03:57 AM
Dynamically extracting a thumbnail from an interlaced image. Travis86 Programming 0 01-31-2004 10:36 PM
Non-interlaced DVD playback? No encryption-probs? Is this possible? Faeroon Linux - Software 5 11-25-2003 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:28 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